LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-05-2010, 05:30 AM   #1
kr4sus
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
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
 
Old 03-05-2010, 06:10 AM   #2
kainosnous
Member
 
Registered: Mar 2010
Location: Tennessee, USA
Distribution: Arch, Fedora
Posts: 59

Rep: Reputation: 18
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.
 
Old 03-05-2010, 06:28 AM   #3
kr4sus
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kainosnous View Post
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.
 
Old 03-05-2010, 08:07 AM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Change root (hd1,0) in root (hd0,1)
Hope it helps
 
Old 03-05-2010, 08:55 AM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,537

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "BOOTMGR missing".Dualboot. Trying to get into Vista (linux works) Ubunoob001 Linux - Newbie 5 03-03-2010 12:09 PM
bootmgr missing after installing fedora salfuser Linux - Newbie 2 01-27-2009 09:15 AM
bootmgr is missing (boot error) fakie_flip General 5 12-18-2007 04:19 AM
BOOTMGR is missing ColinBehr Linux - General 3 10-16-2006 06:09 PM


All times are GMT -5. The time now is 05:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration