I just received my brand new Lenovo ThinkPad X280. I will be installing Arch Linux on it. I will not ever be using Windows. Is there any value in keeping any of the existing disk partitions?
At some date in the future (e.g., when I sell the laptop) I would like to restore the disk to the factory default state with the original Windows 10 it came with. Will keeping some of the existing partitions make that process easier?
Here are the partitions I show on this brand new system:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 260M 0 part
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 118G 0 part
└─sda4 8:4 0 1000M 0 part
gdisk /dev/sda
Number Start (sector) End (sector) Size Code Name
1 2048 534527 260.0 MiB EF00 EFI system partition
2 534528 567295 16.0 MiB 0C01 Microsoft reserved ...
3 567296 248020991 118.0 GiB 0700 Basic data partition
4 248020992 250068991 1000.0 MiB 2700 Basic data partition
For example, if I blow away partition 3 and use that space to make my new Linux partitions, but I keep partitions 1, 2 and 4, will those partitions somehow enable me to restore the original system? If not, is there any value in keeping them at all?
gdisk
you showed), then you'll have what you need to restore everything as it was. You can use a tool likepartclone
to backup only used blocks, if you want to save some time a storage space.