mac 制作usb启动盘_如何使用Mac制作Windows 10 USB-从Mac终端构建可启动的ISO
mac 制作usb启动盘
Most new PCs don't come with DVD drives anymore. So it can be a pain to install Windows on a new computer.
大多数新PC不再附带DVD驱动器。 因此,在新计算机上安装Windows可能会很痛苦。
Luckily, Microsoft makes a tool that you can use to install Windows from a USB storage drive (or "thumbdrive" as they are often called).
幸运的是,Microsoft提供了一种可用于从USB存储驱动器(通常称为“拇指驱动器”)安装Windows的工具。
But what if you don't have a second PC for setting up that USB storage drive in the first place?
但是,如果您没有第二台PC来首先设置该USB存储驱动器怎么办?
In this tutorial we'll show you how you can set this up from a Mac.
在本教程中,我们将向您展示如何从Mac进行设置。
步骤1:下载Windows 10 ISO档案 (Step 1: Download the Windows 10 ISO file)
You can download the ISO file straight from Windows. That's right - everything we're going to do here is 100% legal and sanctioned by Microsoft.
您可以直接从Windows下载ISO文件。 没错-我们在这里要做的所有事情都是100%合法的,并受到Microsoft的认可。
If you want an English-language version of the latest update of Windows 10, you can download the ISO here.
如果要使用Windows 10最新更新的英语版本,可以在此处下载ISO 。
If you have a relatively new computer, you probably want the 64-bit version. If you're not sure, go with the 32-bit version to be safe.
如果您有一台相对较新的计算机,则可能需要64位版本。 如果不确定,请确保使用32位版本。
If you want a non-English-language version of Windows, or want to get an older update version, download the ISO here instead.
如果您需要Windows的非英语版本,或者想要获得较旧的更新版本,请在此处下载ISO 。
第2步:将USB存储驱动器插入Mac (Step 2: Insert your USB storage drive into your Mac)
The ISO file is only about 5 gigabytes, but I recommend you use a USB drive with at least 16 gigabytes of space just in case Windows needs more space during the installation process.
ISO文件只有大约5 GB,但是我建议您使用至少16 GB的USB驱动器,以防Windows在安装过程中需要更多空间。
I bought a 32 gigabyte USB drive at Walmart for only $3, so this shouldn't be very expensive.
我在沃尔玛只花了3美元购买了一个32 GB的USB驱动器,所以它应该不会很昂贵。
Stick your USB drive into your Mac. Then open your terminal. You can do this using MacOS Spotlight by pressing both the ⌘ and Space bar at the same time, then typing "terminal" and hitting enter.
将USB驱动器插入Mac。 然后打开您的终端。 您可以使用MacOS Spotlight做到这一点,方法是同时按下⌘和空格键,然后键入“终端”并按Enter。
Don't be intimidated by the command line interface. I'm going to tell you exactly which commands to enter.
不要被命令行界面吓到。 我将确切告诉您要输入的命令。
步骤3:使用diskutil命令确定USB安装在哪个驱动器上 (Step 3: Use the diskutil command to identify which drive your USB is mounted on)
Open Mac Spotlight using the ⌘ + space keyboard shortcut. Then type the word "terminal" and select Terminal from the dropdown list.
使用⌘+空格键快捷键打开Mac Spotlight。 然后输入单词“ terminal”,然后从下拉列表中选择Terminal。
Paste the following command into your terminal and hit enter:
将以下命令粘贴到您的终端中,然后按Enter:
diskutil list
diskutil list
You will see output like this (note - your Mac's terminal may be black text on a white background if you haven't customized it).
您将看到这样的输出(注意-如果您的Mac终端没有自定义,则其终端可能是白色背景上的黑色文本)。
Copy the text I point to here. It will probably be something like
复制我指向的文本。 可能会像
/dev/disk2
.
/dev/disk2
。
步骤4:格式化USB驱动器以与Windows一起使用 (Step 4: Format your USB Drive to work with Windows)
Next format your USB drive to Windows FAT32 format. This is a format that Windows 10 will recognize.
接下来,将USB驱动器格式化为Windows FAT32格式。 这是Windows 10可以识别的格式。
Note that you should replace the disk2
with the name of the your drive from step 3 if it wasn't disk2
. (It may be disk3
or disk4
).
请注意,您应该更换disk2
与第3步你的驱动器的名称,如果不是disk2
。 (可能是disk3
或disk4
)。
Run this command using the correct disk number for your USB:
使用正确的USB磁盘号运行以下命令:
diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2
diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2
Then you'll see terminal output like this.
然后,您将看到这样的终端输出。
This will probably only take about 20 seconds on a newer computer, but may take longer on an older computer.
在较新的计算机上,这可能只需要大约20秒,但是在较旧的计算机上,则可能需要更长的时间。
Note that for some hardware, you may instead need to run this command, which uses the MBR format for partitioning instead of GPT. Come back and try this command if step 7 fails, then redo steps 5, 6, and 7:
请注意,对于某些硬件,您可能需要运行此命令,该命令使用MBR格式而不是GPT进行分区。 如果步骤7失败,请返回并尝试使用此命令,然后重做步骤5、6和7:
diskutil eraseDisk MS-DOS "WIN10" MBR /dev/disk2
步骤5:使用hdiutil
挂载Windows 10文件夹并准备进行传输。 (Step 5: Use hdiutil
to mount the Windows 10 folder and prepare it for transfer.)
Now we're going to prep our downloaded ISO file so we can copy it over to our USB drive.
现在,我们将准备下载的ISO文件,以便将其复制到USB驱动器中。
You will need to check where your downloaded Windows 10 ISO file is and use that. But your file is probably located in your ~/Downloads
folder with a name of Win10_1903_V1_English_x64.iso
.
您将需要检查下载的Windows 10 ISO文件在哪里,并使用它。 但是您的文件可能位于~/Downloads
文件夹中,名称为Win10_1903_V1_English_x64.iso
。
hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso
hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso
步骤6:将Windows 10 ISO复制到USB驱动器 (Step 6: Copy the Windows 10 ISO over to your USB Drive)
Update April 2020: One of the files in the Windows 10 ISO – install.wim – is now too large to copy over to a FAT-32 formatted USB drive. So I'll show you how to copy it over separately.
2020年4月更新: Windows 10 ISO中的文件之一– install.wim –现在太大,无法复制到FAT-32格式的USB驱动器。 因此,我将向您展示如何分别复制。
Thank you to @alexlubbock for coming up with this workaround.
感谢@alexlubbock提出此解决方法。
First run this command to copy over everything but that file:
首先运行以下命令以复制除该文件以外的所有内容:
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WIN10
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WIN10
Then run this command to install Homebrew (if you don't have it installed on your Mac yet):
然后运行以下命令来安装Homebrew(如果尚未在Mac上安装它):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then use Homebrew to install a tool called wimlib with this terminal command:
然后使用Homebrew通过以下终端命令安装名为wimlib的工具:
brew install wimlib
brew install wimlib
Then go ahead and create the directory that you're going to write the files into:
然后继续创建将文件写入其中的目录:
mkdir /Volumes/WIN10/sources
mkdir /Volumes/WIN10/sources
Then run this command. It will use wimlib to split the install.wim file into 2 files less than 4 GB each, then copy them over to your USB:
然后运行此命令。 它将使用wimlib将install.wim文件拆分为2个小于4 GB的文件,然后将其复制到USB:
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000
Once that's done, you can eject your USB from your Mac inside Finder.
完成后,您可以从Finder中的Mac弹出USB。
步骤7:将USB插入新PC并开始加载Windows (Step 7: Put your USB into your new PC and start loading Windows)
Congratulations - your computer now should boot directly from your USB drive. If it doesn't, you may need to check your new PC's BIOS and change the boot order to boot from your USB drive.
恭喜-您的计算机现在应该直接从USB驱动器启动。 如果不是,则可能需要检查新PC的BIOS并更改启动顺序以从USB驱动器启动。
Windows will pop up a screen and start the installation process.
Windows将弹出一个屏幕并开始安装过程。
Enjoy your new PC, and your newly-installed copy of Windows.
享受您的新PC和Windows的新安装副本。
翻译自: https://www.freecodecamp.org/news/how-make-a-windows-10-usb-using-your-mac-build-a-bootable-iso-from-your-macs-terminal/
mac 制作usb启动盘
相关文章:

作业05-继承、多态、抽象类与接口
1. 本周学习总结 1.1 写出你认为本周学习中比较重要的知识点关键词 接口,Comparable,Comparator 1.2 尝试使用思维导图将这些关键词组织起来。 1.3 可选:使用常规方法总结其他上课内容。 1.接口特点:一个公开的界面 有统一定义的规…

炫彩流光按钮 html+css
话不多,先上效果: 简介: 用基础css做一个有一点炫酷的流光按钮,不止按钮,只要是盒子就行。 具体步骤: 1.先定义一个盒子当做按钮,如我就用a标签: <body><a href"#…

SQL取上一条, 下一条记录方法
如果我们需要取id为3的前后的1条记录. 就可以用以下方法 取上一条记录: select * from 表名 where id<3 order by id desc limit 1取下一条记录: select * from 表名 where id>3 order by id asc limit 1大小于比较 order limit 转载于:https://www.cnblogs.com/…

react中使用构建缓存_通过构建海滩度假胜地网站,了解如何使用React,Contentful和Netlify...
react中使用构建缓存In this full course from John Smilga you will learn React by building a beach resort website project. The project uses React router for routing, React context API for state management, Contentful headless CMS for data management, and Net…

R语言实战 - 基本统计分析(2)- 频数表和列联表
数据: > library(vcd) > head(Arthritis)ID Treatment Sex Age Improved 1 57 Treated Male 27 Some 2 46 Treated Male 29 None 3 77 Treated Male 30 None 4 17 Treated Male 32 Marked 5 36 Treated Male 46 Marked 6 23 …

随机位置显示图片不重叠前端实现详细讲解附效果图,代码可直接使用
目录先看看效果图所要实现的功能看看代码js代码讲解:下面看看完整代码吧小程序版本完整代码VUE版本的代码:先看看效果图 所要实现的功能 在页面上随机的位置显示随机大小的图片,并且每个图片不能重叠,完整实现代码。 看看代码 …

MVC缓存OutPutCache学习笔记 (一) 参数配置
OutPutCache 参数详解 Duration : 缓存时间,以秒为单位,这个除非你的LocationNone,可以不添加此属性,其余时候都是必须的。 Location : 缓存放置的位置; 该值为枚举值: None: 当被设置为None时,其余的任何设置将不起作…

在Mac上控制Alt Delete-如何在Macbook上打开任务管理器
It happens to the best of us: were working away on some important project, and our trusty computer freezes. Or rather, a program were in just stops responding. So what do you do?这对我们最好的人来说是偶然的:我们正在做一些重要的项目,而…

HEW MAP文件使用
参考资料转载于:https://www.cnblogs.com/iluzhiyong/p/5145396.html

算法导论九章 答案
http://blog.csdn.net/z84616995z/article/details/18840823?reload 9.3-8题: http://blog.csdn.net/z84616995z/article/details/18938181 9.3-9题: http://blog.csdn.net/z84616995z/article/details/18889535转载于:https://www.cnblogs.com/sa51718…

小程序实现瀑布流,获取图片高度分成两组数据的函数封装代码
把一个数组根据数组内部的图片的高度,拆分成两个数组,组成瀑布流数据的方法。 使用方式: async created() {var arr this.$mock.sssdata.data.lists;//arr 是一个数组,里面包含若干对象,对象里面有图片var myArr a…

实现线程哪种方法更好_实施数据以实现更好的用户体验设计的4种方法
实现线程哪种方法更好Gone are the days when design used to rely mainly on the color palettes and the creativity of the designer. In the rapidly expanding technological world of today, it is essential to work across departments to enhance the screen experien…

String比较.equals
首先定义四个变量str public class SIzhui {public static void main(String[] args) {String str1"wang";String str2"li";String str3"wang";String str4new String("wang");} } 然后进行比较 public class SIzhui {public static …

mac下mysql5.7.10密码问题
mysql5.7.10刚安装好,会生成一个随机密码。 如果没记住这个随机密码,那么到mysql/bin/下执行mysql_secure_installation命令 按照提示重置密码和其他选项。 ps:找了一下午终于找到方法了!!! 转载于:https:/…

Error: Cannot find module ‘express‘
解决方案:把node_module整个文件夹删掉,然后npm clean cache,看下package.json里有没有express的依赖项,有的话直接npm install,没有的话 npm install express --save

Observables简介以及它们与Promise有何不同
‘Observables’, ‘Observables’, ‘Observables’...Yes! Today, we will talk about this often discussed word of the market. Well also learn how they are different from Promises (havent heard about Promises? Not to worry! You will know more soon). Let’s s…

Spring Boot项目错误:Error parsing lifecycle processing instructions
pom.xml文件错误:Error parsing lifecycle processing instructions 解决方法:清空.m2/repository下的所有依赖文件,重新下载即可解决该问题。转载于:https://www.cnblogs.com/EasonJim/p/7724683.html

oracle执行计划连接方式
嵌套循环(Nested Loops (NL))假如有A、B两张表进行嵌套循环连接,那么Oracle会首先从A表中提取一条记录,然后去B表中查找相应的匹配记录,如果有的话,就把该条记录的信息推到等待返回的…

大转盘完整源码附效果图,可以下载直接用
本转盘实现功能,可以动态配置奖品和转盘相关的任何图片,可以灵活配置使用。是基于 uni-app 实现的。可以在小程序或者H5,各端兼容使用。 效果图:因为GIF图的掉帧,所以显示抽奖的转动速度慢,实际上转动比较…

使用FortJs使用现代JavaScript开发Node.js
介绍 (Introduction) Nodejs gives you the power to write server side code using JavaScript. In fact, it is very easy and fast to create a web server using Nodejs. There are several frameworks available on Node package manager which makes the development eve…

find 按时间查找
find 按时间查找 转载▼分类: linuxShell日记-mtime 修改时间-ctime 改变时间-atime 访问时间-mtime 5 至少5天之前修改过的文件,至少5天没修改过-mtime -5 5天之内修改过的文件-mtime 5 刚好5天前修改的文件 -perm 按权限查找 -perm 001 精确匹配权限…

转:从零开始做app需要做的事情列表
https://qdan.me/list/VaXl7N8emfv1ayWg 从零开始做App的Bootstrap 做一个App,需要很多东西。 不定期更新。 团队 工欲善其事,必先利其器。 需求管理 支持版本、迭代、需求的创建与管理。 产品经理在上面录入需求,开发参照开发,测…

uniapp自定义导航栏样式,自定义导航栏组件使用说明,兼容小程序和H5及各端
实现思路: 把底部导航做成一个组件,点击导航显示的页面也做成组件,在启动页面引入这四个组件,点击封装的导航组件就显示相应的组件页面,这样就不会出现页面重新加载的问题了,有个弊端就是导航页面不能使用…

javascript优化_如何通过使用服务人员来优化JavaScript应用
javascript优化Every now and then we hear about optimizing something. There are different kinds of optimizations we can do to make our apps faster and more efficient, or to save time or memory. This article will cover one of those methods — service worke…

【视觉SLAM14讲】ch3课后题答案
1.验证旋转矩阵是正交矩阵 感觉下面这篇博客写的不错 http://www.cnblogs.com/caster99/p/4703033.html 总结一下:旋转矩阵是一个完美的矩阵——正交矩阵。①行列式为1,②每个列向量都是单位向量且相互正交,③它的逆等于它的转置。 2.罗德里…

【转载】邻接表表示法
图的邻接表表示法 图的邻接表表示法类似于树的孩子链表表示法。对于图G中的每个顶点v i ,该方法把所有邻接于v i 的顶点v j 链成一个带头 结点的单链表,这个单链表就称为顶点v i 的邻接表(Adjacency List)。 1. 邻接表的结点结构 (…

宝塔的服务忽然挂掉解决方法
先登录宝塔看内存是否满了 如果满了就点击文件,找到大文件进行删除,然后清空回收站,重启服务器,就解决了。 清空回收站:点击首页,打开终端,输入下面命令, 清空回收站的命令是&#…

免费创办网站_足够好的工程来创办一家互联网公司
免费创办网站I gave a guest lecture in an undergraduate software engineering class (CSCE431) at Texas A&M University in March 2019. Now I’ve turned this lecture into a blog post here, and hopefully some people on the Internet will find this useful.我于…

centos7下安装docker(11容器操作总结)
这段时间主要是学习了对容器的操作,包括:容器的状态:start,stop,restart,rename,pause,unpause,rm,attach,exec,kill,logs…

Js插入元素到数组的头部和尾部 unshift push
我们经常会使用JS 数组插入数据,下面看一下常用的 1. 在数组头部插入元素 var arr [1,2,3]; arr.unshift(0);arr 输出结果: //arr [0,1,2,3] 2. 在数组尾部插入元素 var arr [1,2,3]; arr.push(4);arr 输出结果: //arr [1,2,3,4]