switch to ext4

we dont use any btrfs features anymore

btrfs backend for containers seems to have worse performance and worse support
master
lub 1 year ago
parent 93e0e83d58
commit 70595df7ba

@ -23,7 +23,7 @@ apt-get -y install locales
### boot ### boot
apt-get -y install mdadm cryptsetup systemd systemd-sysv btrfs-progs firmware-linux lvm2 apt-get -y install mdadm cryptsetup systemd systemd-sysv firmware-linux
systemctl enable fstrim.timer systemctl enable fstrim.timer
# --force-confold because we already provide /etc/dropbear-initramfs/config # --force-confold because we already provide /etc/dropbear-initramfs/config

@ -25,12 +25,12 @@ unset root_pwd
chroot=/mnt/root-unlocked chroot=/mnt/root-unlocked
# root device # root device
mkfs.btrfs -f /dev/mapper/root-unlocked mkfs.ext4 -f /dev/mapper/root-unlocked
mkdir /mnt/root-unlocked mkdir /mnt/root-unlocked
mount /dev/mapper/root-unlocked /mnt/root-unlocked mount /dev/mapper/root-unlocked /mnt/root-unlocked
# boot device # boot device
mkfs.btrfs -f "$boot" mkfs.ext4 -f "$boot"
mkdir "$chroot/boot" mkdir "$chroot/boot"
mount "$boot" "$chroot/boot" mount "$boot" "$chroot/boot"

Loading…
Cancel
Save