X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fboot%2F9990-main.sh;h=c696781434caa71a2550ecd7c46cbf635228b0b9;hb=807aa6389f094accf58d6b4b654679d1dcbc84aa;hp=171d0ea76831bd5bdefa76ee8e5de92193b5c1fb;hpb=698de1fad6697ea3f9c0d723a4b6a21dfe325380;p=live-boot-grml.git diff --git a/scripts/boot/9990-main.sh b/scripts/boot/9990-main.sh index 171d0ea..c696781 100755 --- a/scripts/boot/9990-main.sh +++ b/scripts/boot/9990-main.sh @@ -32,6 +32,12 @@ Main () . /conf/param.conf fi + if [ -n "${FUSE_MOUNT}" ] + then + # fuse does not work with klibc mount + ln -f /bin/mount.util-linux /bin/mount + fi + # Needed here too because some things (*cough* udev *cough*) # changes the timeout @@ -146,8 +152,8 @@ Main () esac # Move to the new root filesystem so that programs there can get at it. - mkdir -p /root/lib/live/mount/image - mount --move /live/image /root/lib/live/mount/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,