LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Windows Xp BOOTMGR is missing (https://www.linuxquestions.org/questions/linux-newbie-8/windows-xp-bootmgr-is-missing-793369/)

kr4sus 03-05-2010 05:30 AM

Windows Xp BOOTMGR is missing
 
I just installed fedora on a new partition and I get this error when I try to boot Xp.
Here is what fdisk -l prints :


Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd24d0f61

Device Boot Start End Blocks Id System
/dev/sda1 1 192 1536000 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 12352 22632 82574132 7 HPFS/NTFS
/dev/sda3 193 12351 97667167+ f W95 Ext'd (LBA)
/dev/sda4 * 22633 24162 12288000 83 Linux
/dev/sda5 193 12351 97667136 7 HPFS/NTFS

Partition table entries are not in disk order

What do I have to do to fix this?Thx

kainosnous 03-05-2010 06:10 AM

I am assuming that you installed grub as your boot loader? That should replace the Windows boot loader. Are you able to boot into Fedora? If so, see if you can mount your Windows partition there.

Then, check your grub.conf file. It should be located in Fedora at /boot/grub/grub.conf and you should be looking for a windows option (usually commented out). You'll want something like the following:

Code:

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1

You may have to chante the map commands to reflect which partition you have XP on.

kr4sus 03-05-2010 06:28 AM

Quote:

Originally Posted by kainosnous (Post 3886794)
I am assuming that you installed grub as your boot loader? That should replace the Windows boot loader. Are you able to boot into Fedora? If so, see if you can mount your Windows partition there.

Then, check your grub.conf file. It should be located in Fedora at /boot/grub/grub.conf and you should be looking for a windows option (usually commented out). You'll want something like the following:

Code:

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1

You may have to chante the map commands to reflect which partition you have XP on.

I have edited grub.conf. The bootmgr message has now turned into " Error 21: The partition selected does not exist...". I have Xp installed to c:, i also have a d: partition for data and one last partition for fedora.
What should the values look like?
Ps: i am able to browse c: and d: from my fedora.

ronlau9 03-05-2010 08:07 AM

Change root (hd1,0) in root (hd0,1)
Hope it helps

yancek 03-05-2010 08:55 AM

Agree with ronlau9 plus you need to either set the sda2 partition as active or include "makeactive" in the Grub entry:

title xp
rootnoverify (hd0,1)
makeactive
chainloader +1

The map commands are only used with multiple physical hard drives.


All times are GMT -5. The time now is 07:20 AM.