LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   LILO.conf won't load Linux (https://www.linuxquestions.org/questions/slackware-14/lilo-conf-wont-load-linux-154286/)

JulianS 03-06-2004 02:21 PM

LILO.conf won't load Linux
 
Hi, I know I have asked a question alike this, but the people for that question doesn't seem to answer it anymore.

The situation is:

Windows 2000 Pro - C:
Linux - D:

When I select Windows 2000 Pro from the menu it works, but when I select Linux it doesn't work. Tells me "Kernel Panic etc..". The reason to why this doesn't work is because I have switched. I installed Linux while Linux was C:, and now Linux is D:, so I have to change, but changing hda1 to hdb1 won't really work.

Can anyone show me how it should be?

- Julian

quatsch 03-06-2004 02:48 PM

after editing lilo.conf you must also run lilo:
/sbin/lilo -v

JulianS 03-06-2004 03:15 PM

Okay, didn't know that you had to use an argument, but you still didn't answer my question. How shall the new entry in lilo.conf look like?

synaptical 03-06-2004 03:18 PM

unless it's a separate disk, it should probably be another hda, like hda2, not hdb1. if that doesn't work, you should post your lilo.conf and describe your partitioning with more detail so we can help you.

Angelo 03-06-2004 03:45 PM

Quote:

Originally posted by JulianS
Okay, didn't know that you had to use an argument, but you still didn't answer my question. How shall the new entry in lilo.conf look like?
Why not post your lilo.conf so we can see it? That seems like the logical starting place to me.

the_rydster 03-06-2004 04:45 PM

Are both windows and linux on one hard disk? When you mention 'C' and 'D' that sounds like you have installed linux onto an externel drive. If this is so then it get more complicated I think although I have no experience of this.

If it is all on the internal hard drive then If you don't have a boot disk you will need expert help but otherwise :

cfdisk (you may need to be root)

To see what is going on with your hard disks.

This is my /etc/lilo.conf (the useful part anyway)

5 boot = /dev/hda
6 message = /boot/boot_message.txt
7 prompt
8 timeout = 1200

36 image = /boot/vmlinuz
37 root = /dev/hda2
38 label = Linux
39 read-only
40 other = /dev/hda1
41 label = Windows_XP

You must re-run lilo after appending/changing lilo.conf!


All times are GMT -5. The time now is 10:55 PM.