DebianThis forum is for the discussion of Debian 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.
Installed the kernel-package and read the man-page. I wasn't wrong, the modules_image image should be present in the /usr/src/modules dir. If the dir isn't there, the modules_image wasn't build. Try building the images with the --append-to-version option.
Installed the kernel-package and read the man-page. I wasn't wrong, the modules_image image should be present in the /usr/src/modules dir. If the dir isn't there, the modules_image wasn't build. Try building the images with the --append-to-version option.
Thanks. I'm going to uninstall 2.6 kernel and start over with the man pages again. I must have missed something.
Quick question... what's the cleanest way to uninstall the 2.6 kernel? Can't find any info on it.
I know I selected some module support... so that didn't quite sound right to me. But I figured, what the heck. So I installed the kernel anyway.
(besides, the 2.4 kernel is still installed)
I should have been clearer in my reply you have no out of kernel modules to compile that is why you have no directory these are not the same as modules that are in the kernel that you select doing a make menuconfig for example they are for things like wireless network cards that need to be built from out of kernel tree source each time you upgrade your kernel. This is why the command and directory exists if any modules needed to be built are in the directory then the modules_image command automatically builds them for you to install.
Quote:
When I select the 2.6 kernel in grub, I get a nasty error during boot:
Code:
kernel panic = not syncing: VFS: Unable to mount root fs on unknown-blank(0,0)
I did a quick google, and it seems like that error is due to selected modules not loading.
Surprise, surprise.
Back to the docs again...
This indicates that you have left out the support (selected as a y for builtin) for either your chipset on the motherboard or the filesystem you are using maybe even both of them. Now if you included them as selected m for loadable module then you needed to use --initrd in the command when building your kernel to have the initrd built so you can load the modules before anything tries to access your / partition. BTW there is a whole lot of changes going from a 2.4 to 2.6 kernel you may want to try using 2.6.8 kernel that if I recall correctly should be available to you from Debian this way you should get the necessary packages changes made to the install to enable you to boot a 2.6 kernel then try the new compile with the 2.6.21.
I should have been clearer in my reply you have no out of kernel modules to compile that is why you have no directory these are not the same as modules that are in the kernel that you select doing a make menuconfig for example they are for things like wireless network cards that need to be built from out of kernel tree source each time you upgrade your kernel. This is why the command and directory exists if any modules needed to be built are in the directory then the modules_image command automatically builds them for you to install.
This indicates that you have left out the support (selected as a y for builtin) for either your chipset on the motherboard or the filesystem you are using maybe even both of them. Now if you included them as selected m for loadable module then you needed to use --initrd in the command when building your kernel to have the initrd built so you can load the modules before anything tries to access your / partition. BTW there is a whole lot of changes going from a 2.4 to 2.6 kernel you may want to try using 2.6.8 kernel that if I recall correctly should be available to you from Debian this way you should get the necessary packages changes made to the install to enable you to boot a 2.6 kernel then try the new compile with the 2.6.21.
From where I sit, it would be a lot better if you upgraded to Etch before trying to go to 2.6.21. In any case, here is the page I use as a guideline for building Debian kernels. After downloading the stuff required, I just make a shell script to do it for me and I don't even type the make stuff anymore.
See section 7.1.1. And yes, this method still works, even though it has been dropped from the debian.org pages.
Another thing if you find you want/need newer packages for Sarge then try http://www.backports.org/ to see if they have newer a version built specifically for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.