LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-11-2006, 03:58 PM   #1
zhuningwll
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Rep: Reputation: 15
update kernel to 2.6 have error pls help me??


now i use slackware10.2,I update kernel to 2.6 but after make completed reboot it display:
kernel panic: VFS: Unable to mount root fs on Unkonw-block(8,5)

now I want use my old kernel(2.4) login in system to remake kernel but my old kernel have the error too.so I can't login in my system to make kernel again

how can i do?pls help me!
 
Old 09-11-2006, 04:01 PM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
so you selected your old kernel listing from Lilo, but all of a sudden it doesn't work anymore?
 
Old 09-11-2006, 04:41 PM   #3
zhuningwll
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mdarby
so you selected your old kernel listing from Lilo, but all of a sudden it doesn't work anymore?
yes I select old kernel want to remake kernel 2.6,but now the old kernel I can't login it display the error too.

how can I do?
 
Old 09-12-2006, 05:54 AM   #4
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
zhuningwII it sounds like you did NOT properly edit your lilo.conf file and run "lilo" as root before rebooting, OR, you did not properly backup your old kernels /boot items, or you totally did something wrong with your kernel install.

can you post exactly what you did.

1. make your own 2.6 kernel or use slackware's testing kernel.
2. what steps did you take after #1 here, exactly what commands to back up your prior /boot section and lilo file changes and boot record changes.
 
Old 09-12-2006, 06:51 AM   #5
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
You need to go to the /boot directory and remove all of the extra files, mostly the initrd file, that was created at the time of installing your 2.6 kernel. Then point lilo to the 2.4 kernel again, run lilo, and reboot. Should fix it for you.
 
Old 09-12-2006, 08:17 PM   #6
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
And to do all the advice above, boot disk one (enter the path on the command line to where you install slackwer eg /dev/hda1)
 
Old 09-13-2006, 05:57 PM   #7
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Yes, I did forget the system was unbootable. You will need to boot from disk 1, mkdir for a mount point and mount your hard drive. Sorry I forgot that part...
 
  


Reply



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
update kernel error longnam Slackware 3 05-25-2006 07:24 PM
Kernel update fluxbox error tuxrox07 Fedora 0 12-23-2005 02:23 PM
Error trying to update kernel via YOU BaltikaTroika SUSE / openSUSE 0 12-09-2005 09:03 PM
menuconifg error while update kernel amer_58 Linux - Newbie 1 11-08-2005 04:32 PM
kernel update error mfeyzifar Mandriva 2 05-09-2004 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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