LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2005, 09:20 PM   #1
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Rep: Reputation: 15
Lilo


I just did the full Slackware 10 install. What do I add to /etc/lilo.conf to be able to boot into Slackware? Slackware is installed to /dev/hda4 and I chose the kernel /cdrom/kernels/bare.i/bzImage I put

Code:
image=/boot/vmlinuz
         root=/dev/hda4
        label=Slackware
in /etc/lilo.conf but when I select that I get "Kernel panic: VFS: Unable to mount root fs on 03:02".
 
Old 02-01-2005, 01:49 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Run the lilo configure script in pkgtool to reconfigure Lilo.
 
Old 02-01-2005, 07:44 PM   #3
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by http://gnome-pkgtool.sourceforge.net/
gnome-pkgtool is a GTK+/GNOME front-end to Slackware package management tools (pkgtool). With gnome-pkgtool you can do the following actions to your Slackware Linux installation:
I'm trying to get Slackware to work...
 
Old 02-01-2005, 07:49 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
try running lilo from your rescue cd if you can't get into your installation...

Last edited by win32sux; 02-01-2005 at 07:51 PM.
 
Old 02-01-2005, 08:00 PM   #5
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
boot from disc2, with bare.i root=/dev/hd?? ??=linuxpartition
log in as root, run pkgtool reinstall kernel-ide-2.4.26.tgz kernel-headers-2.4.26.tgz, kernel-source-2.4.26.tgz, and kernel-modules-2.4.26.tgz.(from disk1) When finished run, liloconf, select simple, and then mbr. reboot. I had a buddy who I installed slack for and for some reason he kept tinkering and always managed to get the same error message. I found this to be the easiest way to get things running again for him. Might not be the cleanest way but it works.

<EDIT> This is not a lilo problem but a kernel problem. It occurs when mounting the root file system. Also at the end of the posted lilo you need "read-only".

Last edited by tormented_one; 02-01-2005 at 08:04 PM.
 
Old 02-01-2005, 10:45 PM   #6
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by tormented_one
boot from disc2, with bare.i root=/dev/hd?? ??=linuxpartition
log in as root, run pkgtool reinstall kernel-ide-2.4.26.tgz kernel-headers-2.4.26.tgz, kernel-source-2.4.26.tgz, and kernel-modules-2.4.26.tgz.(from disk1) When finished run, liloconf, select simple, and then mbr. reboot. I had a buddy who I installed slack for and for some reason he kept tinkering and always managed to get the same error message. I found this to be the easiest way to get things running again for him. Might not be the cleanest way but it works.

<EDIT> This is not a lilo problem but a kernel problem. It occurs when mounting the root file system. Also at the end of the posted lilo you need "read-only".
When I pass bare.i root=/dev/hda4=linuxpartition I get

Kernel panic: VFS: Unable to mount root fs on 03:00
 
Old 02-01-2005, 11:33 PM   #7
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
no =linuxpartition.
just

bare.i root=/dev/hda4
 
Old 02-02-2005, 09:02 PM   #8
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
What directory would I find those TGZ's in?
 
Old 02-02-2005, 11:32 PM   #9
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
there under slackware dir, just navigate to /mnt/cdrom/slackware/ and look around. Sorry I'm not gonna dig out my cd. Just start with the a dir and go from there. I promise they are there.
 
Old 02-04-2005, 08:25 AM   #10
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
1. /mnt/cdrom/ has nothing in it.

2. I searched the disk for *kernel-ide* in Linspire and it didn't find anything.
 
Old 02-04-2005, 03:15 PM   #11
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
First you have to mount the cdrom with, mount /mnt/cdrom(may have to be root to do this). then cd to /mnt/cdrom/slackware/. Kernel-ide-2.4.26.tgz, and kernel-modules-2.4.26.tgz is in /mnt/cdrom/slackware/a. kernel-headers-2.4.26 is in /mnt/cdrom/slackware/d. And kernel-source is in /mnt/cdrom/slackware/k. They are there.
 
Old 02-04-2005, 06:45 PM   #12
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
/mnt/cdrom/slackware/a doesn't exist but README.TXT /isolinux /kernels and some other things are there but no /a /d or /k

Last edited by a thing; 02-04-2005 at 06:58 PM.
 
Old 02-05-2005, 07:12 PM   #13
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
bump

ahh no quick reply
 
Old 02-05-2005, 07:15 PM   #14
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i think you might be trying with cd2, those directories are on cd1...
 
Old 02-05-2005, 07:37 PM   #15
a thing
Member
 
Registered: Jan 2005
Distribution: Fedora Core 4 Test 3/3.92, Fedora Core 3
Posts: 45

Original Poster
Rep: Reputation: 15
Heh, I misunderstood the post. I thought you ment all the packages were on disk 2 except the last instead of boot from the 2nd then insert the 1st.

I reinstalled those packages but I still got the same error when I selected "Slackware" from LILO.
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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