Bug 152790 - mkinitrd fails for rootfs on LVM2
Summary: mkinitrd fails for rootfs on LVM2
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hannes Reinecke
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 14:41 UTC by Carl-Daniel Hailfinger
Modified: 2006-03-01 14:08 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Diff against current mkinitrd (574 bytes, text/plain)
2006-02-22 14:43 UTC, Carl-Daniel Hailfinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl-Daniel Hailfinger 2006-02-22 14:41:39 UTC
mkinitrd creates a broken initrd if the root filesystem is on LVM2.

Attached patch fixes two things:
- vg_line would match multiple lines for more than 10 logical volumes
- vg_root is the second, not the third field in vg_line
Comment 1 Carl-Daniel Hailfinger 2006-02-22 14:43:51 UTC
Created attachment 69796 [details]
Diff against current mkinitrd
Comment 2 Hannes Reinecke 2006-03-01 14:08:39 UTC
Fixed in our CVS. Updated mkinitrd will be on the next beta.