[CentOS] dd iso to flash drive

Fri Aug 14 04:06:08 UTC 2015
Digimer <lists at alteeve.ca>

On 13/08/15 09:15 PM, Johnny Hughes wrote:
> 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.

My apologies for the mis-information.

Did this change in a recent release? (The addition of syslinux to the
ISO, that is)

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?