102.2 Install a boot manager Flashcards

1
Q

What is the name of the image the grub boot loader has?

A

boot.img

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

Where does the boot.img exist in the Master Boot Record (MBR)?

A

It exists in the first 512 bytes of the physical hard disk.

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

What is the purpose of the boot.img file?

A

To load the core.img file.

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

Where does the core.img file live?

A

It exists within the empty space towards the beginning of your boot disk.

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

What is the purpose of the core.img file?

A

To locate the actual boot partition of the system.

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

What happens in stage 2 of the grub boot process?

A

It is where the actual boot partition gets read

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

What distributions use the grub.conf file within the /boot/grub directory?

A

Red Hat based distros

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

What distributions use the menu.lst file within the /boot/grub directory?

A

Debian based distros

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

What is the content of the file in /boot/grub/device.map?

A

It contains which drive has the actual kernel

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

What files does the Legacy GRUB boot program look for in the /boot/grub directory?

A

grub. conf file or
menu. lst file and
device. map file

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

What is the file that has the name of the drive that contains the actual kernel in the /boot/grub directory?

A

device.map

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

What does timeout=5 mean in the grub.conf file?

A

How many seconds are going to pass before a user has the option to press a key during the grub boot menu to change either a boot selection or to open the grub command line.

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

What information can you find in the legacy grub.conf file?

A

+location of the boot disk: boot=/dev/sda
+title to be loaded by default: default=0
+timeout to press a key in grub menu: timeout
+location for a background image for grub to use :splashimage
+actual Kernel that will be booted: title
+Kernel version

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

What is the command to install legacy grub?

A

grub-install [device] where to install the grub files to.

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

What command do you use to find the location of where grub can be installed?

A

Use the command #findmnt command to locate where /boot is

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

If you wanted to install grub in the first drive on the system, what command would you use?

A

install-grub ‘(dh0)’ or

install-grub /dev/sda1

17
Q

How do you get into the grub cli from the standard CLI?

A

Just run the command: #grub

18
Q

What command do you use to exit the GRUB shell environment?

A

> quit

19
Q

What command do you run to list the BIOS drive information inside the grub shell environment?

A

> grub

20
Q

What does GRUB consider its root location?

A

/boot

21
Q

What command do you use to get help inside the GRUB shell environment?

A

> help

22
Q

What is the name of the tool that checks and mounts the drives that make up the file system in the upstart boot sequence?

A

mountall tool