How do I create an MBR on a USB stick using DD command line tool

Posted by Lana Miller on Super User See other posts from Super User or by Lana Miller
Published on 2011-12-16T01:51:01Z Indexed on 2012/06/09 16:42 UTC
Read the original article Hit count: 282

Filed under:
|
|
|
|

Okay I'm trying to create a BOOTABLE Windows7 image on a USB key from a Mac running Lion. My image is .iso format. I tried:

sudo dd if=/Users/myusername/Win7.iso of=/dev/disk1 bs=1m

And this succeeded in writing the files, except in DISK UTILITY on the mac, it shows the partition type as GUID Partition Table and not 'Master Boor Record'. Booting the key on my Vista computer yields the error "No boot sector on USB Device'

From what I can tell, bs=1m in the DD command should have left 1 Megabyte for the boot sector, but for some reason this area of the USB Key is not set up correctly so that it will boot

How can I fix this, or correctly use dd to write a bootable cd image such that it is now a bootable usb drive?

Note: in the instructions I read about, they recommended renaming my Win7.iso to Win7.dmg before using DD, which made absolutely no sense to me, so I didn't do it. I could try with that step now, but it takes 1.99 hours to write the image to the USB drive so there is a huge penalty to trial and error here. Thank you.

© Super User or respective owner

Related posts about osx

Related posts about windows-7