LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 09-24-2004, 01:51 AM   #1
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
QUIZ for grub the bootloader


Contents


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
B

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?
a) fd1
b) /boot/grub/device.map file
c) /boot/devices.map file
c) fd0

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
c) rootnoverify
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:
a) pause
b) are you kidding, with the other files its too big?
c) loopback
d) grub kernel size (fd0)/1380

Q11 To get splashimage support you probably need a modified?
a) stage2
b) stage1
c) mbr
d) splashimage.gz

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
c) partition
d) all

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
1c
2a
3c
4b
5d
6b
7b
8c
9d
10a
11a
12c
13b
14d
15c




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
root (hdX,Y)
setup (hdX,Y)

title redo floppy
root (fd0)
setup (fdo)

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.

Last edited by aus9; 03-25-2006 at 07:24 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Quiz Murdock1979 Linux - General 4 07-15-2005 11:29 AM
New Quiz? neilcpp LQ Suggestions & Feedback 9 03-08-2004 09:51 PM
New Quiz - vi jeremy Programming 5 11-26-2003 10:39 AM
New Quiz - Solaris jeremy Solaris / OpenSolaris 15 12-17-2002 03:55 PM
quiz nautilus_1987 LQ Suggestions & Feedback 12 09-21-2002 09:35 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration