Linux Boot Process: First Program Executed by SysV init | LFCS Exam Answer

The First Program Executed by SysV init

Question

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

B

The correct answer is B. /sbin/init.

When a Linux system starts up using SysV init, the Linux kernel will start the first process of the user space, which is known as the init process. The init process is responsible for starting all other processes required for a functional system.

The location of the init process is usually /sbin/init, but this can vary depending on the specific Linux distribution being used.

When the init process is started, it will read its configuration files located in the /etc/init directory. These configuration files are used to determine the runlevel that the system should start in, as well as what processes should be started or stopped at each runlevel.

Once the init process has determined the runlevel and the processes that need to be started or stopped, it will execute the appropriate scripts located in the /etc/rc.d directory.

Therefore, option B. /sbin/init is the correct answer as it is the first program that is usually started at boot time by the Linux kernel when using SysV init.