The partition '/dev/sda8' which you refer to as 'F' would need to be emptied, and deleted, moved adjacent to the '/home' partition and then have '/home' expanded into it. Do accomplish all of this, you will need to have a liveUSB to boot from, as you will be moving the '/' (root) partition during the process. In order, the steps would be:
- Boot into your regular Ubuntu session.
- Using the file manager, navigate to /media/picard/18..... (I'm not going to type the full name)
- Copy all files that you want to retain from this partition, to someplace in your '/home' directories
- Boot using the liveUSB
- Start gparted from the liveUSB
- Delete the partition '/dev/sda8'
- Move the partition '/dev/sda5' as far to the right as possible. This will place the unpartitioned space next to your home partition, and will take some time to finish.
- Expand your home partition to include the unpartitioned space.
- Reboot your computer, booting from the hard disk into Ubuntu
- After rebooting (which may take longer than normal) examine your file '/etc/fstab' using the command
sudo nano /etc/fstab
. If you see a line mounting a partition into '/media/picard/18...' place a #
at the beginning of the line, and save the file by pressing ctrl+o and then ctrl+x
gparted
is the tool I'd use for this, but I'd boot a live/install disk and do it from there (so /home isn't mounted) – guiverc Nov 29 '17 at 14:38