LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lilo Configuration Problem. (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-configuration-problem-167601/)

andychauhan 04-08-2004 12:44 AM

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???

scott_R 04-08-2004 01:14 AM

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


All times are GMT -5. The time now is 02:26 AM.