1. Boot from a live CD like Knoppix, open a root console, then mount the partition hosting / on your harddrive (eg. mount -t reiserfs /dev/hda2 /mnt/hda2)
2. Change root to your mounted harddrive partition eg. chroot /mnt/hda2
3. After chroot, edit /etc/lilo.conf and either restore your old kernel or add a new boot option to boot into your old kernel. When recompiling, you should always add your new kernel as a non-default boot option in lilo.conf; NEVER delete your old kernel image or remove your old kernel from lilo.conf.
4. While staying in chroot, run lilo.
5. Exit chroot (just type 'exit'), and reboot.
Regarding the error in booting from your new 2.6 kernel: you probably failed to compile support for ReiserFS, the default filesystem for Slackware (or support for whatever filesystem you use). So, when you boot the new kernel, it can't mount your /boot partition and panics.
Just compile ReiserFS (or ext3 or XFS, etc) directly into the kernel. If you compile it as a module instead, you will have to muck around with mkinitrd afterward, which personally I've never been able to do successfully. Fortunately, Slackware by default does not use an initrd image to boot.
Last edited by spurious; 03-18-2004 at 11:01 PM.
|