X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F9990-main.sh;h=983a1cba20b3c7c267080cee8e503a5e3e3b4a09;hb=c32e1b2f0f8cbf4a11d198824f463cf7f7455a76;hp=ef41fb048e6a6da6399e9806ec6a332fa089f4e5;hpb=bb63b2a3e6ddd144674e6b40b702798a1c950fdd;p=live-boot-grml.git diff --git a/scripts/boot/9990-main.sh b/scripts/boot/9990-main.sh index ef41fb0..983a1cb 100755 --- a/scripts/boot/9990-main.sh +++ b/scripts/boot/9990-main.sh @@ -146,8 +146,8 @@ Main () esac # Move to the new root filesystem so that programs there can get at it. - mkdir -p /root/lib/live/image - mount --move /live/image /root/lib/live/image + mkdir -p /root/lib/live/mount/medium + mount --move /live/medium /root/lib/live/mount/medium # aufs2 in kernel versions around 2.6.33 has a regression: # directories can't be accessed when read for the first the time, @@ -158,8 +158,8 @@ Main () # Move findiso directory to the new root filesystem so that programs there can get at it. if [ -d /live/findiso ] then - mkdir -p /root/lib/live/findiso - mount -n --move /live/findiso /root/lib/live/findiso + mkdir -p /root/lib/live/mount/findiso + mount -n --move /live/findiso /root/lib/live/mount/findiso fi # if we do not unmount the ISO we can't run "fsck /dev/ice" later on @@ -169,10 +169,10 @@ Main () then losetup -d /dev/loop0 - if is_mountpoint /root/lib/live/findiso + if is_mountpoint /root/lib/live/mount/findiso then - umount /root/lib/live/findiso - rmdir --ignore-fail-on-non-empty /root/lib/live/findiso \ + umount /root/lib/live/mount/findiso + rmdir --ignore-fail-on-non-empty /root/lib/live/mount/findiso \ >/dev/null 2>&1 || true fi fi