Ensure to mount /boot even for BTRFS filesystem
This commit is contained in:
parent
f008dd25e3
commit
f7d9fbed3c
|
@ -48,13 +48,12 @@ apt install ipcalc
|
||||||
mkdir -p -- /target
|
mkdir -p -- /target
|
||||||
mountpoint -q /target || mount -- /dev/mapper/"${vgname}"-root /target
|
mountpoint -q /target || mount -- /dev/mapper/"${vgname}"-root /target
|
||||||
|
|
||||||
|
### boot - grub
|
||||||
|
mountpoint -q /target/boot || mount -- ${hdd}1 /target/boot
|
||||||
##
|
##
|
||||||
if [ "${manage_btrfs}" -eq 0 ]; then
|
if [ "${manage_btrfs}" -eq 0 ]; then
|
||||||
printf '%b\n' "The root system is in ${GREEN}BTRFS${RESET}, no extra mount is required."
|
printf '%b\n' "The root system is in ${GREEN}BTRFS${RESET}, no extra mount is required."
|
||||||
else
|
else
|
||||||
### boot - grub
|
|
||||||
mountpoint -q /target/boot || mount -- ${hdd}1 /target/boot
|
|
||||||
|
|
||||||
#### home LV
|
#### home LV
|
||||||
mountpoint -q /target/home || mount -- /dev/mapper/"${vgname}"-home /target/home
|
mountpoint -q /target/home || mount -- /dev/mapper/"${vgname}"-home /target/home
|
||||||
#### opt LV
|
#### opt LV
|
||||||
|
|
Loading…
Reference in New Issue