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 2

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


Marcus

Marcus

A.
init=/bin/bash

Marcus

Marcus

Depois
#mount -o remount,rw /dev/sda1

realiza a manutenção

e por fim

#sync
#mount -o remount,ro /dev/sda1
#reboot