Bug 331591 - USB disk boot with swap on normal HDD fails
Summary: USB disk boot with swap on normal HDD fails
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-15 01:01 UTC by Doncho Gunchev
Modified: 2009-02-17 20:01 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-17 20:01:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Doncho Gunchev 2007-10-15 01:01:02 UTC
Description of problem:
I'm testing FC8 (rawhide) on external USB disk. After installing from the Live 
CD I had 
to --preload=ehci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod 
and it worked. The space however ran out and I removed the swap from the USB 
disk and reused my existing one on the real system (edited /etc/fstab....). 
After the first kernel update however, the system did not boot because the 
initrd was activating only the VG that had the swap on it.

Version-Release number of selected component (if applicable):
mkinitrd-6.0.19-1.fc8

How reproducible:
always

Steps to Reproduce:
1. install rawhide on USB disk
2. 'rescue' the system and preload the usb storage.
3. make the system use a swap partition on normal HDD
4. update the kernel
  
Actual results:
init in the new initrd image contains
lvm vgchange -ay --ignorelockingfailure  YOUR_SWAP_VG

Expected results:
lvm vgchange -ay --ignorelockingfailure YOUR_SWAP_VG
lvm vgchange -ay --ignorelockingfailure YOUR_ROOT_VG
or simply
lvm vgchange -ay --ignorelockingfailure

Additional info:
In this configuration (root on VG on USB HDD and swap on another VG on normal 
HDD) mkinitrd fails to add all needed modules and activate all VGs. This bug 
can be related to bug # 238528 and bug # 203244.

Comment 1 Bug Zapper 2008-05-14 03:23:22 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Andy Lindeberg 2008-07-14 20:14:34 UTC
Can you test this with F9 to see if the problem still occurs?


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