LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 08-20-2005, 02:39 PM   #1
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
Kernel compile on Mandriva. lilo.conf only shows Windows listing for boot?


Ive got my kernel fully compiled, but when I open up lilo.conf to add it to the boot options, there are only options for Windows, and no Linux options. Is lilo keeping the directories different or something, because I cant find where my new initrd and kernel image should be pointing unless I missed something
 
Old 08-20-2005, 05:45 PM   #2
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
woah that is definately weird. Just to clarify, are you looking at /etc/lilo.conf or one at another location?

I'll post my /etc/lilo.conf as a guide for you.(don't forget to re-run the command "lilo" after editing the file)

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 60
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
image = /boot/kernel-2.6.12-ck5
root = /dev/hda9
label = Slackware2.6.12
read-only
# Linux 26 begins >>>>LOOK HERE FOR WHAT YOU WANT!<<<<
image = /boot/vmlinuz-generic-2.6.10 #location of new kernel
initrd = /boot/initrd.gz #location of initrd
root = /dev/hda9 #the partition where the kernel is located
label = Slackware2.6.10 #what you want the bootloader to say
read-only #use this on all linux options
# Linux bootable partition config begins
#image = /boot/vmlinuz
# root = /dev/hda9
# label = Linux
# read-only
# Linux bootable partition config ends
 
Old 08-20-2005, 06:03 PM   #3
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Original Poster
Rep: Reputation: 30
Yep, /etc/lilo.conf, and it only has Windoze in it. Yet when I boot, I have options for Linux, failsafe etc...
 
  


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 compile mandriva way ? dvbm Mandriva 4 09-25-2005 07:11 PM
Cannot compile kernel in Mandriva 10.1 JLQ Mandriva 1 06-29-2005 04:40 PM
compile kernel when lilo.conf doesn't locate /etc... sirpelidor Linux - Software 2 01-31-2005 09:38 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
No new kernel-option in LILO after editing lilo.conf corwax Debian 3 08-26-2003 08:55 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration