From 9d2a02cfe3befc66abad8c568b424714694fbacd Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 6 Aug 2023 16:35:48 +0200 Subject: [PATCH] change disk layout --- hardware/hetzner_ax51-nvme/boot | 2 +- hardware/hetzner_ax51-nvme/esp | 2 +- hardware/hetzner_ax51-nvme/parted.sh | 16 ++++++++-------- hardware/hetzner_ax51-nvme/root | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hardware/hetzner_ax51-nvme/boot b/hardware/hetzner_ax51-nvme/boot index 0b425c9..62da020 120000 --- a/hardware/hetzner_ax51-nvme/boot +++ b/hardware/hetzner_ax51-nvme/boot @@ -1 +1 @@ -/dev/nvme3n1p2 \ No newline at end of file +/dev/nvme0n1p2 \ No newline at end of file diff --git a/hardware/hetzner_ax51-nvme/esp b/hardware/hetzner_ax51-nvme/esp index 568799f..09d1323 120000 --- a/hardware/hetzner_ax51-nvme/esp +++ b/hardware/hetzner_ax51-nvme/esp @@ -1 +1 @@ -/dev/nvme3n1p3 \ No newline at end of file +/dev/nvme0n1p3 \ No newline at end of file diff --git a/hardware/hetzner_ax51-nvme/parted.sh b/hardware/hetzner_ax51-nvme/parted.sh index 766790b..d96863d 100755 --- a/hardware/hetzner_ax51-nvme/parted.sh +++ b/hardware/hetzner_ax51-nvme/parted.sh @@ -2,16 +2,16 @@ set -e -# / 440GB -# /boot 2GB +# / 1020GB +# /boot 1GB # /boot/efi 1GB -# free 7GB +# free 0GB -parted /dev/nvme3n1 mklabel msdos -parted /dev/nvme3n1 mkpart primary 1 500GB -parted /dev/nvme3n1 mkpart primary 500GB 505GB -parted /dev/nvme3n1 mkpart primary 505GB 510GB +parted /dev/nvme0n1 mklabel msdos +parted /dev/nvme0n1 mkpart primary 1 1020GB +parted /dev/nvme0n1 mkpart primary 1020GB 1022GB +parted /dev/nvme0n1 mkpart primary 1022GB 1024GB # set flag for ESP -parted /dev/nvme3n1 set 3 boot on +parted /dev/nvme0n1 set 3 boot on sleep 1 diff --git a/hardware/hetzner_ax51-nvme/root b/hardware/hetzner_ax51-nvme/root index 32db7bd..82982d7 120000 --- a/hardware/hetzner_ax51-nvme/root +++ b/hardware/hetzner_ax51-nvme/root @@ -1 +1 @@ -/dev/nvme3n1p1 \ No newline at end of file +/dev/nvme0n1p1 \ No newline at end of file