[CentOS] dd iso to flash drive

Johnny Hughes johnny at centos.org
Fri Aug 14 01:15:22 UTC 2015


On 08/13/2015 02:30 PM, Thomas Eriksson wrote:
> On 08/13/2015 11:34 AM, Digimer wrote:
>> Booting from the USB requires that there is a syslinux directory to boot
>> off of. In EL6, there is only isolinux, which is what booting from a DVD
>> uses. You should be able to copy isolinux to syslinux, rename the files
>> from s/iso/sys/ and then update syslinux.cfg to point to the USB drive
>> to boot from. Here's an example from my setup:
>>
> 
> Perhaps something went wrong with the 6.7 DVD, I haven't tested yet.
> It is definitely supposed to work by just using dd to a USB stick.
> Both 6.5 and 6.6 DVDs works just fine and so does the 6.7-network-
> install iso. I just installed a node 10 minutes ago using that one
> booted from a USB stick.

I just dd'ed the 6.7 DVD1 image to a usb key and booted fine with it on
a machine with normal BIOS.

I'll test it on a UEFI machine later, but it seems to work fine.

One thing to make sure is that the key is unmounted before you start //
I used this command:

sudo dd if=./CentOS-6.7-x86_64-bin-DVD1.iso of=/dev/sdc bs=4M

(Also make sure to copy to the device and not a partition .. ie, not
/dev/sdc1 .. /dev/sdc)

And make sure to use the command:

sync

after the dd .. and umount/eject the device if it remoted before
removing the key from the machine where you are copying it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20150813/4d191b2c/attachment.sig>


More information about the CentOS mailing list