1. 准备windows系统镜像
比如我的iso镜像:zh-cn_windows_10_business_editions_version_22h2_updated_april_2023_x64_dvd_c03ed5aa.iso
镜像挂载后可以看到关键文件
2. 对移动硬盘进行分区
list disk select disk n clean convert gpt select partition 1 delete partition override create partition efi size=200 format quick fs=fat32 assign letter=x 给磁盘分配X盘用于UEFI引导 create partition primary format quick fs=ntfs assign letter=y 给磁盘分配Y盘用于保存操作系统 exit
3. 文件解压和引导制作
DISM.exe /Get-ImageInfo /ImageFile:I:\sources\install.wim DISM.exe /Apply-Image /ImageFile:I:\sources\install.wim /Index:4 /ApplyDir:Y: 将I盘的install.wim写道刚刚制作的Y盘 bcdboot.exe Y:\Windows /s X: bcdedit.exe /store X:\EFI\Microsoft\Boot\BCD /set {bootmgr} device partition=X: bcdedit.exe /store X:\EFI\Microsoft\Boot\BCD /set {default} device partition=Y: bcdedit.exe /store X:\EFI\Microsoft\Boot\BCD /set {default} osdevice partition=Y:
将引导制作到X盘,引导Y盘的Windows系统
标签:set,windows,移动硬盘,partition,EFI,exe,win10 From: https://www.cnblogs.com/riveruns/p/17381872.html