LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-26-2003, 10:23 PM   #1
lord_clarence
Member
 
Registered: Oct 2003
Location: Wisconsin
Distribution: Mandrake 9.2
Posts: 70

Rep: Reputation: 15
lilo weirdness


I was gonna change he names of my boot options in lilo, so i went into the /etc/lilo.conf file and changed them to what i wanted. I the went into /sbin and ran "lilo" but when i do that I get an error: Fatal: Default image doesn't exist. Not sure why it says that. Here's my lilo.conf:

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz[root@dhcp-310-59 sbin]# lilo
Added Mandrake
Added linux-nonfb
Added failsafe
Added WindowsXP
Added floppy
Fatal: Default image doesn't exist.

label="Mandrake.9.2"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=nomount hdd=ide-scsi acpi=ht failsafe"
read-only
other=/dev/hda1
label="WindowsXP"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe


Then when i try to update lilo I get this:

[root@dhcp-310-59 sbin]# lilo
Added Mandrake.9.2
Added linux-nonfb
Added failsafe
Added WindowsXP
Added floppy
Fatal: Default image doesn't exist.

I have no problems booting into windows XP or mandrake 9.2, I just can't update my lilo config for some reason. If anyone has any ideas, on how to fix this I'd greatly appreciate it, thanks.

Last edited by lord_clarence; 10-27-2003 at 08:25 AM.
 
Old 10-27-2003, 12:58 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
The line
default=linux
tells lilo to look for a stanza that includes a line
label="linux"
with your changes, no stanza has this line
you probably want to replace your existing default line to read
default=Mandrake.9.2
 
Old 10-27-2003, 08:24 AM   #3
lord_clarence
Member
 
Registered: Oct 2003
Location: Wisconsin
Distribution: Mandrake 9.2
Posts: 70

Original Poster
Rep: Reputation: 15
AH HA! Thanks for the help idaho. I'll let ya know if it works when i get home tonight and implement that.
 
Old 10-27-2003, 08:54 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Remember to run

/sbin/lilo

after you've made the changes to lilo.conf.
 
Old 10-27-2003, 03:04 PM   #5
lord_clarence
Member
 
Registered: Oct 2003
Location: Wisconsin
Distribution: Mandrake 9.2
Posts: 70

Original Poster
Rep: Reputation: 15
Yup, that did the trick. Thanks for the help.
 
  


Reply



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
Lilo weirdness. raid517 Linux - Software 2 07-30-2004 03:40 PM
HDPARM weirdness..... MitchM99 Linux - Hardware 14 01-01-2004 07:13 PM
Virtual IP weirdness zxcv Linux - General 3 11-01-2003 12:02 AM
Bash weirdness guygriffiths Linux - Software 1 10-01-2003 10:39 AM
Antialiasing weirdness Config Programming 0 08-21-2002 07:01 AM

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

All times are GMT -5. The time now is 09:22 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
Open Source Consulting | Domain Registration