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

0% found this document useful (0 votes)
35 views18 pages

Boot Process

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)
35 views18 pages

Boot Process

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/ 18

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, Shut down and power
poweroff.target off
1 runlevel1.target, rescue.target Set up a rescue shell
2,3,4 runlevel[234].target, multi- Set up a nongraphical
user.target multi-user shell
5 runlevel5.target, Set up a graphical
graphical.target 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
Step1:
Reboot computer and press “Esc” key when
show kernel line
Once the reboot has completed you will be able
to use the root account with your newly set
password.

You might also like