LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-02-2004, 10:19 AM   #1
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Rep: Reputation: 15
lilo.conf file


After putting in a thread here about the problems with the kernel, it seems to me as though I need the lilo.conf file; so, if anyone could provide it, it would be greatly appreciated. Basically, this is the round-up of what's happened:

I had a spare partition on my hard-disk so I formatted it and installed Windoze.
It warned me that I might need to re-install the bootloader, so after installing windows (and noticing that I did indeed need to install it), I put in the Mandrake CD and told it to reinstall it.
Lilo comes up, and I can select from a few options, but then I get the "kernel panic error" as described in the thread.
Furthermore, the lilo.conf file is nowhere to be seen.

Any help would be greatly appreciated.
 
Old 10-02-2004, 10:46 AM   #2
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Rep: Reputation: 30
Hmm, you should have probably installed Windows on the first partition of your drive, but I don't see why that would screw up your bootloader to the point of removing your lilo.conf file. I see you re-installed from the CD - this is exactly what I would have done, but you're still missing your /etc/lilo.conf file. Strange.

Okay, as requested, here's a lilo.conf file. This is for Mandrake 10.0 Official download version installed on the primary master drive:
Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
	label="linux"
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht resume=/dev/hdb2 splash=silent"
	vga=788
	read-only
image=/boot/vmlinuz
	label="linux-nonfb"
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht resume=/dev/hdb2"
	read-only
image=/boot/vmlinuz-2.6.3-7mdk
	label="263-7"
	root=/dev/hda5
	initrd=/boot/initrd-2.6.3-7mdk.img
	append="devfs=mount acpi=ht resume=/dev/hdb2 splash=silent"
	read-only
image=/boot/vmlinuz
	label="failsafe"
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="failsafe acpi=ht resume=/dev/hdb2 devfs=nomount"
	read-only
You'll probably have to edit the hdx locations to suit your drive partitions, and the keytable entry unless you're in the UK or use a UK keyboard map.
Hope this helps.

EDIT You'll probably have to edit the vga setting too.

Last edited by pongmaster; 10-02-2004 at 11:01 AM.
 
  


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
Using the 2nd CD: logged in as root@rescuedisc, change lilo.conf file or any files? jtp51 Slackware 3 11-02-2004 09:14 AM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
Translating lilo.conf file frkstein Linux - General 5 02-13-2004 09:45 AM
Can lilo work without the lilo.conf file? TheOneAndOnlySM Linux - Newbie 2 10-01-2003 11:19 PM
Cannot find lilo.conf file ozwalker Red Hat 3 09-02-2003 11:49 PM


All times are GMT -5. The time now is 09:23 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