From 4f673ef6bb78ef84bfa6809c7fcb4f710c7f6112 Mon Sep 17 00:00:00 2001 From: eichehome Date: Tue, 13 Dec 2022 20:15:52 +0100 Subject: [PATCH] Automatische Partitionieren durch parted --- prep-BTRFS-UEFI.sh | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/prep-BTRFS-UEFI.sh b/prep-BTRFS-UEFI.sh index 3119f23..bb5c727 100644 --- a/prep-BTRFS-UEFI.sh +++ b/prep-BTRFS-UEFI.sh @@ -1,5 +1,6 @@ # Vor Reboot -#localectl set-keymap de-latin1 +# Keyboard einstellen +localectl set-keymap de-latin1 #ip -c a # rfkill unblock wifi @@ -9,9 +10,16 @@ #pacman -S tamsyn-font #setfont Tamsyn10x20r +# Zeit einstellen +timedatectl set-timezone Europe/Berlin timedatectl set-ntp true -echo -n "o\ny\nyn\n\n\n+300M\nef00\nn\n\n\n\n\nw\ny\n" | gdisk /dev/vda #o\n y\n n\n \n \n +300m\n ef00\n n\n \n \n \n \n w\n y\n +# Partitionieren +parted --script /dev/vda \ +mklabel gpt \ +mkpart fat32 1MiB 501MiB \ +mkpart btrfs 501MiB 100% +#echo -n "o\ny\nyn\n\n\n+300M\nef00\nn\n\n\n\n\nw\ny\n" | gdisk /dev/vda #o\n y\n n\n \n \n +300m\n ef00\n n\n \n \n \n \n w\n y\n #gdisk /dev/vda # /dev/vda1 300M EFI # /dev/vda2 Rest / @@ -44,4 +52,12 @@ pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git genfstab -U /mnt >> /mnt/etc/fstab ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf -arch-chroot /mnt \ No newline at end of file +arch-chroot /mnt + +############################# +# neue Version + +localectl set-keymap de-latin1 + +timedatectl set-timezone Europe/Berlin +timedatectl set-ntp true