On Thu, 6 Mar 2003, Kent Borg wrote:
> I installed yesterday's kernel update for RH 7.3, and then my Sony
> notebook wouldn't reboot. After various futzing, I can get it up
> manually, but not with my grub.conf.
>
> Manually I can get it to boot this way:
>
> - At grub screen hit "c" for command line
> grub> root (hd0,0)
> grub> kernel /vmlinuz-2.4.18-26.7.x root=/dev/hda5 ro vga=791
> grub> boot
>
> and it works.
>
> But the following /boot/grub/grub.conf (without the two-space indent)
> fails when kernel can't find init:
>
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE: You have a /boot partition. This means that
> # all kernel and initrd paths are relative to /boot/, eg.
> # root (hd0,0)
> # kernel /vmlinuz-version ro root=/dev/hda5
> # initrd /initrd-version.img
> #boot=/dev/hda
> default=2
> timeout=10
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title Red Hat Linux (2.4.18-26.7.xdebug)
> root (hd0,0)
> kernel /vmlinuz-2.4.18-26.7.xdebug root=/dev/hda5 ro vga=791
> # kernel /vmlinuz-2.4.18-26.7.xdebug ro root=/dev/hda5 vga=773
> initrd /initrd-2.4.18-26.7.xdebug.img
> title Red Hat Linux (2.4.18-26.7.x)
> root (hd0,0)
> kernel /vmlinuz-2.4.18-26.7.x root=/dev/hda5 ro vga=791
> # kernel /vmlinuz-2.4.18-26.7.x ro root=/dev/hda5 vga=773
> initrd /initrd-2.4.18-26.7.x.img
> title Red Hat Linux (2.4.19)
> root (hd0,0)
> kernel /vmlinuz-2.4.19 root=/dev/hda5 ro vga=791
> # kernel /vmlinuz-2.4.19 ro root=/dev/hda5 vga=773
> initrd /initrd-2.4.19.img
>
> Note that the "root=/dev/hda5 ro vga=791" was copied and pasted from
> /var/log/dmesg after a successful manual boot. The last kernel, the
> 2.4.19, is one that I compiled myself awhile back, and it won't boot
> either from this grub file. None of these three kernels will boot
> from this grub.conf.
>
> Anyone have any ideas?
>
>
> Thanks,
>
> -kb, the Kent who even tried installing lilo, and it didn't work
> either.
>
Well, it apears the system boots just fine without the initial ramdisk,
so what I would try is commenting out the initrd lines, and see if that
helps. Now, as far as the difference between "root=/dev/hda5 ro
vga=791" and "ro root=/dev/hda5 vga=773", except for the vga mode, there
is no difference. You could use "ro root=/dev/hda5" and it should boot
as well.
What I would do is backup grub.conf, and create a simple one to test
things out.
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux
root (hd0,0)
kernel /vmlinuz-2.4.18-26.7.x ro root=/dev/hda5
See if that works. Expand from there.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list