We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aca753 commit c830f6dCopy full SHA for c830f6d
common.sh
@@ -56,8 +56,8 @@ pre_setup() {
56
57
msg "Growing partition"
58
# easiest way of growing a partition is to re-create it
59
- sudo partx -a "/dev/${lodev}"
60
- sudo partx -d "/dev/${lodev}"
+ sudo partx -a "/dev/${lodev}" || true
+ sudo partx -d "/dev/${lodev}" || true
61
printf "o\nn\np\n1\n\n\na\nw\n" | sudo fdisk "/dev/${lodev}" > /dev/null || true
62
sudo partx -a "/dev/${lodev}"
63
mount.sh
@@ -16,7 +16,7 @@ fi
16
17
if [ ! -e "$file" ]; then
18
msg2 "Preparing disk image file"
19
- fallocate -l 1.2G "$file"
+ fallocate -l 1.5G "$file"
20
printf "o\nn\np\n1\n\n\na\nw\n" | fdisk "$file" > /dev/null
21
new=1
22
fi
0 commit comments