PDA

View Full Version : Installing knoppx still compressed (using loadlin)



Lengths
04-28-2004, 11:12 PM
I am trying to get knoppix to work on my laptop (no cd rom drive). I have follwed the instructions at: http://www.knoppix.net/docs/index.php/HdBasedHowTo

Copied all the files (vmlinuz, miniboot.img and the contents of the knoppix directory to C:\knoppix), Download loadlin, copied it to "c:\knoppix\loadlin, writen a batch file menu system which when linux is selected runs the following command

cd knoppix\loadlin
loadlin.exe vmlinuz root=/dev/hda1 lang=en ro

it however starts to boot and load the kernal but stops with the following statments:

vfs: Mounted root (vfat filesystem) readonly.
freeing unused kernel memory: 136k freed
Warning: unable to open an intial console.
kernel panic: no init found. try passing init= option to kernel

Could sombody help, my only exeperiance of linux up to now has been graphicial mandrake, so i have no idea whats up with it ....

wangji
05-02-2004, 09:28 AM
hi,
I guessed you copied from cd ,so in c:\KNOPPIX\KNOPPIX is a big 700Mb file
which is still a cloop_compressed_iso_file; you should have started a ramdisk
to be able to insert cloop module and use the KNOPPIX file
modify your cmd line as follow:
loadlin.exe vmlinuz initrd=mliniroot.img lang=en vga=791 ramdisk_size=100000 init=/etc/init BOOT_IMAGE=KNOPPIX noapic apm=power-off

once vmlinuz gets the hand,it loads miniroot as a ramdisk filesystem,insert
cloop module then executes linuxrc which scans the cd,hd...to find the big KNOPPIX file
Had you hd_installed knoppix ,then you won't need miniroot anymore (no big
KNOPPIX file to on-the-line-uncompress- but still needs init=/sbin/init to
startup the different init.d/rcx.d stuffs (look at inittab)
HTH