[CentOS] "dd" CentOS fist CD to USB-Pendrive? (for booting)

Bill-Schoolcraft bill at wiliweld.com
Mon Dec 11 21:55:53 UTC 2006


At Mon, 11 Dec 2006 it looks like Andreas Rogge composed:

> Hello Bill,
> 
> AFAIK you cannot boot a CDROM-image from a pendrive. However you might
> have a look at images/README:
> 
> "The diskboot.img file is a VFAT filesystem image that can be written
> to a USB pendrive or other bootable media larger than a floppy.  
> Note that booting via USB is dependent on your BIOS supporting this.
> It should be written to the device using dd."
> 
> Regards,
> Andreas Rogge
> 

Thanks Andreas,

What threw me off was the simplist example RedHat gave for doing this
at:

http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-steps-install-cdrom.html

The went on to write the following under "USB pen drive":

######################################################################
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.
######################################################################

-- 
  Bill Schoolcraft <*> http://wiliweld.com

"Health nuts are going to feel stupid someday,
    lying in hospitals dying of nothing."
                -- Redd Foxx




More information about the CentOS mailing list