[SATLUG] GRUB problem
tweeksjunk2 at theweeks.org
Mon Jun 2 23:48:11 CDT 2008
On Monday 02 June 2008 07:45:41 pm Charles Mims wrote:
> I have just upgraded from 2 IDE HD and 1 SATA HD, by replacing the 2 IDE
> with another SATA.
> The original SATA has Fedora9, Ubuntu, and CentOS. I have installed WiinXP
> and Redhat 5
> on the new SATA drive and grub is installed in the MBR on the new SATA
> drive. So the new drive
> is /dev/sda and the original is /dev/sdb.
> Here is my problem. I have edited the grub.conf in Redhat. Ubuntu and
> CentOS will load fine.
> However I cannot get Fedora9 to load.
> When I try to load Fedora9 I get an error 2 message when trying to load the
> " Bad file or directory type"
> According to the grub manual, this error is returned if a file requested is
> not a regular file,
> but something like a symbolic link, directory, or FIFO.
> This is what I copied from Fedora grub.conf to the Redhat grub.conf
> I did edit the root line to show it was now on hd1.
> title Fedora (188.8.131.52-18.fc9.i686)
> root (hd1,0)
> kernel /boot/vmlinuz-184.108.40.206-18.fc9.i686 ro
> root=UUID=54e24e43-3728-497e-b92a-f494b44fea6e rhgb quiet
> initrd /boot/initrd-220.127.116.11-18.fc9.i686.img
> I have tried changing 'root=' to various e.g. /dev/sdb1 with the same
> results. I noticed that the permissions on the kernel
> were 755, but on the other distros 644. Changing these did not help.
Fedora used to use a three partition layout by default, which would make root
either /dev/sda2 or sda3. However, not they defualt to using LVM.. so it
would look more something like what you had above or this:
kernel /vmlinuz-18.104.22.168-18.fc9.i686 ro \
root=UUID=fb9366fb-7272-41c2-a247-9558c6d0901f rhgb quiet
Where the UUID is the unique ID of the LV within the volume group. If you
lose your LVM config/metadata.. you might need to boot from CD (like Knoppix)
and run some pvdisplay/vgdisply/lvdisplay commands to get all your info back.
More information about the SATLUG