102.2 Install a Boot Manager Flashcards
What is GRUB
Grand Unified Boot Loader
Bios –> boot.img (Stage 1) –> core.img (Stage 1.5) –> boot/grub (Stage 2) –> Booted
How do you invoke the grub shell?
You use the grub command.
What is the difference Between MBR and GPT
MBR: Only supports 2TB and 26 total partitions
GPT (GUID Partition Table)
- Supports 128 partitions
- Partition size up in the zettabyte range
- Needs UEFI (Unified Extensible Firmare Interface) to boot
- Replacement for traditional BIOS, can act in legacy BIOS mode
What is the boot process for GPT
Stage 1»_space; MBR –> GPT header –> Partition Entry Array
Stage 1.5»_space; Typically Empty Sectors –> ESP
Stage 2»_space; Boot/grub2
How do you view the default boot entry for the grub configuration file?
grub2-editenv list
How do you create or update the grub.cfg file based on entries from the /etc/default/grub file.
grub2-mkconfig
Where is the default grub2 config file stored?
/etc/default/grub
How do you open up grub command line at boot.
Press the a key and then c key to bring up the grub cli.
How do you view which hard drives are being seen by grub from the grub cli.
ls