about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--installer.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 5ae0fda..e881e25 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -849,14 +849,14 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
         DIALOG --title "Check $LOG for details" \
             --infobox "Rebuilding initramfs for target ..." 4 60
         echo "Rebuilding initramfs for target ..." >$LOG
+        # mount required fs
+        mount_filesystems
         chroot $TARGETDIR dracut --no-hostonly --add-drivers "ahci" --force >>$LOG 2>&1
         DIALOG --title "Check $LOG for details" \
             --infobox "Removing temporary packages from target ..." 4 60
         echo "Removing temporary packages from target ..." >$LOG
         xbps-remove -r $TARGETDIR -Ry dialog >>$LOG 2>&1
         rmdir $TARGETDIR/mnt/target
-        # mount required fs
-        mount_filesystems
     else
         # mount required fs
         mount_filesystems