Eine usrhash-Partition hinzugefügt.
This commit is contained in:
parent
4cf628054f
commit
220f80a62f
1 changed files with 3 additions and 1 deletions
|
@ -83,13 +83,15 @@ sgdisk -n 0:0:+"${ESP}" -t 0:c12a7328-f81f-11d2-ba4b-00a0c93ec93b -c 0:"EFI Syst
|
|||
#sgdisk -n 0:0:+512M -t 0:ef00 -c 0:ESP "${DRIVE}"
|
||||
# Create usr-Partition
|
||||
sgdisk -n 0:0:+"${USR}" -t 0:8484680c-9521-48c6-9c11-b0720656f69e -c 0:"Usr-Partition" "${DRIVE}"
|
||||
# Create usrhash-Partition
|
||||
sgdisk -n 0:0:+64M -t 0: -c 0:"usrhash-Partition" "${DRIVE}"
|
||||
# Create Root-Partition
|
||||
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 usr /dev/vda2
|
||||
mkfs.ext4 -L root /dev/vda3
|
||||
mkfs.ext4 -L root /dev/vda4
|
||||
|
||||
mount /dev/vda3 /mnt
|
||||
mkdir -p /mnt/{boot,usr}
|
||||
|
|
Loading…
Reference in a new issue