grub2) in memory from the default boot disk, executes the boot code to read the partition table and identify the /boot partition, loads the Kernel in memory, and finally passes the control to the Kernel.
The partition table information is stored in Master Boot record (MBR) in BIOS-based systems and GUID Partition Table (GPT) in UEFI-based systems.Īt system boot, BIOS or UEFI scans all storage devices, detects the MBR/GPT areas, finds the boot disks, loads the bootloader program (i.e.
It is mounted on /home directory.Īll partitions should be formatted with a filesystem, for example EXT4, before installing the OS and/or saving any data in it. One partition is used for keeping the users configuration files and their personal data.It is usually mounted on '/' ( root directory). One partition is used for keeping the system files.In Linux and Unix-like systems, the disk is usually divided into three partitions: