How to create a USB boot disk from Windows 8 PowerShell

Source: Internet
Author: User
Tags file system requires

You may already be familiar with the method of creating a Windows USB boot disk for operating system booting and installing, which typically requires third-party tools such as Ultraiso,windows 7 USB tool or RM to load installation ISO image files, Copy the install binary and then use the DiskPart Disk Management tool to encapsulate the boot partition.

In WINDOWS8 now, USB boot disk is made simpler, you can no longer need third-party tools or DiskPart disk partition tools, Windows 8 itself can load ISO or VHD (virtual disk).

In the past, the process was as follows: DiskPart partition, List disk (display disk), select or create disk and partition, activate partition, format NTFS file system, through Bootsect command such as Bootsect/nt60 F: (f is File system load letter), Finally, you can copy the installation image data for startup. (third-party tools, of course, the final step will be much easier)

In Windows 8, using PowerShell (which requires elevated privileges to run for an administrator), you can follow these methods as follows:

1. Get-disk Displays the # serial number of the USB disk

2. Clear-disk # (designated as the selected USB disk number)

3. New-partition–disknumber 1–usemaximumsize–isactive: $true

4. Format-volume–filesystem Ntfs–driveletter F

5. Bootsect.exe/nt60 F:

Now that the USB disk is ready, you can install the binary via the Copy-item cmdlet copy directly after loading ISO or VHD installation media in the system.

What do you think? Simple no, interested in the children's shoes according to the prescription bar ~

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/home/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.