Bug 297391 - LiveCD's anaconda fails to handle LVM partitions properly
LiveCD's anaconda fails to handle LVM partitions properly
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: LiveCD (Show other bugs)
8
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-20 00:38 EDT by Michel Alexandre Salim
Modified: 2013-01-09 23:25 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-09-20 11:11:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Inconsistent grub.conf (762 bytes, text/plain)
2007-09-20 00:38 EDT, Michel Alexandre Salim
no flags Details
Diff between incorrect and fixed initrd (725 bytes, patch)
2007-09-20 00:40 EDT, Michel Alexandre Salim
no flags Details | Diff

  None (edit)
Description Michel Alexandre Salim 2007-09-20 00:38:11 EDT
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 Alexandre Salim 2007-09-20 00:38:11 EDT
Created attachment 200451 [details]
Inconsistent grub.conf
Comment 2 Michel Alexandre Salim 2007-09-20 00:40:07 EDT
Created attachment 200461 [details]
Diff between incorrect and fixed initrd
Comment 3 Jeremy Katz 2007-09-20 11:11:34 EDT
Fixed in CVS; thanks for the report

Note You need to log in before you can comment on or make changes to this bug.