LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   LILO configuration help - Strange label? (https://www.linuxquestions.org/questions/slackware-14/lilo-configuration-help-strange-label-340558/)

RayQ 07-06-2005 08:16 AM

LILO configuration help - Strange label?
 
Hello,
I currently dual boot windows XP and slackware 10.
I was trying to change the time it takes to autoload into linux from 2:00 to 30 seconds, and instead of 1200/10, I put 300/10. Now I restarted after this, and I see three labels, one is "Linux", the other one is "hda1" and the other one is "Windows". I try to use the hda1, and nothing happens. I try to boot into linux, and nothing happens. Well, something does happen, the text that gives you the option to boot into whatever image is gone, like usually when you boot something and it disappears, only it wants me to choose again. Windows does work. I restarted, and started just pressing hda1, Linux, hda1, linux, hda1, linux in a random order till it finally booted into Linux.
I think something is now wrong with the booting file, which is now this:
Quote:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot="/dev/hda"
message = /boot/boot_message.txt
prompt
timeout="1200"
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga="773"
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
default=Linux

other = /dev/hda1
label="Windows"
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image="/dev/hda1"

image="/dev/hda1"
root="/dev/hda2"

image="/boot/vmlinuz"
root="/dev/hda2"
label="Linux"
read-only
# Linux bootable partition config ends

When I go to the Boot Manager in Control Panel, I see three OS, WIndows at the top, A blank thing, and Linux. If I try to delete the blank thing, it deletes Windows. This blank thing has no Label and the image is '/dev/hda1'.
Anyone know how to fix something like this? I'm really too scared to touch the lilo configuration file by myself >_<

Thanks
:)

samac 07-06-2005 09:03 AM

The relevant part of your lilo.conf is this.

Code:

default=Linux

other = /dev/hda1
label="Windows"
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
# image="/dev/hda1"

# image="/dev/hda1"
# root="/dev/hda2"

image="/boot/vmlinuz"
root="/dev/hda2"
label="Linux"
read-only

Try modifying your /etc/lilo.conf to look like this, then run the command lilo (from the command line as root).

Then reboot, if it doesnt work you can return it to the original state by removing the # you added and re-running lilo.

samac

RayQ 07-06-2005 09:13 AM

Many thanks, that worked ^___^


All times are GMT -5. The time now is 05:10 PM.