LINUX Howto
1.Preparation for making RedHatLinux custom CD

 1. Using a part of the development machine as for Custom CD

 2. Assignment of disks are as follows:

/dev/hda1 /boot 133M ext3 Boot Area(RH80)
/dev/hda2 swap 769M   Swap Area(Share)
/dev/hda3 / 10001M ext3 RedHatLinux Root Area(RH80)
/dev/hda5 /tftpboot 30000M ext3 tftpboot Area
/dev/hdc5 /mnt/target1 10000M ext3 Work Area(Compile etc.)
/dev/hdc6 /mnt/target2 10000M ext2 Original LINUX Starting Check Area
/dev/hdc7 /mnt/target3 10000M ext3 Development Area 1
/dev/hdc8 /mnt/target4 10000M ext3 Development Area 2
/dev/hdc9 /mnt/target5 10000M ext3 Development Area 3
/dev/hdc10 /mnt/target6 10000M ext3 Development Area 4
/dev/hdc11 /mnt/target7 10000M ext3 Development Area 5
/dev/hdc12 /mnt/target8 10000M ext3 Development Area 6
/dev/hdc13 /mnt/target9 10000M ext3 Development Area 7
/dev/hdc14 /mnt/temp 27000M ext3 Backup & Temporary & Install images
Making custom CD Area
/dev/hdb /mnt/cdrom     DVD-ROM drive
/dev/hdd1 /mnt/cf Over 8M ext2 Compact Flash

 3. The following directories are created to the subordinate of /mnt/temp/update.
  $cd /mnt/temp
  $mkdir -p update
  $cd update
  RedHat62......Directory for making RedHat6.2J custom CD
  RedHat73......Directory for making RedHat7.3 custom CD
  RedHat80......Directory for making RedHat8.0 custom CD
  RedHat90......Directory for making RedHat9 custom CD
  RedHatAS......Directory for making RedHatAS custom CD
  $mkdir -p RedHat62/i386 RedHat73/i386 RedHat80/i386 RedHat90/i386 RedHatAS/i386

 4. Each Linux files are copied.
  $mount /mnt/cdrom
  $cd /mnt/temp/update/RedHatXX/i386  ......XX is 62/73/80/90/AS
  $cp -var /mnt/cdrom/* .
  It repeats, when there are two or more CDs.

  Finally a directory class is as follows.
  /mnt/temp/update/RedHat62---rh62upd......New RPM files
                            |-rh62old......Old RPM files
                            --i386   ......RedHatLinux6.2 file group
                  /RedHat73---rh73upd......New RPM files
                            |-rh73old......Old RPM files
                            --i386   ......RedHatLinux7.3 file group
                  /RedHat80---rh80upd......New RPM files
                            |-rh80old......Old RPM files
                            --i386   ......RedHatLinux8.0 file group
                  /RedHat90---rh90upd......New RPM files
                            |-rh90old......Old RPM files
                            --i386   ......RedHatLinux9 file group
                  /RedHatAS---rhASupd......New RPM files
                            |-rhASold......Old RPM files
                            --i386   ......RedHatLinuxAS file group




直線上に配置