UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi. I have installed first Windows XP, then installed Kubuntu. But Kubuntu didn't recognize Windows. I think I know why...
Anyway, here's what I've put on my menu.lst:
title Windows XP
rootnoverify (hd2,1)
makeactive
chainloader +1
I believe the disk information is correct, but correct me if I'm wrong:
IDE Primary Master: 80 GB, Kubuntu
IDE Primary Slave: DVD-RW
IDE Secondary Master: None
IDE Secondary Slave: 120 GB, data
First SATA: nothing
Second SATA: 250 GB, with a Win partition (sda2)
The problem is, when I select Windows XP, nothing happens. Just a "_" tilting, and nothing else.
Anyway, I believe I know the cause of the problem. When I installed Windows XP on that partition, it told me it had to give format to the then unformatted Primary Master, cause it had to write info there. I said OK.
I'm guessing there's where it installed NTLDR and all that stuff. But all that got wiped out when I installed Kubuntu there, with GRUB.
So now I go check the Win partition and I see there is no boot.ini, which I've just read is essential to booting Windows. Ahh, I'm tired of dealing with these things...
Is there any way I can fix WITHOUT having to reinstall any operating systems? I'm fed up with that by now
Now what I get is: "Remove disks or drives. Press one key to continue" (not sic, but translated). I press a key and then NVIDIA Boot Agent loads up. I haven't got a clue why it does, I'm guessing it loads up when no other boot loader is present. As I said, I don't have the ntldr nor the boot.ini file on that partition.
this has has to do with windows mbr which is always installed in the active partion of master disk, the actual programs & installation could be anywhere
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/hda1 * 1 9777 78533721 83 Linux
/dev/hda2 9778 9964 1502077+ 5 Extendida
/dev/hda5 9778 9964 1502046 82 Linux swap / Solaris
Try
title Windows XP
map (hd0) (sd0)
map (sd0) (hd0)
rootnoverify (sd0,1)
makeactive
chainloader +1
the partitions with * mark are active, so sda2, hda1(linux), & hdd1,
since your windows installation is on 250 gb SATA, this should work though I am not sure about SATA drives
I am sorry, cant help beyond this, maybe some else can help, you can always google for map command with ref to SATA drives, essentially you have to fool windows into thinking that it is installed in the first active partition of primary disk, so maybe playing with hd0,hd1 or sd0, sd1 may work
That seemed like a moot point, seeing that I had already:
(hd2) /dev/sda
on my device.map.
So I replaced the values on the entry that person used with the ones I should use, but then again, it was the exact same thing you, snd68 had already told me to do and which hadn't worked.
I think the disk actually booted with that config, else it wouldn't have shown the "NVIDIA Boot Agent". But Windows doesn't appear :\
I'm guessing there's where it installed NTLDR and all that stuff. But all that got wiped out when I installed Kubuntu there, with GRUB.
So now I go check the Win partition and I see there is no boot.ini, which I've just read is essential to booting Windows. Ahh, I'm tired of dealing with these things...
Is there any way I can fix WITHOUT having to reinstall any operating systems? I'm fed up with that by now
Unfortunately, I think your analysis is correct. The XP installer (and bootloader) require a primary partition on the boot disk.
Looks like you overlaid it with Kubuntu.
Easiest for you would be to change the BIOS boot disK to the SATA, then re-install XP there. It will update the MBR of that disk - no matter. Then change the BIOS back, and using the menu.lst suggested by sn68 first response, try again.
Oh my god, I can't believe it. It worked! It worked! So this installation of Kubuntu + Windows XP costed me 3 kubuntu installs + 2 XP installs. But I eventually got there.
There's a detail I did differently though: I changed the boot order to load the SATA disc first, but the windows installation insisted on formatting the primary master drive (which has kubuntu). So I just unplugged the other two hard drives, leaving only the SATA disc where I would be installing Windows. I installed it, plugged in the other two discs, restored the boot order to the original state, and it automagically worked! (I had already configured GRUB using the first configuration sn68 recommended).
I can't stress this enough: THANKS, big thanks to both of you. I hope one day my Linux knowledge will be bigger so I will be able to help others as beautifully as the people on this wonderful community do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.