Bug 297391

Summary: LiveCD's anaconda fails to handle LVM partitions properly
Product: [Fedora] Fedora Reporter: Michel Lind <michel>
Component: LiveCDAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 8CC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-20 15:11:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Inconsistent grub.conf
none
Diff between incorrect and fixed initrd none

Description Michel Lind 2007-09-20 04:38:11 UTC
Description of problem:
After installing Fedora from live CD, with /boot on a primary partition, swap on
an extended partition and root on LVM, I end up with an incorrectly set-up
initrd and grub.conf.

Note the grub.conf inconsistency in the grub.conf attached: the comments
correctly uses /dev/system/root_fedora but the entry written for Fedora uses
LABEL=/ . According to Chris Lumens
(https://bugzilla.redhat.com/show_bug.cgi?id=238462#c8), disk labels are not
even supposed to be used on logical volumes.

/etc/fstab uses label as well for root, and initrd's init file is missing some
LVM-related set-up lines, resulting in an inability to find the root partition
on boot.





Version-Release number of selected component (if applicable):
Fedora-8-Test-2-Live-x86_64
anaconda-11.3.0.28-1

How reproducible:
Always

Steps to Reproduce:
1. Set up a disk with a partition table similar to the one described below
2. Install Fedora from live CD
  
Actual results:
LVM not set up properly, system unbootable (need to boot rescue CD, fix
/etc/fstab and then recreate initrd)

Expected results:
LVM set up properly

Additional info:
Disk layout on the laptop:

sda1 = Lenovo recovery partition
sda2 = Windows
sda3 = /boot
sda5 = openSUSE /boot
sda6 = reserved for CentOS
sda7 = swap
sda8 = LVM: /dev/system/{root_fedora,root_opensuse,local}

Comment 1 Michel Lind 2007-09-20 04:38:11 UTC
Created attachment 200451 [details]
Inconsistent grub.conf

Comment 2 Michel Lind 2007-09-20 04:40:07 UTC
Created attachment 200461 [details]
Diff between incorrect and fixed initrd

Comment 3 Jeremy Katz 2007-09-20 15:11:34 UTC
Fixed in CVS; thanks for the report