LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with lilo (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-lilo-165645/)

flubber 04-03-2004 04:10 AM

problem with lilo
 
I have recompiled kernel, and he's not booting now. When lilo appears what button should I press that would go to the command line? When I will go to the command line I'll change lilo.conf to kernel statment to /boot/vmlinuz. Please help me!

jmorse 04-03-2004 04:41 AM

You may be confusing GRUB with LILO. As far as I am aware LILO doesn't have a boot time command line.

After you have compiled the new kernel copy <kernel-root>/arch/i?86/boot/bzImage to your /boot directory [assuming you are using bzImage's] Copy the System.map file as well.

Open /etc/lilo.conf [as root] in your favourite editor [eg: [in an xterm] vi /etc/lilo.conf]

Add a new section:

image=/boot/vmlinuz
label=MyNewKernel
read-only
root=<ROOT_PARTITION>

Save the file then run '/sbin/lilo' to make lilo read the new configuration, and change the boot sector accordingly.

I haven't used LILO for a while, so there may be something glaringly obvious I have forgotten!


All times are GMT -5. The time now is 09:36 AM.