diff --git a/config/etc/fstab b/config/etc/fstab index 7cb336d..8bf0c1c 100644 --- a/config/etc/fstab +++ b/config/etc/fstab @@ -3,5 +3,5 @@ # # -/dev/mapper/md0-unlocked / btrfs relatime,ssd 0 0 -/dev/md1 /boot btrfs relatime,ssd 0 0 +/dev/mapper/md0-unlocked / ext4 relatime 0 0 +/dev/md1 /boot ext4 relatime 0 0 diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index a243019..2432a0d 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -15,7 +15,7 @@ apt-get -y install locales ### boot -apt-get -y install mdadm cryptsetup btrfs-tools systemd systemd-sysv dropbear +apt-get -y install mdadm cryptsetup systemd systemd-sysv dropbear # generate minimal mdadm.conf mdadm --examine --scan | perl -pe 's/.*\/dev\/md\/?([0-9]+) .*UUID\=(.+?) .*/ARRAY \/dev\/md$1 UUID=$2/' > /etc/mdadm/mdadm.conf diff --git a/setup.sh b/setup.sh index f3713b2..a7eddf8 100755 --- a/setup.sh +++ b/setup.sh @@ -2,7 +2,7 @@ set -e -apt-get -y install mdadm btrfs-tools cryptsetup +apt-get -y install mdadm cryptsetup # returns /dev/md0 as root device # returns /dev/md1 as boot device @@ -21,12 +21,12 @@ unset md0pwd chroot=/mnt/md0-unlocked # root device -mkfs.btrfs -f /dev/mapper/md0-unlocked +mkfs.ext4 -f /dev/mapper/md0-unlocked mkdir /mnt/md0-unlocked mount /dev/mapper/md0-unlocked /mnt/md0-unlocked # boot device -mkfs.btrfs -f /dev/md1 +mkfs.ext4 -f /dev/md1 mkdir "$chroot/boot" mount /dev/md1 "$chroot/boot"