Feb 03

How to create a bootable DOS USB stick under linux

Category: Linux   — Published by tengo on February 3, 2012 at 3:07 pm

Download balder10.img

Wipe the stick with the proper drive /dev/sdb location with:
dd if=/dev/zero of=/dev/sdd bs=512 count=1000

Go into qemu with this
qemu -boot a -fda balder10.img -hda /dev/sdb

a:> fdisk
and create the primary drive
exiting from qemu

starte qemu again
qemu -boot a -fda balder10.img -hda /dev/sdd
format c:
sys c:
xcopy /E /N a: c

check if it works with
sudo qemu -hda /dev/sdu -boot c