From: Thomas Glanzmann Date: Wed, 23 Feb 2022 22:32:21 +0000 (+0100) Subject: remove fstab in dd and add it to live stick to prevent bootloader configuration X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/0190ebf09310261b1988c0a36d5be764370c4d95 remove fstab in dd and add it to live stick to prevent bootloader configuration --- diff --git a/bootstrap.sh b/bootstrap.sh index 5deb705..6b39d2d 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -78,6 +78,8 @@ build_rootfs() cd testing + rm etc/fstab + mkdir -p boot/efi sudo bash -c 'echo live > etc/hostname' @@ -130,6 +132,7 @@ build_dd() tune2fs -O extents,uninit_bg,dir_index -m 0 -c 0 -i 0 media sudo mount -o loop media mnt sudo cp -a testing/* mnt/ + sudo touch /mnt/etc/fstab sudo rm mnt/init sudo umount mnt tar cf - media | pigz > m1.tgz