diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index 74970e226..75751fea1 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -66,7 +66,7 @@ If you are using an existing swap partition, there is no need to format it. If a new - swap partition was created, + swap partition was created, it will need to be initialized with this command: mkswap /dev/<yyy> @@ -74,4 +74,23 @@ Replace <yyy> with the name of the swap partition. + If you have created an EFI System Partition, you have a few options. + Motherboards when booting with UEFI look for EFI applications in partitions + formatted with a FAT variant (FAT12, FAT16, FAT32, VFAT, etc). Usually, + FAT32 or VFAT are the recommended options. + + If you have chosen FAT32, + format the ESP with the following command: + +mkfs.fat -F 32 /dev/<yyy> + + On the other hand, if you have chosen + VFAT, you can run the following + instead: + +mkfs.vfat /dev/<yyy> + + Replace <yyy> with the name of the + EFI System Partition. + diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml index f5bb244cb..bdafd5da5 100644 --- a/chapter02/creatingpartition.xml +++ b/chapter02/creatingpartition.xml @@ -109,11 +109,16 @@ If the boot disk has been partitioned with a GUID Partition Table (GPT), then a small, typically 1 MB, partition must be - created if it does not already exist. This partition is not formatted, but - must be available for GRUB to use during installation of the boot - loader. This partition will normally be labeled 'BIOS Boot' if using - fdisk or have a code of EF02 if - using the gdisk command. + created if the system is being booted with BIOS and it does not already + exist. This partition is not formatted, but must be available for GRUB to + use during installation of the boot loader. This partition will normally + be labeled 'BIOS Boot' if using fdisk or have a code of + EF02 if using the gdisk + command. + + If the boot disk is partitioned with an MBR Partition Table, or DOS + disklabel, then this partition is not needed as space already exists before + the first partition that Grub can use. The Grub Bios partition must be on the drive that the BIOS uses to boot the system. This is not necessarily the drive that holds @@ -122,6 +127,23 @@ only on the partition table type of the boot disk. + + The EFI System Partition + + This partition, also known as the ESP, is needed + when booting the system with UEFI. It stores the EFI application that is + ran during bootup. The boot drive can be partitioned with MBR Partition + Table, or DOS, but compatibility issues will tend to arise as a result. + Therefore, it is always a good idea in this case to partition the boot + drive with a GUID Partition Table (GPT). Typically 256 MB for this + partition suffices, although the needed size for a Grub EFI application can + go down to 20 MB or lower. The partition label should be 'EFI System' if + using fdisk. + + For Grub, the EFI System Partion should be located at + /boot/efi. + + Convenience Partitions @@ -137,11 +159,6 @@ your first disk drive. A partition size of 200 megabytes is adequate. - /boot/efi – The EFI System Partition, which is - needed for booting the system with UEFI. Read - the BLFS page - for details. - /home – Highly recommended. Share your home directory and user customization across multiple distributions or LFS builds. The size is generally fairly large and depends on available disk