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 :
- make space at the end of
C:
in windows - make a
/home
partition with the new space and migrate/home
to the new partition using this method - move
root
to just after the new/home
using Gparted on a ubuntu live usb - shrink
root
because it no longer has/home
- allocate the new free space to
C:
,/home
, androot
as I want using Gparted on a ubuntu live usb - 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.
/media/michael/C23D-AA9B
, its contents looked efi/grub related.I think sda4 is probably not needed/in use. Also I think this shows how GParted can move partitions. So far I think that your suggestion is the best plan so far. – MichaelB Nov 11 '19 at 20:20/boot/efi/
(where sda1 is mounted) using nautilus and it was empty, but is disks it says that sda1 has 72mb used. – MichaelB Nov 11 '19 at 20:29sda1
shows contents in nautilus now (don't know why it didn't before) both efi partitions have/EFI/ubuntu
, only sda1 has/EFI/Microsoft
alsosda1
has a/EFI/Boot
, butsda4
has/EFI/BOOT
both have the same files in them, is that important? – MichaelB Nov 12 '19 at 00:08sda4
(to make it easy to restore)? – MichaelB Nov 12 '19 at 22:04sda4
andsda6
are history and everything work fine, I will be shrinkingC:
today, I am aware of the windows hassle, but thank you anyway. – MichaelB Nov 14 '19 at 18:31