SlideShare a Scribd company logo
1 of 23
Booting and Shutting Down the
Operating System
.
The State University Of Zanzibar
LECTURE #4
5/20/2023 1
Motivation…
Knowing booting process is an essential part of
every computer user/administration which will
give you a clear picture of how Operating
system works.
In this tutorial we will see what happens when
OS boots i.e. after powering on the machine to
the user login prompt.
5/20/2023 2
A quick view of booting sequence:
 Power on
 CPU jump to BIOS
 BIOS runs POST
 Finds first bootable devices
 Load and execute MBR
 Loads OS
 User prompt
5/20/2023 3
Stage 1: System startup
This is the first stage of booting process.
 When you power on/Restart your machine the
power is supplied to switched-mode power
supply which converts AC to DC.
 The DC power is supplied to all the devices
connected to that machine such as
Motherboard HDD's, CD/DVD-ROM, Mouse,
keyboard etc.
5/20/2023 4
The most intelligent device in the computer is
Processor(CPU), which run instruction and will
pass control to BIOS(Basic Input/Output
System) to do POST(Power On Self Test).
Once the control goes to BIOS it will take care
of two things
 Run POST operation.
 Selecting first Boot device.
5/20/2023 5
POST operation: POST is a processes of
checking hardware availability.
BIOS have a list of all devices which are present
in previous system boot.
In order to check if a hardware is available for
the present booting or not it will send an electric
pulse to each and every device in the list that it
already have.
5/20/2023 6
If an electrical pulse is returned from that device it will
come to a conclusion that the hardware is working fine
and ready for use.
If it doesn’t receive a sign from a particular device it will
treat that device as faulty or it was removed from the
system.
If any new hardware is attached to the system it will do
the same operation to find if its available or not.
The new list will be stored in BIOS memory for next
boot. 7
Selecting First Boot Device: Once the POST is
completed BIOS will have the list of devices available.
 BIOS memory will have the next steps details like
what is the first boot device it has to select etc.
 It will select the first boot device and gives back the
control to Processor(CPU).
 Suppose if it does not find first boot device, it will
check for next boot device, if not third and so on.
 If BIOS do not find any boot device it will alert
user stating "No boot device found".
5/20/2023 8
Stage 2: MBR loading
Once the BIOS gives control back to CPU, it
will try to load MBR of the first boot
device(We will consider it as HDD).
 MBR is a small part of Hard Disk with just a
size of 512 Bytes.
 This MBR resides at the starting of HDD or
end of HDD depending on manufacturer.
9
What is MBR?
MBR (Master Boot recorder) is a location on
disk which have details about
• Primary boot loader code(This is of 446
Bytes)
• Partition table information(64 Bytes)
• Magic number(2 Bytes)
Which will be equal to 512B (446+64+2)B.
Primary Boot loader code: This code provides
boot loader information and location details of
actual boot loader code on the hard disk.
This is helpful for CPU to load second stage of
10
Partition table: MBR contains 64 bytes of
data which stores Partition table information
such as what is the start and end of each
partition, size of partition, type of
partition(Whether it's a primary or extended
etc).
NOTE: HDD support only 4 primary
partitions, this is because of the limitation of
its information in MBR. For a partition to
represent in MBR, it requires 16 Bytes of
space in it so at most we will get 4 partitions.
(dynamic & basic volume)
5/20/2023 11
Magic Number: The magic number service as
validation check for MBR.
 If MBR gets corrupted this magic number is
used to retrieve it.
 What to take backup of your MBR
 Once your CPU knows all these details, it
will try to analyze them and read the first
portion of MBR to load Second stage of Boot
loader
5/20/2023 12
Stage 3: Boot loader Stage 2
(GRUB loader, ntldir)
In this stage GRUB(Grand Unified Bootloader) or
ntldir for windows which is located in the first 30
kilobytes of hard disk immediately following the MBR
is loaded into RAM for reading its configuration and
displays the GRUB/ntldir boot menu (where the user
can manually specify the boot parameters) to the user.
5/20/2023 13
 GRUB/NTLDIR loads the user-selected (or
default) kernel into memory and passes
control on to the kernel.
 If user do not select the OS, after a defined
timeout GRUB will load the default kernel in
the memory for starting it.
5/20/2023 14
BIOS
What is it
One of the most common uses of flash memory is for the basic input output system
of your computer know as the BIOS on virtually every computer available the bios
makes sure all the other chips hard drives ports and CPU function together.
BIOS
How it works
Bios or Basic Input/Output System is the software code that first runs
when the pc is starting up. It contains all the information necessary to
initialize nearly all the hardware components of the pc. Normally,
when you switch on the PC, the BIOS performs a Power on Self Test,
or POST as it is called. This is a series of diagnostic tests on the RAM
and other Hardware. It also initializes all the hardware devices such as
the hard disk, memory, video and other hardware, identifies and
reserves memory addresses for all the IRQs and ports available on the
motherboard, and calls a small operating system program known as
the boot loader. The boot loader, using the BIOS information amongst
other things, starts calling the programs that will load the OS. And
finally, the OS uses the bios information to take control over the hard
ware devices
Bios fun facts
• Each computer company has it own way of getting
to get to the bios
• For Lenovo PCs, you get to the BIOS by pressing
F1 when the computer starts.
How to work a bios
To access an option in the
BIOS use the cursor keys to
highlight your choice, as
shown in Screenshot A the
enter key will either invoke a
submenu or open a selection
window to alter the value
associated you'll have to use
the plus +or minus - keys
 Opening sub-menus: Many option
values may be altered with the plus
+ and minus - keys, while others
require navigating inside selection
menus or pick lists,
 In the "Main" or "Standard CMOS
Setup" menus, you can set the date
and time, and also define the
attributes of your hard drive
 In the "BIOS Features Setup" menu,
you'll work with general settings of
all kinds.
 The "Integrated peropherals menu is
where you can manage interfaces
and auxiliary system functions.
How to work a bios
Ending A BIOS Session
To end a BIOS program you strike the F10 key or
select the main menu entry that reads "Save &
Exit Setup. Sometimes this involves first selecting
an Exit option, then choosing the Exit & Save
Changes subentry You will then be presented with
a choice between Y and N where the Y key saves
your changes, and the N key discards them. Select
one or the other and you'll exit the BIOS Setup
program.
Manufacturers
 American Megatrends (AMI)
 Award Software International Inc.
 Microid Reseach Inc. (MR.BIOS)
 Phoenix Technologies Ltd.
 Motherboard Manufacturers BIOS
Upgrade Websites
Thanks
Any question ???
5/20/2023 23

More Related Content

Similar to BOOTING.ppt

Windows booting
Windows bootingWindows booting
Windows bootinggirish1993
 
1.0 introduction to personal computer
1.0  introduction to personal computer1.0  introduction to personal computer
1.0 introduction to personal computerGagandeep Singh
 
Share Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptxShare Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptxHarshDeliwala10B19
 
bios-111114014139-phpapp02-130920074327-phpapp02 (1).pptx
bios-111114014139-phpapp02-130920074327-phpapp02 (1).pptxbios-111114014139-phpapp02-130920074327-phpapp02 (1).pptx
bios-111114014139-phpapp02-130920074327-phpapp02 (1).pptxHarshDeliwala10B19
 
Chapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSChapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSaskme
 
Configuring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issuesConfiguring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issueselboob2025
 
Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Jesthine Nesshal
 
BIOS PRESENTATION
BIOS PRESENTATIONBIOS PRESENTATION
BIOS PRESENTATIONRajput98k
 
Booting of Computer System
Booting of Computer SystemBooting of Computer System
Booting of Computer SystemArzath Areeff
 

Similar to BOOTING.ppt (20)

bios.docx
bios.docxbios.docx
bios.docx
 
Bios
BiosBios
Bios
 
BIOS
BIOSBIOS
BIOS
 
bios lesson.pptx
bios lesson.pptxbios lesson.pptx
bios lesson.pptx
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
 
Boot process
Boot processBoot process
Boot process
 
Ict resources
Ict resourcesIct resources
Ict resources
 
Windows booting
Windows bootingWindows booting
Windows booting
 
1.0 introduction to personal computer
1.0  introduction to personal computer1.0  introduction to personal computer
1.0 introduction to personal computer
 
Bios
BiosBios
Bios
 
Share Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptxShare Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptx
 
bios-111114014139-phpapp02-130920074327-phpapp02 (1).pptx
bios-111114014139-phpapp02-130920074327-phpapp02 (1).pptxbios-111114014139-phpapp02-130920074327-phpapp02 (1).pptx
bios-111114014139-phpapp02-130920074327-phpapp02 (1).pptx
 
Chapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSChapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOS
 
Configuring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issuesConfiguring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issues
 
Bios
BiosBios
Bios
 
Bios ( Basic Input Output System )
Bios ( Basic Input Output System )Bios ( Basic Input Output System )
Bios ( Basic Input Output System )
 
BIOS PRESENTATION
BIOS PRESENTATIONBIOS PRESENTATION
BIOS PRESENTATION
 
05 - BIOS.ppt
05 - BIOS.ppt05 - BIOS.ppt
05 - BIOS.ppt
 
Booting of Computer System
Booting of Computer SystemBooting of Computer System
Booting of Computer System
 

Recently uploaded

9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...Pooja Nehwal
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...Call Girls in Nagpur High Profile
 
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...nagunakhan
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一ga6c6bdl
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一ga6c6bdl
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhisoniya singh
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...srsj9000
 
定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一
定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一
定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一ga6c6bdl
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberMs Riya
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service ThanePooja Nehwal
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaUnited Arab Emirates
 
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一zul5vf0pq
 
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...anilsa9823
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...ranjana rawat
 
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /WhatsappsBeautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsappssapnasaifi408
 

Recently uploaded (20)

9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
VVIP Pune Call Girls Warje (7001035870) Pune Escorts Nearby with Complete Sat...
 
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
Russian Call Girls In South Delhi Delhi 9711199012 💋✔💕😘 Independent Escorts D...
 
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Sakshi Call 7001035870 Meet With Nagpur Escorts
 
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
如何办理萨省大学毕业证(UofS毕业证)成绩单留信学历认证原版一比一
 
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(PARI) Alandi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
如何办理(NUS毕业证书)新加坡国立大学毕业证成绩单留信学历认证原版一比一
 
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | DelhiFULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
FULL ENJOY - 8264348440 Call Girls in Hauz Khas | Delhi
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
 
定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一
定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一
定制宾州州立大学毕业证(PSU毕业证) 成绩单留信学历认证原版一比一
 
9953330565 Low Rate Call Girls In Jahangirpuri Delhi NCR
9953330565 Low Rate Call Girls In Jahangirpuri  Delhi NCR9953330565 Low Rate Call Girls In Jahangirpuri  Delhi NCR
9953330565 Low Rate Call Girls In Jahangirpuri Delhi NCR
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
 
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls Kolkata Chhaya 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls Kolkata Chhaya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
定制加拿大滑铁卢大学毕业证(Waterloo毕业证书)成绩单(文凭)原版一比一
 
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
Lucknow 💋 Call Girls Adil Nagar | ₹,9500 Pay Cash 8923113531 Free Home Delive...
 
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(MEGHA) Hinjewadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
 
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /WhatsappsBeautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
Beautiful Sapna Call Girls CP 9711199012 ☎ Call /Whatsapps
 

BOOTING.ppt

  • 1. Booting and Shutting Down the Operating System . The State University Of Zanzibar LECTURE #4 5/20/2023 1
  • 2. Motivation… Knowing booting process is an essential part of every computer user/administration which will give you a clear picture of how Operating system works. In this tutorial we will see what happens when OS boots i.e. after powering on the machine to the user login prompt. 5/20/2023 2
  • 3. A quick view of booting sequence:  Power on  CPU jump to BIOS  BIOS runs POST  Finds first bootable devices  Load and execute MBR  Loads OS  User prompt 5/20/2023 3
  • 4. Stage 1: System startup This is the first stage of booting process.  When you power on/Restart your machine the power is supplied to switched-mode power supply which converts AC to DC.  The DC power is supplied to all the devices connected to that machine such as Motherboard HDD's, CD/DVD-ROM, Mouse, keyboard etc. 5/20/2023 4
  • 5. The most intelligent device in the computer is Processor(CPU), which run instruction and will pass control to BIOS(Basic Input/Output System) to do POST(Power On Self Test). Once the control goes to BIOS it will take care of two things  Run POST operation.  Selecting first Boot device. 5/20/2023 5
  • 6. POST operation: POST is a processes of checking hardware availability. BIOS have a list of all devices which are present in previous system boot. In order to check if a hardware is available for the present booting or not it will send an electric pulse to each and every device in the list that it already have. 5/20/2023 6
  • 7. If an electrical pulse is returned from that device it will come to a conclusion that the hardware is working fine and ready for use. If it doesn’t receive a sign from a particular device it will treat that device as faulty or it was removed from the system. If any new hardware is attached to the system it will do the same operation to find if its available or not. The new list will be stored in BIOS memory for next boot. 7
  • 8. Selecting First Boot Device: Once the POST is completed BIOS will have the list of devices available.  BIOS memory will have the next steps details like what is the first boot device it has to select etc.  It will select the first boot device and gives back the control to Processor(CPU).  Suppose if it does not find first boot device, it will check for next boot device, if not third and so on.  If BIOS do not find any boot device it will alert user stating "No boot device found". 5/20/2023 8
  • 9. Stage 2: MBR loading Once the BIOS gives control back to CPU, it will try to load MBR of the first boot device(We will consider it as HDD).  MBR is a small part of Hard Disk with just a size of 512 Bytes.  This MBR resides at the starting of HDD or end of HDD depending on manufacturer. 9
  • 10. What is MBR? MBR (Master Boot recorder) is a location on disk which have details about • Primary boot loader code(This is of 446 Bytes) • Partition table information(64 Bytes) • Magic number(2 Bytes) Which will be equal to 512B (446+64+2)B. Primary Boot loader code: This code provides boot loader information and location details of actual boot loader code on the hard disk. This is helpful for CPU to load second stage of 10
  • 11. Partition table: MBR contains 64 bytes of data which stores Partition table information such as what is the start and end of each partition, size of partition, type of partition(Whether it's a primary or extended etc). NOTE: HDD support only 4 primary partitions, this is because of the limitation of its information in MBR. For a partition to represent in MBR, it requires 16 Bytes of space in it so at most we will get 4 partitions. (dynamic & basic volume) 5/20/2023 11
  • 12. Magic Number: The magic number service as validation check for MBR.  If MBR gets corrupted this magic number is used to retrieve it.  What to take backup of your MBR  Once your CPU knows all these details, it will try to analyze them and read the first portion of MBR to load Second stage of Boot loader 5/20/2023 12
  • 13. Stage 3: Boot loader Stage 2 (GRUB loader, ntldir) In this stage GRUB(Grand Unified Bootloader) or ntldir for windows which is located in the first 30 kilobytes of hard disk immediately following the MBR is loaded into RAM for reading its configuration and displays the GRUB/ntldir boot menu (where the user can manually specify the boot parameters) to the user. 5/20/2023 13
  • 14.  GRUB/NTLDIR loads the user-selected (or default) kernel into memory and passes control on to the kernel.  If user do not select the OS, after a defined timeout GRUB will load the default kernel in the memory for starting it. 5/20/2023 14
  • 15. BIOS
  • 16. What is it One of the most common uses of flash memory is for the basic input output system of your computer know as the BIOS on virtually every computer available the bios makes sure all the other chips hard drives ports and CPU function together. BIOS
  • 17. How it works Bios or Basic Input/Output System is the software code that first runs when the pc is starting up. It contains all the information necessary to initialize nearly all the hardware components of the pc. Normally, when you switch on the PC, the BIOS performs a Power on Self Test, or POST as it is called. This is a series of diagnostic tests on the RAM and other Hardware. It also initializes all the hardware devices such as the hard disk, memory, video and other hardware, identifies and reserves memory addresses for all the IRQs and ports available on the motherboard, and calls a small operating system program known as the boot loader. The boot loader, using the BIOS information amongst other things, starts calling the programs that will load the OS. And finally, the OS uses the bios information to take control over the hard ware devices
  • 18. Bios fun facts • Each computer company has it own way of getting to get to the bios • For Lenovo PCs, you get to the BIOS by pressing F1 when the computer starts.
  • 19. How to work a bios To access an option in the BIOS use the cursor keys to highlight your choice, as shown in Screenshot A the enter key will either invoke a submenu or open a selection window to alter the value associated you'll have to use the plus +or minus - keys
  • 20.  Opening sub-menus: Many option values may be altered with the plus + and minus - keys, while others require navigating inside selection menus or pick lists,  In the "Main" or "Standard CMOS Setup" menus, you can set the date and time, and also define the attributes of your hard drive  In the "BIOS Features Setup" menu, you'll work with general settings of all kinds.  The "Integrated peropherals menu is where you can manage interfaces and auxiliary system functions. How to work a bios
  • 21. Ending A BIOS Session To end a BIOS program you strike the F10 key or select the main menu entry that reads "Save & Exit Setup. Sometimes this involves first selecting an Exit option, then choosing the Exit & Save Changes subentry You will then be presented with a choice between Y and N where the Y key saves your changes, and the N key discards them. Select one or the other and you'll exit the BIOS Setup program.
  • 22. Manufacturers  American Megatrends (AMI)  Award Software International Inc.  Microid Reseach Inc. (MR.BIOS)  Phoenix Technologies Ltd.  Motherboard Manufacturers BIOS Upgrade Websites