Automatische Partitionieren durch parted
This commit is contained in:
parent
5632dea38c
commit
4f673ef6bb
1 changed files with 19 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
# Vor Reboot
|
# Vor Reboot
|
||||||
#localectl set-keymap de-latin1
|
# Keyboard einstellen
|
||||||
|
localectl set-keymap de-latin1
|
||||||
|
|
||||||
#ip -c a
|
#ip -c a
|
||||||
# rfkill unblock wifi
|
# rfkill unblock wifi
|
||||||
|
@ -9,9 +10,16 @@
|
||||||
#pacman -S tamsyn-font
|
#pacman -S tamsyn-font
|
||||||
#setfont Tamsyn10x20r
|
#setfont Tamsyn10x20r
|
||||||
|
|
||||||
|
# Zeit einstellen
|
||||||
|
timedatectl set-timezone Europe/Berlin
|
||||||
timedatectl set-ntp true
|
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
|
#gdisk /dev/vda
|
||||||
# /dev/vda1 300M EFI
|
# /dev/vda1 300M EFI
|
||||||
# /dev/vda2 Rest /
|
# /dev/vda2 Rest /
|
||||||
|
@ -45,3 +53,11 @@ genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
|
|
||||||
ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf
|
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
|
||||||
|
|
Loading…
Reference in a new issue