mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
umountall before doing storage things
This commit is contained in:
parent
677b122c6e
commit
b68e018953
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ prepare_storagedrive() {
|
|||
S_MKFS=0
|
||||
DONE=0
|
||||
NEXTITEM=""
|
||||
detect_
|
||||
_umountall
|
||||
while [[ "${DONE}" = "0" ]]; do
|
||||
if [[ -n "${NEXTITEM}" ]]; then
|
||||
DEFAULT="--default-item ${NEXTITEM}"
|
||||
|
|
|
@ -1059,6 +1059,6 @@ _luks()
|
|||
done
|
||||
_enter_luks_passphrase || return 1
|
||||
DIALOG --infobox "Encrypting ${PART}..." 0 0
|
||||
cryptsetup luksFormat "${PART}" <${LUKSPASSPHRASE} >"${LOG}"
|
||||
cryptsetup -q luksFormat "${PART}" <${LUKSPASSPHRASE} >"${LOG}"
|
||||
_opening_luks
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue