mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
_umountall before taking action
This commit is contained in:
parent
bbe0c74c03
commit
7e6ab9cac9
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ _autoprepare() {
|
|||
done
|
||||
_dialog --defaultno --yesno "${_DISK} will be COMPLETELY ERASED!\nALL DATA ON ${_DISK} WILL BE LOST.\n\nAre you absolutely sure?" 0 0 || return 1
|
||||
[[ -e /tmp/.fstab ]] && rm -f /tmp/.fstab
|
||||
_umountall
|
||||
# disable swap and all mounted partitions, umount / last!
|
||||
_printk off
|
||||
_dialog --infobox "Partitioning ${_DISK}..." 0 0
|
||||
|
|
Loading…
Reference in a new issue