This How To covers the following scenario:
GParted is showing that I have the following partitions
Partition | File System | Size |
/dev/sda1 | ext4 | 92.09 GiB |
/dev/sda2 | extended | 7.90 GiB |
/dev/sda5 | linux-swap | 7.90 GiB |
unallocated | unallocated | 107.91 GiB |
My goal is to use the whole unallocated partition
- Add a device to the machine with the Ubuntu "burned" on it ( http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows )
- Reboot the machine
- Click Try Ubuntu
- Press ALT + T
- Type the following command:
sudo gparted
- Highlight the swap partition /dev/sda5
- In the menu, click Partition
- Click Swapoff
- Highlight the swap partition /dev/sda5
- In the menu, click Partition
- Click Delete
- Highlight the extended partition /dev/sda2
- In the menu, click Partition
- Click Delete
- Highlight the partition that you want to resize /dev/sda1
- In the menu, click Partition
- Click Resize/Move
- In Resize/Move /dev/sda1 window, expand the size to 100 GiB
- Click Resize/Move
- In the menu, click Partition
- Click New
- In Create new Partition window, change Create as to Extended Partition
- Click Add
- Highlight unallocated
- In the menu, click Partition
- Click New
- In Create new Partition window, change Create as to Logical Partition
- Change File System to linux-swap
- Click Add
- In the menu, click Edit
- Click Apply All Operations
- In Apply operations to device window, click Apply
- Click Close
No comments:
Post a Comment