PDA

View Full Version : "Poor Man's Dual Boot" with KNOPPIX 3.4



pau1knopp
05-17-2004, 09:00 PM
Has anyone got this working? I have many times used the FAQ located at http://www.knoppix.net/docs/index.php/HdBasedHowTo to boot the KNOPPIX 3.3 compressed file system from my hard drive instead of from CDROM.

I especially liked using LILO to set up a boot menu so that I don't have to use boot floppies or a cdrom to get the HD installed filesystem going.

The steps I used to use to create a boot directory on the partition where I copy the CD image to (HDA3 in this example) went as follows:

mkdir /mnt/hda3/boot/
cp /boot/System.map /mnt/hda3/boot/
mount /cdrom/KNOPPIX/boot-en.img /mnt/test -o loop -t vfat
cp /mnt/test/* /mnt/hda3/boot

However, with 3.4 there is no longer a boot.img or boot-en.img.

Although I can still do a manual "poor mans dual boot " using a set of floppies or the CDROM to boot, I would like to be able to boot directly from the PC without using any media.

Thanks in advance,

~pau1

baldyeti
05-17-2004, 10:27 PM
Look under /boot/isolinux on your CD:
linux24 is the 2.4.x kernel and minirt24.gz the corresponding initrd FS
linux26 is the 2.6.x kernel and minirt26.gz the corresponding initrd FS

I've copied those to my C: (fat) drive, and here's the relevant part of my lilo.conf:

image=/windows/C/knoppix/linux24
initrd=/windows/C/knoppix/minirt24.gz
label=knoppix_34_24
append="nomce hdc=ide-scsi hdd=ide-scsi alsa lang=be screen=1280x1024"

image=/windows/C/knoppix/linux26
initrd=/windows/C/knoppix/minirt26.gz
vga=791
label=knoppix_34_26
append="nomce hdc=ide-scsi hdd=ide-scsi alsa lang=be screen=1280x1024"