Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-18-2005, 06:58 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 15
Rep:
|
Kernel Upgrade now Kernel Panic
I have just upgraded the Slack 10.1 default kernel to 2.6.11.9.
all seemed to go well, but now when starting up i get the following message...
Kernel panic - Not Syncing VFS : Unable to mount root fs on unknown block (3,1)
Unfortunately I did not edit my existing lilo.conf entry to point to the old vmlinuz so am currently unable to go back to the old kernel to sort this out.
Any help for a noobie?
|
|
|
|
05-18-2005, 07:10 AM
|
#2
|
|
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282
Rep:
|
If you did not delete the old kernel, just boot with slackware CD 1 or 2,
mount your drive and rename the old kernel to the new one
Or chroot to /mnt/<mounted drive> and change lilo.conf,
run lilo to take change in account
[edit]
I don't know lilo well (I use grub) and I suspect the first option
will fail
Last edited by keefaz; 05-18-2005 at 07:14 AM.
|
|
|
|
05-18-2005, 07:12 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2004
Location: Munich, Germany
Distribution: Slackware 10.1
Posts: 18
Rep:
|
On the lilo command line, enter:
linux root=/dev/XXXX
where XXXX is hda1, hda2, wherever you have the linux partition.
Otherwise, boot from the slackware disk.
Hope that helps.
|
|
|
|
05-18-2005, 07:56 AM
|
#4
|
|
Zenwalk Admin
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258
Rep:
|
Is your partition ReiserFS?
make config by default selects etx2 & ext3 support.
If you didn't enable support for reiser or whatever your drive is formatted to in your config that may be the problem.
I would boot from the installation cd's and reconfig and remake the kernel.
|
|
|
|
05-18-2005, 08:29 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 15
Original Poster
Rep:
|
My fs is indeed ReiserFS.
When I made the .config I used make oldconfig, which would have had the ReiserFS in it. If I run make menuconfig, does it pick up whatever the config is so that all I have to do is change the inclusion of ReiserFS?
Also I built a boot floppy when I installed Slack. Can I use that to get to the point of running make menuconfig, or will it pick up the .config from the floppy.
Sorry for all the questions, but as mentioned before I am a noob.
|
|
|
|
05-18-2005, 08:43 AM
|
#6
|
|
Zenwalk Admin
Registered: May 2005
Location: Louisiana, U.S.A.
Distribution: Zenwalk Gnu/Linux
Posts: 258
Rep:
|
Ok, first I am also an extreme noob myself, but I ran across this same problem myself. I had the same errors. It was because I didn't enable support for reiserFS when I configured my new kernel.
What you may have done wrong is this.
The default kernel in slack 10.1 is a 2.4.xx kernel.
You are now going to a 2.6.xx kernel.
Using that old config from 2.4.xxx may be what is scrweing you up. It is better to make a newconfig file using make xconfig.
all you really have to do is make sure the right processor family and the right harddrive format is enabled, easy as pie.
There are three files that need to be installed or upgraded before you go to the new kernel tree.
I had success by using xushi's guide. It worked great and is easy to follow.
It is listed below:
http://xushi.co.uk/guides/kernel.php
Please read his guide before you do anything else.
To get back into your system just start it up with your installaion disc or back up disc, log in as root, and startx
Remeber, I too am a noob but I got it, you can too.
|
|
|
|
05-18-2005, 09:10 AM
|
#7
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,288
|
Quote:
Originally posted by saltireboy
When I made the .config I used make oldconfig, which would have had the ReiserFS in it. If I run make menuconfig, does it pick up whatever the config is so that all I have to do is change the inclusion of ReiserFS?
|
I suspect you did a "make oldconfig" without copying the old 2.4 .config over first.
This generates a .config - you would have seen text mode messages flash by, and then been left in a prompt, not in the configation GUI.
If you had a .config when you ran it, you would have had to confirm about 20 options manually; as in Y/N/M
If you now do the menuconfig, yes it will pick up the config as-is, and you can modify it as needed.
Quote:
|
Also I built a boot floppy when I installed Slack. Can I use that to get to the point of running make menuconfig, or will it pick up the .config from the floppy.
|
If you "cd /usr/src/linux" as normal, you should be fine.
If you feel you need to start from scratch, do a "make rmproper", then copy over the 2.4 .config, "make oldconfig", then "make menuconfig".
I did this, and it works fine.
Or you could take the advice above, and use some-one elses .config - I think Pat ships one as well.
|
|
|
|
05-18-2005, 10:05 AM
|
#8
|
|
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 15
Original Poster
Rep:
|
Thanks,
Quote:
|
If you feel you need to start from scratch, do a "make rmproper", then copy over the 2.4 .config, "make oldconfig", then "make menuconfig".
|
Why do you have to 'make menuconfig' after doing the copying the 2.4 .config then 'make oldconfig' steps. What is 'make menuconfig' doing that 'make oldconfig' isn't?
|
|
|
|
05-18-2005, 05:08 PM
|
#9
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,288
|
Always pays to check 
Strictly isn't necessary - if the input .config is right, and you answer all the prompts correctly.
I like to meander through the config - always find something hasn't "converted" as I think it needs to be.
Or maybe after all, I don't want ACPI on the first build, ...
Not required, does no harm to look.
|
|
|
|
01-23-2006, 11:44 PM
|
#10
|
|
Member
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455
Rep:
|
Check http://www.linuxquestions.org/questi...83#post2064583 Some of the ideas might help... my problem isnt fixed, but I hope we are making progress
DragonM15
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:38 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|