LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-13-2003, 07:10 PM   #1
spyghost
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 245

Rep: Reputation: 30
lilo.conf contents different from the bootloader


hi,

i am using mandrake 9.1. why is it that the contents of my lilo.conf are very much different from what appears at the bootloader screen...

the contents of my lilo.conf are:
boot=/dev/hda3
map=/boot/map
vga=791
default="Mandrake"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hda3
initrd=/boot/initrd.img
append="quiet devfs=mount hdc=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label="Mandrake-nonfb"
root=/dev/hda3
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi"
read-only
image=/boot/vmlinuz
label="Mandrake-Failsa"
root=/dev/hda3
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi"
read-only
other=/dev/hda1
label="Windows"
table=/dev/hda
other=/dev/hda1
label="Floppy"
unsafe

but what appears to be in the bootloader screen is:
linux
windows
floppy
 
Old 07-13-2003, 07:19 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"why is it that the contents of my lilo.conf are very much different from what appears at the bootloader screen..."

After you make changes to /etc/lilo.conf you have to run lilo for those changes to take effect. The most likely answer to your question is that you need to run lilo.

If you mess up lilo you may not be able to boot at all. So, before making such a massive change to lilo I suggest that you make a boot floppy and make sure that it works. That way you will be able to boot even if lilo is broken.

Last edited by jailbait; 07-13-2003 at 07:22 PM.
 
Old 07-13-2003, 09:59 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Spyghost

After you've finished editing Lilo.conf you have to run the map installer /sbin/lilo from a terminal.

So

K
TERMINALS
CONSOLE
SU
ROOT PASSWORD
TYPE /sbin/lilo

You'll see a little list come up in the terminal screen which says

"Added.........." then the list of OS's below

On next boot up the changes will take effect
 
Old 07-14-2003, 09:24 AM   #4
spyghost
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 245

Original Poster
Rep: Reputation: 30
how about if it should be installed in / and not the mbr?
 
Old 07-14-2003, 09:41 AM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Spyghost

LILO can be installed/re-installed in one of 4 main places

The boot sector on the first hard disk - namely the MBR
The boot sector of a floppy disk
The boot sector of a Linux root partition
The boot sector of an extended partition

Looking at your Lilo.conf file we have

boot=/dev/hda3 at the top - and

root-/dev/hda3 further down

You've obviously installed Lilo to the boot sector of your Linux root partition.

Don't worry about running the map installer /sbin/lilo

It reads the boot=/dev/........... line at the top of your lilo.conf file and re-installs Lilo to wherever is specified by that line.
 
Old 07-16-2003, 08:33 AM   #6
spyghost
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 245

Original Poster
Rep: Reputation: 30
ok... thanks...
 
  


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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 10:55 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


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