Explain Linux boot process Flashcards

1
Q

/etc/default/grub

A

“GRUB 2 is configured by editing either the /etc/default/grub file or the files in the /etc/grub.d directory. The files in the /etc/grub.d directory are “advanced files”

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

/etc/grub2.cfg

A

“The primary configuration file for GRUB2 is the /boot/grub2/grub.cfg file. This file should never be edited directly, as it is created by the grub2-mkconfig command (see the “grub2-mkconfig” subsection in this chapter for more details).

The /etc/grub2.cfg file is just a symbolic link to the /boot/grub2/grub.cfg file.”

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

/boot

A

“The /boot directory is the location where boot files are found. This includes the following”

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

/boot/grub

A

“The /boot/grub directory is the location for traditional GRUB configuration files”

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

mkinitrd

A

“This initramfs file is created by the mkinitrd command, which in turn calls the dracut utility”

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

grub2-install

A

“Typically the bootloader is installed during the boot process, but it is possible that the bootloader could become corrupt and need to be reinstalled. To install the bootloader, execute the grub-install command and provide the device where you want to install GRUB”

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

grub2-mkconfig

A

“Only used for GRUB2, grub2-mkconfig will generate GRUB2 configuration files from the user-editable files located in the /etc directory structure. This command converts data from the /etc/default/grub file and the files in the /etc/grub.d directory into the GRUB2 configuration file (either /boot/grub/grub.cfg or /boot/grub/menu.lst).”

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