[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How do a fix a non working kernel installation ?



> Here is my grub file.  The boot partition is /dev/sda1.  That should
> be hd0,0, right ?    The root partition is sda2.  That should be
> hd0,1, right ?

> Does anyone see anything wrong with my grub setup ?

> I don't understand how installing an f12 kernel and then uninstalling
> it could still result in a machine that won't boot.   Does f12 assume
> an ext4 filesystem or something ?  df thinks my file systems are all
> ext3.

ext3 should be fine.  ext4 would be a problem.


> default=0
> timeout=15
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.29.5-191.fc11.i586)
>         root (hd0,0)
>        kernel /vmlinuz-2.6.29.5-191.fc11.i586 ro
> root=UUID=f543d554-9344-4cad-a7da-47de47cd2665 rhgb quiet
>         initrd /initrd-2.6.29.5-191.fc11.i586.img
> title Fedora (2.6.29.4-167.fc11.i586)
>        root (hd0,0)
>        kernel /vmlinuz-2.6.29.4-167.fc11.i586 ro
> root=UUID=f543d554-9344-4cad-a7da-47de47cd2665 rhgb quiet
>         initrd /initrd-2.6.29.4-167.fc11.i586.img


Okay, let's start back at the beginning.

First, are we sure grub is actually running?  Do you get anything
at all? or just a blinking cursor?  Does the splashimage come up?

If it isn't running at all, then either the MBR got messed up or
the BIOS reordered the disks, or something like that.  One you get
your shell from the rescue disk, run grub-install with the appropriate
parameters.  You probably need to do something like this:
   mkdir /boot
   mount /dev/sda1 /boot
   grub-install --root-directory=/boot /dev/sda
   umount /boot

Assuming grub is starting, and you have verified the files are there,
then maybe the UUID somehow got changed.  Try changing that part to
'root=/dev/vg00/lv00', or whatever the vg and lv are.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]