Fedora This forum is for the discussion of the Fedora Project. |
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.
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.
|
|
04-25-2012, 09:33 PM
|
#1
|
LQ Newbie
Registered: Apr 2012
Posts: 6
Rep:
|
after kernel compilation reboot says mount : couldnot find filesystem '/dev/root'
I am trying to install a 2.6.34.11 kernel.
I just checked out fresh tar ball for linux-2.6.34.11.tar.bz2
and followed below steps for compilation
tar -xjvf linux-2.6.34.11.tar.bz2 -C /usr/src; cd /usr/src/linux-2.6.34.11
make menuconfig
make
make modules
make module_install
make install
after this I rebooted with the new image but it says
No volume groups found Volume group "VolGroup00" not found mount : couldnot find filesystem '/dev/root'
Can any1 please suggest me if I have missed any steps..
|
|
|
04-25-2012, 09:53 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Have you compiled the drivers for your disk controller and the used filesystem into the kernel? Also, as it seems that you use LVM, so have you compiled the drivers for LVM into the kernel?
For more information about compiling a kernel for LVM have a look at the Gentoo Wiki.
|
|
|
04-25-2012, 09:59 PM
|
#3
|
Member
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Rep:
|
It is a little hard to say, since you didn't tell us anything about your file system configuration or your boot loader configuration. Just guessing, I would suspect that you are using LVM on your system, but you did not include Device mapper support in your kernel configuration (I think it was under Multiple devices driver support category). Furthermore, if your root file system is on LVM, you may need to include DM support statically instead of as a module. If you are using RAID, there are additional drivers that are needed as well.
But if you tell us about your file system configuration, and also post your grub.conf file contents, we could give you a more informed opinion.
|
|
|
04-25-2012, 10:29 PM
|
#4
|
LQ Newbie
Registered: Apr 2012
Posts: 6
Original Poster
Rep:
|
Hi Thanks for the reply!!
Here is my grub.conf details, and image for "(2.6.34.11)" is not booting properly as I mentioned
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
# splashimage=(hd0,0)/grub/splash.xpm.gz
serial --unit=0 --speed=115200
terminal --timeout=5 serial console
hiddenmenu
title Fedora (2.6.34.11)
root (hd0,0)
kernel /vmlinuz-2.6.34.11 ro root=/dev/VolGroup00/LogVol00 rhgb quiet maxcpus=1
initrd /initrd-2.6.34.11.img
title Fedora (2.6.23-gcov)
root (hd0,0)
kernel /vmlinuz-2.6.23-gcov ro root=/dev/VolGroup00/LogVol00 rhgb quiet maxcpus=1
initrd /initrd-2.6.23-gcov.img
title Fedora (2.6.23.1-42.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet maxcpus=1
initrd /initrd-2.6.23.1-42.fc8.img
/etc/fstab
Code:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
I am also attaching my .config file kernel configuration..
I tried to check in the menuconfig but I am not sure which options should I select in the "Multiple devices driver support " to get the thing working.. please suggest
|
|
|
04-25-2012, 10:35 PM
|
#5
|
LQ Newbie
Registered: Apr 2012
Posts: 6
Original Poster
Rep:
|
Attaching the kernel config file used.
|
|
|
04-26-2012, 12:39 AM
|
#6
|
Member
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Rep:
|
Quote:
Originally Posted by pawan.mup
I am also attaching my .config file kernel configuration..
I tried to check in the menuconfig but I am not sure which options should I select in the "Multiple devices driver support " to get the thing working.. please suggest
|
From your boot config, it is clear that your root file system is on LVM. However, your .config shows that your kernel is set to compile the Device-mapper (BLK_DEV_DM) as a module. This is bad, because modules get stored on your root file system, and therefore are not available at boot up time. So, you need to go in menuconfig to the "Multiple devices driver support" category, find "Device mapper support", and switch it from "<M>" to "<*>", so it is compiled directly into the kernel. (Once you have highlighted "Device mapper support", press "Y" to switch it.)
|
|
|
04-26-2012, 03:50 AM
|
#7
|
LQ Newbie
Registered: Apr 2012
Posts: 6
Original Poster
Rep:
|
Hi HydraMax thank you for the reply and made the change as "CONFIG_BLK_DEV_DM=y" and rebooted I am still seeing the same problem..
I am attaching the config file for reference..
Quote:
From your boot config, it is clear that your root file system is on LVM. However, your .config shows that your kernel is set to compile the Device-mapper (BLK_DEV_DM) as a module. This is bad, because modules get stored on your root file system, and therefore are not available at boot up time. So, you need to go in menuconfig to the "Multiple devices driver support" category, find "Device mapper support", and switch it from "<M>" to "<*>", so it is compiled directly into the kernel. (Once you have highlighted "Device mapper support", press "Y" to switch it.)
|
|
|
|
04-27-2012, 03:41 AM
|
#8
|
Member
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Rep:
|
Hmm...
Where did your initrd (initrd-2.6.34.11.img) come from? If your kernel really is properly configured for LVM, my next thought would be that perhaps the initrd is not properly scanning for the volume group.
|
|
|
All times are GMT -5. The time now is 04:25 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
|
|