fix fs expansion
This commit is contained in:
parent
d12c6b88e1
commit
b10e68c1c5
@ -248,8 +248,8 @@ expand() {
|
|||||||
#Reload the partition mapping
|
#Reload the partition mapping
|
||||||
partprobe $BOOT_DEVICE
|
partprobe $BOOT_DEVICE
|
||||||
#Force the filesystem to fill the new partition
|
#Force the filesystem to fill the new partition
|
||||||
resize2fs -f ${BOOT_DEVICE}p2
|
resize2fs -f ${BOOT_DEVICE}2
|
||||||
echo "/dev/${BOOT_DEVICE}p2 / ext4 defaults,noatime 0 1" > /etc/fstab
|
echo "/dev/${BOOT_DEVICE}2 / ext4 defaults,noatime 0 1" > /etc/fstab
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user