pestie
07-23-2005, 12:19 AM
I'd like to install Knoppix to a hard drive, but in an unusual fashion. I'd ideally like to use LILO for this, although I'm guessing I could more easily pull it off with Syslinux. But let me explain what I'd like to do and maybe someone more familiar than I with LILO can tell me if it's possible:
I'd like to install the Knoppix image to a partition on my hard drive (as happens when one does tohd=/dev/hda1 for example) plus the initrd, but then use LILO to make the HD itself bootable, eliminating the need to boot from a CD. I figure I can use "append=" to specify the various options I need/want. The goal here is a "generic" Knoppix machine, running stock Knoppix only, with the speed gains of installing to a HD partition, but without the need for a Knoppix CD from which to boot.
Can I use LILO to pull this off? I've never seen a lilo.conf without a root= line, but I think that's the way to go in this case. I just need LILO to boot and load the kernel, Knoppix's magic will take care of everything else. I took a half-hearted stab at this once but it didn't work out. I just want to know if I'm wasting my time or if I should just use Syslinux or some other such approach.
I did get something like what I wanted by using a very small FreeDOS partition containing only the Knoppix kernel and initrd and a copy of loadlin, but that's an ugly solution requiring a whole other (albeit minimal) OS just to boot. There has to be an easier solution.
I'd like to install the Knoppix image to a partition on my hard drive (as happens when one does tohd=/dev/hda1 for example) plus the initrd, but then use LILO to make the HD itself bootable, eliminating the need to boot from a CD. I figure I can use "append=" to specify the various options I need/want. The goal here is a "generic" Knoppix machine, running stock Knoppix only, with the speed gains of installing to a HD partition, but without the need for a Knoppix CD from which to boot.
Can I use LILO to pull this off? I've never seen a lilo.conf without a root= line, but I think that's the way to go in this case. I just need LILO to boot and load the kernel, Knoppix's magic will take care of everything else. I took a half-hearted stab at this once but it didn't work out. I just want to know if I'm wasting my time or if I should just use Syslinux or some other such approach.
I did get something like what I wanted by using a very small FreeDOS partition containing only the Knoppix kernel and initrd and a copy of loadlin, but that's an ugly solution requiring a whole other (albeit minimal) OS just to boot. There has to be an easier solution.