Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Hello all. I just compiled the 2.6.38.4 kernel and was booting it and I got a "No or empty root= argument". Then, I boot into my other kernel and check out my grub menu.lst and there is indeed a root= argument. It says:
Yea I was thinking the same thing. But if you notice, I compiled the 2.6.39-rc5 kernel as well. While compiling, I missed the "make *config" step because I just wanted the generic modules. That kernel boots fine. The one I'm trying to get to work is 2.6.38.4, which I edited heavily with "make gconfig", the gtk config program. I didn't see anything for LVM in there, but its worth to look. I'll post back after recompile.
Well, I recompiled with different modules (mostly just an array of file systems support)(none of which are LVM since there is no option for it) now it gives me an
Code:
Error 253: Error parsing number
or something to that effect. Maybe it has something to do with the modules I am choosing to compile my kernel with...
Thanks
Alex
Last edited by abrinister; 05-01-2011 at 08:53 PM.
Ok well I left alone the 2.38.4 kernel and got a fresh 2.38.5 source from the kernel site. I compiled it with tons of modules, and it all completed. It boots up fine until after the splash screen, when it tells me that there is no root device and that boot has failed forever. Why does this happen? Do I have to change the root directory in some file to make it work? This same problem happened to me when I built the rpm for an earlier kernel.
Ok I have found out the problem. Dracut is not finding a root partition because it is not initializing the volume group that the root partition is on. A quick and dirty fix to this is to add rdshell to your grub configuration file, then dracut will drop into a shell if it doesn't boot. From this shell, you need to enter:
Code:
lvm vgchange -ay
and then exit the shell by entering "exit". The kernel will then boot just fine. I do not think this is good fix, as you need to do this every time you boot. If anyone knows how to make this command run at boot by default, please share.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.