102.2 Flashcards
What is the default configuration file for GRUB 2? A) /etc/grub.conf
B) /boot/grub/grub.conf
C) /etc/default/grub
D) /boot/grub/menu.lst
C) /etc/default/grub
Which command is used to update the GRUB 2 configuration? A) grub2-mkconfig
B) update-grub
C) grub-install
D) grub-set-default
A) grub2-mkconfig
What does the command ‘grub-install’ do? A) Installs the GRUB bootloader
B) Updates GRUB configuration
C) Configures GRUB menu
D) Uninstalls the bootloader
A) Installs the GRUB bootloader
Which file contains the list of boot menu entries for GRUB? A) /boot/grub/grub.cfg
B) /etc/default/grub
C) /boot/grub/menu.lst
D) /etc/grub.conf
A) /boot/grub/grub.cfg
What bootloader does UEFI systems typically use? A) GRUB
B) UEFI Boot Manager
C) LILO
D) SYSLINUX
B) UEFI Boot Manager
Which command is used to set the default boot entry in GRUB 2? A) grub-set-default
B) grub2-mkconfig
C) grub-install
D) update-grub
A) grub-set-default
Where is the MBR (Master Boot Record) stored on a hard disk? A) The first 512 bytes of the disk
B) The last 512 bytes of the disk
C) /boot partition
D) BIOS chip
A) The first 512 bytes of the disk
What is the purpose of a boot manager? A) Load and start the operating system
B) Manage disk partitions
C) Install the operating system
D) Update the BIOS
A) Load and start the operating system
Which command backs up the MBR in Linux? A) dd if=/dev/sda of=mbr.bak bs=512 count=1
B) cp /dev/mbr mbr.bak
C) tar -cvf mbr.bak /dev/sda
D) rsync -a /dev/sda mbr.bak
A) dd if=/dev/sda of=mbr.bak bs=512 count=1
How can you check the GRUB boot menu entries? A) cat /boot/grub/grub.cfg
B) nano /etc/default/grub
C) update-grub
D) ls /boot
A) cat /boot/grub/grub.cfg
What is the GRUB 2 command to edit a boot entry during startup? A) Press ‘e’
B) Press ‘d’
C) Press ‘x’
D) Press ‘g’
A) Press ‘e’
How can you manually boot a system from the GRUB 2 prompt? A) Use the ‘linux’ and ‘initrd’ commands
B) Use ‘boot’ only
C) Use ‘runos’ command
D) Use ‘start-kernel’
A) Use the ‘linux’ and ‘initrd’ commands
What is the primary configuration file for the LILO bootloader? A) /etc/lilo.conf
B) /boot/lilo.cfg
C) /etc/grub.conf
D) /boot/grub/grub.cfg
A) /etc/lilo.conf
Which key can be pressed to access the GRUB 2 menu during boot? A) Shift
B) F8
C) Ctrl
D) Esc
A) Shift
What command would you use to install GRUB to a specific device? A) grub-install /dev/sda
B) install-grub /dev/sda
C) update-grub /dev/sda
D) grub-set-device /dev/sda
A) grub-install /dev/sda