COMPUTER SYSTEMS
SERVICING 11
Quarter 1
Self-Learning Module 17
DOS Commands in Preparing Bootable
Devices
EXPECTATIONS
At the end of this module, learners should be able to:
1. explain DOS commands in preparing bootable devices;
2. follow DOS commands in preparing bootable devices;
3. appreciate the importance of DOS commands in preparing bootable devices.
PRETEST
Directions: Read carefully the following questions. Choose the letter of the best answer and
write it on your notebook.
1. Commands used to communicate with the operating system and other command line-
based applications.
A. POS C. BOS
B. DOS D. SOS
2. A mechanism where computer hardware can be used instead of a hard disk or a CD drive
to access all the important machine booting information and data.
A. DVD boot C. USB boot
B. POST boot D. Flash boot
3. This is the command to view active disks on your machine.
A. diskpart B. active C. list disk D. clean
4. The command for formatting current partition as NTFS file system quickly.
A. format fs=fat quick C. format fs=active quick
B. format fs=clean quick D. format fs=ntfs quick
5. By default, the active Administrator Permission directory of Command Prompt is located
at?
A. C:\Windows\System32 > C. A:\Windows\System32 >
B. D:\Windows\System32 > D. B:\Windows\System32 >
RECAP
In the previous module, you have learned about introduction to bootable software’s. You
were made aware about the 10 best USB applications for Windows / Mac to help you build a USB
bootable Drive. Yet we will need a Bootable Program to allow a USB bootable usable. Also, to
complete the process, you'll need a web- connected Windows or MacOS computer, A flash drive
with at least 8 GB of space, And a disk image (iso file). With these, you are a step closer to create a
bootable drive with the said bootable software’s.
This module is a continuation of the previous topic where you will know what are the DOS
commands in preparing bootable devices.
LESSON
DOS commands - are the MS-DOS (Microsoft-Disk Operating System) commands used to
communicate with the operating system and other command line- based applications. Unlike in
Windows, the primary way you use the operating system is by DOS commands. Windows and other
current OSs use a touch or mouse- based, graphics-based interface. When you're using Windows (like
Windows 10, 8, 7, etc.), you don't require DOS instructions, since you don't have MS-DOS.
Whether you've just set up your new PC or upgraded your old PC to a newer version of
Windows, you may like a bootable pendrive that has Windows Operating System on it. A USB boot is
a mechanism where computer hardware can be used instead of a hard disk or a CD drive to access
all the important machine booting information and data.
For Dos, command-prompt is readily accessible in all Dos models. It's actually a simpler job to
build a bootable USB with a command prompt. To get your USB bootable you can follow the steps
given below.
Using DISKPART Command
1. Insert your flash drive onto your computer running. We need to run Command Prompt as your
administrator as the first step. To do so, we need to find cmd by entering 'cmd' in the
Windows Start Menu search window. Once 'cmd' has been scanned, right-click it and pick
"Run as administrator."
Image 1.1 command prompt
2. In Command Prompt type 'diskpart' (without quotes) and press Enter. Wait a bit, before the
system runs DISKPART.
Image 1.2 diskpart
3. To view active disks on your machine, type 'list disk' and press Enter. It can be shown that
with their overall size, the active disks seen as Disk 0 for hard drive and Disk 1 for your USB
flash drive.
Image 1.3 list disk
4. Type 'select disk 1' to decide the operation of disk 1 in the next stage, and then press Enter.
Image 1.4 select disk 1
5. Type 'clean' and hit Enter to delete all data from the drive.
Image 1.5 clean
6. Select 'create partition primary' and press Enter. Creating a main partition, and being known
as 'partition 1' by Windows.
Image 1.6 create partition primary
7. Type 'select partition 1' and hit Enter. Choosing the partition 1 for setting up it as an active
partition.
Image 1.7 select partition 1
8. Type 'active' and hit Enter. Activating current partition.
Image 1.8 active
9. Type 'format fs=ntfs quick' and hit Enter. Formatting current partition as NTFS file system
quickly.
Image 1.9 format fs=ntfs quick
10. Type 'exit' button and hit Enter. Exit DISKPART program but then do not close the Prompt
button. Still, we will need it for the next step.
Image 1.10 exit
Creating Boot sector
Suppose the flash / USB drive is D: drive and the ISO image or DVD driver on drive F:, The first
step is to navigate Command Prompt to set ISO image or DVD as its active directory for installation.
1. By default, the active Administrator Permission directory of Command Prompt is on
C:\Windows\System32 >. We'll be using Command Prompt to install as the working directory
on ISO image or DVD (F:). Only click 'f:' then press Enter, and changed the active directory to
F.
2. Type 'cd boot' button and press Enter. Changed Active Directory to F:\boot
>.
3. Type the bootsect /nt60 d: and press Enter. Creating boot sector on D: drive (USB flash drive).
4. Type 'exit' and tap Enter to close the Prompt command. At this phase, we have successfully
made a bootable USB disk, and the flash drive is ready for use as a boot device.
Copying Installation Files
To install Windows from a bootable USB drive, we merely need to transfer to flash drive the
entire installation files found on the ISO image or DVD installer. To do so, open the Prompt button, as
in previous steps. Upon opening, type 'xcopy f:\*.
* d: \/E/H/F' then click Enter. Stay before the ISO image or DVD installer transfers all files to the flash
drive. Then you're ready to use bootable USB drive to load Windows from your flash drive and you're
done!
ACTIVITIES
A. Direction: Rearrange the following procedures in their proper order. Use numbers to
indicate their order of precedence. The first number is done for you.
Using DISKPART Command
5 1. Type 'clean' and hit Enter.
2. Type 'active' and hit Enter.
3. Select 'create primary partition' and press Enter.
4. Type 'select partition 1' and hit Enter.
5. Insert your flash drive onto your computer running. find cmd by entering 'cmd' in the
Windows Start Menu search window.
6. In Command Prompt type 'diskpart' (without quotes) and press Enter.
7. type 'list disk' and press Enter.
8. Type 'select disk 1' to decide the operation of disk 1 in the next stage, and then press
Enter.
9. Type 'format fs=ntfs quick' and hit Enter.
10. Type 'exit' button and hit Enter.
B. Direction: Match Column A with Column B. Write the letter of your answer in a separate
paper.
A B
1. to view active disks on your a. active
machine b. list disk
2. to delete all data from the drive. c. clean
3. to activate current partition. d. exit
4. to create main partition e. creates primary
5. to exit diskpart program partition
WRAP-UP
This module talked about DOS commands in preparing bootable devices. Specifically, it discussed
the procedures in using diskpart command, creating boot sector and copying installation files from
ISO image or DVD installer. In addition, unlike in Windows, the primary way you use the operating
system is by DOS commands. Windows and other current OSs use a touch or mouse-based, graphics-
based interface. When you're using Windows (like Windows 10, 8, 7, etc.), you don't require DOS
instructions, since you don't have MS-DOS.
Now, as learners, aside from the several points mentioned above. You can use the blank spaces
provided in the next page to answer and react to the following cases or scenarios:
• Would you be able to make use of this knowledge obtained in this module? In what
particular scenario would it be?
• What do you think is the essence of following the correct procedures of DOS commands
in preparing bootable devices?
VALUING
DIRECTION: Read and answer the following questions carefully in two to three sentences each
number.
1. How will you use the knowledge you acquired about DOS commands in preparing bootable
devices?
2. Cite a situation in which you can apply the knowledge of understanding DOS commands in
preparing bootable devices?
POST-TEST
Direction: Write T on the line if the statement is correct and F if the statement is wrong.
1. The Windows and other current OSs use a touch or mouse-based, graphics- based interface.
2. MS-DOS (Microsoft-Disk Operating System) commands used to communicate with the
operating system and other command line-based applications.
3. When you're using Windows (like Windows 10, 8, 7, etc.), you don't require DOS instructions,
since you don't have MS-DOS.
4. A SATA boot is a mechanism where computer hardware can be used instead of a hard disk or a
CD drive to access all the important machine booting information and data.
5. Make It's actually a simpler job to build a bootable USB with a command prompt.
6. The Type 'select partition' and hit Enter. Choosing the partition 1 for setting up it as an active
partition.
7. Select 'create primary partition' and press Enter. Creating a main partition, and being known
as 'partition 1' by Windows.
8. By default, the active Administrator Permission directory of Command Prompt is on
C:\Windows\System32 >.
9. Type the bootsect /nt64 d: and press Enter. Creating boot sector on D: drive (USB flash drive).
10. To install Windows from a bootable USB drive, we merely need to transfer to flash drive the
entire installation files found on the ISO image or DVD installer