0% found this document useful (0 votes)
6 views

operating system

This document outlines the practical experiments for a Bachelor of Computer Applications program, focusing on operating system installations and commands. It includes detailed steps for installing Windows and Linux on VirtualBox, partitioning a hard disk, and executing basic Linux commands. The document serves as a guide for students to fulfill their academic requirements in operating systems.

Uploaded by

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

operating system

This document outlines the practical experiments for a Bachelor of Computer Applications program, focusing on operating system installations and commands. It includes detailed steps for installing Windows and Linux on VirtualBox, partitioning a hard disk, and executing basic Linux commands. The document serves as a guide for students to fulfill their academic requirements in operating systems.

Uploaded by

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

OPERATING SYSTEM (UGCA 1926)

Submitted to Punjab Technical


University, Jalandhar

In partial fulfilment
of the requirements
for the degree of
Bachelor of Computer
Applications
(Batch 2023-2026)

SUBMITTED TO: SUBMITTED BY:


MS.SARABJEET KAUR VISHESH SHARMA
BCA2023C
2322250

PUNJAB COLLEGE OF TECHNICAL EDUCATION, LUDHIANA


CONTENT
SR.NO EXPERIMENT

1. Windows installation

2. Partitioning of hard disk

3. Linux installation

4. Linux commands
TOPIC 1 – WINDOW INSTALLATION

Step 1: Downloading Virtual Box

Step 2: Downloading Windows 10 ISO File

After setting up your Virtual Box, Search Microsoft Windows Evaluation 10 and download
Windows 10 ISO file
Step 3: Installation of Windows 10 in Virtual Box.

Select a name, then the type as MS Windows and the version as Windows 10(64-bit) with
respect to the machine used. Then provide memory according to our RAM size preferably 2-4GB
and then leave the Hard disk file type as VDI, then select the virtual hard disk size, and you are
done as shown below
Step 4: Sharing the Location of the ISO File of Windows 10

Go to Settings->Storage->Click on “Empty” under “Controller” choose the CD icon and then


click on “choose a disk file”. Browse to the location where you have downloaded the Windows
10 ISO file. Copy the location and paste it.
Step 5: Running Windows on Virtual Box
That is Windows 10 has been installed on the Virtual Machine. You can now open the Windows
10 operating system in VM. Set up a new username and password and use Windows 10 in VM
for various purposes.

TOPIC 2 – PARTITIONING OF HARD DISK


Step 1: Open Windows Disk Management Settings

Press Win + X and click on Disk Management, or alternatively you can press Win + S and type
“Computer Management” and hit enter, now navigate to “Disk Management” from the left-side
menu bar.
Step 2: Shrink Volume of the Selected Drive

Make a right-click on the existing partition (for example E:) and click on “Shrink Volume“. You
can now enter the space as per your convenience and click “Shrink”.

Step 3: Create a New Volume


Make a right-click on the unallocated space and select “New Simple Volume”. Follow the
instructions and assign the new drive with (A,B,D,G, etc.) and choose file system as NTFS

Step 4: Format and Complete the Process

Click on “Format” and later “Finish” to create a new disk partition in Windows 10 PC.

TOPIC 3 – LINUX INSTALLATION


Step 1: Downloading Virtual Box
Step 2: Upon installation of VirtualBox onto your device, launching the application will result in
the appearance of the Virtualbox Manager window.

Step 3: Click on the “New” button to generate a new VM. You will be asked for a VM name,
path to where VM files will be saved and an ISO image. The operating system (OS) you intend
to install may be like, Windows, macOS or Linux.

Step4- Download the latest LTS version of Ubuntu.

Step 5: For Ubuntu, VirtualBox supports creating a username, password, and specifying the
hostname. You can decide to customize it or go with the defaults. Click on Next.
Step 7: Later on, in running your virtual machine, what you need is to allocate it some memory
& CPU.

Step 8: Allocate the Hard disk size for the VM. Allocate at least 20 GB of storage. Click on
Next.

Step 9: A summary of all of your choices is shown to you now, and it is necessary to launch and
initiate the installation of the Linux OS as a virtual machine. Then Click on Finish
After clicking Finish, Ubuntu will start and it will install Linux as a virtual operating system. Just
wait for few minutes until it finishes installation and start the virtual operating system

Step 10: Choose your password for your Ubuntu OS. In case, if you don't want to login with
password, you can tick "Login automatically" option. Click on Continue. Welcome prompt will
appear on your OS. It will take some time as it is copying some essential files.
TOPIC 4 – LINUX COMMANDS
Task 1- to create a directory type “mkdir directory name”

Task 2- create new file inside directory by “touch filename.txt”


Task 3- write inside the created file by locating the same file in system and save it and to display
the content of the file give command “cat filename.txt”

Task 4- to remove the file from directory give command “rm filename.txt” To check if file still
exists or not try displaying the content of file again it will give error

Task 5- to exit the directory give command “cd ..”

Task-6 - to remove the directory from device give command “rmdir directoryname” and to
check if it is deleted or not write “ls” it will show all existing directories .
Task 7- to clear all the commands give command “clear”.

Task 8 – to copy the content of one file into another write “cp 1filename 2filename”

You might also like