Mageia Bugzilla – Attachment 3340 Details for
Bug 8634
Cannot boot when root device is a logical volume
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
diff between mkinitrd~ (old) & mkinitrd (new; pb. fixed)
Fix-if-rootdev-is-logical-volume.patch (text/plain), 551 bytes, created by
Gilles Allard
on 2013-01-08 16:28:41 CET
(
hide
)
Description:
diff between mkinitrd~ (old) & mkinitrd (new; pb. fixed)
Filename:
MIME Type:
Creator:
Gilles Allard
Created:
2013-01-08 16:28:41 CET
Size:
551 bytes
patch
obsolete
>--- ./mkinitrd~ 2012-11-06 09:03:32.000000000 +0000 >+++ ./mkinitrd 2012-11-06 09:07:27.250224665 +0000 >@@ -1788,6 +1788,12 @@ > emit "echo Creating root device." > # mkrootdev does "echo /dev/root /sysroot ext3 defaults,ro 0 0 >/etc/fstab" > emit "mkrootdev -t $rootfs -o $rootopts $rootdev" >+if [ -z "$nolvm" -a -n "$vg_list" ]; then >+ inst /bin/rm "$MNTIMAGE" >+ emit "/bin/rm -f /dev/root" >+ emit "echo Linking /dev/root to $rootdev" >+ emit "ln -s $rootdev /dev/root" >+fi > > emit "echo Mounting root filesystem." > emit "mount /sysroot"
--- ./mkinitrd~ 2012-11-06 09:03:32.000000000 +0000 +++ ./mkinitrd 2012-11-06 09:07:27.250224665 +0000 @@ -1788,6 +1788,12 @@ emit "echo Creating root device." # mkrootdev does "echo /dev/root /sysroot ext3 defaults,ro 0 0 >/etc/fstab" emit "mkrootdev -t $rootfs -o $rootopts $rootdev" +if [ -z "$nolvm" -a -n "$vg_list" ]; then + inst /bin/rm "$MNTIMAGE" + emit "/bin/rm -f /dev/root" + emit "echo Linking /dev/root to $rootdev" + emit "ln -s $rootdev /dev/root" +fi emit "echo Mounting root filesystem." emit "mount /sysroot"
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8634
: 3340