- Create
/usr/share/initramfs-tools/hooks/parttools
as above - Run
update-initramfs -u
- Reboot
- Type
e
on the Grub2 boot menu entry - Add
break=mount
to thekernel
line - In initramfs, run this (assuming
/dev/sda1
is the to-be-resized disk):
e2fsck -f /dev/sda1
resize2fs /dev/sda1 20G