I have 2 partitions, a root partition which is the /directory and a secondary partition that is the /home/ directory.
I want to swap to a single root partition (I think that is what its called), so I will copy all the data from the secondary partition and then remove the partition. After that I will resize the root partition to take up the rest of my drive.
Here is the plan:
First I will make a new directory /mnt/temp_home where I will mount the secondary partition. Then I will use rsync or some other utility to copy all the data from the temp home directory to the /home directory in the root partition.
After that I go into the fstab file and remove the line that would mount the partition, I put "#" in front of /dev/sda3.
# /dev/sda2
UUID=c832082c-2f0b-457d-931e-8caebabc9ed7 / ext4 rw,relatime 0 1
# /dev/sda1
UUID=CFC0-4D09 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sda3
#UUID=b6fce360-a8fc-4de3-be4e-4cebce373f95 /home ext4 rw,relatime 0 2
/dev/sda3 would no longer be mounted to /home.
After that I think I need to use a live USB with gparted so I can remove the secondary partition and resize my root partition to give it all the remaining space.
After that I think I need to boot into the system and use resize2fs /dev/sda3, but I'm not sure.