Proper partitions
This commit is contained in:
parent
9d794b66d6
commit
2529c5d251
@ -262,10 +262,10 @@ install() {
|
||||
log "info" "Wrote partitions"
|
||||
log "info" "Encrypting $(important "${install_disk}"), if you are prompted type $(important "YES")"
|
||||
cryptsetup -y -v luksFormat "${install_path}p2" || exit
|
||||
log "info" "Requesting opening of $(important "${install_disk}")"
|
||||
cryptsetup open "${install_path}" cryptroot || exit
|
||||
log "info" "Requesting opening of $(important "${install_disk}p2")"
|
||||
cryptsetup open "${install_path}p2" cryptroot || exit
|
||||
log "info" "Creating file systems..."
|
||||
mkdfs.fat -F32 "${install_path}"
|
||||
mkdfs.fat -F32 "${install_path}p1"
|
||||
mkfs.ext4 "/dev/mapper/cryptroot"
|
||||
log "info" "Created file systems"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user