0

I must admit I am a noob at computers, but I somehow managed to install Ubuntu alongside Windows 10. But, during the process, I messed up the partitions. How can I merge F and /home?

Here's the picture.

Thanx a bunch and sorry if the answer is obvious.

1 Answers1

2

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:

  1. Boot into your regular Ubuntu session.
  2. Using the file manager, navigate to /media/picard/18..... (I'm not going to type the full name)
  3. Copy all files that you want to retain from this partition, to someplace in your '/home' directories
  4. Boot using the liveUSB
  5. Start gparted from the liveUSB
  6. Delete the partition '/dev/sda8'
  7. 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.
  8. Expand your home partition to include the unpartitioned space.
  9. Reboot your computer, booting from the hard disk into Ubuntu
  10. 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
Charles Green
  • 21,859