Home
You may like this!
86.
How might you identify an initial RAM disk file in GRUB 2?
  • A.
    initrd /boot/initrd-3.4.2
  • B.
    initrd=/boot/initrd-3.4.2
  • C.
    initramfs /boot/initrd-3.4.2
  • D.
    initramfs=/boot/initrd-3.4.2
  • E.
    ramdisk=/boot/initrd-3.4.2
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The initrd keyword identifies an initial RAM disk file in the GRUB 2 configuration file, and a space separates this keyword from the filename. (Several variants on this syntax are possible.) Option B adds an equal sign (=), which renders the syntax incorrect. Options C, D, and E use the incorrect initramfs and ramdisk keywords instead of initrd.
Report
Name Email  
87.
Which command is used to install GRUB Legacy into the MBR of your first SATA hard drive?
  • A.
    grub (hd0,1)
  • B.
    grub-install /dev/sda1
  • C.
    lilo /dev/sda
  • D.
    grub-install /dev/sda
  • E.
    grub-legacy /dev/sda1
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
You use grub-install to install the GRUB Legacy boot loader code into an MBR or boot sector. When using grub-install, you specify the boot sector on the command line. The MBR is the first sector on a hard drive, so you give it the Linux device identifier for the entire hard disk, /dev/sda. Hence, option D is correct. Option A specifies using the grub utility, which is an interactive tool, and the device identifier shown in option A is a GRUBstyle identifier for what would probably be the /dev/sda3 partition in Linux. Option B is almost correct but installs GRUB to the /dev/sda1 partition’s boot sector rather than the hard disk’s MBR. Option C is the command to install LILO to the MBR rather than to install GRUB. Option E contains the same error as option B, and it also uses the fictitious grub-legacy command.
Report
Name Email  
88.
The string root (hd1,5) appears in your /boot/grub/menu.lst file. What does this mean?
  • A.
    GRUB Legacy tells the kernel that the kernel’s root partition is the fifth partition of the first disk.
  • B.
    GRUB Legacy looks for files on the sixth partition of the second disk.
  • C.
    GRUB Legacy looks for files on the fifth partition of the first disk.
  • D.
    GRUB Legacy installs itself in /dev/hd1,5.
  • E.
    GRUB Legacy installs itself in /dev/sdb5.
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
The root keyword in a GRUB Legacy configuration file tells the boot loader where to look for files, including its own configuration files, kernel files, and so on. Because GRUB Legacy numbers both disks and partitions starting from 0, (hd1,5) refers to the sixth partition on the second disk, as option B specifies. Option A is incorrect because you pass the Linux root partition to the kernel on the kernel line, not via the GRUB root keyword. Options A, C, and E all misinterpret the GRUB numbering scheme. The GRUB installation location is specified on the grub-install command line, so options D and E are incorrect; and /dev/hd1,5 isn’t a standard Linux device file, so option D is incorrect.
Report
Name Email  
89.
What line in /etc/inittab would indicate that your default runlevel is 5?
  • A.
    ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
  • B.
    id:5:initdefault:
  • C.
    si:5:sysinit:/etc/init.d/rcS
  • D.
    l5:5:wait:/etc/init.d/rc 5
  • E.
    1:2345:respawn:/sbin/getty 38400 tty1
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
The initdefault action specifies the default runlevel, so option B is correct. The remaining options are all taken from actual /etc/inittab files but don’t have the specified meaning.
Report
Name Email  
90.
Which runlevels are reserved by init for reboot, shutdown, and single-user mode purposes? (Select three.)
  • A.
    0
  • B.
    1
  • C.
    2
  • D.
    5
  • E.
    6
  • Answer & Explanation
  • Report
Answer : [A, B, E]
Explanation :
Runlevel 0 (option A) is the reserved runlevel for halting the system. Runlevel 1 (option B) is reserved for single-user mode. Runlevel 6 (option E) is reserved for rebooting. Runlevel 2 (option C) is the default runlevel on Debian and most distributions derived from it, but it does none of the things described in the question. Runlevel 5 (option D) is a regular, user-configurable runlevel, which isn’t normally used for the things described in the question. (Many systems use it for a regular boot with a GUI login prompt.)
Report
Name Email