102.2 Install a Boot Manager Flashcards

1
Q

What is GRUB

A

Grand Unified Boot Loader

Bios –> boot.img (Stage 1) –> core.img (Stage 1.5) –> boot/grub (Stage 2) –> Booted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you invoke the grub shell?

A

You use the grub command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference Between MBR and GPT

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the boot process for GPT

A

Stage 1&raquo_space; MBR –> GPT header –> Partition Entry Array
Stage 1.5&raquo_space; Typically Empty Sectors –> ESP
Stage 2&raquo_space; Boot/grub2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you view the default boot entry for the grub configuration file?

A

grub2-editenv list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you create or update the grub.cfg file based on entries from the /etc/default/grub file.

A

grub2-mkconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where is the default grub2 config file stored?

A

/etc/default/grub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you open up grub command line at boot.

A

Press the a key and then c key to bring up the grub cli.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you view which hard drives are being seen by grub from the grub cli.

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly