summaryrefslogtreecommitdiffstats
path: root/files/90mgalive
diff options
context:
space:
mode:
Diffstat (limited to 'files/90mgalive')
-rwxr-xr-xfiles/90mgalive/mgalive-root.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/90mgalive/mgalive-root.sh b/files/90mgalive/mgalive-root.sh
index 6873e8c..457b9d0 100755
--- a/files/90mgalive/mgalive-root.sh
+++ b/files/90mgalive/mgalive-root.sh
@@ -18,7 +18,7 @@ mkdir -m 0755 -p /live/union
# fix udev isohybrid LABEL issues (mga #3334)
# by reading the device we get, stripping away partition number,
# and mounth the resulting device
-realdev=$(echo $livedev |sed 's,1,,g')
+realdev=$(echo $livedev |sed 's,\(/dev/sd[a-z]\)1,\1,g')
# mount the livecd
mount -n -t iso9660 -o ro $realdev /live/media