What is the purpose of the 'initrd' or 'initramfs' image file during the Linux booting phase? MCQ with Answer and Explanation

What is the purpose of the 'initrd' or 'initramfs' image file during the Linux booting phase?
A. To act as a desktop wallpaper storage module.
B. To provide a temporary root file system in RAM containing essential storage drivers needed to mount the real root file system.
C. To run background cron jobs before initialization.
D. To compile user space terminal environments.
Answer: Option B
Solution (By JKExamLibrary)
initramfs acts as an initial RAM file system that equips the booting kernel with necessary hardware and storage controller drivers to read the actual disk partition.

This question belongs to: Computer Operating Systems

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1 Report Error
What does a 'Cold Boot' involve that a 'Warm Boot' explicitly bypasses?
A. The execution of full hardware initialization sequences via the Power-On Self-Test (POST) from a zero power state.
B. Loading user interface themes from secondary disk storage.
C. The execution of compilation code segments.
D. Network interface configuration diagnostics.

Correct Answer: Option A


Explanation:
Cold booting requires powering components up from scratch, necessitating complete hardware verification routines (POST) missing from warm software resets.

This question belongs to: Computer Operating Systems
Question #2 Report Error
Which Linux command is used to change the ownership of a file?
A. chown
B. chgrp
C. chattr
D. chmod

Correct Answer: Option A


Explanation:
chown changes the owner and/or group of a file or directory.

This question belongs to: Computer Operating Systems
Question #3 Report Error
Which of the following is an example of a desktop environment for Linux?
A. Windows Shell
B. Aqua
C. GNOME
D. Unity

Correct Answer: Option C


Explanation:
GNOME is a popular desktop environment for Linux; Unity was used by Ubuntu earlier, but GNOME is common.

This question belongs to: Computer Operating Systems