PDA

View Full Version : Where is /boot/map file !?!?!?



sebastia
04-16-2004, 01:48 PM
Hi ! I have Knoppix 3.3, and boot the CD perfect.
Now, I want to put it on the Hard disk.
Fine : I run knx-hdinstall
All goes smooth, (swap is on HDA6 and root is on HDA5) until ..

I do NOT want to overwrite my MBR, so I answer "Install LILO into MBR" with a "no". No floppy neither, as there is none on my machine.

Obviously, in this way I can not boot into Knoppix without the CD ...

Is there a way to tell Knoppix to write the boot record on HDA5, so my Boot Magic (under Windows 2000) could reach it and boot Knoppix ?

I guess I have to run LILO ...
I have in lilo.conf "boot=/dev/hda5"
I try to run LILO, but /etc/lilo.conf contains "map=/boot/map" and this file does no exist ...

??? Why /boot/map" does not exist ???

Thankx ! Sebastian.

Stephen
04-16-2004, 09:54 PM
Boot the CD with knoppix 2 and then.

mount /dev/hda5 /mnt/hda5
vi /mnt/hda5/etc/lilo.conf
chroot /mnt/hda5/ /sbin/lilo -b /dev/hda5 -v

When using vi after opening the file hit the INSERT key to go editing mode (if necessary) and make sure the root=/dev/hda? is correct as well. To exit edit mode hit the ESC key then SHIFT and ; keys at the same time to get a : prompt in the lower left of the screen and type in wq and ENTER key to save and quit the file if you had to make changes. The chroot command will write lilo to the / partition which is what you want to do instead of the MBR.