LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 04-14-2009, 03:08 AM   #1
maxkukartsev
LQ Newbie
 
Registered: Apr 2009
Distribution: Gentoo, Arch, Slackware
Posts: 22

Rep: Reputation: 16
F10 Boot Problem - No LVM


Hello All,

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:
Code:
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title Fedora 10
	root (hd0,2)
	kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686 ro root=/dev/sda3 rhgb
	initrd /boot/initrd-2.6.27.5-117.fc10.i686.img
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

Thanks in advance.

Best regards,
Max Kukartsev
 
Old 04-14-2009, 07:58 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I would guess you have some errant entries in /etc/fstab. Can you boot into rescue mode with your CD/DVD and have a look?
 
Old 04-14-2009, 08:07 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,500

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Looks like a initrd problem - I have an F10 non-LVM system some-where (this post to remind me to look)
 
Old 04-14-2009, 11:22 PM   #4
Tomarock
LQ Newbie
 
Registered: Apr 2008
Distribution: Fedora core 9
Posts: 8

Rep: Reputation: 1
Where is the swap file

The OS needs to know were the swap is at. From what I see, none was specified.
 
Old 04-15-2009, 12:18 AM   #5
maxkukartsev
LQ Newbie
 
Registered: Apr 2009
Distribution: Gentoo, Arch, Slackware
Posts: 22

Original Poster
Rep: Reputation: 16
Thumbs up It worked

Thanks guys,

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.

Now the working grub.conf file looks like this:
Code:
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title Fedora 10
	root (hd0,2)
	kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=9c4cc5ad-5a80-4333-9490-da7f4d2547d4 rhgb
	initrd (hd0,2)/boot/initrd-2.6.27.5-117.fc10.i686.img
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.

Thanks again for all the help.
 
Old 04-15-2009, 12:24 AM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It should work with root=/dev/sda3 (if that is the same partition). That's what I use for my grub entries where possible.
 
Old 04-16-2009, 12:07 AM   #7
maxkukartsev
LQ Newbie
 
Registered: Apr 2009
Distribution: Gentoo, Arch, Slackware
Posts: 22

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by billymayday View Post
It should work with root=/dev/sda3 (if that is the same partition). That's what I use for my grub entries where possible.
And this works without changing the UUID entry to a regular /dev/?? in fstab?
 
  


Reply

Tags
boot, fedora, lvm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
f10 booting problem... shanmuga_k72 Linux - Newbie 7 12-07-2008 11:53 AM
Grub/LVM boot problem jkoshi Fedora 6 02-28-2007 11:48 AM
new 2.6.17.4 boot problem ramdisk LVM debian xjih78 Linux - General 0 07-19-2006 11:26 AM
Can't boot, LVM and inode problem Raoul68 Linux - General 2 11-01-2005 02:34 PM
Can't boot, LVM and inode problem Raoul68 Linux - Hardware 0 10-30-2005 04:14 AM


All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration