LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2001, 02:43 PM   #1
happy hippo
LQ Newbie
 
Registered: May 2001
Posts: 16

Rep: Reputation: 0

Hello,

I try to change to Lilo in the Mandrake control center.
Change the waiting time, names etc.. But i always get an error: syntax error near line five in /etc/lilo.conf.

these are the lines:
4: vga=normal
5: default=linux Mandrake 8
6: keytable=/boot/be-latin1.klt

They only thing I can think of are that there are spaces between Linux, Mandrake and eight. Is that a problem? If so how do I change the Lilo.conf.

I tried it with i(insert), changed and then ESC and :wq.

But then i get the message "read-only file use !(explanation mark)" Can someboby give me the EXCACT syntax to change it??

Thanks
 
Old 06-12-2001, 03:07 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Try making your 5th line with only linux and not the full linux Mandrake 8, I don't see how this could be a problem, but I only use linux or a single word when I have changed the name of my default boot up.
Oh and make sure you always run /sbin/lilo to make the changes before rebooting to check your configuration.
 
Old 06-12-2001, 03:09 PM   #3
happy hippo
LQ Newbie
 
Registered: May 2001
Posts: 16

Original Poster
Rep: Reputation: 0
Okayyy,

but how do I change it? i just started to learn shell commands.
it's a read-only file.
 
Old 06-12-2001, 03:29 PM   #4
happy hippo
LQ Newbie
 
Registered: May 2001
Posts: 16

Original Poster
Rep: Reputation: 0
well, i changed it as root and it's gotten worse:

fatal: No images have been defined or default image doesn't exist.

Yikes! anyone?
 
Old 06-12-2001, 03:41 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Quote:
Originally posted by happy hippo
well, i changed it as root and it's gotten worse:

fatal: No images have been defined or default image doesn't exist.

Yikes! anyone?
Not a 'fatal' error for your sys, just for lilo. Post your lilo.conf and someone should be able to help.
 
Old 06-12-2001, 03:53 PM   #6
happy hippo
LQ Newbie
 
Registered: May 2001
Posts: 16

Original Poster
Rep: Reputation: 0
Smile

Well, i won't annoy you with my lilo.conf. I found the problem I think...
Apparently the name after default has to be exact the same as the name furhter on defined for the linux OS.
Just makes me wonder why they were different in the first place must have messed things up.

Ah well, her's my lilo.conf anyway (partially):

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux ......(HAS TO BE THE SAME)
keytable=/boot/be-latin1.klt
lba32
prompt
timeout=150
message=/boot/message-graphic
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux .......(AS THIS LABEL NAME)
root=/dev/hda8
append=" quiet"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda8
read-only

and yes, I am a newbie.
Thanks guys.
 
Old 06-12-2001, 04:02 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by happy hippo
well, i changed it as root and it's gotten worse:

fatal: No images have been defined or default image doesn't exist.

Yikes! anyone?
Are you getting this at boot up.... if you are, try doing a ctrl-x and that will get you to a regular lilo prompt instead of the map image it might be looking for.
if that doesn't work, your path to your map is not being recognized for some reason or its corrupt. I really don't know though, I never use those silly map graphical lilo screens.
 
  


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
How do i change the lilo splash on mandrake 10.0 ultramancool Linux - Software 2 01-29-2005 04:45 AM
Lilo bootup doesnt change afer running lilo zulfilee Linux - Software 7 12-17-2004 09:28 AM
ugly lilo interface :"can i change the look of lilo" Nadim Slackware 3 10-25-2003 12:03 AM
LILO / lilo.conf - can't change the config clearh20 Linux - Newbie 14 06-05-2003 09:20 PM
Changing bootloaders from lilo on RedHat to lilo on Mandrake Goatdemon Linux - General 3 06-10-2002 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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