0

UPDATE : I have made it to my desired partition layout and can now resize as needed, many thanks to PonJar for getting me there,

This may not be a very specific question and maybe not relevant to others, but I'll try to keep it reasonable.

I have got myself into a bit of a partitioning trap, my current partitioning scheme of my win10-ubuntu dual-boot laptop (as displayed by the disks app in ubuntu 19.04) is as follows (sorry about the bad attempt at a table).

name:      size:  format:  mount point:  type:                         notes:
/dev/sda1  273mb  fat32    /boot/efi     efi system                    pretty sure this is from the OEM
/dev/sda2  17mb   unknown  not mounted   microsoft reserved            from the OEM
/dev/sda3  315gb  ntfs     not mounted   basic data                    win10 C:
/dev/sda4  250mb  fat32    not mounted   efi system                    I think I made this one while installing ubuntu, I'm not sure why it's not mounted
/dev/sda6  6gb    swap     mounted,none  linux swap
/dev/sda7  177gb  ext4     /             linux filesystem              contains a 75gb /home
/dev/sda5  889mb  ntfs     not mounted   windows recovery environment  from the OEM, not sure why its at the end but numbered sda5

My end goal is to have C:,a separate /home partition and root all next to each other(so I can easily reallocate space in the future), and I want to get there in the safest way possible.

It is my current understanding that to do this I should :

  1. make space at the end of C: in windows
  2. make a /home partition with the new space and migrate /home to the new partition using this method
  3. move root to just after the new /home using Gparted on a ubuntu live usb
  4. shrink root because it no longer has /home
  5. allocate the new free space to C:, /home, and root as I want using Gparted on a ubuntu live usb
  6. repair GRUB if it breaks using this method

I want to make sure I've got the right because it's a large undertaking and I've heard that some of this, especially moving a partitions, can be dangerous and may cause data loss/corruption.

Thanks for reading and considering.

MichaelB
  • 95
  • 10

0 Answers0