LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 09-01-2004, 07:43 PM   #1
dave111
Member
 
Registered: Aug 2004
Posts: 48

Rep: Reputation: 15
LILO config problem


Have been trying to add a new install of Slackware on a separate HD to my current system of W98 and Mandrake. Problem is I get a kernel panic when I load Slackware from LILO on hda, but get a normal boot of it when I use the floppy I made at install. Have tried all sorts of combinations, but either get the kernel panic, or it seems the kernel loading with Slack tries to load the modules from the Mandrake disc, which just freezes the system. Here is a copy of the LILO residing on hda, which contains W98. Old Mandrake installed on hde, new Slack on hdb1.

map=/boot/map
vga=normal
default="linux"
keytable=/boot/us.klt
compact
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hde bios=0x82
image=/boot/vmlinuz
label="Mandrake"
root=/dev/hde5
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi hdd=ide-scsi resume=/dev/hde6 splash=silent"
vga=788
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz
label="Slackware"
root=/dev/hdb1
read-only

There's no initrd in the Slackware /boot/ directory, yet the floppy intall does fine, so I wouldn't think it is needed.

And I can't read lilo from the floppy that loads properly. I tried to read it for a clue of what I was doing wrong. On Xterm, I see only ./ and ../

Thanks for any suggestions.
 
Old 09-01-2004, 07:57 PM   #2
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
What is the kernel panic message? If it is can't mount root file system, then see if adding
"root=/dev/hdb1" to the append line in lilo.conf do anything the next time you reboot.

BTW, lilo is old. Grub is a lot better.
 
Old 09-01-2004, 08:08 PM   #3
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 52
I believe the answer is that you need vmlinuz and initrd.img in the boot folder on your slackware disk. I know you said that there were no such files there. Wonder how one would get them then? What I've done in the past is to copy those files to the Mandrake /boot folder. Unless I'm mistaken that worked for me when I was booting Redhat, Mandrake and Windows. Right now I'm only using Mandrake and Windows with grub. Hope this message at least points you in the right direction.
 
Old 09-01-2004, 08:13 PM   #4
dave111
Member
 
Registered: Aug 2004
Posts: 48

Original Poster
Rep: Reputation: 15
The kerne panic is for inability to load the file system. I tried appending it as suggested above, but no change.

The Slackware /boot/ on hdb1 does have a vmlinuz of the proper kernel, but no initrd. I reasoned (?) that initrd is not needed, since the OS will boot just fine without one when using the LILO floppy.
 
Old 09-01-2004, 08:20 PM   #5
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 52
Maybe initrd is on the floppy but hidden...
 
Old 09-01-2004, 08:24 PM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
I tend to mount a variety of distribution's root partitions to a set of mount points within the distribution that I run LILO from - you then add entries which are of this form:

image=/mnt/slackware/boot/vmlinuz-ide-2.4.26
 
Old 09-01-2004, 08:32 PM   #7
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
Did you rerun lilo after you updated lilo.conf? What is the file system of your second hard drive (i.e. ext2, ext3, reiser4)? Does the kernel support it?

BTW, your resume partition is on hde. Is that a third hard disk?
 
Old 09-01-2004, 09:21 PM   #8
dave111
Member
 
Registered: Aug 2004
Posts: 48

Original Poster
Rep: Reputation: 15
I appreciate the input of everyone who responded. Skyline hit the nail on the head though with his suggestion. I changed to

image=/mnt/hdb1/boot/vmlinuz

and Slackware then loaded perfectly, w/o needing initrd specified.

I'm still not sure why my original config doesn't work though.
 
  


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
lilo config edit problem lestoil Linux - Newbie 2 05-03-2004 03:31 PM
Seems like small lilo config problem...maybe more devNul73 Linux - Newbie 2 04-06-2004 06:33 PM
lilo and grub config problem slyguyr3 Linux - Software 3 11-07-2003 12:58 PM
keyboard problem (ABNT2) / l/lilo.config ? jamaso Slackware 0 06-10-2002 05:13 PM
Lilo config problem jackopa Linux - General 2 03-18-2002 10:57 PM

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

All times are GMT -5. The time now is 04:57 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
Open Source Consulting | Domain Registration