Citation :
* Once fully booted, go under the KNOPPIX menu "Configure" entry and select "Create a persistent KNOPPIX home directory." When prompted, select "/dev/hda2", whole partition, no encryption.
* Open a terminal and type the following: su mount /dev/hda2 /mnt/hda2 cd /mnt/hda2/ mkdir boot cd boot cp /boot/* . cp /mnt/cdrom/boot/isolinux/minirt24.gz . cd .. mkdir grub mount /dev/hda2 /boot cd /boot/grub emacs menu.lst & * In emacs, enter these lines: default=1 timeout=20 #splashimage=(hd0,1)/grub/hello.xpm.gz title Win rootnoverify (hd0,0) chainloader +1 title Knoppix kernel (hd0,1)/boot/vmlinuz fromhd=/dev/hda2 home=/dev/hda2 myconfig=/dev/hda2 /
lang=en apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi /
hdg=scsi hdh=scsi initrd (hd0,1)/boot/minirt24.gz boot * Save the file (Ctrl-x Ctrl-s) and exit (Ctrl-x Ctrl-c). At the prompt type: grub-install hd0 Grub sometimes spits-out a lot of non-critical errors (at least I sometimes see them with certain machines), and it might act frozen for a spell. But it has always worked so far for me. Importantly, at the end of all the all the messages you should see "Installation finished. No error reported."
* Now type shutdown -r now * Boot again from the KNOPPIX CD, but this time type with this option at the splashscreen to copy the KNOPPIX image to hda2: knoppix tohd=/dev/hda2 * When KNOPPIX is completely booted, set-up your network card, printers, desktop, screensaver, passwords, clock, .kde/Autostart scripts, and anything else you might want persistent, then save your KNOPPIX configuration to /dev/hda2 via "Configure" under the KNOPPIX menu.
* Take the CD out. You are done with the instructions for Dual booting Poor Mans Install with Windows using GRUB on HD. Notes: in some cases, using the kernel option "myconfig=/dev/hda2" seems to interfere with expected persistent home directory behavior invoked by kernel option "home=/dev/hda2" - sometimes even failing to give user a persistent home directory. Just eliminating the kernel option "myconfig=/dev/hda2" seems to get the persistent home directory back. But that some installations work as expected with both kernel options suggests that possibly the timing or order in which the KNOPPIX state is saved to the configuration files is critical (i.e. before or after saving persistent home directory), or perhaps the order of kernel options is important.
|