The below information is from here.
The first that we need to do is to create new partition for Windows
and format it to
NTFS. Exact steps to accomplish this depend on your
HDD partition table e.g. there is one large
ext3/ext4 partition for
Ubuntu or there are several partitions for various distributions or
mount points. Anyway you should use partition manager to create and/or
format NTFS partition. You can use gparted. It is graphical and
it just works (use ‘sudo apt-get install gparted‘ if you run
Second you should backup your MBR record and restore it after Windows
installation that silently erases existing bootloader and installs
windows one, use “dd if=/dev/sda of=/mbr.bin bs=446 count=1” to save
MRB into mbr.bin file and “dd if=/media/sda/mbr.bin of=/dev/sda bs=446
count=1” to restore it from file to HDD.
To sum everything up here are the steps:
- BACKUP ALL YOUR DATA!
- Create NTFS partition using gparted.
- Backup MBR using dd command e.g. “
dd if=/dev/sda of=/mbr.bin bs=446 count=1″ (/dev/sda means your HDD).
- Boot Windows installation CD and install it onto newly created NTFS partition.
- Boot into Linux live CD e.g. Ubuntu Live CD.
- Restore MBR using dd e.g. “dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1″.
- Select Ubuntu in grub menu and boot it.
- Setup grub for Windows booting.
If after formatting the partition in
NTFS mode it still giving the error then there is any problem with MBR on USB. Use wintoflash to make it bootable.
Also read this discussion where user overcome to make an USB to bootable.