You are on page 1of 13

ELECTRICAL ENGINEERING DEPARTMENT

ACADEMIC SESSION: _____________


DEC50103 – OPERATING SYSTEMS
PART A - VIRTUAL OS
PRACTICAL WORK 01 :
PART B - MS DOS
PRACTICAL WORK
DATE :
LECTURER’S NAME:
GROUP NO. :
RUBRIC REPORT TOTAL
STUDENT ID & NAME : PW MARKS
(70%) (30%) (100%)

(1)

(2)

(3)

(4)

DATE SUBMIT : DATE RETURN :


1 LEARNING OUTCOMES (LO):

1. : Investigate the background process performed by operating systems based on


management of memory, resource and file to ensure the computer system operates at
optimum performance

2. : Perform installation for workstation and domain server using MS Windows server or
Open Source server operating system

3. : Demonstrate awareness of professionalism and computer ethics during practical


work to comply with professionals bodies such as ACM or IEEE

2 OBJECTIVE

Upon completion lab session, student should be able to:

1. Prepare and check minimum requirement and install virtual machine for operating
system
2. Use the different virtual machine application features
3. Access the command prompt interface
4. Use command prompt to manage files and folder
5. Use command prompt to perform basic operating system function

3 THEORY

PART ONE
Originally, a Virtual PC is a program for APPLE/MAC computer that emulates Windows 95,
Windows 98, Windows NT, as well as IBM OS/2, or Linux on a Macintosh personal
computer, assuming it's equipped with a sufficiently fast microprocessor. With Virtual PC
installed, a Mac can show the desktop for the emulated operating system on one part of the
display or it can take up the entire screen.

Any program that will run under the other operating systems on "regular" (Intel
microprocessor-based) PCs can be run inside a virtual PC. Now Virtual PC is also available
for Microsoft Windows. This allow user to run multiple OS inside a single PC for testing or
for solving software compatibility.

PART TWO
Operating system (OS) existed long before PCs were invented. Ancient, massive
computers called mainframes and minicomputers employed sophisticated OSs. When IBM
roll out their PC in 1970 and looking for an OS to operate the PC, that was the time MS-
DOS were release.

MS-DOS use command line interface to accept user command. All of it function is done
base on the command typed by the user.

Within today Windows operating system, the command line interface still exists and plays a
very important role. When a windows OS unable to boot-up, the command line is critical to
perform system recovery and such.
4 EQUIPMENT / TOOLS

1. Personal Computer/Laptop running Windows 7


2. Virtual Box Installer Package
3. WMWare Installer Package

PART ONE

5 ACTIVITY 1A : INSTALLATION OF VIRTUAL BOX

THEORY

Although Microsoft Virtual PC is free, it does not officially support open source OS. It may
run them, but no support is provided by Microsoft. Because of this user turn to third party
Virtual PC like the Virtual BOX. It may not have the robust design of Microsoft Official
Virtual PC but its also free to use and the community support is helpful.

PROCEDURE

1. Turn on the PC and let windows load.

2. Copy the Virtual Box installer package into the PC hard disk.

3. Run the Virtual Box installer package.

4. Click NEXT at the welcome page.

5. You may change the installation location but dot remove any module from the
default. Click NEXT.

6. Click NEXT again.

7. Click YES then INSTALL.

8. If any windows show up asking whether to continue to install any untested


components, choose to CONTINUE ANYWAY.

9. When the installation is done, click FINISH.

ACTIVITY 1B : INSTALLATION OF VMWARE PLAYER

THEORY

VMware Player is a free version of VMware Workstation from VM. It can create virtual
machine and run them but with limited functionality compare to the full version workstation.
It’s provide simple installation of OS for virtual machine compare to Virtual Box which
requirement a bit more of technical knowledge to use. It is also well documented compare
to virtual box.

PROCEDURE
1. Install the VMware Player using the installer.

2. Follow the installation instruction carefully.

3. Use default configuration.

ACTIVITY 1C : USING VMWARE PLAYER

THEORY

Virtual machine acts as a computer. It has similar basic capacities as a physical computer.
Usually a virtual machine will have the exact same physical hardware as the computer its
run on. Optical drive, network interface card, USB drive, all will be duplicate it the virtual
machine. However, to access these physical hardware is different since everything is only
in virtual form.

In this activity, student will learn to use 2 main functions, the optical drive and the network
properties. These 2 functions will be use heavily during all Operating System course
practical work.

PROCEDURE

1. Run the VMware application.

2. At the welcome screen choose Home (House symbol) and then choose Open a
Virtual Machine. Search for Windows XP Professional inside c:\Iso
Image\Windows XP Professional folder.

3. Now play the Windows XP Professional virtual machine. When windows appears,
choose I copied it.

4. Let windows load until you can the windows desktop.

5. To insert an optical disc (CD or DVD) into the virtual machine is done by inserting
the ISO image of the optical disk into the virtual machine ODD drive. To do this
click the Player menu on top left of the virtual machine windows and select
Manage then Virtual Machine Settings… (or press Ctrl D). A new windows
opens, choose the Hardware Tab and select CD/DVD (IDE).

6. To insert a particular CD ISO, in Connection box, tick Use ISO image file and
browse the location of the ISO image. If you are using a physical disc, choose Use
physical drive and select the ODD containing the disc. To confirm the disc is
inserted, close the Virtual Machine Settings windows and open My Computer to
confirm the content of the virtual machine ODD.

7. Next, to change the Virtual Machine network hardware characteristic reopen the
Virtual Machine Settings windows. In Hardware tab choose Network Adapter.
In the Network connection box, tick Bridged: Connected directly to the
physical network. This will be the default setting we will use in all of our lab
exercise (Please remember this). To change the network IP address or properties,
this can be done through the operating system. Try changing the network address
to 10.122.34.21.

ACTIVITY 1D : USING VIRTUAL BOX

THEORY

Same as WMware, Virtual Box hardware are also access through certain menu.

PROCEDURE

1. Run the Virtual Box application.

2. Choose the new OS. Now click the setting icon (look like a gear). This will open
the setting menu for that particular OS.

3. To access the ODD select storage and then select the single cd icon inside the
Storage Tree box. If you are using a physical disc, select the ODD drive in the
Attributes box. If you’re using an image cd click the cd icon in the Attributes and
then Choose a virtual CD/DVD file… Browse for the cd image. Click the OK
button.

4. Now to change the network hardware setting. Again open the setting windows for
the operating system. Select Network.

5. Open Adapter 1 tab. Make sure to tick the Enable Network Adapter.

6. Now Choose Bridged Adapter (click Attached to dropdown menu). Close the
setting windows by clicking the OK button.

ACTIVITY 1E : PREPARING A VMWARE PLAYER VIRTUAL HARD DISK

THEORY

Before a user can use a virtual machine, the user need to install the operating system in
the virtual machine. To do that, first the user must prepare the virtual machine hardware
specification (setup up hard drive size, memory size, name, setting etc). A user can
configure his/ her own virtual machine hardware specification as needed. The virtual
machine software will suggest certain value in order for the installed operating software to
work properly. So basically, a user can set a higher specification than the suggested by
software but must not go below as this will affect the virtual machine performance.

PROCEDURE
1. Run VMware player.

2. Create a new virtual machine.


ACTIVITY 1F : PREPARING A VIRTUAL BOX HARD DISK
3. Choose ‘I will install the operating system later’.
PROCEDURE
4. Select the appropriate OS to be install. Choose any window OS.
1. Run Virtual Box. Click the NEW button. Click NEXT.
5. In the virtual machine name box type in the name for your virtual machine, for
2. Win7_Amirul_Lab1D.
example Choose the OS developer
(Name andmust
thencontain
choose the
OS version.
product, Select
StudentWindow
name 2003.
and lab no/activity). Change the location to your work directory.
3. Type a name. Follows the instruction on how to name the virtual machine in activity
6. 1E. Choose
Click NEXT. Click NEXT.
to store the virtual OS as a split file.

7. 4. theUse
Finish the recommended memory size or you may change it to make it bigger. Do
configuration.
not change it to smaller size than recommended. Click NEXT.
8. 5. step
Repeat Select
1 tostart-up disk another
6 to create and choose Create
virtual new
OS for hard disk. OS.
a Ubuntu/Linux

6. Choose VDI (Virtual Box Disk image). Click NEXT.

7. Choose dynamically allocated size. Don’t change the recommended hard disk size.
Click NEXT. If any error pops-up, reduce the hard disk size.

8. Change the file location to your working folder. Clicks CREATE. Wait until finish.

9. Repeat step 1 to 8 to create another virtual OS for a Ubuntu/Linux OS.

PART TWO – MS DOS AND COMMAND PROMPT

ACTIVITY 1G : ACCESSING AND CONFIGURING THE COMMAND


PROMPT WINDOWS

THEORY
Operating system (OS) existed long before PCs were invented. Ancient, massive
computers called mainframes and minicomputers employed sophisticated OSs. When IBM
roll out their PC in 1970 and looking for an OS to operate the PC, that was the time MS-
DOS were release.

MS-DOS use command line interface to accept user command. All of it function is done
base on the command typed by the user.

Within today Windows operating system, the command line interface still exists and plays a
very important role. When a windows OS unable to boot-up, the command line is critical to
perform system recovery and such.

PROCEDURE

1. Turn on the PC and wait until it enters windows.

2. In windows click start button and then select Run. A small Run window will appear.
You can also access this window by pressing the WINDOW key on the keyboard
together with the letter R.

3. Inside the open box type cmd or command and press ENTER. Another small
window will appear. This is the command prompt window. By default, the
background of this window is black. Now type cd\ and press ENTER. Next type cls
and press ENTER. The windows will be cleared and show the command prompt C:\
only

4. Now type help and press ENTER. This command will display all the commands that
can be use by typing it at the command prompt following certain arrangement.
5. To learn how to use any of the command type HELP follow by the command. For
example, to see how the command del is use type help del and press ENTER.

6. Now find the command to change the command prompt window background and
text color. The default color should be black background and white letters.

7. Using available command, change the background color to white and the letters to
light blue.

ACTIVITY 1H: MANAGING FOLDER USING THE COMMAND PROMPT

THEORY

Using the windows explorer make file and folder management fast and easy. However, the
command prompt is a powerful to manage file and folder. Sometime window will not allow
any change to be made to a folder or file while window is running. This happen because
window may be using that particular file/folder. So, the only way to access this file/folder
directly without loading window it through the command prompt in recovery console.

PROCEDURE

1. Open a new command prompt window. Open another command prompt window
and name it as ‘FOLDER MANAGER your name’. Use the START command to
perform this task. Close the first command prompt window

2. Change to root directory and clear the windows so that only the command prompt
C:\> is showing.

3. Using help, find the command to create a directory. Create a directory in the
computer second partition root directory. Name the directory as your using your
short name Example: AMRUL.

4. Again, using help, find the command to change your current prompt so that the
windows is now showing the new directory you create above as the command
prompt. Example F:\AMRUL>

5. Create a directory and name it as 001. Create 4 more directories and use 002, 003,
004 and 005 as their name respectively.

6. Inside each from 001 to 005 directories, create 2 directories and name them as
AoE and PvP respectively.

7. Now return the command prompt to the first directory you create (using your class
name). For example. F:\AMRUL>

8. Next type tree and press enter. Record /screenshot /draw the result. (At the end of
this lab sheet).

ACTIVITY 1J: MANAGING FILE USING THE COMMAND PROMPT

THEORY

Using the windows explorer, copy/create the entire LAB1J (Figure 1.1) into your folder.
Use the mouse to drag and copy the folder.

Figure 1.1 Content in LAB1J folder

PROCEDURE

1. Open a new command prompt window. Open another command prompt window and
name it as ‘FOLDER MANAGER your name’. Use the START command to
perform this task. Close the first command prompt window

2. Make the necessary changes so that your command prompt will display the folder
you copied into your folder previously example F:\AMRUL\LAB1J> as the
command prompt.
3. Now perform this task by using the appropriate command.

I. Copy all three files into the COPY folder. (Answer Question 4)

II. Rename the three original files to myfile1, myfile2 and myfile3 respectively.
Make sure the file type (.txt) remains the same.

III. Move the rename file into the MOVE folder.

6 RESULT
Make a screenshot with the description.

(5 marks)

7 DISCUSSION
Make a discussion based on the questions below.

1. Base on Activity 1E and 1F, explain why the virtual machine installer package options
is best left as default (memory size, hard disk size) when preparing for the installation?

(4 marks)

2. From Activity 1C&1D, compare 3 (THREE) features of Virtual Box and VMware player.

(6 marks)

3. From observation Activity 1G, fill in the Table 1.1 below.

COMMAND DESCRIPTION

HELP
Change the volume label of a disk

PRINT

Searches for a text string in a file or files.


(4 marks)
4. From Activity 1J, write down ALL 3 (THREE) commands to accomplish task.

Task Command

i. Copy all three files


into the COPY folder

ii. Rename all files.

iii. Move all three


files to MOVE folder

(6 marks)

8 CONCLUSION
Write conclusion based on your work in this practical session.

(5 marks)
PRACTICAL WORK 1.0 : PRACTICAL SKILL ASSESSMENT RUBRIC (PART A)
DEC50103 OPERATING SYSTEMS
Student Name : Class :
Student ID : Date :
SCORE DESCRIPTION SCALE SCORE

ASPECTS EXCELLENT VERY GOOD GOOD FAIR UNSATISFACTORY

5 4 3 2 1

Able to install VirtualBox Able to install VirtualBox Able to install VirtualBox after Unable to install VirtualBox
Install VirtualBox
A. successfully without assist by successfully with assist by second attempt/ Solve trouble although with assist by Unable to install VirtualBox x1
( Activity 1A)
lecturer. lecturer. shoot problems. lecturer.
Able to install VMWare Player Able to install VMWare Player Able to install VMWare Player Unable to install VirtualBox
Install VMWare Player
B. successfully without assist by successfully with assist by after second attempt/ Solve although with assist by Unable to install VirtualBox x1
( Activity 1B)
lecturer. lecturer. trouble shoot problems. lecturer.
Able to fully utilize VMWare Able to fully utilize VMWare Able to utilize VMWare Player Unable to utilize VMWare
Utilize VMWare Player Unable to Utilize VMWare
Player ODD and basic Network Player ODD and basic Network ODD and basic Network Player ODD and basic
C. ODD and basic Network Player ODD and basic x1
Setting correctly without Setting correctly with assist by Setting after second attempt/ Network Setting although
Setting ( Activity 1C) Network Setting.
assist by lecturer. lecturer. Solve trouble shoot problems. with assist by lecturer.
Able to fully utilize VirtualBox Able to fully utilize VirtualBox Able to utilize VirtualBox ODD Unable to utilize VirtualBox
Utilize VirtualBox ODD ODD and basic Network ODD and basic Network and basic Network Setting ODD and basic Network Unable to Utilize VirtualBox
D. and basic Network Setting correctly without Setting correctly with assist by after second attempt/ Solve Setting although with Player ODD and basic x1
Setting ( Activity 1D) Network Setting.
assist by lecturer. lecturer. trouble shoot problems. assist by lecturer.
Able to prepare VMWare virtual Able to prepare VMWare Able to prepare VMWare Unable to prepare VMWare Unable to prepare VMWare
Prepare VMWare virtual hard disk - without assist by virtual hard disk with assist by virtual hard disk at a time virtual hard disk although with virtual hard disk
E. hard disk lecturer. x1
lecturer. after second attempt / trouble assist by lecturer.
( Activity 1E)
shoot problems
Able to prepare VirtualBox Able to prepare VirtualBox Able to prepare VirtualBox Unable to prepare VirtualBox Unable to prepare
Prepare VirtualBox virtual virtual hard disk - without assist virtual hard disk with assist by virtual hard disk at a time virtual hard disk although with VirtualBox virtual hard disk
F. hard disk by lecturer. x1
lecturer. after second attempt / trouble assist by lecturer.
( Activity 1F)
shoot problems
Able to take initiative to identify Able to identify and solve Unable to identify and solve Unable to identify problem
Able to identify and solve
and solve unexpected problem unexpected problem after unexpected problem. and solve it.
G Troubleshooting problem unexpected problem with x1
using their own creativity second attempt/ trouble shoot
assist by lecturer.
without being assist by lecturer. problems
Total Practical Skill : / 35

……..……………………………………….….
Supervisor Name and Signature
PRACTICAL WORK 1.0 : PRACTICAL SKILL ASSESSMENT RUBRIC (PART B)
DEC50103 OPERATING SYSTEMS
Student Name : Class :
Student ID : Date :
SCORE DESCRIPTION SCALE SCORE

ASPECTS EXCELLENT VERY GOOD GOOD FAIR UNSATISFACTORY

5 4 3 2 1

Able to access command Able to access command Able to access command Unable to access command
Access command prompt
prompt and use HELP prompt and use HELP prompt after second attempt/ prompt although with assist Unable to access command
A. and use HELP command x1
command without assist by command with assist by Solve trouble shoot problems. by lecturer. prompt
(Activity 1G)
lecturer. lecturer.
Able to change MS DOS Able to change MS DOS Able to change MS DOS Unable to change MS DOS
Change MS DOS environment successfully environment successfully with environment after second environment although with Unable to change MS DOS
B. environment without assist by lecturer. assist by lecturer. x1
attempt/ Solve trouble shoot assist by lecturer. environment
(Activity 1G)
problems.
Able to type correct command Able to use command to Able to use command to Unable to use correct
Change directory, create
to change directory/create change directory/create change directory/create command to change Unable to use command to
new directory and use
C. directory and clear screen directory and clear screen directory and clear screen directory/create directory change directory/create x1
command to clear screen
without assist by lecturer. correctly with assist by lecturer. after second attempt/ Solve and clear screen although directory and clear screen
(Activity 1H)
trouble shoot problems. with assist by lecturer.
Able to type correct command Able to type correct command Able to type correct command Unable to type correct
Change file name and to change file name and copy to change file name and copy to change file name and copy command to change file Unable to type correct
D. copy files using without assist by lecturer. correctly with assist by lecturer. after second attempt/ Solve name and copy although command to change file x1
command (Activity 1J) name and copy
trouble shoot problems. with assist by lecturer.
Able to type correct command to Able to type correct command Able to type correct command Unable to type correct Unable to type correct
Rename file name using rename a file- without assist by to rename a file with assist by to rename a file after second command to rename a file command to rename a file
E. lecturer. x1
command (Activity 1J) lecturer. attempt / trouble shoot although with assist by
problems lecturer.
Able to type correct command to Able to type correct command Able to type correct command Unable to type correct Unable to type correct
Move files using move file - without assist by to move file with assist by to move file after second command to move file command to move file
F. lecturer. x1
command ( Activity 1J) lecturer. attempt / trouble shoot although with assist by
problems lecturer.
Able to take initiative to identify Able to identify and solve Unable to identify and solve Unable to identify problem
Able to identify and solve
and solve unexpected problem unexpected problem after unexpected problem. and solve it.
G Troubleshooting problem unexpected problem with x1
using their own creativity second attempt/ trouble shoot
assist by lecturer.
without being assist by lecturer. problems
Total Practical Skill : / 35

……..……………………………………….….
Supervisor Name and Signature

You might also like