Die Großbuchstaben der UUIDs der Partitionen in Kleinbuchstaben umgewandelt, um sie als '/dev/disk/by-partuuid/' verwenden zu können.
This commit is contained in:
parent
ca123b85b8
commit
d06489110b
1 changed files with 9 additions and 3 deletions
12
install.uefi
12
install.uefi
|
@ -159,9 +159,15 @@ if [[ "${UNKNOWN_PARTITIONS}" > "0" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
mkfs.vfat -n EFI -F 32 /dev/vda1
|
||||
mkfs.ext4 -L usr /dev/vda2
|
||||
mkfs.ext4 -L root /dev/vda4
|
||||
# Großbuchstaben in UUIDs zu kleinbuchstaben umwandeln
|
||||
UUID_ESP="${UUID_ESP@L}"
|
||||
UUID_ROOT="${UUID_ROOT@L}"
|
||||
UUID_USR="${UUID_USR@L}"
|
||||
UUID_USRHASH="${UUID_USRHASH@L}"
|
||||
|
||||
mkfs.vfat -n EFI -F 32 "/dev/disk/by-partuuid/${UUID_ESP}"
|
||||
mkfs.ext4 -L usr "/dev/disk/by-partuuid/${UUID_USR}"
|
||||
mkfs.ext4 -L root "/dev/disk/by-partuuid/${UUID_ROOT}"
|
||||
|
||||
mount /dev/disk/by-label/root /mnt
|
||||
mkdir -p /mnt/{boot,usr}
|
||||
|
|
Loading…
Reference in a new issue