Chapter 2 Flashcards

1
Q

Which of the following files is GRUB’s configuration file?

A

/boot/grub/grub.conf

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

What would be the conventional name of the initial ramdisk for the 2.6.32-8.el6 kernel?

A

/boot/initramfs-2.6.32-8.el6.img

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

What command is used to install GRUB?

A

grub-install

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

In GRUB’s configuration file, lines beginning with which keyword define the user visible menu labels?

A

title

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

When booting, which file is executed as GRUB’s stage 1?

A

The question is inappropriate, as GRUB’s stage 1 lives in a Master Boot Record or bootsector.

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

Use the following transcript to answer the next 4 questions.

[root@station root]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
password –md5 $2$MrXSq0xS$0LXqkBTfpywyD3TVCao3d0
title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-8.el5.img

[root@station root]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 5131108 4606964 263492 95% /
/dev/sda1 124427 9508 108495 9% /boot
none 127616 0 127616 0% /dev/shm

A

-

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

How would GRUB refer to the file /etc/passwd?

A

(hd0,2)/etc/passwd

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

How would GRUB refer to the file /boot/grub/grub.conf?

A

None of the above

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

Where is the initial ramdisk referenced in the above configuration file located?

A

/boot/initrd-2.6.18-8.el5.img

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

When booting, approximately how long does the user have to select a menu item?

A

10 seconds

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

After editing the GRUB configuration file, which command must be run to implement the changes?

A

None of the above

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