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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC picture

24x Micron MT40A512M16LY-062E IT:E 8Gb DDR4-3200 96-FBGA Memory IC

$349.99



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.55



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$202.50



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



Samsung 32GB 2Rx4 DDR4 PC4-2133P M393A4K40BB0-CPB4Q ECC Server Memory Module picture

Samsung 32GB 2Rx4 DDR4 PC4-2133P M393A4K40BB0-CPB4Q ECC Server Memory Module

$150.00



Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB picture

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB

$124.95



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



SK Hynix 32GB DDR4 2133MHz RDIMM Server Memory (HMA84GR7MFR4N-TF) - Preowned picture

SK Hynix 32GB DDR4 2133MHz RDIMM Server Memory (HMA84GR7MFR4N-TF) - Preowned

$149.00