-   DamnSmallLinux (
-   -   DSL lilo install to partition instead of MBR (

johngreenwood 11-23-2006 08:13 PM

DSL lilo install to partition instead of MBR
Hi everyone, I just installed DSL onto a small partition on my first hard drive, first I tried it without a bootloader, then tried to configure lilo from slackware to boot DSL, didn't work as there was no bootable image on the DSL partition. Next I installed lilo, but was not presented with an option to install to the DSL partition, and overwrote my MBR. So I had quite a lot of messing about to get it back how it was, but still can't boot DSL from lilo, due to the same "no bootable image" problem. So, I was just wondering, is there a way to install lilo/grub to the DSL partition instead of the MBR, and if so, how?

Thanks for your help


jschiwal 11-23-2006 09:02 PM

You can use the DSL partition instead of the MBR as the BOOT= entry in your lilo.conf file. Then copy the first 255 bytes to a file, using the dd command and edit the windows BOOT.INI file to add an entry to chainload using this file. You can google for "NTLdr lilo.conf boot" for several howto's. This will use XP's ntldr.exe program to chainload linux using your linux mbr image file.

johngreenwood 11-23-2006 10:18 PM

Thanks for the reply jschiwal, but I think I have sorted it. I have set the lilo installed bt Slackware to load the kernel image(I think) from DSL. Aside from a few minor issues, it seems to be working now. Also, I don't even know how to do what you said(I am very new to this), but thanks anyway, I appreciate your help.

All times are GMT -5. The time now is 09:20 PM.