-
Junior Member
registered user
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
-
Senior Member
registered user
What complete loadlin command-line have you been trying?
You might also want to look here for a discussion about this very topic.
-
Junior Member
registered user
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.
-
Senior Member
registered user
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
-
Junior Member
registered user
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
-
Senior Member
registered user

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
-
Junior Member
registered user

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?
-
Senior Member
registered user
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).
-
Junior Member
registered user

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
-
Senior Member
registered user

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.
Similar Threads
-
By sakiZ in forum Tips and Tricks
Replies: 0
Last Post: 08-08-2005, 03:02 AM
-
By dinacre in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 07-13-2004, 11:15 PM
-
By gitarzysta in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-03-2004, 08:36 PM
-
By BoyBlitz in forum General Support
Replies: 1
Last Post: 04-05-2004, 01:45 PM
-
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
-
Forum Rules

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

INTEL CORE I9-10980XE PROCESSOR | 3.00GHZ | SRGSG
$299.99

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor
$62.95

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00