LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Something NEW... GRUB error. (https://www.linuxquestions.org/questions/linux-software-2/something-new-grub-error-704473/)

buccaneere 02-13-2009 12:37 PM

Something NEW... GRUB error.
 
Another multi-boot machine, another problem.

I'm workin' on a quad-boot - Ubuntu, XPPro, FC8, and PCLinuxOS.

2 disks on IDE secondary, one disk on PCI/IDE controller card.

I was 3x booting no problem from PCI drive, till I added PCLOS to the PCI drive. I think I over-wrote FC8 loader... How can I tell?

I got a Live boot up now...

Code:

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/hdc: 30.7 GB, 30735581184 bytes
255 heads, 63 sectors/track, 3736 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hdc1  *          1        3736    30009388+  7  HPFS/NTFS

Disk /dev/hdd: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hdd1  *          1        9447    75882996  83  Linux
/dev/hdd2            9448        9729    2265165    5  Extended
/dev/hdd5            9448        9729    2265133+  82  Linux swap / Solaris

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1          25      200781  83  Linux
/dev/sda2              26        9729    77947380  8e  Linux LVM
ubuntu@ubuntu:~$


mostlyharmless 02-13-2009 01:24 PM

Few questions:
Which grub error? 22? 15?
I presume Windows = hdc1, but...
Who's on hdd1 and sda1, Ubuntu and FC8? which is which, and where did you put PCLOS?

You could always reinstall grub after locating your menu.lst, whichever drive you were keeping the /boot/grub/menu.lst files; if you don't remember, you can use "find" at the grub prompt. Hope that helps.

buccaneere 02-13-2009 03:57 PM

Quote:

Originally Posted by mostlyharmless (Post 3442607)
Few questions:
Which grub error? 22? 15?
I presume Windows = hdc1, but...
Who's on hdd1 and sda1, Ubuntu and FC8? which is which, and where did you put PCLOS?

You could always reinstall grub after locating your menu.lst, whichever drive you were keeping the /boot/grub/menu.lst files; if you don't remember, you can use "find" at the grub prompt. Hope that helps.

Don't remember the GRUB (PCLOS) error; tho' it was a 'find file' error, not numerical. I think it was 'Can't find menu.lst'...

hdc1 = XPPro .......IDE secondary
hdd1 = Ubuntu ....IDE secondary
sda1 = PCLOS .... PCI IDE card
sda2 = FC8. ........ PCI IDE card ... sda2 is also LVM (oops).

I'm still liveCD now.

Is FC8 GRUB conflicting with PCLOS GRUB?

Thanks...

mostlyharmless 02-13-2009 06:30 PM

Well, there's only going to be one GRUB in the MBR of sda, which is presumably the boot drive. Or is there an hda (IDE primary) that's the boot drive? It probably doesn't matter if you're using PCLOS grub or FC8 grub, so long as it can find its files. But don't you need a boot partition when your root partition is on LVM? So the question remains: where are the boot files. Sometimes with grub's "find" command, you have to spell it out, and type
Quote:

find (hdX,X)/boot/menu.lst
or use file completion with the TAB key.
hdX is hd0 or hd1 or hd2, not hda, hdd etc...
Look at
http://www.troubleshooters.com/linux/grub/grub.htm under "Having Grub do your Research for You"


All times are GMT -5. The time now is 12:41 PM.