LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Lilo config for compiling new kernel problem (https://www.linuxquestions.org/questions/debian-26/lilo-config-for-compiling-new-kernel-problem-211847/)

Zaskar 07-31-2004 11:45 AM

Lilo config for compiling new kernel problem
 
heya guys, i seem to have the same problem everytime i try to compile a kernel in debian. i was able t do it in redhat with GRUB, but with Debian (i use lilo in debian) after i compile it (easy part) it prompts me with these LILO config questions, thats where i dont know what im doing and usually select something that causses kernel panic apon rebooting :/

It asks questions something like where would you like to save the boot info, like what partition and so on. it was on sarge/sid.

Anyone have any quick refrence/guide/info that will help me with that last part i probably keep stupidly messing up? :)

thanks guys

-Krause

synaptical 07-31-2004 12:27 PM

i usually just install it to the MBR. you could also install it to a floppy if you have one, so you don't mess up what's already in your boot record. then once you have a better idea of what you want to do, you can replace your grub MBR with lilo.

boot is the hard disk, with no partition specified:

boot = /dev/hda

and root is where the install is, partition specified:

root = /dev/hda1

here's my lilo.conf for reference:
Code:

#
# /etc/lilo.conf
#

boot=/dev/hda

timeout=120
prompt
lba32
vga=773

image=/boot/vmlinuz-2.6.7
        label=linux-2.6.7
        root=/dev/hda1
        read-only

image=/boot/vmlinuz26
        label=arch-stock
        root=/dev/hda1
        read-only

image=/mnt/hda6/boot/vmlinuz-2.6.7
        label=slack10
        root=/dev/hda6
        read-only

# End of file


Clark Bent 07-31-2004 12:45 PM

What is the benefit of installing kernels the Debian way? I have always just downloaded the source from kernel.org and then edited lilo by hand (I know...it's evil to do in the Debian world...It's the Slackwarian in me I guess).

synaptical 07-31-2004 12:46 PM

i've always done it that way in debian, too. i hate that initrd thing. :p

Clark Bent 07-31-2004 01:11 PM

Initrd is one of those things I have never taken any time to learn about. The man page is actually fairly interesting. I'm thinking Initrd is a good thing.


All times are GMT -5. The time now is 01:20 AM.