Skip to content

Instantly share code, notes, and snippets.

@taylor01
Created September 26, 2013 16:35
Show Gist options
  • Save taylor01/6716726 to your computer and use it in GitHub Desktop.
Save taylor01/6716726 to your computer and use it in GitHub Desktop.
Extend Linux Disks in VMWare
1. Extended in VMWare first
2. Boot VM from Unbuntu live CD. Make sure to use Desktop version and not Server
3. Launch GParted from the live CD.
4. Re-arrange/extend partitions.
5. Reboot VM.
6. From console on VM, run "blkid" to get the UUID of the swap partition if that was moved/altered in step 4
7. Edit /etc/fstab to put the UUID for the swap partition in place of the old/original one. Line should look something like
UUID=884722ec-27aa-40b7-907c-03f72ac2b028 none swap sw 0 0
8. Save /etc/fstab
9. From the command line run "swapon -a". This should mount the swapfile
10. Confirm with "swapon -s"
11. Optionally reboot server to confirm all settings saved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment