View Single Post
Old 12-17-2007, 07:05 AM   #4 (permalink)
Guardian-Mage
Registered User
 
Join Date: Dec 2007
Posts: 7
OS: Windows XP SP 2, Ubuntu Linux 7.10, Mac OS 10.5, BLFS


Re: Cannot mount selected partition.

I have seen this problem. If I understand you, Ubuntu is on the second hard disk. So is Grub. For some reason GRUB doesn't configure itself correct when you change it's location. GRUB always refers to itself as on hd0. So when it is on the second partition, instead of booting Ubuntu from hd1 which is the first hard disk, it should boot to hd0, which is the hard disk that GRUB resides on.

1. Insert Live CD
2. Boot to Live CD
3. Open a terminal
4. type sudo gedit
5. GEdit will open
6. Open File > Ubuntu Partition(NOT THE LIVE CD FILE SYSTEM)(Ubuntu Partition should be /media/sdx) > Ubuntu File System /boot/grub/menu.lst
7. Go to the bottom
8. Your Ubuntu Entry should resemble this:

> title Ubuntu, kernel 2.6.20-16-generic
> root (hd1,1)
> kernel /boot/vmlinuz-2.6.20-16-generic
> root=UUID=3adabece-a770-49a0-bf76-766193ae1204 ro single
initrd /boot/initrd.img-2.6.20-16-generic

9. It may be different, but change "root (hd1,1)" to "root (hd0,<Your partition here>)
Guardian-Mage is offline