SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed the 2.6.10 generic from the testing on the cd. I created a symlink from /boot/vmlinuz-generic-2.6.10 to /usr/src/linux-2.6.10 and edited lilo to include this.
in my excitement i forgot to update lilo and rebooted, I can now not access it as I am getting a kernel panic error.
my 2nd slackware cd doesn't seem to act as a boot disk. I have a knopix disk, how can I get access again fix lilo and look for kernel problem.
all i did t install 2.6 was
Quote:
cd /mnt/cdrom/testing/packages/linux-2.6.10
installpkg kernel-generic-2.6.10-i486-1.tgz
installpkg kernel-modules-2.6.10-i486-1.tgz
installpkg kernel-source-2.6.10-noarch-1.tgz
cd /boot mkinitrd -c -k 2.6.10 -m reiserfs
The first cd of slack 10.1 or the 2nd cd of slack 10.0 will work.
do this.
Boot up slackware 10.1 with disk 1, and then login as root
mkdir /mnt/slack
mount /dev/hdaX /mnt/slack #replacing /dev/hdaX with the actual partition
chroot /mnt/slack
/sbin/lilo
Originally posted by flebber I created a symlink from /boot/vmlinuz-generic-2.6.10 to /usr/src/linux-2.6.10 and edited lilo to include this.
Why did you do this? You created a symlink from a kernel image to a directory.
Remove the symlink, and remove the entry from /etc/lilo.conf, and make an entry such as:
Code:
image = /boot/vmlinuz-generic-2.6.10
root = /dev/hda2
label = Slack-2.6.10
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
where root = /dev/hda2 corresponds to your root partition, and not mine.
Quote:
in my excitement i forgot to update lilo and rebooted, I can now not access it as I am getting a kernel panic error.
my 2nd slackware cd doesn't seem to act as a boot disk.
Boot with CD1 and at the boot: prompt type "bare.i root=/dev/hda2 noinitrd ro" and, again, substitute your root partition for hda2, which is mine on this comp I'm building. Then su to root and run "lilo" and you're good. That's after you fix that symlink error and edit /etc/lilo.conf.
Quote:
Then did upgradepkg for alsa
Hope that works better for you than it does for me. The 2 times I used those packages to upgrade ALSA I lost sound.
Follow Xian's instructions, then just navigate to /boot and remove the symlink using 'rm' (you may want to fix all of the symlinks before running lilo though).
Also, as good practice, always leave an entry for a working kernel in /etc/lilo.conf and don't uninstall the old kernel immediately, in case the new one doesn't work out.
That output is from a default installation of Slackware -current,
where I've not compiled a new kernel. I have tried using Pat's
kernels (i.e. ./slackware-current/testing/packages/linux-2.6.12.3/ )
but they cause problems for me. For one, they clobbered the
original kernel sources in /usr/src/ so that I can't recompile the
Nvidia drivers without pointing the driver to the new source ...
The new kernel sources should not be in /usr/src per Linus Torvalds email dated Thu Jul 27 2000 and his README file
that comes with the kernel sources.
Second, that kernel didn't have proper support for USB devices;
and I prefer to roll my own kernels anyway, so that I can remove
modules for hardware that I don't have.
When you get that /boot/ output, look at the symlink you created.
It will be the ouput on the other side of the -> and I would assume
from your first post that it would look something like this:
Ok everything is back how it should be . I reinstalled. I installed the 2.6.10 from testing and edited lilo as above on reboot 2.6.10 failed due to kernel panic, the worse part is that 2.4 also did not work due to kernel panic.
The error for both was
Kernel panic - not syncing : VFS : unable to mount root fs on unknown-block
I went in as sugggested before
mkdir /mnt/slack
mount /dev/hda6 /mnt/slack
chroot /mnt/slack
I did /sbin/lilo I get an error this time that says
Warning 'proc/partitions' does not exist disk scan bypassed.
I am not sure if that is the error bringing it down. As a side I cannot get nano to work as the editor i tried "source /etc/profile" to let me use it but alas only vim which I can't get much done with.
Fact is, that the kernel(s) that you are trying to boot have no support for ReiserFS (that's your file-systemtype or not ?)
Does the "generic" kernel have support voor ReiserFS ? (i assume it does but it never hurts to ask).
Hmmz, I just did a "make menuconfig" on the 2.6.11.11 kernel and ReiserFS is enabled, but as a module by default. To boot correctly it has to be included in the kernel. Maybe that's the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.