Dual booting with grub
Hello, I recently had to replace my hard drive controller and reinstalled Centos on one hard drive with windows 2000 on a separate drive. All drives are of type IDE. Windows is on the slave and Centos on master drive.
here is what fdisk -l shows; Quote:
Quote:
Would it be something like; title Windows root (hd1,1) kernel (i don't know what to put here ) quiet initrd (or what image to point it to ) Many thanks in advance |
Sure, look at the Grub Booting Tips in my signature. Basically you don't need the kernel or initrd lines, instead replacing it with chainloader +1. But you'll probably also have to use the map function because Windows needs to think it's on the 1st primary hard disk.
|
Hi, I solved the problem the hard way. I thought you would be interested in how I did it.
I added this to /grub/menu.lst Quote:
This time I did not get Centos instead booting straight into windows. I disconnected the drive storing windows and booted back into centos. I modified menu.lst and changed over the drives root thus; Quote:
BTW when I was installing Centos I got an option to configure grub which offered an option to add a second OS. Unlike other linux distros such as Debian, it could not see Windows on second drive. There was an option to add. But when i used this option and selected the second drive I would get a error message saying; Quote:
|
I don't think the map is for grub's benefit, but for Windows.
|
saiwash, I think you should have made your windows entry with the
rootnoverify (hd1,0) chainloader +1 You had windows on the second hd and in the first partition. You would not have to use the map signals seeing windows was in the first partition of the drive. |
Hi again, I am experiencing a similar problem on a second machine. This one has vista and OpenSUSE on same hard drive. This is one of those cheap laptops that comes with vista without CD's. The OS is stored on specific partition which if i mess with voids warranty. I kept getting missing bootloader. So i reinstalled OpenSUSE.
This is results of fdisk -l Quote:
Quote:
|
title Windows
rootnoverify (hd0,1) chainloader +1 |
All times are GMT -5. The time now is 11:41 AM. |