2.6.7 kernel panic

From: machoamerica (machoamerica_at_ziplip.com)
Date: 11/30/04

  • Next message: Sam Watkins: "Re: memory usage"
    Date: Mon, 29 Nov 2004 22:04:25 -0800 (PST)
    To: <debian-user@lists.debian.org>
    
    

    i compiled the 2.6.7 kernel from source using make-kpkg. when i
    boot i get this:

    UDF-fs: No partition found (1)
    Kernel panic: VFS: unable to mount root fs on unknown block(3,4)

    /dev/hda4 is the root partition and has /boot on it as well. it's
    an ext3 partition. i have no UDF partitions to my knowledge.

    kernel options that may have relevance that i set for 2.6.7 are:

    CONFIG_EXT3_FS=y
    CONFIG_BLK_DEV_IDE=y
    CONFIG_BLK_DEV_IDEDISK=y
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_RAM_SIZE=16384
    CONFIG_BLK_DEV_INITRD=y
    CONFIG_BLK_DEV_IDEPCI=y
    CONFIG_DEVFS_FS=y

    worse, my old 2.4.18 kernel no longer works. i'm assuming this
    means that what i'm doing wrong is something trivial & stupid.
    my current lilo.conf is:

    boot=/dev/hda
    compact
    lba32
    timeout=200
    prompt

    # To use the new LILO boot menu, add the following
    bitmap=/boot/debianlilo.bmp
    bmp-table=109p,148p,1,7
    bmp-colors=0,15,8,15,1,7
    bmp-timer=514p,144p,0,15

    # don't think this is needed:
    #install=/boot/boot-bmp.b

    map=/boot/map
    vga=normal
    delay=20
    default=Linux
    image=/vmlinuz
            label = Linux
    # i've tried commenting out read-only, but to no avail
            read-only
            initrd=/initrd.img
            root=/dev/hda4

    image=/vmlinuz.old
            label = "Linux 2.4"
            read-only
            append = "hdc=ide-scsi hdd=ide-scsi"
            initrd=/initrd.img.old
            root=/dev/hda4

    other=/dev/hda1
            label="Windows 98"

    thanks in advance for any help,
    macho

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Sam Watkins: "Re: memory usage"

    Relevant Pages

    • Re: booting linux using a floppy
      ... which kernel of the list to boot from. ... Note that this will at this point remove your ability to boot into windows. ... I think I recall that you said the grub loader... ... and grub will search for a partition containing grub's stage2 file ...
      (comp.os.linux.misc)
    • Re: My Machine Wont Boot
      ... The boot order is correct in the bios. ... Decoded into readable language, the,0 is the partition number of the (0 ... Installing Grub And A Kernel ... won't install grub because the kernel hasn't changed. ...
      (Fedora)
    • Re: /boot on a separate partition
      ... >> partition at the start of the drive. ... The problem I'm having is trying to actually boot the system. ... Undaunted, I type 'ad(0,d)/loader' to load the stage 3 loader. ... the message "can't load 'kernel". ...
      (freebsd-questions)
    • Re: Kernel boot configuration in modern Linux systems
      ... is enough to copy this image file to the boot medium like the ... BIOS to load the kernel, the kernel image had to be located beyond this ... This is not a problem for a sane install, ... because there will be a fairly small partition holding / and it is not ...
      (comp.os.linux.development.system)
    • Re: Kernel recompile has left /boot empty
      ... same as the main partition. ... 8.0K boot ... >> I successfully recompiled my kernel, ... > The first thing that came to mind was that maby the boot scripts faild ...
      (alt.os.linux)