4- install boot manager Flashcards Preview

LPIC 1 - Self Study - Linux Academy > 4- install boot manager > Flashcards

Flashcards in 4- install boot manager Deck (11)
Loading flashcards...
1

what GRUB stands for?

GRand Unified Boot Loader

2

In Grub menu, what can we edit by pressing e? will these changes be permanent?

You can edit the commands before booting this allows you to change the hard drive you're booting from, the kernel and the initrd. These changes will not be adopted permanently.

3

what file contains the GRUB configuration?

/boot/grub/grub.conf

4

What are the three parameters of grub title menu?

- The title can be anything we want it to be.
- root - is hard drive and partition. The root or / of our system.
- kernel - the kernel (vmlinux) and where it is stored. rhgb = red hat graphical boot. quiet hides the boot messages
- initrd - the initial ram disk for the kernel

5

vmlinuz

kernel file

6

if you want to install GRUB on /dev/sdb, what command would you run?

grub-install /dev/sdb or grub-install /dev/hd1

7

grub2

- hitting ¨ e¨ allows for entry editing
- also uses ¨/boot¨ directory has EFI support
- uses /etc/grub.d directory
- grub2-mkconfig - used to build menus for grub

8

/boot/grub2

It has:
* grub.cfg
* generated menu file, containing a more complex configuration that is a combination of a number of files when the 'grub2-mkconfig' utility is used
* editing changes here will be lost during the next run of the 'grub2-mkconfig' utility

9

where the grub2 scripts located?

/etc/grub2.d/

10

How do you make changes to grub2 configurations?

Edit files in /etc/grub.d or edit /etc/default/grub

11

How would you regenerate the GRUB2 menu to include any changes to scripts you may have made. What should you always do before running this command?

as super user: grub-mkconfig > /boot/grub2/grub.cfg

before doing this you should always backup the grub.cfg file using the cp command