How to make a pen drive bootable and load OS from it:
Generally to load an operating system into an hard disk we use a
bootable CD/DVD. But sometimes a situation may arise where booting with a
CD is not possible.In that case we can use a pendrive to make it
bootable and load OS from it.
To make a pendrive bootable open command prompt (With Administrator Rights) and follw the below commands:
>>Type DISKPART in command prompt:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>diskpart
Microsoft DiskPart version 6.1.7600
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: GURUNATH-PC
>>Type LIST DISK
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 465 GB 0 B
Disk 1 Online 14 GB 0 B
>>This will show all the disks attached to your system.Now select
disk in which your pendrive is attached. In my case it disk 1
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.
DISKPART> select partion 1
Microsoft DiskPart version 6.1.7600
DISK - Shift the focus to a disk. For example, SELECT DISK.
PARTITION - Shift the focus to a partition. For example, SELECT PARTITION.
VOLUME - Shift the focus to a volume. For example, SELECT VOLUME.
VDISK - Shift the focus to a virtual disk. For example, SELECT VDISK.
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> format fs=ntfs quick
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
DISKPART> exit
Leaving DiskPart...
>>Now navigate to the directory where your os is located and
naviagte to Boot directory. In mycase in my H: direcotry i have my os.
C:\Windows\system32>h:
H:\>cd boot
H:\BOOT>bootsect.exe/nt60 g:
Target volumes will be updated with BOOTMGR compatible bootcode.
>>Here g: is the label of your pendrive.
G: (\\?\Volume{25f0b204-570b-11e2-bacb-001e101f7f74})
Successfully updated NTFS filesystem bootcode.
Bootcode was successfully updated on all targeted volumes.
H:\BOOT>
Now you have successfully created a bootable pendrive and now we ready ready to load os from that drive.
Comments