How to make bootable pendrive with commands

What You Need:
  1. A USB flash drive with good storage capacity; preferably 4GB or more.
  2. Access to a computer running Windows Vista or Windows 7.
  3. A CD or DVD containing software you want to download.
Getting Started:
Connect the USB flash drive to a computer running Windows Vista or 7 and follow the steps below:

  1. Click Start > All Programs > Accessories > Right click on Command Prompt > Run as Administrator

  1. Type ‘diskpart' and press Enter to start the built in Windows disk partitioning utility
  1. Type 'list disk' and press Enter. Identify your USB Flash drive and make a note of the disk number.  Here in this example, My USB flash drive is Disk 1.
  1. Type 'select disk 1' and press Enter.
  1. Type ‘clean’ and press Enter. The clean command will remove partitions or volume formatting from the selected disk (disk 1) by zeroing sectors.
  1. Now to create a partition, type 'create partition primary’ and press Enter.
  1. Type 'select partition 1', and press the Enter key.
  1. Type ‘active’, and hit the Enter Key.
  1. To format the partition using FAT32 file system, type ‘format fs=fat32’ and press the Enter key.
  1. Type 'assign' and press the Enter key to assign a drive letter to your USB flash drive. Type exit to exit the diskpart utility.

Your USB flash drive is now ready to be used as an installation media. All you need to do is copy the entire contents of the Operating System DVD to your newly prepared USB flash drive. Plug the USB flash drive to the computer and reboot to begin the installation.

Note: Make sure to set the first boot device to USB flash drive from the BIOS.

No comments:

Post a Comment