Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-20-2006, 10:11 PM   #1
Registered: Sep 2003
Distribution: Arch
Posts: 89

Rep: Reputation: 15
Slackpkg + Kernel panic


Ive made a pretty big mistake and ran slackpkg update all, in an attempt to upgrade to slackware current. All went well but now when i boot i get a kernel panic error about mounting the root file system.

I think this is because slackpkg replaced the 2.4 kernel with a 2.6 one, i know i should have read change logs first... And this new kernel does not include the reiser file system drivers.

Is there any way i can rebuild the kernel, or reinstall the 2.4? I have had a look in knoppix live cd and there does not seem to be a record of the 2.4 kernel there anymore.

Is there anyway i can recover from this? I dont really want to reinstall.

Thanks for any help
Old 06-20-2006, 10:38 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Uh, slackware-current uses the 2.4.32 something else was broken in your update..........maybe your bootloader was over written(grub,lilo).......
Old 06-21-2006, 02:13 AM   #3
LQ Newbie
Registered: May 2006
Distribution: slackware linux
Posts: 28

Rep: Reputation: 15
Originally Posted by 320mb
Uh, slackware-current uses the 2.4.32 something else was broken in your update..........maybe your bootloader was over written(grub,lilo).......
mmm... this is right! what about lilo? did you do: lilo -t && lilo -v? (or something similar if you use grub)
a simple solution is - assuming yoiu are using lilo -:

1- boot with cd1;
2- mount your / partition into a dir (es: mkdir /mnt/temp && mount -t reiser /dev/your_root_partition /mnt/temp);
3- have a look to installed packages: probably your old 2.4 has been replaced with a new one (2.4.32?);
4- chroot inside /mnt/temp (this is the name you use to mount your root);
5- run:
#lilo -t && lilo -v
6- if no error occurs just reboot, remove the cd and ... pray :P



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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
upgrading the kernel using slackpkg cavalier Slackware 17 05-27-2005 05:54 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration