QUIZ for grub the bootloader
1 The Quiz
2 Quick answers
3 Longer answers
You can, repeat this quiz as it does not require cookies or login. You don't have to of course.
I will edit this from time to time and this is VERSION
write down you answers and compare to my opinions.
1 The QUIZ
Q1. This is your first attempt on using GRUB its best to:
a) rave to the forum how good Linux is
b) install Grub to MBR
c) install Grub to removeable media
d) create a ramdrive on your hard disk of at least 8 Mb (2 to the power of 3)
Q2 To re-install Grub back into MBR you:
a) could use grub editor command root
b) are kidding, Grub never breaks as per Linux tested site
c) could use grub editor command grub-mbr
d) could use the special map command
Q3 After installing grub to mbr, on re-boot you see "LI" on screen so:
a) NFA, stands for linux installed sucessfully
b) you have a failing motherboard listen for a long beep
c) lilo has appeared
d) press the escape key as Grub is in the second sector of MBR
Q4 You have only one floppy drive and its on the second controller what defines it?
b) /boot/grub/device.map file
c) /boot/devices.map file
Q5 Grub directly boots a Microsoft environment with:
a) command boot
b) command ms
c) command chainloader -1
d) statement is false
Q6 Rootnoverify means:
a) Tell your partner its not on
b) no attempt to mount occurs
c) no /root partition exists on your computer
d) BIOS test fails
Q7 Grub appears on screen but fails to boot your preferred selection. Your next option is:
a) use a partimage image to rescue your partition
b) use the edit function to amend the commands
c) use a knoppix cd
d) Grub will automatically seek the kernel with find command
Q8 Which looks more likely to be a menu.lst option:
a) line 1 initrd=initrd line 2 kernel=/vmlinuz root=/dev/hda1
b) line 1 kernel /vmlinux root=/dev/hda1 line 2 initrd /initrd.gz
c) line 1 kernel /boot/vmlinuz root=/dev/hda1 line 2 initrd /boot/initrd.gz
d) line 1 root (hd0,0) line 2 kernel /vmlinux root=/dev/hda1 line 3 initrd /initrd.gz
Q9 To get GRUB out of your MBR you:
a) fdisk\ /mbr
b) grub -u mbr
d) overwrite with a different bootloader
Q10 The size of your kernel on your floppy is 1380 Kb the command to access it will be:
b) are you kidding, with the other files its too big?
d) grub kernel size (fd0)/1380
Q11 To get splashimage support you probably need a modified?
Q12 Without the manual or info file, how do you find what commands are available to you?
a) Call a friend
b) type -c grub commands with su access
c) press TAB key when in grub
d) press the ESCAPE key when in grub
Q13 With a normal device.map file what do you expect grub to define first
a) all usb devices
b) all IDE devices
c) all SATA devices
d) all SCSI devices
Q14 You can use the menu to re-embed grub into
a) floppy mbr
b) hard drive mbr
Q15 The best way grub boots into Xen is with ?
a) on kernel line append ..../sbin/xen/init
b) use a Zen module
c) use a Xen enabled kernel
d) type run level = 6 when you press I for interactive mode
2 QUICK ANSWERS
Answers in my opinion are
3 LONGER ANSWERS
1c Answer (c) is safer to try out b4 installing to mbr.
2a You COULD also use the grub-install command but I did not include that option (heh heh)
3c Option (b) is a hardware issue but if you already had grub unlikely li appears so (c) is more likely
4b This is sneaky, any answer for fd MUST be in brackets () and for a normal device map file would have been (fd0). Therefore (b) is correct.
5d Grub can not DIRECTLY boot so needs to use the ms bootloader hence a chainloader does not directly boot.....sneaky..chainloader must be +1 so that leaves (d)
6b Option (b) is a rough summary as per manual. Not the RTFM. (heh heh)
7b I did say NEXT option. Grub's find must be used manually. Rescues are slower when you may be able to use the edit commands.
At the menu press E for edit.
You could have also used C for commands but I did not have that as an option.
8c Eliminate the options of mis-spelling of vmlinuz. Command initrd first not allowed leaves only (c)
9d Option (a) is incorrect syntax (slashes wrong). Getting grub out assumes you don't like it so you need another boot loader.
10a Keyword is COMMAND the only command listed is the pause command.
11a I get splashimage command thru pressing TAB with only changing the stage2 file.
I have yet to get it on a fully booted system as I am not a programmer.
12c Pressing TAB gives you a list of commands that grub can use.
13b I did say NORMAL so its ide.
14d You will have to edit the change the options relevant to your /etc/fstab but you can use commands for both (not sure why you have hard drive option tho)
title redo mbr
root (hdX,Y) defines your /boot partition
setup (hdX) embeds to mbr change X
title redo partition
title redo floppy
Actually the floppy will needs some files on it for this to work "as is".
15c the kernel has to have Xen enabled
Hope you enjoyed it.
|All times are GMT -5. The time now is 11:57 PM.|