Mandrake 10.1 & XP

Hey everyone! I had windows xp installed on my secondary hard drive, and then I installed Mandrake 10.1 on the primary hdd. After playing around with the Mandrake for a while (I am impressed by the way), I tried to get into xp from the boot lo...




Topic Options
#157625 - 02/14/05 07:04 AM Mandrake 10.1 & XP
adamgdwn Offline
stranger

Registered: 02/14/05
Posts: 4
Hey everyone!

I had windows xp installed on my secondary hard drive, and then I installed Mandrake 10.1 on the primary hdd. After playing around with the Mandrake for a while (I am impressed by the way), I tried to get into xp from the boot loader Grub. I get a message saying NTLDR is missing. I now know that by loading Mandrake onto the primary, it formatted it and deleted the startup files. But, I thought that Grub was supposed to be o.k. with that and would send me to the xp drive just fine. I have a start up disk with NTLDR and Ntdetect.com on it, so I think I just need find where to put them so when Grub send the system looking, it will find them. I would really appreciate any help you can give me.

Later:
Adam

Top
Advertisement
#157637 - 02/14/05 11:27 AM Re: Mandrake 10.1 & XP
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
Don't get the term bootloader and startup files confused.

By design, XP expects to be the first OS on the primary drive on any system. You should always install XP first on the primary, then Linux second. This solves a lot of issues.

But, let's clarify first. Was your currently "second" hard drive originally the primary? In other words, did you change the jumpers on the drives to make the Windows drive the second hard drive in the system, before installing Mandrake?

Did you install Grub on the Master Boot Record, or a /boot partition?

Try something first. Get into the bios and change the boot sequence setting of the hard drive from HDD0 to HDD1. Save the changes and reboot. Does XP boot without Grub? Let us know and we can proceed.

Top
#157681 - 02/14/05 10:33 PM Re: Mandrake 10.1 & XP
adamgdwn Offline
stranger

Registered: 02/14/05
Posts: 4
Hey Danlef!

I did not change the master slave settings. The secondary hdd has always had the xp home on it. When I did it's set up, I knew I was getting Mandrake in the mail so I told it to go on the secondary hdd.And no, I did not install Grub, it was already installed with the Mandrake install. It wrote the MBR for me. I changed the hdd order in the bios, and it did not like that at all. I think xp must have wrote the MBR to the primary, and Mandrake wiped that out. Knowing now that this is the way it wants to be, I could fixboot, but I risk damaging the Mandrake intal, or I guess I could flip the boot sequence and try fixboot and see if it writes a set of boot files what is currently the xp drive. But I was under the understanding that Grub was an extremely useful boot loader, and I would like to be able to use it.

Top
#157682 - 02/14/05 10:34 PM Re: Mandrake 10.1 & XP
adamgdwn Offline
stranger

Registered: 02/14/05
Posts: 4
Sorry, it Danleff. Missed an f. opps.

Top
#157688 - 02/15/05 02:46 AM Re: Mandrake 10.1 & XP
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
OK, this tells us a lot. So, the MBR for Windows is not on the second hard drive. I believe that your assumption is correct.

I bet you told Windows to install to the second hard drive, but it only installed Windows proper there, not the start-up files.

It created boot on the MBR of the first drive.

You installed Mandrake on the first drive, telling it to use the entire drive for Mandrake?

You then allowed Mandrake to write the MBR to drive 1 (hda)? This is what I meant.

Grub is a fine bootloader, but when you attempt to boot Windows, Windows can't find the startup files, where it expects to find them, on the first hard drive. This is why the usual senario would be to install XP first on the primary, then Linux on the secondary.

I've never done it your way and would have to search around for a fix. Perhaps someone has and has a quick answer. I do know that one user did post his solution a while back, but I don't remember when, or who it was.



Top
#157714 - 02/15/05 01:02 PM Re: Mandrake 10.1 & XP
shobhit Offline
stranger

Registered: 02/08/04
Posts: 19
before you do fixboot and fixmbr create a linux boot disk or a grub boot disk.
so that if anything goes wrong you can still boot into your linux distro.



Top
#157750 - 02/15/05 10:36 PM Re: Mandrake 10.1 & XP
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
adamgdwn, let's try this fix first.

Are you comfortable with editing files using a text editor?

If not, we will try to walk you though it. You will need to edit the /boot/grub/menu.lst file.

Change the entry for Windows from;

title windows
root (hd1,0)
makeactive
chainloader +1


To the following;

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

map (hd1) (hd0)


Save the file and try rebooting into Windows via Grub.

If this does not work, we will make one more adjustment.


Top
#157756 - 02/16/05 01:19 AM Re: Mandrake 10.1 & XP
adamgdwn Offline
stranger

Registered: 02/14/05
Posts: 4
Whoo hoo! Fixed it!

Thanks for the help, but it turned out to be a fairly simple fix. I needed a MSDOS boot disk with NTDETECT.COM and NTLDR on them. After I realized that it was looking on the right hdd, just in the wrong directory (you were right on the mark when you prescribed a virtual flip Danleff, Grub had already done that for me), I copied these two files directly to the C: from the dos window. It is important not to allow it to go to c:\windows or it will never get a chance to read them. If you start up with the windows install disk, and go to the recovery console, it automatically sends copied files into the windows directory. So now I have Mandrake fully occupying the primary hdd and xp completely confined to the secondary hdd. 8) I get a boot.ini error, but it does not affect the boot up and I can tweak that out later.
Thanks for the time. I tend to do thingd, then break it, then learn how, then fix. A bit of a challenge sometimes, but it solidifies the learning ( I belive they call it an experiential learner).
Thanks again for the help, I'll keep watching and maybe pass on any other things I might find.

Later:
Adamgdwn

Top
#157758 - 02/16/05 02:05 AM Re: Mandrake 10.1 & XP
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
Great! that's the ticket.

1. If the file(s) were present at all where XP thought that they should be...and

2. Grub looking in the right place.

So, the problem is solved with some basic infomation and nudging with your ability to troubleshoot the problem.

Nice job!

Top
#169094 - 12/24/05 09:20 AM Re: Mandrake 10.1 & XP
Killerah Offline
stranger

Registered: 12/24/05
Posts: 1
Sorry to revive this old thread, but I'm having the same problem adamgdwn had, and danleff said something about another step that could be taken if that didn't work. Here's my entry for Windows:

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

I'm using Ubuntu, and the thing about this is it was working yesterday! I installed a new update (it updated the kernel) and it overwrote my old menu.lst with a new one that didn't have my entry for windows XP in it! The one that worked was automatically set up by Ubuntu when I installed it.

Please help.
Thanks
-Nate

Top
#169105 - 12/24/05 05:53 PM Re: Mandrake 10.1 & XP
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
Did you try adding the above entry for Windows to the menu.lst file?

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
How to convert Mod video produced by hard-disk cam
by Iris730
50 minutes 30 seconds ago
LinkSys Router: Internet Access Issue
by Myke
Yesterday at 10:48 PM
BSOD: IRQL_not_less_or_equ
al

by baharkhafan
01/04/10 07:35 PM
8 Bit Palleted Textures
by Pookie_Lestat
01/04/10 04:50 PM
Carmageddon 2 weird
by Kuikie
12/29/09 04:32 PM
Who's Online
0 Registered (), 207 Guests and 41 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91457 Members
24 Forums
59567 Topics
190110 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22