which command line must be passed to the kernel for the boot process?

A Linux machine freezes during boot. To boot directly to a shell prompt so that editing of files and
manual starting of services is possible which command line must be passed to the kernel for the
boot process?

A Linux machine freezes during boot. To boot directly to a shell prompt so that editing of files and
manual starting of services is possible which command line must be passed to the kernel for the
boot process?

A.
init=/bin/bash

B.
1

C.
runlevel=1

D.
sh

E.
/bin/sh

Explanation:

See http://en.wikipedia.org/wiki/Init#Skipping_init
In Linux systems, with most modern bootloaders (such as LILO or GRUB), users can change
which process the kernel spawns at the end of its initialization from the normal default of /sbin/init.
This is generally done by typing init=/foo/bar at the bootloader’s prompt. Appending init=/bin/bash,
for example, will bring up a single root shell, without a password.



Leave a Reply 0

Your email address will not be published. Required fields are marked *