Automatische Partitionieren durch parted

This commit is contained in:
eichehome 2022-12-13 20:15:52 +01:00
parent 5632dea38c
commit 4f673ef6bb

View file

@ -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
arch-chroot /mnt
#############################
# neue Version
localectl set-keymap de-latin1
timedatectl set-timezone Europe/Berlin
timedatectl set-ntp true