Mageia Bugzilla – Attachment 3744 Details for
Bug 9730
Mageia 3 beta4 LiveDVD-KDE does not boot from pendrive in EFI environment
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to allow efi mounting of Mageia live isos
mgalive-root.sh.patch (text/plain), 739 bytes, created by
Dave Hodgins
on 2013-04-15 05:22:16 CEST
(
hide
)
Description:
Patch to allow efi mounting of Mageia live isos
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2013-04-15 05:22:16 CEST
Size:
739 bytes
patch
obsolete
>--- /usr/lib/dracut/modules.d/90mgalive/mgalive-root.sh.original 2013-02-24 14:53:25.000000000 -0500 >+++ /usr/lib/dracut/modules.d/90mgalive/mgalive-root.sh 2013-04-14 23:17:02.659145891 -0400 >@@ -20,8 +20,14 @@ > # and mount the resulting device > realdev=$(echo $livedev |sed 's,\(/dev/sd[a-z]\)1,\1,g') > >-# mount the livecd >-mount -n -t iso9660 -o ro $realdev /live/media >+#fix efi live mount by only using the realdev if it is iso9660 (mga #9730) >+get_fs_env "$realdev" >+if [ "${ID_FS_TYPE}" == "iso9660" ] ; then >+# mount the livecd >+ mount -n -t iso9660 -o ro $realdev /live/media >+else >+ mount -n -t auto -o ro $livedev /live/media >+fi > > LOOPDEV=$( losetup -f ) > losetup -r $LOOPDEV /live/media/loopbacks/distrib-lzma.sqfs
--- /usr/lib/dracut/modules.d/90mgalive/mgalive-root.sh.original 2013-02-24 14:53:25.000000000 -0500 +++ /usr/lib/dracut/modules.d/90mgalive/mgalive-root.sh 2013-04-14 23:17:02.659145891 -0400 @@ -20,8 +20,14 @@ # and mount the resulting device realdev=$(echo $livedev |sed 's,\(/dev/sd[a-z]\)1,\1,g') -# mount the livecd -mount -n -t iso9660 -o ro $realdev /live/media +#fix efi live mount by only using the realdev if it is iso9660 (mga #9730) +get_fs_env "$realdev" +if [ "${ID_FS_TYPE}" == "iso9660" ] ; then +# mount the livecd + mount -n -t iso9660 -o ro $realdev /live/media +else + mount -n -t auto -o ro $livedev /live/media +fi LOOPDEV=$( losetup -f ) losetup -r $LOOPDEV /live/media/loopbacks/distrib-lzma.sqfs
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9730
:
3741
|
3743
| 3744 |
3760
|
3779