Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a restore a windows operating system using Linux Live.

I have formatted the hard drive using FAT 32 format (mkfs.vfat) command.

I have created the partitions using the fdisk command. I formatted the individual partitions and copied the OS files into the disk.

I have re-written the mbr using ms-sys command. I have also set the active flag on the disk which is supposed to boot.

The operating system that I am trying to restore is Windows XP. I realized that the partition's LBA address is 2048. I changed it to 63 (since XP traditionally starts at 63).

The error that I get is "Missing operating system". I think linux is messing up the CHS data and that is the reason that I am not able to restore the OS. How do I correct this setting?

share|improve this question
Boot from a XP disc, load recovery console then run the fixmbr command. – Moab Mar 6 '12 at 0:37
@Moab I could do that if all the machines are going to be under my control. I need to find a way so that the machines are shipped with a recovery disc. The MBR needs to be re-written by Linux – Sai Mar 6 '12 at 0:57
If all the systems have the same hardware, why not just do the initial build, then image using clonezilla or the like and ship with burned disk images? – Joseph Mar 7 '12 at 7:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.