I am planning to do a massive change to my Lenovo X1 carbon laptop’s SSD partitioning to:
- increase size of /boot/EFT to 2GB
- increase size of / from 25GB to 50GB
- increase size of MS-windows from ~78GB to 100GB
- delete /swap
- reduce size of /home from 833 GB to about ~798GB (where that is an estimate).
I don’t plan to attempt this until November this year, giving me lots of time to ponder it. Currently my laptop has this:
Device Size Type
/dev/nvme0n1p1 260M EFI System
/dev/nvme0n1p2 16M Microsoft reserved
/dev/nvme0n1p3 78.1G Microsoft basic data
/dev/nvme0n1p4 25.1G Linux filesystem ( / )
/dev/nvme0n1p5 1000M Windows recovery environment
/dev/nvme0n1p6 16.4G Linux swap
/dev/nvme0n1p7 833G Linux filesystem ( / home)
and I am thinking to change it to this:
/dev/nvme0n1p1 2G EFI System
/dev/nvme0n1p2 16M Microsoft reserved
/dev/nvme0n1p3 100G Microsoft basic data
/dev/nvme0n1p4 1000M Windows recovery environment
/dev/nvme0n1p5 50G Linux filesystem (/ )
/dev/nvme0n1p6 ~ 798G Linux filesystem (/home)
Years ago I used gparted live CD (and later USB) to do partitioning (many times), but it has been a very long while since then … and I forgot about this. A recent openSUSE user post is refreshing my memory. Hence i am considering using a gparted liveUSB to do most of the “heavy lifting”.
Current plan (subject to change):
After backing any LEAP-15.6 data (including copy of /boot/efi especially with the Microsof boot aspects) I was thinking to
1. boot to gparted live USB
2. delete all Linux partitions (/dev/nvme0n1p4 ( / ) , /dev/nvme0n1p6 (swap), and /dev/nvme0n1p7 (/home).
3. move 1000M Windows recovery environment - to the end of SSD
4. move 78.1G Microsoft basic data (contains Windows-10) - almost to the end of the SSD (beside 1000M Windows recovery environment)
5. resize 78.1G Microsoft basic data - from 78.1G to 100G
6. reboot and see if MS-Windows can see the increase from 78.1G to 100G. I suspect MS-Windows may complain, but I think it should boot
7. boot to gparted live USB
8. move - 16M Microsoft reserved - almost to end of the SSD (next to 100G MS-Windows) This is to make space for resizing of EFI system
9. increase EFI system or ESP (another name for it) from 260M to 2G
10. reboot and see if MS-Windows can boot. Again, I think it may complain about the ESP being increased from 260M to 2GB but I speculate it will work.
11. boot to gparted live USB
12. move the 16M Microsoft reserved - back next to newly sized 2GB EFI System
13. Move the newly sized 100G Microsoft basic data next to the 16 MB Microsoft reserved
14. reboot and see if MS-Windows can boot. Again, I speculate MS-Windows will complain but I think it should boot.
15. boot to gparted live USB
16. Move the 1000M Windows recovery environment next to newly sized 100G Microsoft basic data - this should leave a LOT of space at the end of SSD for GNU Linux. In remaining space:
17. create 50GB space for future ] ' / '
18. create remaining ~798G for future /home
19. install either openSUSE-16.0 in the 2GB (boot/efi), 50GB ( / ), and ~798GB ( /home).
I thought to check here if that makes sense? No hurry for an answer
In the near future I am about to go travelling for a couple of months, and I want to wait until I return before I start hacking away at my laptop’s current partitions. I am rusty on this … and I note I have lots of time before doing this … (some months before I start mainly as I my thinking is to tie this re-partitioning in with my timing for the installation of LEAP-16.0).
I have already created a backup external SSD boot drive on a USB external enclosure, with openSUSE GNU/linux LEAP-15.6, but I prefer not to use such a backup unless I have no choice.
EDIT: clarified ’ / ’ partition and fixed a couple of typos