1

I've been committed to learning about Linux for the past few months & its been fun! My main problem is understanding certain concepts, due to the fact that this is my first time seeing all this information and I lack hands on experience in a enterprise environment.

My main Question is : Why do we create a filesystem on a partition of a disk, rather than the disk itself. Now, what we have multiple partitions, do they all need to have filesystems?

I understand how to add disks, and create partitions via CLI. Just trying to understand the concept! Thanks !!

AdminNiqo
  • 11
  • 1

1 Answers1

1

When using legacy BIOS booting you actually can do just about anything, partitions, no partitions, anything goes—as long as the boot sector is executable.

For UEFI, you need a separate EFI System Partition (ESP), on which you'll put the EFI executable (boot manager, bootloader, whatever) that you want to start. The firmware must be able to read this partition, which usually means it has to be FAT32.

Some operating systems require more partitions for recovery systems and whatnot. They may also require specific filesystems like NTFS.

Partitions make it possible to meet all these requirements on a single drive: FAT32 ESP, NTFS system partition, recovery partition.

Furthermore, partitions enable you (the user) to cleanly reinstall the system while keeping your personal data, by putting it on a different partition.

Of course, that's not all you can do!

user219095
  • 65,551