@@ -, +, @@ --- installer/preinstall.d/11-remount.sh | 6 ++++++ 1 file changed, 6 insertions(+) --- a/installer/preinstall.d/11-remount.sh +++ a/installer/preinstall.d/11-remount.sh @@ -4,6 +4,8 @@ ME=11-remount +# NB: use 'set -x' here to debug + exec 2>/tmp/"$ME".log >&2 . install2-init-functions @@ -24,6 +26,8 @@ if [ -f "$destdir/etc/lvm/lvm.conf" ]; then cp -p "$destdir/etc/lvm/lvm.conf" /etc/lvm fi +chroot "$destdir" swapoff -a + umount "$destdir/dev/pts" chroot "$destdir" umount -a @@ -80,4 +84,6 @@ mount -t sysfs sysfs "$destdir/sys" mount -t proc proc "$destdir/proc" chroot "$destdir" mount -a ||: +chroot "$destdir" swapon -a + # NB: use "sleep 3600" here to debug :) --