

- TRANSFER RED HAT LINUX ISO TO A BOOTABLE DVD INSTALL
- TRANSFER RED HAT LINUX ISO TO A BOOTABLE DVD CODE
Remove USB stick from server and attach to PC. (On a slow server, took around a half hour) So here are the instructions for doing that: Instead, I chose to put the ISO file on a USB stick and transfer it over to my PC, then use Roxio to burn a DVD from the ISO image. Being pressed for time at work, I chose not to investigate the options for using the “cdrecord” command on my Linux server to do that. Now at this point you want to write the ISO image to DVD. (make sure it mounts ok and you can find isolinux/ks.cfg and isolinux/EXTRAS/) Mount the newly created ISO image on the loopback device so you can make sure it will work: (Should take around 5 minutes to complete) (PLEASE NOTE THE “.” at the end of the command – this stands for “current directory”, don’t forget to put this at the end of the command!) # mkisofs -A “Red Hat Linux 5.3” -V “Red Hat Linux 5.3” -J -R -v -T -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /0b/new_iso/RedHatLinux53-20090901.iso. You might want to put it in a small shell script and execute it that way to avoid typo errors. Now you execute the “mkisofs” command to create the custom ISO file. (Here you are creating another working directory to put your custom ISO file in – mine needed a little less than 4Gb) In my case, I decided to call it “RedHatLinux53-yyyymmdd.iso”, where yyyymmdd represents the year, month, day that I’m creating the file. Here you can make it interesting, because you can actually put multiple versions of ks.cfg here, and can pretty much name them what you want later when you go to build a new server, you will specify the path to the ks.cfg file anyway.ĭecide what the ISO image will be called. # cp /media/disk/ /0b/iso_tree/isolinux/EXTRAS/ # cp /media/disk/ks.cfg /0b/iso_tree/isolinux/ks.cfg (In my case, I have these files on a USB stick which is attached to my server at the mount point /media/disk) isolinux directory, as the deployment guide I’m writing for work expects to find the ks.cfg file there.) (We want to put the custom ks.cfg file in the.
TRANSFER RED HAT LINUX ISO TO A BOOTABLE DVD CODE
(In my case, I create this subdirectory because I’ve written some code in my custom ks.cfg file which will copy the contents of the EXTRAS subdirectory into a directory on the server, in the post-installation steps) (recreate the DVD on your hard drive – should take 10 minutes or less) (make sure you are in the top-level of mounted DVD) (create a working directory on your selected filesystem)

(examine output and select a filesystem on the hard drive that has sufficient space to recreate the DVD there) (see how much space will be necessary to recreate this DVD on the server hard drive)

(the backslashes are to escape the spaces in the pathname) (in my case, path is /media/RHEL_5.3 i386 DVD)
TRANSFER RED HAT LINUX ISO TO A BOOTABLE DVD INSTALL
(Source DVD is the RedHat install DVD).Įxecute “mount” command to figure out path to source DVD.
