I'm running Ubuntu Server as a virtual machine with VirtualBox in Windows. Because I've ran out of space I resized the virtual machine size from 6 GB to 8 GB. But those 2 GB appear as "Free space" inside the Ubuntu OS.
I suspect I have to use "parted" to reallocate the "Free space".
help, shows a list of commands. I want to list all partitions first so I type
(parted) print free Model: ATA VBOX HARDDISK (scsi) Disk /dev/sda: 8590MB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 32.3kB 1049kB 1016kB Free Space 1 1049kB 5638MB 5637MB primary ext4 boot 5638MB 5639MB 1048kB Free Space 2 5639MB 6441MB 802MB extended 5 5639MB 6441MB 802MB logical linux-swap(v1) 6441MB 8590MB 2149MB Free Space
So I want to append all Free space to number 1. How would I do that? I'm clueless :(