LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-10-2002, 09:41 AM   #1
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Rep: Reputation: 30
lilo woes


Problem is after installing lilo to MBR, instead of getting my nice bootmenu, I get this (after BIOS checks boot options, gets to IDE0, then)

LILO 22.2 _

That's it. After it times out it will boot winxp, the default OS. I changed the timeout value to test this.

I have WinXP on /dev/hda1 and Slack8.1 on /dev/hdb1, both of these drives are 20GB 5400 ATA100 drives.

After installing using expert mode liloconfig, I manually changed the timeout to 150 in lilo.conf, then ran /sbin/lilo so the changes would be picked up.

lilo.conf looks like this :

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
delay = 150
# 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
# ramdisk = 0 # paranoia setting
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda1
label = WinXP
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb1
label = Slack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
 
Old 11-10-2002, 09:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well of course you'll have that, as there's nothing to tell lilo what you want it to display, so you get the default one. "pretty" menus are prety pointless anyway imho, but you'll need something like...

message=/boot/lilo-graphic/message

presumably the whole thing does still work?
 
Old 11-10-2002, 10:07 AM   #3
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Original Poster
Rep: Reputation: 30
When I say nice menu, I mean, a menu would be nice. All I get is :

LILO 22.2 _

I wasn't prepared for this, since I have installed the same version of lilo at work, using the same methods, and it yields a simple bootmenu. My chap here at home doesn't respond to input at all (thankfully it will boot at timeout).

So no, the whole thing does not really work.

Thanks for such a quick reply BTW

Last edited by Pres; 11-10-2002 at 10:09 AM.
 
Old 11-10-2002, 11:14 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well that's a prompt, iirc, press tab and you will get the menu up, you can tell from the config file that your two options are "WinXP" and "Slack" anyway...
 
Old 11-10-2002, 11:53 AM   #5
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Original Poster
Rep: Reputation: 30
All fixed and working

A few important globals were missing there. What a shocker !

As an aside, the :

LILO 22.2 _

was not any sort of prompt; although "prompt" in the lilo.conf does help a bit
 
Old 11-10-2002, 11:59 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
i was going to mention prompt, but then you implied that the timeout was working, and that only works with the prompt anyway. and also what you had looked an awful lot like a prompt anyway. for the record, mt onf file looks like...
Code:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
default=linux-2.4.19
keytable=/boot/uk.klt
lba32
prompt
timeout=50
message=/boot/lilo/message
#menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz-2.4.18mine
        label=linux-2.4.18
        root=/dev/hda1
        append=" hdc=ide-scsi "
        vga=788
        read-only

image=/boot/vmlinuz-2.4.18mine
        label=linux-nofb
        root=/dev/hda1
        append=" hdc=ide-scsi "
        read-only

image=/boot/vmlinuz-2.4.18mine
        label=linux-nofb
        root=/dev/hda1
        append=" hdc=ide-scsi "
        read-only

image=/boot/vmlinuz-2.4.18mine
        label=failsafe
        root=/dev/hda1
        initrd=/boot/initrd-2.4.18-6mdk.img
        append=" hdc=ide-scsi failsafe"
        read-only

#other=/dev/hdb1
#       label=windows
#       table=/dev/hdb
#       map-drive=0x80
#        to=0x81
#       map-drive=0x81
#        to=0x80

image=/boot/vmlinuz-2.4.19
        label=linux-2.4.19
        root=/dev/hda1
        read-only
        optional
        vga=788
        append=" hdc=ide-scsi"

image=/boot/vmlinuz-2.4.19-16mdk
        label=2419-16
        root=/dev/hda1
        read-only
        optional
        vga=788
        append=" hdc=ide-scsi"
        initrd=/boot/initrd-2.4.19-16mdk.img
 
Old 11-10-2002, 08:43 PM   #7
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Original Poster
Rep: Reputation: 30
Strange one, oh well

The timeout was working, in a roundabout sort of way. Although my timer was actually "delay" ... it would count down the delay then boot WinXP. In fact for some reason I got a really wierd lilo.conf ... I must have made some mistake somewhere.

Now I have prompt and timeout, and all is well. I used expert install at work (simple install didn't work there because of a fat12 partition on /dev/hda1. I think symantic ghost put that there) and being used to it, tried the same here. The lilo.conf turned out to be very different even using the same distro.

The boxes at work had lilo installed during setup, my box here months later using liloconfig (which I have no doubt is the very same called by setup). Most perplexing. I tried a simple install and found here at home everything was fine; I edited the timeout and it's exactly as I want.

Ah well it was alright on the night. Thanks for your support AK.

PS : I see your problem, it's all them # to the left of your windows entry (whoops !! J/K)
 
  


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
LILO and USB woes Blackhawkckc Linux - Hardware 2 11-23-2004 08:15 AM
Lilo Stops at L Woes vulgrin Mandriva 14 07-25-2004 04:30 AM
LILO Woes Yakolev Linux - Newbie 2 01-21-2004 09:16 PM
lilo woes schatoor Linux From Scratch 4 04-17-2003 12:26 PM
LILO woes mxr Linux - General 2 10-31-2001 10:53 PM


All times are GMT -5. The time now is 08:44 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration