LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-31-2004, 12:45 PM   #1
Zaskar
Member
 
Registered: Feb 2004
Location: NY
Distribution: Debian (Testing)
Posts: 219

Rep: Reputation: 30
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
 
Old 07-31-2004, 01:27 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
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
 
Old 07-31-2004, 01:45 PM   #3
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
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).
 
Old 07-31-2004, 01:46 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
i've always done it that way in debian, too. i hate that initrd thing.
 
Old 07-31-2004, 02:11 PM   #5
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compiling problem: can I use 2.4 .config file with 2.6 ? Xavius Slackware 15 01-07-2005 03:51 PM
Problem Updating lilo after compiling kernel..... mir_sheely Linux - Software 10 07-19-2004 06:59 AM
Lilo config and new Kernel? Zaskar Debian 2 03-13-2004 06:15 PM
Kernel compiling lilo gone? nixnoobie Slackware 8 06-15-2003 05:12 PM
use of .config file while kernel compiling rvijay17 General 4 04-03-2003 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration