Click to See Complete Forum and Search --> : Won't boot, need help with Lilo and Kernel


rov
10-31-2000, 07:49 PM
I made a new kernel, and it didn't fix the problems that needed to be fixed, so I changed back to the old kernel in lilo.conf. When I rebooted, I get modprobe, /lib/something not found and it won't boot up. So now, I need to do something about that. I ahve a working kernel, I think, but I don't have it in Lilo, and can't add it because I won't boot. Please help!!!

Also, is IP chains not supported in 2.4 or how can I get it?

Fandelem
10-31-2000, 08:14 PM
you are going to have to know where your partition is.. and either have your linux CD or your rescue disk..

when it comes up, you type:
vmlinuz root=/dev/hda5

where hda5 is your root (/) partition.

it will let you boot up, then make the changes you want, run /sbin/lilo, and you're set.

oh, on a side note, if you're one of the 99% of the population who doesn't know your partition number, you can just go down the line.. ie. first attempt: vmlinuz root=/dev/hda1 --> kernel panic then reboot, vmlinuz root=/dev/hda2 ---> kernel panic then reboot, vmlinuz root=/dev/hda3 and success.. just use that method if you are unsure http://www.linuxnewbie.org/ubb/smile.gif

~kyle

[This message has been edited by Fandelem (edited 31 October 2000).]

rov
10-31-2000, 08:29 PM
Actually, I'm part of the 1% who know the root partition number, and all the other ones. I wrote them down for my install. Somehow, I ended up with /dev/hda7

I'm going to go to my Linux comp and try it right now...

rov
10-31-2000, 09:03 PM
Didn't work. It still booted the kernel that wouldn't work. I'm using Debian, BTW.