Bug 297391 - LiveCD's anaconda fails to handle LVM partitions properly
Summary: LiveCD's anaconda fails to handle LVM partitions properly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: LiveCD
Version: 8
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-20 04:38 UTC by Michel Lind
Modified: 2013-01-10 04:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-20 15:11:34 UTC
Type: ---
Embargoed:


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

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


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