LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2005, 08:16 AM   #1
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Rep: Reputation: 15
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
 
Old 07-06-2005, 09:03 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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
 
Old 07-06-2005, 09:13 AM   #3
RayQ
Member
 
Registered: Dec 2004
Location: Argentina
Distribution: Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Many thanks, that worked ^___^
 
  


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
very strange swap partition label and empty text console whencat Fedora 4 08-07-2005 09:16 AM
strange LILO install problem dryhte Slackware 5 04-25-2005 01:59 PM
strange boot behaviour with lilo... supervillan Linux - Software 3 06-03-2004 12:34 PM
lilo.conf "label=" question nrunge Linux - Newbie 6 11-08-2003 09:16 AM
I don't like the LILO label - How to change it? vijayaramanl Linux - Newbie 5 10-22-2003 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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