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 04-08-2004, 12:44 AM   #1
andychauhan
LQ Newbie
 
Registered: Apr 2004
Posts: 14

Rep: Reputation: 0
Lilo Configuration Problem.


I have Mandrake 9.2 running on HP Pavillion 5385 Laptop. Partioned with Win XP Pro running on other partition. My problem is that when I configure /etc/lilo.conf the lilo boot menu does not change appropriately and still shows the old values. I installed a different kernel and wanted to see it work, however the lilo boot menu does not have its options changes. Following is my /etc/lilo.conf
----------------------------------------------------------------------------
boot=/dev/hda
map=/boot/map
default="windows"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
other=/dev/hda1
label="windows"
table=/dev/hda
image=/boot/vmlinuz
label="linux"
root=/dev/hda2
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda3 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda2
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda3"
read-only
image=/boot/vmlinuz-enterprise
label="linux-enterpris"
root=/dev/hda2
initrd=/boot/initrd-enterprise.img
append="devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda3 splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda2
initrd=/boot/initrd.img
append="devfs=nomount hdc=ide-scsi acpi=ht resume=/dev/hda3 failsafe"
read-only
other=/dev/fd0
label="floppy"
unsafe
------------------------------------------------------------------------------
and I do not see my labes on the menu in the order specified above. What am I doing wrong???
 
Old 04-08-2004, 01:14 AM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
you need to login as root and run lilo as root.

first, open Konsole (typically, the black screen with the shell thing on your taskbar)

This will give you a DOS-like window.

type: su

enter your root password; this should make the $ turn into a # at the cursor

type: lilo

now your new lilo is installed. If you see errors, correct them first in /etc/lilo.conf If everything looks good, reboot and see if that works. If something goes wildly wrong, you can use your install disks to reboot your system. As long as you don't format anything or redo partitions, you wont lose information on your drive, no matter how bad an error may seem. If you're new to linux, it wouldn't hurt to burn a knoppix disk just to be prepared while you're learning Linux. Knoppix runs off your cdrom drive, doesn't touch your harddrive, and is a great way to work with broken windows and Linux systems.

http://www.knopper.net/knoppix/index-en.html
 
  


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 configuration for new OS jmcdonald21 Linux - Software 1 02-21-2005 02:11 PM
lilo configuration yiang Linux - Newbie 4 10-01-2004 05:04 PM
Lilo configuration drisay Slackware 5 09-15-2004 09:21 PM
lilo configuration deepak Linux - Software 5 10-11-2001 03:12 AM
lilo configuration sancho5 Linux - General 3 07-23-2001 03:53 PM

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

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