Skip to content

Instantly share code, notes, and snippets.

@febbraro
Last active January 4, 2016 20:19
Show Gist options
  • Save febbraro/8672744 to your computer and use it in GitHub Desktop.
Save febbraro/8672744 to your computer and use it in GitHub Desktop.
Resize a coreos partition
1) cp /usr/lib/coreos/resize_state ~/fusion_resize_state
2) Remove the check "if sgdisk -v "$DISK_DEVNAME" | grep -q "^Problem: The secondary header"; then"
3) sudo -s
4) ./fusion_resize_state /dev/disk/by-label/STATE
5) Restart
6) ./fusion_resize_state /dev/disk/by-label/STATE
7) resize2fs /dev/sda9
...
???
...
Profit!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment