Unit Unit: Installation and Configuration of Operating System
Unit Unit: Installation and Configuration of Operating System
Unit Unit: Installation and Configuration of Operating System
Unit
2 Configuration of
Operating System
Introduction
Any computer system has an operating system. The user
interacts with the machine via the operating system.
An operating system (OS) is the software that provides
an interface between the computer hardware and the
application programs or users. An operating system is
responsible for the management and coordination of
activities and sharing of the resources in computer. The
OS acts as a host for application programs that are run
on the machine. As a host, one of the purposes of an
OS is to handle the details of the operation of computer
hardware. OS offers a number of services to application
programs and users. Users may also interact with the OS
by commands or using a graphical user interface (GUI).
There are various types of operating systems, but all
of them essentially perform the same functions. This
Unit gives an overview of operating systems. Common OS
include Microsoft Windows, Mac OS X, and Linux. The
installation process of Microsoft Windows 10 and Ubuntu
Linux operating system is illustrated in this Unit. This will
enable the students to gain fundamental knowledge and
skills required to install and configure Windows 10 and
Ubuntu Linux operating systems.
Introduction
Introduction to Operating System
em
Hardware Device drivers
Memory management
CPU management
Hardware
Data Management
In a computer, the data or programs are stored in a file.
The data is managed by performing various operations
on a file such as creating, updating, reading, writing,
Create
Update
Ex.txt
File system
Memory Management
Every computer has a primary memory (RAM). This
memory should be managed properly for efficient
functioning of the computer. Operating system loads
the data and programs into RAM before sending it to the
CPU for processing. The results obtained after processing
are also stored in RAM
OS OS OS before sending it to the
output devices. After
Process 1 Process 1 Process 1 sending the output
Process 2 Process 4 to output device, OS
terminates starts
Process 2
releases the memory and
Process 2
makes it available for
use to other programs.
Process 3 Process 3 Process 3
Thus, operating system
utilises the RAM
Fig. 4.4: Memory management
efficiently to manage the
memory for various processes. The activities of memory
management are — allocate memory, free memory,
re-allocate memory, and keep track of memory usage.
Process Management
Every job to be performed by the computer system is
scheduled in the form of processes. These processes are
Wait
Device Management
Operating system manages the
peripheral devices attached I/O Command
to the computer system. The
CPU I/O Device
processes may require certain
devices. Operating system finds
the status of the device and
allocates the appropriate device.
Data Data
Device controllers are used to
control the peripheral devices
and device drivers are used to
control software components. Memory
The device management tasks
Fig. 4.6: Device management
handled by OS are:
(1) open, close and write the device driver;
(2) communicate, control and monitor the device
driver.
Fig. 4.11: Command line interface (CLI) Graphical User Interface (GUI)
The modern operating systems such as
Windows, Linux, and Mac all use GUI.
GUI is easy to operate and user-friendly.
GUI provides the ability to use the mouse
or fingertips to navigate the commands.
It becomes easy to interact with the
computers. The operating system with GUI
uses four components to interact with the
Fig. 4.12: Graphical user interface (GUI) screen system. These are abbreviated as WIMP
(windows, icons, menus, and pointer).
Microsoft Windows
It is a graphical user interface (GUI) based operating
system. A typical desktop image of a computer system
Mac OS
It is an operating system that is created by
Apple. It is a preloaded OS on Macintosh
computer or Macs. A typical image of a
Mac desktop is shown in Figure 4.14.
Observe that this operating system also
has a graphical user interface (GUI). But
the GUI of Mac OS is different from that
of Microsoft Windows. All the commands
and programs available in Mac OS are
displayed in the form of icons or buttons.
By clicking appropriate buttons, we can Fig. 4.14: Mac OS screen
execute that program.
There are various versions of Mac OS. Most recent
version of Mac OS is OS X which is pronounced as OS
10. The latest version released on 24 September 2018
is Mac OS 10.14 and is named as Mojave (Liberty). The
earlier versions of Mac OS are OS X 10.11: El Capitan
(Gala) released on 30 September 2015, OS X 10.10:
Yosemite (Syrah) released on 16 October 2014, OS X
10.9 Mavericks (Cabernet) released on 22 October
2013, OS X 10.8 Mountain Lion (Zinfandel) released
Linux
It is a family of open source operating
systems. It means that it can be modified
and distributed by anyone around the
world. Earlier OS that we have discussed
such as Windows and Mac OS are
proprietary software. It means that they
can be modified only by the company
Fig. 4.15: Ubuntu Linux OS screen that owns it. Whenever you want to use
proprietary software on your computer
system, you need to purchase it by
paying a cost so that you can get a user
Main Memory license. Linux is a freeware, meaning
that you need not to pay any cost and
Operating
System
Waiting for CPU you can use it on your computer system.
Job A A typical desktop image that runs Linux
is shown in Figure 4.15. Observe that
Job E
Job B Linux is also available in the form of
GUI. Every program in the Linux OS is
Executing
Job D Job C displayed in the form of an icon, button,
or graphics. By clicking on the icon or
Secondary button, we can execute that program.
Writing output Storage
There are many distributors of Linux, for
Fig. 4.16: Multi-programming with three programs
example Ubuntu, Linux Mint, Fedora,
Suse, Red Hat, and so on.
Classification of OS
Task 1 Operating systems can be classified based
on the following:
Task 2
Word Classification based on
Processing Method
Browser OS
Task 3 Multi-programming OS
CPU
In this, two or more programs are executed
Excel simultaneously by a single processor. It is
Fig. 4.17: Multitasking with three programs used in a multi-user environment.
Multiprocessing OS
Operating System
It supports running a program in more process A running
than one CPU. Two or more processors process B running
process C running
(CPU) are used to control the different process D in queue
activities or execution of many program process E in queue
instructions simultaneously. Servers are Memory
Time-sharing system
In this, the processor is shared among
User 4
many users. The CPU switches so rapidly
User 3
from one user to another, that every
user gets the impression of getting the
services of CPU for all the time.
User 5
User 2
Multithreading OS
Active
This has the ability to divide the process CPU
CPU Link
into sub-processes known as threads
and execute them concurrently. Threads User 1 User 6
are individual processes that execute Fig. 4.19: Time sharing system
simultaneously in multi-tasking OS.
Real-time OS
This method receives data, processes it, and returns
results quickly to affect the functioning of the system at
that time. It is an online processing system where the
processing time is critical. Monitoring and controlling
nuclear power stations, rocket launching systems, are
examples of real time systems.
Single user OS
The majority of small microcomputer based systems
have single user OS, which allows a single user to
operate the machine in an interactive mode. It allows
only one user program to use the system. MS-DOS, PC-
Fig. 4.22: Single user OS DOS are single user operating system.
Central
server
Terminals
A B C D E F