Results 1 to 6 of 6

Thread: Kernel panic: no init found

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929

    Kernel panic: no init found

    I'm stuck using my old SuSE 8.1 for Internet access for now (I'll pester folk
    about that -- I'm sure I've made a configuration error in Knoppix -- later). But
    for the meantime it'd help if I had an /etc/lilo.conf which worked properly.

    From SuSE, the above gives me a Lilo which works for SuSE but throws up Kernel Panic: no init found if I select Knoppix. From Knoppix, it gives me the reverse. Ideas, etc, welcome as ever.

    ***********************************
    /etc/lilo.conf

    boot = /dev/hda
    change-rules
    reset
    read-only
    menu-scheme = Wg:kw:Wg:Wg
    lba32
    prompt
    timeout = 80
    message = /boot/message

    image = /boot/vmlinuz-2.4.20-xfs
    label=Debian
    root = /dev/hda3
    vga = 791
    initrd = /boot/initrd.gz
    append = "hdb=ide-scsi"

    image = /boot/vmlinuz
    label = SuSE
    root = /dev/hdc3
    vga = 791
    initrd = /boot/initrd
    append = "hdb=ide-scsi"

    image = /boot/vmlinuz.suse
    label = failsafe
    root = /dev/hdc3
    vga = 791
    initrd = /boot/initrd.suse
    append = "ide=nodma apm=off acpi=off hdb=ide-scsi"
    optional

    image = /boot/memtest.bin
    label = memtest86

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    202
    change this

    mage = /boot/vmlinuz
    label = SuSE
    root = /dev/hdc3
    vga = 791
    initrd = /boot/initrd
    append = "hdb=ide-scsi"

    to this

    mage =/mnt/hdc3 /boot/vmlinuz
    label = SuSE
    root = /dev/hdc3
    vga = 791
    initrd = /mnt/hdc3/boot/initrd
    append = "hdb=ide-scsi"

    if you run lilo from Debian, your Suse vmlinuz etc are in
    partition /mnt/hdc3/boot no in Debian /boot
    If you run from Suse Debian partition is in /mnt/hda3/boot etc etc
    I dont know Suse and /mnt/hda3 may be /mnt/hda3 or /mnt/anything

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Thanks, but that won't do it.

    /sbin/lilo barfs at /mnt/hdc3 (thinking about it, this is what I'd expect, as it isn't mounted when lilo starts and therefore can't exist).

    Partition tables are as follows:

    (SuSE) hdc

    hdc1 /boot Primary ext2 24.69.mb
    hdc2 Primary swap 435.94mb
    hdc3 / Primary ext3 9771.64mb

    Knoppix/Debian hda

    hda1 / Primary ext3 17999.89mb
    hda2 Primary swap 500.10mb
    hda3 /home Primary ext3 22482.18mb


    That's to say, the SuSE disk has a seperate /boot partition and the Knoppix disk has a seperate /home (but no seperate mount).

    This is really hurting my brain..........

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Why do you not just chainload LILO by using:
    Code:
    other=/dev/hdc
            label=SUSE
    In your lilo.conf on the hda knoppix install then assuming that you have your SUSE lilo in the MBR of the hdc you will get another LILO screen from the SUSE lilo.conf and you will be able to boot. If you have installed the SUSE lilo to the / partition then use hdc3.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Thanks Stephen -- I'll try that.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Yep, that did it!

    Many thanks.

    I'll post my next problem later tonight!

Similar Threads

  1. kernel panic: no init found.
    By Haslemer in forum General Support
    Replies: 1
    Last Post: 01-03-2005, 08:39 PM
  2. Replies: 1
    Last Post: 08-11-2004, 11:36 AM
  3. Kernel panic : no init found.!!!!!!
    By MrAhmad in forum Customising & Remastering
    Replies: 9
    Last Post: 01-20-2004, 08:23 PM
  4. Replies: 12
    Last Post: 08-18-2003, 06:25 PM
  5. Modified kernel results in Kernel Panic - No init found.
    By tji in forum Customising & Remastering
    Replies: 4
    Last Post: 06-12-2003, 06:40 PM

Posting Permissions

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