crazy4nix
June 30th, 2010, 08:28 AM
Hi. I've Win XP installed on sda1 initially.
Then I installed Centos on sdb (boot partition on sdb1 and root on sdb2). I chose to install grub to MBR of sda. The Centos installation automatically created an entry in the menu.lst file and I can successfully boot either into XP or Centos.
Now I went ahead and installed Ubuntu 10.04 to sdb4. Both Centos and Ubuntu are sharing the swap partition at sdb3.
When I was installing Ubuntu, I chose not to install grub because I wanted the grub already installed to boot all three.
After Ubuntu was installed, I logged into Centos and added the following entry in its menu.lst [so I modified (sdb1)/boot/grub/menu.lst ]
Code:
title Ubuntu 10.04
root (hd1,3)
kernel /boot/vmlinuz-2.6.32-21-generic ro root=/dev/sdb4 splash quiet
initrd /boot/initrd.img-2.6.32-21-generic
It is not booting. It gives me error 2. What is wrong here. I know Ubuntu 10.04 is suppose to use grub 2, but I didn't install grub there. Here is what's in /boot of my Ubuntu installation (sdb4/boot):
Code:
-rw-r--r-- 1 root root 640617 Apr 16 09:01 abi-2.6.32-21-generic
-rw-r--r-- 1 root root 115847 Apr 16 09:01 config-2.6.32-21-generic
drwxr-xr-x 2 root root 4096 Apr 29 08:27 grub
-rw-r--r-- 1 root root 7965368 Jun 30 2010 initrd.img-2.6.32-21-generic
-rw-r--r-- 1 root root 160280 Mar 23 05:37 memtest86+.bin
-rw-r--r-- 1 root root 1687378 Apr 16 09:01 System.map-2.6.32-21-generic
-rw-r--r-- 1 root root 1196 Apr 16 09:03 vmcoreinfo-2.6.32-21-generic
-rw-r--r-- 1 root root 4029792 Apr 16 09:01 vmlinuz-2.6.32-21-generic
The grub dir above is empty. Nothing inside.
Please guide me. I tried to look for a solution myself, but wasn't able to find one. Thanks in advance.
Then I installed Centos on sdb (boot partition on sdb1 and root on sdb2). I chose to install grub to MBR of sda. The Centos installation automatically created an entry in the menu.lst file and I can successfully boot either into XP or Centos.
Now I went ahead and installed Ubuntu 10.04 to sdb4. Both Centos and Ubuntu are sharing the swap partition at sdb3.
When I was installing Ubuntu, I chose not to install grub because I wanted the grub already installed to boot all three.
After Ubuntu was installed, I logged into Centos and added the following entry in its menu.lst [so I modified (sdb1)/boot/grub/menu.lst ]
Code:
title Ubuntu 10.04
root (hd1,3)
kernel /boot/vmlinuz-2.6.32-21-generic ro root=/dev/sdb4 splash quiet
initrd /boot/initrd.img-2.6.32-21-generic
It is not booting. It gives me error 2. What is wrong here. I know Ubuntu 10.04 is suppose to use grub 2, but I didn't install grub there. Here is what's in /boot of my Ubuntu installation (sdb4/boot):
Code:
-rw-r--r-- 1 root root 640617 Apr 16 09:01 abi-2.6.32-21-generic
-rw-r--r-- 1 root root 115847 Apr 16 09:01 config-2.6.32-21-generic
drwxr-xr-x 2 root root 4096 Apr 29 08:27 grub
-rw-r--r-- 1 root root 7965368 Jun 30 2010 initrd.img-2.6.32-21-generic
-rw-r--r-- 1 root root 160280 Mar 23 05:37 memtest86+.bin
-rw-r--r-- 1 root root 1687378 Apr 16 09:01 System.map-2.6.32-21-generic
-rw-r--r-- 1 root root 1196 Apr 16 09:03 vmcoreinfo-2.6.32-21-generic
-rw-r--r-- 1 root root 4029792 Apr 16 09:01 vmlinuz-2.6.32-21-generic
The grub dir above is empty. Nothing inside.
Please guide me. I tried to look for a solution myself, but wasn't able to find one. Thanks in advance.