FedoraThis 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.
I've installed Fedora 10 on an external HDD with the following partitions:
(hd0,0) - GRUB bootloader files [PRIMARY]
(hd0,1) - Chainload LILO for another Linux [PRIMARY]
(hd0,2) - Fedora 10, no LVM or Swap (labeled F10) [PRIMARY]
I'm trying to boot Fedora 10 using the following grub.conf:
About halfway through the graphical loading screen:
Code:
Activating logical volumes
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
Creating root device.
Mounting root filesystem.
mount: error mounting /dev/root on /sysroot as ext3: No such file or directory.
1. Fedora thinks it needs to look for LVM, and there is none. Is there any way to specify that there is no LVM?
2. Fedora looks for a "resume device" which seems to be the swap partition on a default install. Is there a way to specify that there is no swap partition?
3. Why does Fedora try to mount /dev/root when it is specified that root=/dev/sda3?
I suspected the problem to be the "root=/dev/sda3", so I tried other alternatives with no success:
root=(hd0,2)/dev/sda3
root=LABEL=/F10
The problem was indeed in a poor /etc/fstab configuration.
The bad /etc/fstab contained the following:
Code:
#
# /etc/fstab
# Created by anaconda on Sat Apr 11 18:04:08 2009
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
#
UUID=9c4cc5ad-5a80-4333-9490-da7f4d2547d4 / ext3 defaults 1 1
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
As someone kindly pointed out, I had to refer to "root=???" in the kernel parameters through the UUID. And I thought UUID was a LVM-only thing...
And since I have no swap partition, I also commented out the "/dev/VolGroup00/LogVol01 swap" line in fstab.
I was wondering then how it would be possible to resolve this problem without UUIDs. I looked at some other fstab file examples, and most of them say something like /dev/sda1 instead of a UUID entry. So I'm guessing to do that I'd put /dev/sda3 instead of the UUID and replace the "root=UUID=???" with "root=/dev/sda3" in grub.conf and it should work. Haven't tried it yet though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.