bitster
02-26-2004, 10:31 PM
I love the configuration of the knoppix kernel so much, I use on my regular debian desktop system. One of the biggest problems I had with it was that I couldn't mount my root fs ext3 because the modules wouldn't fit on the floppy-size initrd image (and why should it - it's running from a cd! :).
So I hacked up this little alternative initrd image (http://planetdone.com/knxe3fs.img) tweaked from the 2004-02-16 release (with the 2.4.24-xfs knoppix kernel) that I thought I would share.
It adds an extra cheat code, "bootfs=", ( example: "bootfs=/dev/hda2" ), that will cause the knoppix boot process to skip looking for the cloop image, and will instead attempt to mount the device listed in bootfs as the root filesystem, as ext3 if it can, as ext2 otherwise, and failing that, as vfat. It will then boot that system with init from there as usual.
To make this work, you'll probably need to copy the /lib/modules/2.4.24-xfs/ and /lib/modules/extra/ directories from the knoppix system into your system's /lib/modules/ so that the booting kernel can load the right modules for itself as it goes.
I had to add the jbd.o and ext3.o modules onto the image, so I'm sure it's too big to copy onto a floppy drive along with the kernel, but it's fat and happy loading from my hard drive using the grub bootloader.
I hope you find it useful. :) enjoy
So I hacked up this little alternative initrd image (http://planetdone.com/knxe3fs.img) tweaked from the 2004-02-16 release (with the 2.4.24-xfs knoppix kernel) that I thought I would share.
It adds an extra cheat code, "bootfs=", ( example: "bootfs=/dev/hda2" ), that will cause the knoppix boot process to skip looking for the cloop image, and will instead attempt to mount the device listed in bootfs as the root filesystem, as ext3 if it can, as ext2 otherwise, and failing that, as vfat. It will then boot that system with init from there as usual.
To make this work, you'll probably need to copy the /lib/modules/2.4.24-xfs/ and /lib/modules/extra/ directories from the knoppix system into your system's /lib/modules/ so that the booting kernel can load the right modules for itself as it goes.
I had to add the jbd.o and ext3.o modules onto the image, so I'm sure it's too big to copy onto a floppy drive along with the kernel, but it's fat and happy loading from my hard drive using the grub bootloader.
I hope you find it useful. :) enjoy