Linux FAQ's & Manuals

2.4. can you install using the cd-rom?

there are several methods that can be used to install red hat enterprise linux.

installing from a cd-rom requires that you have purchased a red hat enterprise linux 4 product, or you have a red hat enterprise linux cd-rom, and you have a cd-rom drive. most new computers allow booting from the cd-rom. if your system supports booting from the cd-rom, it is an easy way to begin a local cd-rom installation.

your bios may need to be changed to allow booting from your cd-rom drive. for more information about changing your bios, refer to section 4.3.1 booting the installation program on x86, amd64, and intel® em64t systems.

2.4.1. alternative boot methods

boot cd-rom

if you can boot using the cd-rom drive, you can create your own cd-rom to boot the installation program. this may be useful, for example, if you are performing an installation over a network or from a hard drive. refer to section 2.4.2 making an installation boot cd-rom for further instructions.

usb pen drive

if you cannot boot from the cd-rom drive, but you can boot using a usb device, such as a usb pen drive, the following alternative boot method is available:

to boot using a usb pen drive, use the dd command to copy the diskboot.img image file from the /images/ directory on cd-rom 1. for example:

dd if=diskboot.img of=/dev/sda   

your bios must support booting from a usb device in order for this boot method to work.

2.4.2. making an installation boot cd-rom

isolinux (not available for itanium systems) is used for booting the red hat enterprise linux installation cd. to create your own cd-rom to boot the installation program, use the following instructions:

copy the isolinux/ directory from the red hat enterprise linux cd #1 into a temporary directory (referred to here as <path-to-workspace>) using the following command:

cp -r <path-to-cd>/isolinux/ <path-to-workspace>

change directories to the <path-to-workspace> directory you have created:

cd <path-to-workspace>

make sure the files you have copied have appropriate permissions:

chmod u+w isolinux/*

finally, issue the following command to create the iso image file:

mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot \  -boot-load-size 4 -boot-info-table -r -j -v -t isolinux/

notenote
 

the above command was split into two lines for printing purposes only. when you execute this command, be sure to type it as a single command, all on the same line.

burn the resulting iso image (named file.iso and located in <path-to-workspace>) to a cd-rom as you normally would.