Bug 206401 - mkinitrd doesn't detect lvm if fstab uses LABELs -- root on lvm
Summary: mkinitrd doesn't detect lvm if fstab uses LABELs -- root on lvm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: mkinitrd
Version: 4.4
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-14 05:28 UTC by Jon Anhold
Modified: 2007-11-17 01:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-27 22:09:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jon Anhold 2006-09-14 05:28:03 UTC
Description of problem:

When upgrading kernel versions, specifically installing a new kernel rpm, the
mkinitrd doesn't detect the need for LVM if the root partition is specified in
/etc/fstab with LABEL=/ and root is on a logical volume. Change the line in
/etc/fstab to /dev/vg0/root, or whatever, and it works just fine.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. specify root partition in fstab with LABEL=/ (or any label), where the root
partition is on a logical volume
2. install a new kernel, or run mkinitrd
3. try and boot with that initrd image
  
Actual results:

No capture handy. "switchroot failed" error and kernel panic.

Expected results:

Booting system.

Additional info:

Comment 1 Peter Jones 2006-09-27 22:09:12 UTC
This hasn't _ever_ been supported, and isn't the way we set things up during
installation.


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