| Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum. |
| 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. |
|
 |
09-24-2010, 01:05 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2010
Posts: 2
Rep:
|
Latest kernel version fails to boot on virtual box
I am running Red hat on a virtual box. My current kernel version is 2.6.18-155.el5.when I install the new kernel 2.6.35.4, I do not get any error during the install but the kernel fails to boot. I get the following error.
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: no such file or directory
setuproot: error mounting /proc: no such file or directory
setuproot: error mounting/sys: no such file or directory
switchroot: mount failed:no such file or directory
kernel panic-not syncing:attempting to kill init!
I am new to Linux. Can anyone help me out here.
|
|
|
|
09-24-2010, 01:43 AM
|
#2
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,288
|
Redhat puts a lot of effort into packaging their RHEL systems - that's why people pay for it.
It's also licensed, which means you can't (legitimately) just copy it.
So ...
What are you trying to learn/achieve - maybe we can offer a solution.
|
|
|
|
09-24-2010, 12:15 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2010
Posts: 2
Original Poster
Rep:
|
I am using this for a course on Linux device drivers which requires installation of the kernel's latest version and all module programming to be done on the newly installed kernel. I am currently working on 2.6.18-155-el5. I downloaded and installed version 2.6.35.4 and when I try to boot this version I get the error which I have mentioned above.
|
|
|
|
09-24-2010, 05:52 PM
|
#4
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,288
|
I wouldn't have thought RHEL was the place to do this.
Where did you get the .config from ?. If it's from the RH environment, you'll need to build an initrd to ensure the required support to mount the root is included. I build all that into the kernel itself when I build one so initrd isn't an issue.
Have a look at the CentOS (the open source equivalent to RHEL) wiki for doco on how to do all required.
|
|
|
|
09-24-2010, 06:22 PM
|
#5
|
|
Member
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackware64 13.37-multilib
Posts: 518
Rep:
|
A pretty generic approach:
Your error is: mount: could not find filesystem '/dev/root'
There can be 2 reasons: either the disk device drivers are not found, which is plausible in virtualization land, or the filesystem device driver is not found;
I bet the 1st one is the case, although I've erred years in the past forgetting to build in support for ext2 (at that time)
Your steps would be:
1st: identify the filesystem type (ext4, reiserfs, ...) and disk type (ide, virtio, scsi, ...)
2nd: check if support is available in the kernel for either, and you have it compiled in (if not, enable it and recompile your kernel)
In the case of a virtio disk type, you may have to make an initrd with at least the modules virtio, virtio_blk and virtio_pci. (maybe more, doing this from the top of my head)
You may have to run some setup commands for your bootloader to recognize your initrd (if you have one) and kernel.
Last edited by Ramurd; 09-25-2010 at 03:29 AM.
Reason: typo
|
|
|
|
| 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 04:59 PM.
|
|
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
|
|