LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 03-10-2009, 11:20 PM   #1
quoll
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
How to Install FC10 on an LVM?


Hi,

After happily running FC6 for several years, I finally decided to upgrade to FC10. I had enough space for a backup, so I decided to install from scratch. The system has always run on LVM between 2 identical drives, and so this is what I attempted here.

My initial attempt was to create a small slice at the start of sda for /boot, and I left an identical slice at the start of sdb which I leave unused. The remainder of both drives was then set as a physical volume, and the logical volumes on this were for / and swap.

This configuration failed to boot. I just get a black screen.

After that, I tried the configuration that the installation process wanted to use. Same effect. I've tried several configurations, but each time it refuses to boot from the hard drives.

So right now, I have a system that is supposedly "installed" according to the layout I described first. I've booted up on the DVD, and have tried running grub.

I tried a lot of manual configurations, and then I tried the commands I've found in /boot/grub/menu.lst. I've found that:
root (hd0,0)
Works just fine with a response of:
Filesystem type is ext2fs, partition type 0x83

Similarly, the system seems happy with:
kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=UUID=901c6195-835a-4e8a-b35c-e274a3e489d0 rhgb quiet
The response is:
[Linux-bzImage, setup=0x3000, size=0x272cd0]

(I also tried a similar line which is mentioned in the comments:
kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=/dev/VolGroup00/LogVol00
Though I'm skeptical about this one, since I don't know if grub can set up the LVM for this - can it?)

Anyway, it all looks good until I try initrd:
initrd /initrd-2.6.27.19-170.2.35.fc10.i686.img

The response to this is always:
Error 16: Inconsistent filesystem structure

Since I've watched it boot up from the DVD just fine, I've tried copying this initrd.img file over and using that instead, but it behaves exactly the same way.

So I'm thinking that it's the failure to load this image that is killing my boot process. However, I've tried everything I can think of. Does anyone have any ideas, please? I'm more than happy to supply more information, or tweak the system in any way. I just really need to keep these drives together.

TIA

Regards,
Paul
 
Old 03-11-2009, 03:59 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Your second grub line looks correct (with /dev/VolGroup...), and note that it will be the kernel that mounts this, not grub.

My initial thought is that the partitioning during installation hasn't worked properly. Why don't you try reinstalling, but only use the one disk, setting /boot aside and the rest to the LVM, then if that works, simply add your second disk (or some portion thereof) to the LVM. I don't use LVMs much any more, but Fedora used to have a GUI tool to make this type of operation very simply.
 
Old 03-17-2009, 09:21 PM   #3
quoll
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Found the problem.

The computer went for a little while without power, and in the meantime the M/B battery went dead and I lost the CMOS settings... in particular the Intel RAID settings. Setting this back up, I put the drives together in a RAID, and said that the RAID was bootable. I could have sworn that this config *used* to work (my memory is probably faulty though).

A bit of digging on M/B based RAID informed me that ICH5 RAID is just a set of BIOS instructions that optimize software RAID, and like all BIOS operations under Linux, these were being completely ignored in favor of a better set provided by the OS. This made me realize that the "Bootable RAID" thing was probably the problem for GRUB. Once I disabled RAID on the M/B it all worked.

Thanks for looking at the problem Billmayday.

Regards,
Paul
 
  


Reply


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
[SOLVED] Im getting ready to install fc10 to my ps3 WHAT DO I NEED BEFORE I START ghostface3690 Fedora 6 05-01-2011 07:38 PM
FC10 freeze during boot following install Ron7 Fedora 9 04-28-2009 03:30 PM
Unable to install Fedora fc10 tvoltagg Fedora - Installation 4 03-13-2009 10:10 AM
Kmod-nvidia and FC10 install kernel version rylan76 Fedora 2 01-09-2009 07:31 AM
trying to install FC10 on DELL Inspiron 6400 PeterKarjala Linux - Laptop and Netbook 1 12-01-2008 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 07:17 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
Open Source Consulting | Domain Registration