OK, other people have also written about this, but the information seems to be cluttered all over the place in different forums or the CentOS wiki.
The most straightforward way I found to do this is as follows. Credit for this method goes to Neil Aggarwal, who posted it on the centos mailing list.
In case that link stops working someday, it is as simple as:
1. Using fdisk, I created two partitions on the drive:
/dev/sdc1 = 15 MB
/dev/sdc2 = The rest
I marked the first one bootable2. I used dd to copy the diskboot.img to /dev/sdc1
3. Formatted /dev/sdc2 as ext3 and copied the
iso images there4. When I boot from the usb drive, I selected hard
drive install and pointed the installer to
/dev/scd2It worked perfectly!
Thanks, Neil!
Hi,
This is nice, but I’m in a situation where I need working (live) bootable USB drive. Something to start up the computer with, and use the CENTOS right away.
Basically, because I already have another OS installed on the hard disk, and there is no space available for CENTOS. And all what I need is booting the system to update the firmware!!
DO you suggest any way/tools?
Thanks,
Hi Kinan, you can use the CentOS LiveCDs if you wish, I have never tried them myself though. You have a choice now of either CentOS 5 or CentOS 6 LiveCDs. Have a look at the Release Notes below and pick one:
http://wiki.centos.org/Manuals/ReleaseNotes