4- install boot manager Flashcards

1
Q

what GRUB stands for?

A

GRand Unified Boot Loader

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

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

A

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.

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

what file contains the GRUB configuration?

A

/boot/grub/grub.conf

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

What are the three parameters of grub title menu?

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

vmlinuz

A

kernel file

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

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

A

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

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

grub2

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

/boot/grub2

A

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

where the grub2 scripts located?

A

/etc/grub2.d/

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

How do you make changes to grub2 configurations?

A

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

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

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?

A

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

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

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