/usr auf eine eigene Partition verschoben, als vorbereitung für ArchOS
This commit is contained in:
parent
8f06586ccd
commit
5fcd2b3e66
1 changed files with 9 additions and 5 deletions
14
install.uefi
14
install.uefi
|
@ -31,16 +31,20 @@ DRIVE="/dev/vda"
|
|||
|
||||
#Discoverable Partitions Specification
|
||||
sgdisk -og "${DRIVE}"
|
||||
sgdisk -n 0:0:+512M -t 0:C12A7328-F81F-11D2-BA4B-00A0C93EC93B -c 0:efi "${DRIVE}"
|
||||
sgdisk -n 0:0:+512M -t 0:c12a7328-f81f-11d2-ba4b-00a0c93ec93b -c 0:"EFI System Partition" "${DRIVE}"
|
||||
#sgdisk -n 0:0:+512M -t 0:ef00 -c 0:ESP "${DRIVE}"
|
||||
sgdisk -n 0:0:0 -t 0:4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709 -c 0:root "${DRIVE}"
|
||||
sgdisk -n 0:0:+15G -t 0:8484680c-9521-48c6-9c11-b0720656f69e -c 0:"Usr-Partition" "${DRIVE}"
|
||||
sgdisk -n 0:0:0 -t 0:4f68bce3-e8cd-4db1-96e7-fbcaf984b709 -c 0:"System Root" "${DRIVE}"
|
||||
|
||||
|
||||
mkfs.vfat -n EFI -F 32 /dev/vda1
|
||||
mkfs.ext4 -L root /dev/vda2
|
||||
mkfs.ext4 -L usr /dev/vda2
|
||||
mkfs.ext4 -L root /dev/vda3
|
||||
|
||||
mount /dev/vda2 /mnt
|
||||
mkdir -p /mnt/boot
|
||||
mount /dev/vda3 /mnt
|
||||
mkdir -p /mnt/{boot,usr}
|
||||
mount /dev/vda1 /mnt/boot
|
||||
mount /dev/vda2 /mnt/usr
|
||||
|
||||
#ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf # tmpfiles.d macht das
|
||||
|
||||
|
|
Loading…
Reference in a new issue