[PlanetCCRMA] Problems with the new kernel

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Thu Sep 25 12:35:03 2003

> Okay. I just bit the bullet and did an apt-get dist-upgrade. The install
> went find, I checked grub.conf, and ran "grub-install /dev/hda".

Hmmm, I've never needed to do that, you just reboot and that's all...

> So far so good, but...
> As the kernel booted, the startup tried to check the root filesystem but
> failed. For some reason the root fs was mounted read-write at this
> point, and fsck can't check it.
> This is the line in fstab for /:
> /dev/hda6 / ext2 rw 0 0

This is what I have on a RedHat 9 system for the root directory:

LABEL=/  /               ext3    defaults        1 1

> This is the grub configuration for the new kernel:
> title Red Hat Linux (2.4.22-6.ll.rh90)
>         root (hd0,4)
>         kernel /vmlinuz-2.4.22-6.ll.rh90 ro root=LABEL=/ hdd=ide-scsi
> ide0=autotune ide1=autotune acpi=off
>         initrd /initrd-2.4.22-6.ll.rh90.img

That's not right, the kernel is not on /, it is on /boot
Same for initrd*
This is what I have (and what the rpm install should have left in
/boot/grub/grub.conf - did you do editing?)

title Red Hat Linux (2.4.22-6.ll.rh90smp)
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.22-6.ll.rh90smp ro root=LABEL=/
        initrd /boot/initrd-2.4.22-6.ll.rh90smp.img

-- Fernando