Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
14 views22 pages

Boot Process

Booting a computer involves powering on the device and loading the operating system into RAM. The boot process includes various runlevels, defined from 0 to 6, which determine the system's state and the services that run during startup. Commands like 'systemctl get-default' and 'systemctl set-default' are used to manage these runlevels.

Uploaded by

anujabhandare900
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views22 pages

Boot Process

Booting a computer involves powering on the device and loading the operating system into RAM. The boot process includes various runlevels, defined from 0 to 6, which determine the system's state and the services that run during startup. Commands like 'systemctl get-default' and 'systemctl set-default' are used to manage these runlevels.

Uploaded by

anujabhandare900
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Booting a computer refers to the process of powering on the

computer and starting the operating system.

The boot process loads the operating system into main memory
or the random access memory (RAM) installed on your
computer
Runlevel is a state of a machine that defines how a machine
should be login, what services and scripts should run when a
machine starts.
Runlevel are defined from 0 – 6.

Once the real file system is mounted, then kernel runs the first
process i.e init (Systemd)
1. Runlevel 0 – shut down the system
2. Runlevel 1 – single user mode
3. Runlevel 2 – multiuser mode without networking
4. Runlevel 3 – multiuser with text login screen
5. Runlevel 4- customized runlevel (not in use)
6. Runlevel 5 – System provide login prompt (GUI)
7. Runlevel 6 – Reboot System
Run Level Target Units Description
0 runlevel0.target, poweroff.target Shut down and power off

1 runlevel1.target, rescue.target Set up a rescue shell


2,3,4 runlevel[234].target, multi- user.target Set up a nongraphical multi-
user shell
5 runlevel5.target, graphical.target Set up a graphical multi-user
shell
6 runlevel6.target, reboot.target Shut down and reboot the
system
#systemctl get-default
#systemctl set-default multi-
user.target
#systemctl set-default graphical.target
Once the reboot has completed you will be able
to use the root account with your newly set
password.

You might also like