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 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.
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.
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.
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.
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.
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?
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, ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.