Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Kernel panic on boot with loadlin

  1. #1
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Belgium
    Posts
    10

    Kernel panic on boot with loadlin

    I can't burn cdroms so i try to boot knoppix with loadlin (in FreeDOS). I downloaded the files needed for loadlin (including the iso-file). When i type 'loadlin vmlinuz ....' I get the colourfull 'welcome to knoppix live cd'. After a few second I get the message 'kernel panic'. What did I do wrong?

    [EDIT] I get the suggestion to pass "INIT=" to the kernel

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    What complete loadlin command-line have you been trying?

    You might also want to look here for a discussion about this very topic.

  3. #3
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Belgium
    Posts
    10
    I tried "loadlin vmlinuz root=/dev/hda5 initrd=miniroot.gz lang=en ro"

    Now i tried something else "loadlin linux26 fromhd=/dev/hda5/Knoppix ramdisk_size=100000 init=/etc/init initrd=minirt26.gz home=/dev/hda7 BOOT_IMAGE=Knoppix" This gave a bit more: Can't find Knoppix filesystem.

    Anyway I have the Iso file in d:\Knoppix (/dev/hda5) and I'ld like to install to /dev/hda7 if possible.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Are you using the raw ISO image, or have you extracted the KNOPPIX file within that?
    With the ISO, I think it's bootfrom you should be using instead of fromhd
    See here

  5. #5
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Belgium
    Posts
    10
    I've both an iso and the extracted version of knoppix

    [edit]NowI've tried this:"loadlin linux26 bootfrom=/dev/hda5/Knoppix ramdisk_size=100000 init=/etc/init initrd=D:\Knoppix\minirt26.gz BOOT_IMAGE=Knoppix tohd=/dev/hda7"
    But i got a message: line to long. Can I drop something?
    [edit] the same result for "loadlin linux26 bootfrom=/dev/hda5 ramdisk_size=100000 init=/etc/init initrd=D:\Knoppix\minirt26.gz BOOT_IMAGE=Knoppix tohd=/dev/hda7"
    [edit]The setup still tries to find the cdrom

    Thanks for the quick responses

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote Originally Posted by Taldor
    But i got a message: line to long. Can I drop something?
    In the 1st post mentioned above, I explain why it's better to use loadlin with a parameter file rather than a long command line that gets truncated.

    http://www.knoppix.net/forum/viewtopic.php?t=2273

  7. #7
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Belgium
    Posts
    10
    Quote Originally Posted by baldyeti
    I guess we can assume you use win9x, can't we?
    I have WinXP.

    and what's the command then? "loadlin loadlin.par" or "loadlin config.sys" or ...?
    [edit] I found it: loadlin @loadlin.par

    now i get something:
    Accessing KNOPPIX CDROM at /dev/hda5...cat: No file /KNOPPIX/etc/ld.so.cache.
    Setting paths...run: not found
    awk: not found
    awk: not found
    Total memory found: kB
    expr: not found
    expr: not found
    mkdir: not found
    Creating directories and symlinks on ramdisk...mkdir: not found
    chown: not found
    /linuxrc: cannot create /var/run/utmp: directory nonexistent
    FAT: bogus logical sector size 0
    Kernel panic: VFS: Unable to mount root fs on 01:01
    [edit again]Now I use D:\knoppix\linux26 bootfrom=/dev/hda5/knop.iso ramdisk_size=100000 init=/etc/init lang=be vga=791 initrd=D:\knoppix\miniroot.gz apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi screen=1280x1024 home=scan myconfig=scan nomce, but this gives the same error as before.

    What's the cheatcode for a belgian azerty keyboard?

    Here , someone says i should put the big KNOPPIX file to the D:\Knoppix\ folder, but the folder D:\Knoppix\KNOPPIX\ can't coexist with the big KNOPPIX file. Should I rename something?

  8. #8
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Just to clarify, it sounds like you're booting FreeDOS and running LOADLIN off a boot floppy, and it sounds like /dev/hda5 (aka your D: drive under Windows) is not formatted as NTFS, but is FAT32, correct?

    (Knoppix won't load from an NTFS partition, and LOADLIN won't run from an NTFS partition, either, for all intents and purposes.)

    You can name LOADLIN's parameter file anything within the DOS "8.3" filename constraints. Name it "nsync.sux" or "bkstboyz.rul" if you like. Just tell LOADLIN where it is using the @ sign as described in the thread baldyeti pointed to. Nothing magical about its name.

    That big ~700MB file on the Knoppix CD called KNOPPIX - the one in the /KNOPPIX directory - has to be saved on your hard disk partition just like it is on the CD in order to to use the "fromhd" command. In other words, make a /KNOPPIX directory, and then put the ~700MB KNOPPIX file in it. So that /KNOPPIX/KNOPPIX is the big KNOPPIX file in a directory named KNOPPIX. Then you can use the "fromhd=/dev/hda5" command (assumming it's on /dev/hda5, of course).

  9. #9
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Belgium
    Posts
    10
    Quote Originally Posted by eco2geek
    Just to clarify, it sounds like you're booting FreeDOS and running LOADLIN off a boot floppy, and it sounds like /dev/hda5 (aka your D: drive under Windows) is not formatted as NTFS, but is FAT32, correct?
    correct, except I run loadlin from a FAT partition with FreeDOS, I don't use a floppy at all.

    That big ~700MB file on the Knoppix CD called KNOPPIX - the one in the /KNOPPIX directory - has to be saved on your hard disk partition just like it is on the CD in order to to use the "fromhd" command. In other words, make a /KNOPPIX directory, and then put the ~700MB KNOPPIX file in it. So that /KNOPPIX/KNOPPIX is the big KNOPPIX file in a directory named KNOPPIX. Then you can use the "fromhd=/dev/hda5" command (assumming it's on /dev/hda5, of course).
    Ok that's what i did wrong: I had this: D:\Knoppix\KNOPPIX\KNOPPIX. Now I have a seperate partition with only the Knoppix 'cdrom', (M:, /dev/hda and the big KNOPPIX file in M:\KNOPPIX\KNOPPIX.

    With these options: vmlinuz fromhd=/dev/hda8 ramdisk_size=100000 init=/etc/init lang=nl vga=791 initrd=miniroot.gz apm=power-off hda=scsi hdb=scsi hdc=scsi screen=1280x1024 home=scan myconfig=scan nomce, I get the same error message as before. Quite strange I still tries to find Knoppix in /dev/hda5...
    Accessing KNOPPIX CDROM at /dev/hda5...cat: No file /KNOPPIX/etc/ld.so.cache.
    Setting paths...run: not found
    awk: not found
    awk: not found
    Total memory found: kB
    expr: not found
    expr: not found
    mkdir: not found
    Creating directories and symlinks on ramdisk...mkdir: not found
    chown: not found
    /linuxrc: cannot create /var/run/utmp: directory nonexistent
    FAT: bogus logical sector size 0
    Kernel panic: VFS: Unable to mount root fs on 01:01

  10. #10
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Quote Originally Posted by Taldor
    Now I use D:\knoppix\linux26 bootfrom=/dev/hda5/knop.iso ramdisk_size=100000 init=/etc/init lang=be vga=791 initrd=D:\knoppix\miniroot.gz apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi screen=1280x1024 home=scan myconfig=scan nomce, but this gives the same error as before.
    The miniroot and the kernel are in pairs. For "linux26" you have to use "minirt26.gz" and for "linux24" you have to use "minirt24.gz" (they're in the /boot/isolinux dir on the CD). Also try it without that "init=/etc/init" line.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 08-08-2005, 03:02 AM
  2. Boot error and kernel panic after 3.4 install
    By dinacre in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-13-2004, 11:15 PM
  3. Errors and kernel panic during boot (2.6 Kernel)
    By gitarzysta in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-03-2004, 08:36 PM
  4. Kernel Panic:.... On boot - newbie
    By BoyBlitz in forum General Support
    Replies: 1
    Last Post: 04-05-2004, 01:45 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
  •  


Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture

Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2

$295.00



Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB picture

Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB

$2999.97



Dell 14

Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11

$199.00



Dell 15.6

Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11

$446.00



AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+ picture

AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+

$50.00



AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture

AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...

$304.95



Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory... picture

Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory...

$749.99



HP - 15.6

HP - 15.6" Touch-Screen Laptop - Intel Core i3 - 8GB Memory - 128GB SSD - Nat...

$449.99



Apple MacBook Air (2020) 13.3-inch, 1.1GHz, i5, 8GB RAM, 512GB SSD, Space Gray picture

Apple MacBook Air (2020) 13.3-inch, 1.1GHz, i5, 8GB RAM, 512GB SSD, Space Gray

$419.00



Lenovo Legion Pro 7 16

Lenovo Legion Pro 7 16" Intel i9-13900HX GeForce RTX 4090 32GB Ram 2TB SSD W11H

$2349.99