Update: 此方法同样适用于RC和RTM,以及未来的SP1,SP2...

你可能想在上网本上安装Windows 7 Beta,但是上网本一般没有光驱,你很可能也没有为它另购外置光驱;另外你可能关注环保,不希望为下载的Windows 7 Beta ISO刻盘;或者你不喜欢从光驱安装的龟速和折腾。反正,Windows 7支持从USB移动硬盘或闪存盘安装。

所需设备:

  • U盘(闪存盘或硬盘) 1坨,自备

  • Windows 7 Beta 1安装DVD ISO文件 1坨,下载

  • Windows 7 Beta安装序列号 1坨,在下载页面申请

准备U盘(建启动分区):

在一台运行Windows的计算机上插入U盘,打开一个管理员权限的命令行并输入:

  • C:\>diskpart

  • DISKPART> list disk
    辨别分配给你的U盘编号,这里假设是2

  • DISKPART> select disk 2 (注意你的编号可能不是2)

  • DISKPART> clean

  • DISKPART> create partition primary

  • DISKPART> select partition 1

  • DISKPART> active

  • DISKPART> format fs=fat32

  • DISKPART> assign

  • DISKPART> exit

复制Windows 7安装文件到U盘

解开、刻录、或挂载你的Windows 7 DVD ISO到某处,例如 x:\ , 假设你的U盘是z: ,然后下:

  • C:\>xcopy x:\*.* /s/e/f z:\

从U盘安装

xcopy完成后,把U盘插到要装机的计算机上并重启。使用BIOS设置或按某个热键选择从U盘启动。然后按屏幕指示进行安装。

注释

  • JJ

    diskpart不认偶的U盘,该怎么办呢?

  • MSDN Archive

    you must use DISKPART from Windows Vista or later to operate a USB disk.

  • Anonymous

    The comment has been removed

  • Felix Wang

    We are talking about Installing Windows 7 here.  And more broadly, this discussion is about using one Windows computer to prepare installation disk for another computer without an optical drive.  There are two computers involved in this scenario.  And yes, you have to setup both if you don't have none of them ready.

  • Anonymous

    The comment has been removed