Find the answer to your Linux question:
Results 1 to 3 of 3
I am trying to recompile my linux kernel to 2.6.5-7.104. And I am at the point of trying to boot to it. My root partition is hda3 so in lilo.conf ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    7

    Kernel Panic


    I am trying to recompile my linux kernel to 2.6.5-7.104. And I am at the point of trying to boot to it. My root partition is hda3 so in lilo.conf i set that as root for the new kernel. But when I boot it gives me a kernel panic and tells me it can't mount it. This is my first time to recompile a kernel so I am kinda a n00b, but i am pretty familiar with linux.
    Thanks for any help

  2. #2
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    Please reply with information on what distro you use, your partiton table and the lilo.conf file.

  3. #3
    Just Joined!
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    7
    I have suse 9.1

    Lilo.conf
    Code:
    # Modified by YaST2. Last modification on Tue Aug 17 17:35:10 2004
    
    
    message = /boot/message
    timeout = 80
    prompt
    default = Linux
    boot = /dev/hda
    
    image = /boot/vmlinuz
        ###Don't change this comment - YaST2 identifier: Original name: Linux###
        label = Linux
        initrd = /boot/initrd
        optional
        root = /dev/hda3
        vga = 0x317
        append = "splash=silent desktop resume=/dev/hda2 showopts"
    
    image = /boot/bzImage.Trey.15aug2004
        ###Don't change this comment - YaST2 identifier: Original name: Newkern###
        label = Newkern
        initrd = /boot/initrd
        optional
        root = /dev/hda3
        vga = 0x317
        append = "splash=silent desktop resume=/dev/hda2 showopts"
    
    other = /dev/hda1
        ###Don't change this comment - YaST2 identifier: Original name: Windows###
        label = Windows
    
    image = /boot/vmlinuz
        ###Don't change this comment - YaST2 identifier: Original name: Failsafe###
        label = Failsafe
        initrd = /boot/initrd
        optional
        root = /dev/hda3
        vga = normal
        append = "showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 3"
    and the partition table is like this

    Device Type Mount Point
    dev/hda
    dev/hda1 NTFS /windows/C
    dev/hda2 Linux Swap swap
    dev/hda3 Linux Native /


    Thank you for any help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •