You are on page 1of 5

PRACTICE: VIRTUALIZATION AND SIMULATION OF OPERATING

SYSTEMS
P Practice 8.
E
E Date: 06/03/2023 Group: 2 Mark:

A Student.

D. Name: Mohamed Hardi


Abderrahmán Surname: El Lafou
Hamri Lahlou

1.1. Introduction.___________________________________________
Disk partitioning is the creation of one or more regions on a hard disk or other secondary
storage, so that an operating system can manage information in each region separately.
Partitioning is typically the first step of preparing a newly manufactured disk, before
any files or directories have been created. The disk stores the information about the partitions'
locations and sizes in an area known as the partition table that the operating system reads
before any other part of the disk. Each partition then appears in the operating system as a
distinct "logical" disk that uses part of the actual disk. System administrators use a programme
called a partition editor to create, resize, delete, and manipulate the partitions. One of the
most powerful software is Partition Magic developed by EaseUS.

Additionally, in computing, virtualization refers to the act of creating a virtual (rather than
actual) version of something, including virtual computer hardware platforms, operating systems,
storage devices, and computer network resources.

Hardware virtualization refers to the creation of a virtual machine that acts like a real computer
with an operating system. Software executed on these virtual machines is separated from the
underlying hardware resources. For example, a computer that is running Microsoft
Windows may host a virtual machine that looks like a computer with the Ubuntu Linux operating
system.

In hardware virtualization, the host machine is the actual machine on which the virtualization
takes place, and the guest machine is the virtual machine. The words host and guest are used
to distinguish the software that runs on the physical machine from the software that runs on the
virtual machine. The software or firmware that creates a virtual machine on the host hardware is
called a hypervisor or Virtual Machine Manager.

In this practice we are going to use VirtualBox as virtualization software for its ease of use.
VirtualBox is a hypervisor for x86 computers from Oracle Corporation. Developed initially by
Innotek GmbH, it was acquired by Sun Microsystems in 2008 which was in turn acquired by
Oracle in 2010. VirtualBox can be downloaded (free of charge and in Spanish) of its official
website (www.virtualbox.org).

VirtualBox may be installed on a number of host operating systems, including: Linux, OS X and
Windows. It supports the creation and management of guest virtual machines running versions
and derivations of Windows, Linux, OS/2 and others.

For some guest operating systems, a "Guest Additions" package of device drivers and system
applications is available which typically improves performance, especially of graphics.

We will also see how to install two operating systems on the same hard disk, so that we can
have, for example, at the same time both a Windows operating system and a Linux operating
system.

Computer Systems & Local Networks


1 © Miguel Ángel Martínez Aguilar
1.2. Objective.______________________________________________
 Learning how to partition a hard disk using specific software designed for it.
 Being able to install and learning the operation of a virtual machine.
 Performing the installation of Windows and Linux on the same computer.

1.3 .Material._______________________________________________
 PC classroom.
 Hard disk partitioning software.
 Virtual machine creation software.
o https://www.virtualbox.org/
 Microsoft Windows Operating Systems.
 Linux Operating Systems.

1.4. Development.__________________________________________
The first thing we will do is to check the partitions that we have in our PC. To do this you can
use the software Partition Magic (included in Hiren's Boot CD) or another similar programme.

The programme's interface will look like this:

Describe this window briefly, making clear the partition containing your PC (indicating type, size,
used space, unused space, state, etc.).

Computer Systems & Local Networks


2 © Miguel Ángel Martínez Aguilar
The CD disk has 2.047,44GB, sample distribution,
basic type, NTFs boot system. We changed the
space to 1000GB approximately and we installed
the OS in the VirtualBox.

Installation of the virtual machine

Run the VirtualBox installation file and follow the steps shown in the manual supplied by the
teacher.

Configure the working environment properly to get the most out of the virtual machine. Pay
special attention to the use of USB drives and shared folders between guest and host machine
(Guest Additions). You can find help at the following websites:
 https://www.virtualbox.org/manual/UserManual.html
 https://help.ubuntu.com/community/VirtualBox

Partitions and Virtual Machines

Create in your virtual machine the same partitions that you noted in the previous question box.
Describe in detail the steps to follow and why you have taken each one of them.

We created a Windows 7 partition with NTFs boot,


1TB of space, 2048 GB of RAM, etc. For ubuntu,
we used 500 GB but the configuration it almost the
same. Then, we did the configuration in the virtual
machine after checking the partition software.

Computer Systems & Local Networks


3 © Miguel Ángel Martínez Aguilar
Installation of Windows and Linux

Configure a virtual machine (with the appropriate partitions) to install two operating systems on
a single hard disk. Perform the operation of the following two ways:

1. First, install Windows (any version you prefer) and then Linux (Ubuntu 18.04 LTS).

2. First, install Linux (Ubuntu 18.04 LTS) and later Windows (any version you prefer). The
Windows installation will have crushed the bootloader, so Windows will be always
started. Starting with the SUPER GRUB2 Disk (you can use another program: Boot
Repair Disk, etc.). Follow the steps of the tutorial:

o http://www.taringa.net/posts/linux/7620943/Recupera-el-GRUB-con-Super-
Grub2-Disk.html

Now, when you enter in the virtual machine to boot from hard disk, you can choose the
operating system you want to boot. From Linux, you have to change the default boot
(you have to choose Windows) and the standby time (15 seconds). You can follow the
tutorial on this website:

o http://www.guia-ubuntu.com/index.php?title=GRUB

Clue: sudo gedit /etc/default/grub


GRUB_DEFAULT=4
GRUB_TIMEOUT="15"
sudo update-grub2

Make a video tutorial with each of the two previous installations. Pay special attention to "pre"
and "post" configurations that you had to set to both operating systems work in the best possible
conditions.

Then, write down the difficulties encountered during installation and the most key aspects of it.

We had difficulties when we wanted to install the


application to solve the errors occured and do
the partition from Linux to Windows.

Computer Systems & Local Networks


4 © Miguel Ángel Martínez Aguilar
1.4. Optional Task.__________________________________________
In this section, you can do anything that can improve the practice. It will be assessed with an
extra point in the practice assessment.

Explain below what you have done.

Several proposals can be the following:

 Make a video tutorial recording the installation of a previous versions of Windows (such
as Windows 95 or Windows 98, because they are slightly different). You will find many
documents on the Internet that will guide you through this process.
 Make a video tutorial recording the installation of a MAC Operating System. You will
find many documents on the Internet that will guide you through this process.
 Make a video tutorial recording the installation of an ANDROID Operating System. You
will find many documents on the Internet that will guide you through this process.
 Make a video tutorial using a different virtual machine, as for example VMware, where
you can use the BIOS menu.

Computer Systems & Local Networks


5 © Miguel Ángel Martínez Aguilar

You might also like