From 782a54efff09682fbf34bd91142e47ffbdfdf54c Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 26 Jul 2023 00:54:08 +0200 Subject: [PATCH] Modifiziert Prepare-Script. --- prepare.uefi | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/prepare.uefi b/prepare.uefi index 7b67f66..b79afbf 100644 --- a/prepare.uefi +++ b/prepare.uefi @@ -1,18 +1,22 @@ #!/bin/bash if true ; then - sgdisk -og "${DRIVE}" + sgdisk -og /dev/vda # EFI System Partition erstellen - sgdisk -n 0:0:+"${ESP}" -t 0:c12a7328-f81f-11d2-ba4b-00a0c93ec93b -c 0:"EFI System Partition" "${DRIVE}" + sgdisk -n 0:0:+512M -t 0:c12a7328-f81f-11d2-ba4b-00a0c93ec93b -c 0:"EFI System Partition" /dev/vda # usr-Partition erstellen - sgdisk -n 0:0:+"${USR}" -t 0:8484680c-9521-48c6-9c11-b0720656f69e -c 0:"ArchOS_0.1" "${DRIVE}" + sgdisk -n 0:0:+10G -t 0:8484680c-9521-48c6-9c11-b0720656f69e -c 0:"ArchOS_0.1" /dev/vda # usrhash-Partition erstellen - sgdisk -n 0:0:+512M -t 0:77ff5f63-e7b6-4633-acf4-1565b864c0e6 -c 0:"ArchOS_0.1" "${DRIVE}" + sgdisk -n 0:0:+512M -t 0:77ff5f63-e7b6-4633-acf4-1565b864c0e6 -c 0:"ArchOS_0.1" /dev/vda # Root-Partition erstellen - sgdisk -n 0:0:0 -t 0:4f68bce3-e8cd-4db1-96e7-fbcaf984b709 -c 0:"ArchOS Root" "${DRIVE}" + sgdisk -n 0:0:0 -t 0:4f68bce3-e8cd-4db1-96e7-fbcaf984b709 -c 0:"ArchOS Root" /dev/vda fi -if true ; then +if false ; then mkfs.vfat -F 32 -n EFI /dev/vda1 +fi +if false ; then mkfs.ext4 -L usr /dev/vda2 +fi +if false ; then mkfs.ext4 -L root /dev/vda4 fi \ No newline at end of file