Ubuntu Forums Archive Viewer

How do I copy a boot sector image to a disk in Windows?

Archived thread 1007707 from Other OS Talk. Markdown source: Other_OS_Talk/thread_1007707_How_do_I_copy_a_boot_sector_image_to_a_disk_in_Win.md

Original URL About this archive
#1

This is very easily done in in Linux (dd if=file.img of=/dev/disk) and DOS (there's an app called BOOTMGR which does this) but I can't figure out how in Windows. I tried a Windows dd port, but it didn't work (the file was most likely copied to the start of the partition, rather than the start of the disk). Anyone know how?

#2

Maybe this program would help:

http://www.nu2.nu/mkbt/

But why not just copy the boot sector from a Live CD with dd? What is your ultimate goal?