Dos Command
Dos Command
PREVIOUS
LESSON
WHAT IS A BOOTABLE
MEDIA?
A “bootable USB” is a regular
USB storage device (like a USB
stick or external hard drive) that
has an “ISO image” of an
operating system saved on it.
WHAT ARE THE DIFFERENT TYPES OF BOOTABLE
MEDIA?
• DiskmakerX • YUMI
• Universal USB • Etcher
Installer • WinSetUpFromUSB
• EaseUs • RMPrepUSB
• UNetBootin
• Windows USB/DVD
Tool
• Rufus
OBJECTIVE OF THE LESSON
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.
4.Perform a task to create a bootable media using Dos
Commands.
DOS COMMANDS
The DOS command prompt is a critical part
of the Microsoft Disk Operating System
(MS-DOS) command line interface. It is the
fundamental setting for the interface, where
the prompt sets the stage for executing
command lines of code.
How to Create a Bootable USB
Drive Without Using Any
Software
(Using MS DOS Command)
LESSON OBJECTIVE
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.
4. Perform
a task to create a bootable media using Dos
Commands.
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."
2. In Command Prompt type
'diskpart' (without quotes) and
press Enter. Wait a bit, before
the system runs 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.
4. Type 'select disk 1' to
decide the operation of
disk 1 in the next stage,
and then press Enter.
5. Type 'clean' and
hit Enter to delete all
data from the drive.
6. Select 'create partition
primary' and press Enter.
Creating a main partition and
being known as 'partition 1' by
Windows.
7. Type 'select partition 1' and
hit Enter. Choosing the
partition 1 for setting up it as
an active partition.
8. Type 'active' and
hit Enter. Activating
current partition.
9. Type 'format fs=ntfs
quick' and hit Enter.
Formatting current partition
as NTFS file system quickly.
•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.
CREATING BOOT SECTOR
Suppose the flash / USB drive is D:
drive and the ISO image or DVD
driver on drive E:, 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 (E:). Only
click ‘e:' then press Enter, and changed the
active directory to E.
2. Type ‘e:cd boot' button
and press Enter. Type ‘e:cd
boot' Changed Active
Directory to E:\boot >.
3. Type 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 USB BOOTABLE FILES TO THE NEWLY
CREATED BOOTABLE USB.
QUESTIONS: