Clean up my SSD before I do a new installation

Hey Folks
I am going to do a new dual boot installation. And would like to use the opportunity to clean up my HD.

I think I have some partitions that are not being used. For example when I go into my bios to choose to boot from live usb, I can see that I have 1 entry that belongs to systemd-boot where I can choose between windows or linux.
I have 2 windows entries and of course 1 entry for my liv usb.

Below is more info.

 sudo fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000LM049-2GH1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E645B393-DC2B-4C3F-BEEF-D68E7E5AA3E2

Device     Start        End    Sectors   Size Type
/dev/sda1     34      32767      32734    16M Microsoft reserved
/dev/sda2  32768 1953523711 1953490944 931.5G Microsoft basic data

Partition 1 does not start on physical sector boundary.


Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: HFM512GDHTNG-8310A                      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F3F141B3-1A85-41C8-A6C8-6DD6BCEABAA3

Device             Start        End   Sectors   Size Type
/dev/nvme0n1p1      2048     534527    532480   260M EFI System
/dev/nvme0n1p2    534528     567295     32768    16M Microsoft reserved
/dev/nvme0n1p3    567296  383766527 383199232 182.7G Microsoft basic data
/dev/nvme0n1p4 998166528 1000214527   2048000  1000M Windows recovery environment
/dev/nvme0n1p5 383766528  385814527   2048000  1000M EFI System
/dev/nvme0n1p6 385814528  957751295 571936768 272.7G Linux filesystem
/dev/nvme0n1p7 957751296  998166527  40415232  19.3G Linux swap

Partition table entries are not in disk order.


Disk /dev/sdb: 28.97 GiB, 31104958464 bytes, 60751872 sectors
Disk model: Storage Media   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe06d72b0

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *         64 5347711 5347648  2.5G  0 Empty
/dev/sdb2       5347712 5665151  317440  155M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 2.4 GiB, 2572980224 bytes, 5025352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I think I should leave the following when I do a new installation, but I’m not sure.

nvme0n1p5 efi
nvme0n1p6 EndeavorOS root
nvme0n1p7 swap

And here are the others:

nvme0n1p1
nvme0n1p2
nvme0n1p3
nvme0n1p4

I myself think that nvme0n1p1 should be deleted because it may be from my old installation, and is therefore no longer used. Is that right?
And while I’m writing this, I come to think that nvme0n1p5 must also be deleted, because calamares is going to make a new efi.

Am I over thinking this?

1 Like