Installing Linux and Linux Kernel (QUIZ)

NOTE: Each correct answer would give you 5 point.

  1. What advantages does GRUB offer over LILO boot loader?
  2. It enables you to boot multiple operating systems
    It enables you to permanently change GRUB conf file by adjusting boot parameters
    It enables you to use password protection
    It doesnot supports LBA mode

  3. Which GRUB command do you use to configure a GRUB root partition without mounting it?
  4. chainloader
    initrd
    root
    rootnoverify

  5. What does root refer in the GRUB context?
  6. The / directory
    The /boot directory
    The menu interface configuration file
    The root user

  7. In the GRUB configuration file, which command do you use to group the commands to load an OS
  8. default
    hiddenmenu
    timeout
    title

  9. What is the name of the image created in memory at runtime for shared library with name
  10. ldd
    ld.so
    library.a
    library.so

  11. What does ldconfig utility enable you to do?
  12. Configure shared libraries
    Create hard links to shared libraries
    Specifiy name conventions for library files
    Specify the maximum number of files in a library

  13. Which field do you modify in the Makefile to indicate a change to the generic kernel?
  14. EXTRAVERSION
    NAME
    SUBLEVEL
    VERSION

  15. Which kernel configuration option includes options for firewalls and IP masquerading?
  16. Filesystems
    Network device support
    Processor type and features
    Sound

  17. In which directory is the default configuration file for the kernel located?
  18. /kernel/config
    /usr/src
    /usr/src/linux
    /etc

  19. Which command do you enter to enable a new kernel to load and upload all required modules?
  20. make config
    make install
    make modules_install
    make modules

  21. Identify the command that displays all currently loaded modules
  22. depmod
    lsmod
    modinfo
    modprobe

  23. Identify the rmmod option that outputs all messages to the syslog file instead of to the console.
  24. -a
    -o
    -r
    -s

  25. Which command do you use to load a module manually?
  26. insmod
    lsmod
    modinfo
    rmmod

  27. In which sequence do you issue commands during the kernel compilation process for a 2.4 kernel?
  28. make clean, make bzImage, make dep, make modules, make modules_install
    make dep, make bzImage, make clean, make modules, make modules_install
    make dep, make clean, make bzImage, make modules, make modules_install
    make modules, make bzImage, make dep, make clean, make modules_install

  29. Which command do you enter to import settings from a previous kernel version into recent version?
  30. make oldconfig
    menuconfig oldconfig
    nconfig oldconfig
    xconfig oldconfig

  31. If you are in the /usr/src/linux dir. Which commands do you use to check which libraries are installed?
  32. ls -l library
    cd /src/linux/Documentation
    ls -l /lib/libc*
    ls -l /linux

  33. Identify the directory that contains all the modules required for different file system types.
  34. block
    fs
    misc
    net

  35. Which command do you use to copy and rename a compressed kernel image file to the /boot partition?
  36. cat /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3
    cp -p /usr/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3
    cp -p /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3
    move /usr/src/linux/arch/i386/bzImage /boot/vmlinuz-2.6.14p3

  37. Identify the command that provides a description of the megaraid module.
  38. modinfo -a megaraid
    modinfo -d megaraid
    modinfo -p megaraid
    modinfo -v megaraid

  39. Identify the command that builds a database of dependent modules.
  40. depmod
    lsmod
    modinfo
    modprobe

Leave a Comment

close button