Re: kernel panic on root

From: David M Noriega (Neruocomp_at_yahoo.com)
Date: 07/13/03


Date: Sun, 13 Jul 2003 05:05:37 GMT

mjt wrote:

> David M Noriega wrote:
>
>> pick 2.4.21, the kernel panics when it tries to mount the root directory.
>> It has root=LABEL=/ as a boot option. The kernel says cant find device
>> "LABEL=/" use proper "root=" boot option. My boot directory is at
>> /dev/hde2, root is at /dev/hde5. I have tried setting root=/dev/hde5 at
>
> ... show us the contents of the grub config file and
> /etc/fstab and the output of
> # fdisk -l /dev/hd?
> .
grub.conf:
# 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,1)
# kernel /vmlinuz-version ro root=/dev/hda5
# initrd /initrd-version.img
#boot=/dev/hda2
default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.21)
        root (hd0,1)
        kernel /vmlinuz-2.4.21 ro root=LABEL=/ hde=ide-scsi
        initrd /initrd-2.4.21.img
title Red Hat Linux (2.4.21) Experimental
        root (hd0,1)
        kernel /vmlinuz-2.4.21 ro root=/dev/hde5 hde=ide-scsi
        initrd /initrd-2.4.21.img
title Test 2.4.21
        root (hd0,1)
        kernel /vmlinux-2.4.21 ro root=LABEL=/
        initrd /initrd-2.4.21.img
title Red Hat Linux (2.4.20-18.9)
        root (hd0,1)
        kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/
        initrd /initrd-2.4.20-18.9.img
title Red Hat Linux (2.4.20-13.9)
        root (hd0,1)
        kernel /vmlinuz-2.4.20-13.9 ro root=LABEL=/
        initrd /initrd-2.4.20-13.9.img
title Red Hat Linux (2.4.20-9)
        root (hd0,1)
        kernel /vmlinuz-2.4.20-9 ro root=LABEL=/
        initrd /initrd-2.4.20-9.img
title Red Hat Linux (2.4.20-8)
        root (hd0,1)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hde3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0
0
/dev/hde1 /mnt/win vfat defaults 0 0
/dev/hde6 /mnt/storage vfat
users,exec,auto,rw,umask=000 1 0
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/sda4 /mnt/zip vfat rw,user,noauto 0 0

I remade the kernel to have the scsi as all modules just to be sure. I no
longer get strange modprobe errors, I had them before builtin to the
kernel.



Relevant Pages

  • [RHSA-2003:238-01] Updated 2.4 kernel fixes vulnerabilities
    ... The Linux kernel handles the basic functions of the operating system. ... Several security issues have been discovered affecting the Linux kernel: ... If you use Red Hat Linux 7.1, you must have installed quota-3.06-9.71 from ...
    (Bugtraq)
  • [Full-Disclosure] [RHSA-2003:238-01] Updated 2.4 kernel fixes vulnerabilities
    ... The Linux kernel handles the basic functions of the operating system. ... Several security issues have been discovered affecting the Linux kernel: ... If you use Red Hat Linux 7.1, you must have installed quota-3.06-9.71 from ...
    (Full-Disclosure)
  • Re: Grub Loader
    ... I infer from your grub.conf listing that the "default=11" specification in your grub.conf listing designates the default kernel for booting and the "fallback=9" defines the kernel for loading if the first one fails. ... title Red Hat Linux root ...
    (Fedora)
  • [FLSA-2005:152532] Updated kernel packages fix security issues
    ... Updated kernel packages that fix several security issues are now ... The Linux kernel handles the basic functions of the operating system. ... Red Hat Linux 9 - i386 ... a local user the ability to do things like replace the firmware. ...
    (Bugtraq)
  • [Full-disclosure] [FLSA-2005:152532] Updated kernel packages fix security issues
    ... Updated kernel packages that fix several security issues are now ... The Linux kernel handles the basic functions of the operating system. ... Red Hat Linux 9 - i386 ... a local user the ability to do things like replace the firmware. ...
    (Full-Disclosure)