LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   LILO problem. Cant boot in linux (https://www.linuxquestions.org/questions/linux-general-1/lilo-problem-cant-boot-in-linux-185296/)

akudewan 05-24-2004 01:58 PM

LILO problem. Cant boot in linux
 
Hi,
Does anyone know any page which has good documentation on LILO??

I installed Slackware today, (Dual booting with WinXP). I installed LILO in the MBR, but forgot to add linux booting in LILO :( (Quite dumb, I know) So now the LILO menu only shows me only Windoze, and I cant choose to boot in linux. What should I do? Is there any way to reinstall/reconfigure lilo? Is there anyway I can boot into slack? Will a live linux CD such as knoppix help me to edit /etc/lilo.conf??

Anything else I need to mention?
PS: I'm a Newbie.

nhs 05-24-2004 02:49 PM

The slackware disks probably have a rescue mode which will boot you into Linux. A live cd will also do the job fine. Then edit /etc/lilo.conf to include Linux and rerun lilo.

My Linux section is as follows:
Code:

image=/boot/vmlinuz
        label="linux"
        root=/dev/hda2
        initrd=/boot/initrd.img
        append="devfs=mount acpi=ht"
        read-only

I don't know whether Slackware keeps /boot/vmlinuz in the same place and you will need to change root= to point to the partition with Linux on it however apart from that it should work. If not then post your /etc/lilo.conf file here.

akudewan 05-27-2004 01:56 AM

Thanks a lot...I got it booting now :)


All times are GMT -5. The time now is 04:27 PM.