I just bought a Dell XPS with Ubuntu pre-installed. I want to install another distribution instead.
The system came with the following partitions:
Do I need to keep the first two partitions or can I remove those and go for system + swap only?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityMy wholehearted advice is not to remove these two partitions.
The first partition is a EFI system partition and is required for GPT to boot.
The second partition has the msftdata
flag which identifies a Microsoft Basic Data partition, but is used also for Linux. It is normally formatted with a Microsoft filesystem such as FAT or NTFS, and it usually contains recovery or other metadata. It might not be needed by your system, but considering that it'll give you back just 3 Gb you should not delete or change it blindly.
That is a limitation you need to look at the BIOS of your system. The EFI
specs make it clear that you need a partition of efi type, formated fat32
that will hold the efi software used to chainload more efi software or one of your Operating Systems.
Major of bioses allow you to disable EFI mode, and revert back to the classic BIOS mode + MBR, making those 2 partitions not needed anymore. Another option is to keep BIOS + GPT. You partition tool will allocate 1MiB right at the starting point of your hd. This ArchLinux wiki explains very well how GPT+BIOS works.
But one of the partitions there is not needed if you decide to stick with efi. As far as i know, you just need one EFI partition(/boot/efi
) formated fat32
with the EFI type on it, a root
partition and a swap
partition(and of course, all other partitions you want to have on your system based on your needs).
tl,dr: You just need one EFI partition mounted /boot/efi