install.sh fixes: free space detection, btrfs online resize, partition naming #13
@@ -392,7 +392,7 @@ fi
|
|||||||
# ── Create OEMDRV partition ───────────────────────────────────────────────────
|
# ── Create OEMDRV partition ───────────────────────────────────────────────────
|
||||||
|
|
||||||
info "Creating new OEMDRV partition (${OEMDRV_START}–${OEMDRV_END} MiB) on $WORK_DISK..."
|
info "Creating new OEMDRV partition (${OEMDRV_START}–${OEMDRV_END} MiB) on $WORK_DISK..."
|
||||||
printf 'Yes\n' | parted "$WORK_DISK" mkpart primary btrfs "${OEMDRV_START}MiB" "${OEMDRV_END}MiB" \
|
printf 'Yes\n' | parted "$WORK_DISK" mkpart anacondainstall btrfs "${OEMDRV_START}MiB" "${OEMDRV_END}MiB" \
|
||||||
|| die "parted mkpart failed. Check that the target area is free space on $WORK_DISK."
|
|| die "parted mkpart failed. Check that the target area is free space on $WORK_DISK."
|
||||||
|
|
||||||
partprobe "$WORK_DISK"
|
partprobe "$WORK_DISK"
|
||||||
|
|||||||
Reference in New Issue
Block a user