0% found this document useful (0 votes)
1K views12 pages

DOS Commands in Preparing Bootable Devices

This document provides instructions on using DOS commands to prepare bootable devices. It begins by explaining that DOS commands are used to communicate with command line applications, unlike modern operating systems with graphical interfaces. It then outlines the steps to create a bootable USB drive using DOS commands in the diskpart and cmd prompts. These include cleaning the drive, creating a partition, formatting it as NTFS, making it active, and creating the boot sector. Finally, it describes copying installation files from an ISO or DVD image to complete the process of making a bootable USB install drive.

Uploaded by

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

DOS Commands in Preparing Bootable Devices

This document provides instructions on using DOS commands to prepare bootable devices. It begins by explaining that DOS commands are used to communicate with command line applications, unlike modern operating systems with graphical interfaces. It then outlines the steps to create a bootable USB drive using DOS commands in the diskpart and cmd prompts. These include cleaning the drive, creating a partition, formatting it as NTFS, making it active, and creating the boot sector. Finally, it describes copying installation files from an ISO or DVD image to complete the process of making a bootable USB install drive.

Uploaded by

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

Module 17:

DOS commands in preparing


bootable devices
For the Learner:

Welcome to the Computer Systems Servicing Grade 11 Self-Learning Module


on DOS commands in preparing bootable devices!

This module was designed to provide you with fun and meaningful
opportunities for guided and independent learning at your own pace and time. You
will be enabled to process the contents of the learning material while being an active
learner.

This module has the following parts and corresponding icons:

Expectations - This points to the set of knowledge and skills


that you will learn after completing the module.

Pretest - This measures your prior knowledge about the lesson


at hand.

Recap - This part of the module provides a review of concepts


and skills that you already know about a previous lesson.

Lesson - This section discusses the topic in the module.

Activities - This is a set of activities that you need to perform.

Wrap-Up - This section summarizes the concepts and


application of the lesson.

Valuing - This part integrates a desirable moral value in the


lesson.

Posttest - This measure how much you have learned from the
entire module.
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?

___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________

POSTTEST

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
Pretest key to correction Posttest key to correction
1. B 1. T 6. F
2. C 2. T 7. T
3. C 3. T 8. T
4. D 4. F 9. T
5. A 5. T 10. T
Activity key to correction
A. B.
1. 5 6. 2 1. b
2. 8 7. 3 2. c
3. 6 8. 4 3. a
4. 7 9. 9 4. e
5. 1 10. 10 5. d
KEY TO CORRECTION

You might also like