LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-23-2004, 10:48 AM   #1
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Rep: Reputation: 15
Exclamation LILO problem


I'm having some problems with Lilo, I have Windows 98 and Slackware 10 running on my computer. Here is my current Lilo:

lba32
message = /boot/boot_message.txt
append = "hde=noprobe hdg=noprobe"

boot = /dev/hda # or your root partition
delay = 700 # delay, in tenth of a second (so you can interact)
vga = 1 # optional. Use "vga=1" to get 80x50
#linear # try "linear" in case of geometry problems.

default = Slack

image = /boot/vmlinuz # your zImage file
root = /dev/hda2 # your root partition
label = Slack # or any fancy name
#read-only # mount root read-only

other = /dev/hda1 # your dos partition, if any
table = /dev/hda # the current partition table
label = Windows # or any non-fancy name

When my bios finishes starting up and the time comes for Lilo to do its thing, all that happens is this is displayed: LILO-22.5.9 and the computer stops responding. Any thoughts?
 
Old 10-23-2004, 01:06 PM   #2
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
1. If you urgently need to get into Windows:
a. Boot from Win98 CD
b. Choose DOS mode, with CDROM support
c. do fdisk /fixmbr (or /mbrfix, forgot aalready...)

This should allow Win98 to boot again.

Then, at a leasurly pace, we can try to fix the Lilo.

Just boot from Slack CD#1 again, skip all the install stuff and go directly to "Lilo" section. Try to redo it. If Lilo still doesn't work after - many many reasons why:
- Old BIOS = /dev/hda2/boot is beyond lilo's reach.
- kernel doesn't have the right stuff compiled in.
- many other isssues with geometry.

Tell us, where your /boot folder is located? with the rest of the stuff on /root, which it on /dev/hda2 ?
 
Old 10-23-2004, 02:36 PM   #3
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Original Poster
Rep: Reputation: 15
Since making that post I've found a few things out, when I thought it had crashed, it was actually waiting 700 tenths of a second, but not giving me any choice. So when I changed "delay = 700" to "delay = 10", it loaded my default in one second.
So really now my problem is that I can't get a choice, I can get into both OS'es ok by using my slack boot disk and just changing the default selection in my lilo.conf.
As for your questions, my /boot and /root are both on hda2, my windows is on hda1, and I think my swap is on hda3.
I can't see anything wrong with my configuration that would cause it to automaticly jump to the default choice, maybe someone with a bit more lilo experience than me can spot a mistake somewhere...
 
Old 10-23-2004, 02:44 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
To know your hdd layout type: fdisk -l
Now let's change your lilo.conf
Code:
#lba32
message = /boot/boot_message.txt
prompt
append = "hde=noprobe hdg=noprobe"

boot = /dev/hda # or your root partition
delay = 700 # delay, in tenth of a second (so you can interact)
vga = 1 # optional. Use "vga=1" to get 80x50
#linear # try "linear" in case of geometry problems.

default = Slack

image = /boot/vmlinuz # your zImage file
root = /dev/hda2 # your root partition
label = Slack # or any fancy name
read-only # mount root read-only - This will allow to check the disk integrity, it'll be mounted rw after that

other = /dev/hda1 # your dos partition, if any
table = /dev/hda # the current partition table
label = Windows # or any non-fancy name
Basically, you're missing prompt line that will wait for your input. Leave read-only for linux partition because that will allow fsck to run, your partition will be mounted read-write after that.

Last edited by gbonvehi; 10-23-2004 at 02:46 PM.
 
Old 10-23-2004, 03:39 PM   #5
linmith
Member
 
Registered: Oct 2004
Location: Scotland
Distribution: Ubuntu
Posts: 105

Original Poster
Rep: Reputation: 15
Thank you, that works perfectly
 
Old 10-23-2004, 09:45 PM   #6
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
once you get into Linux, do:
lilo -v
and look for output. See if it rejects Slack entry for any reason.
 
  


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
yet another lilo problem killahsmurf Slackware - Installation 6 04-23-2005 11:33 PM
Lilo vs Grub - PROBLEM with lilo nelsonnery Linux - Software 2 09-09-2004 11:09 AM
LILO problem CommandoHamster Linux - General 4 07-22-2003 11:52 AM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

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

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