PDA

View Full Version : Lilo: Configure to allow running of PMI?



Islander
12-30-2004, 08:41 PM
Very impressed with Knoppix 3.6 - thanks are due to everyone involved, and to the posters on these forums.

Managed to do full HD install on 2nd hard disc, set up Lilo for Linux24, Linux26, and Win98 - all working fine. Want to be able to run PMI (copy of /KNOPPIX from CD to root directory of device, renamed as K36d to distinguish from the CD version) from a USB stick, but machine cannot boot from USB. Can boot it from floppy and it 'finds' the USB PMI ok. Is it possible to set up Lilo so that I can select an option to run USB PMI from the Lilo boot screen without using floppies?

I thought that I might be able to put linux24 and minirt24.gz somewhere on hda or hdb, and use an "append" to tell knoppix to look for the USB directory? I assumed I had to make the same directory structure as on the CD. I first tried a dummy run on hdb1 (Win98 partition) to see if I could get PMI to run from a hard disc from Lilo, but Lilo rejected this entry in the .conf file:

other=/dev/hdb1
image=/K36d/boot/isolinux/linux24
label="Knoppix 3.6"
initrd=/K36d/boot/isolinux/minirt24.gz
append="ramdisk_size=100000 lang=uk apm=power-off hda=scsi hdb=scsi #hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce "
read-only

Is it ever possible to use Lilo to initiate PMI?

If so, any pointer to the relevant directory structure would be helpful. I could probably work out the Lilo.conf entries from there.

Once again, many thanks to everybody, in so many threads, which I found useful before taking the plunge!

Islander

bfree
12-30-2004, 10:22 PM
Managed to do full HD install on 2nd hard disc, set up Lilo for Linux24, Linux26, and Win98 - all working fine. Want to be able to run PMI (copy of /KNOPPIX from CD to root directory of device, renamed as K36d to distinguish from the CD version)

I thought that I might be able to put linux24 and minirt24.gz somewhere on hda or hdb, and use an "append" to tell knoppix to look for the USB directory? I assumed I had to make the same directory structure as on the CD. I first tried a dummy run on hdb1 (Win98 partition) to see if I could get PMI to run from a hard disc from Lilo, but Lilo rejected this entry in the .conf file:

other=/dev/hdb1
image=/K36d/boot/isolinux/linux24
label="Knoppix 3.6"
initrd=/K36d/boot/isolinux/minirt24.gz
append="ramdisk_size=100000 lang=uk apm=power-off hda=scsi hdb=scsi #hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce "
read-only



Instead of what you describe, copy the linux24 and minirt24.gz to the /boot folder of your installed linux but name them as linux24.K36d and minirt24.K36d.gz. Then remove the "other=/dev/hdb1" from the above and change the section to the following:


image=/boot/linux24.K36d
label="Knoppix 3.6"
initrd=/boot/minirt24.K36d.gz
append="ramdisk_size=100000 lang=uk apm=power-off hda=scsi hdb=scsi #hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce fromhd=/dev/hdb1"
read-only

So now lilo should have no problem finding the kernel and initrd, and then knoppix uses the "fromhd=/dev/hdb1" to find the KNOPPIX/KNOPPIX file on /dev/hdb1 (i.f you want to rename the file or the folder for the large cloop file which is the only other thing you need, then you need to use the cheatcodes knoppix_dir=somedir and/or knoppix_name=some.iso, otherwise it must find /dev/hdb1/KNOPPIX/KNOPPIX).

Islander
12-31-2004, 08:02 PM
Good advice, worked first time - thanks very much. Lilo now lets me run Poor Mans Install (PMI) from Windows drive D:, or from USB stick (using two extra Lilo entries).

While I was at it, because knoppix wasn't seeing my CD-Rom drive, I then added nodma to the append statements - that was suggested in the hardware forum, I think. CD's working now, too.

Also illustrates that the Knoppix boot options will constrain the HD install start-up, as well, if required/wished.

Again, many thanks, and for such a prompt reply, too.