2023-07-16 23:27:55

This commit is contained in:
henk
2023-07-16 23:27:55 +02:00
parent 4d47ce1c42
commit bbcd5bd21e
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
# First install parted
# After + rezise of the ext4 HD use this script
# Change the resizepart 1 or to the other part
#
PART=1 # 1 for debian12 (cloudimage) 3 for ubuntu (cloudimage)
parted /dev/sda resizepart ${PART} 100%
resize2fs /dev/sda1
parted -l
fstrim -av