Compare commits
2 commits
3a8f0251f2
...
5a7f746d1f
Author | SHA1 | Date | |
---|---|---|---|
5a7f746d1f | |||
769767c879 |
2 changed files with 42 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
*.swp
|
||||
temp
|
41
pre.sh
41
pre.sh
|
@ -1,3 +1,4 @@
|
|||
#--UEFI-ext4--
|
||||
# setfont ter-132n
|
||||
localectl set-keymap de-latin1
|
||||
|
||||
|
@ -40,3 +41,43 @@ pacstrap /mnt base linux linux-firmware vim amd-ucode git tamsyn-font
|
|||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
||||
arch-chroot /mnt
|
||||
#--UEFI-ext4--
|
||||
#--UEFI-btrfs--
|
||||
localectl set-keymap de-latin1
|
||||
|
||||
ip -c a
|
||||
# rfkill unblock wifi
|
||||
# iwctl
|
||||
pacman -Sy #check if we can reach the repos
|
||||
|
||||
pacman -S tamsyn-font
|
||||
setfont Tamsyn10x20r
|
||||
|
||||
timedatectl set-ntp true
|
||||
|
||||
fdisk /dev/vda
|
||||
# UEFI GPT
|
||||
# /dev/vda1 300M EFI
|
||||
# /dev/vda2 Rest /
|
||||
|
||||
mkfs.vfat /dev/vda1
|
||||
mkfs.btrfs /dev/vda2
|
||||
mount /dev/vda2 /mnt
|
||||
cd /mnt
|
||||
btrfs subvolume create @
|
||||
btrfs subvolume create @home
|
||||
btrfs subvolume create @log
|
||||
btrfs subvolume create @cache
|
||||
cd ~
|
||||
umount
|
||||
mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@ /dev/vda2 /mnt
|
||||
mkdir -p /mnt/{home,var/log,var/cache,boot}
|
||||
mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@home /dev/vda2 /mnt/home
|
||||
mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@log /dev/vda2 /mnt/var/log
|
||||
mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@cache /dev/vda2 /mnt/cache
|
||||
mount /dev/vda1 /mnt/boot
|
||||
|
||||
pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git
|
||||
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
#--UEFI-btrfs--
|
Loading…
Reference in a new issue