LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lilo (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-284696/)

a thing 01-31-2005 08:20 PM

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".

Linux~Powered 02-01-2005 12:49 AM

Run the lilo configure script in pkgtool to reconfigure Lilo.

a thing 02-01-2005 06:44 PM

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...

win32sux 02-01-2005 06:49 PM

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

tormented_one 02-01-2005 07:00 PM

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".

a thing 02-01-2005 09:45 PM

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

tormented_one 02-01-2005 10:33 PM

no =linuxpartition.
just

bare.i root=/dev/hda4

a thing 02-02-2005 08:02 PM

:newbie: What directory would I find those TGZ's in?

tormented_one 02-02-2005 10:32 PM

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.

a thing 02-04-2005 07:25 AM

1. /mnt/cdrom/ has nothing in it.

2. I searched the disk for *kernel-ide* in Linspire and it didn't find anything.

tormented_one 02-04-2005 02:15 PM

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.

a thing 02-04-2005 05:45 PM

:( :newbie: /mnt/cdrom/slackware/a doesn't exist but README.TXT /isolinux /kernels and some other things are there but no /a /d or /k

a thing 02-05-2005 06:12 PM

bump

ahh no quick reply

win32sux 02-05-2005 06:15 PM

i think you might be trying with cd2, those directories are on cd1...

a thing 02-05-2005 06:37 PM

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.


All times are GMT -5. The time now is 12:18 AM.