linux u盘刻录软件,Deepin Linux下刻录Windows安装U盘:WoeUSB的介绍和应用
WoeUSB是用于GNU+Linux的Microsoft Windows USB安裝介質(zhì)工具,用它可以在Deepin等Linux系統(tǒng)下刻錄Windows安裝U盤。
介紹
1、特征:
支持舊版PC/UEFI引導(dǎo)。
支持FAT32和NTFS文件系統(tǒng)。
支持使用物理安裝光盤或磁盤映像作為源。
2、支持的Windows安裝映像:
Windows Vista及更高版本。
任何語言或版本變體。
Windows PE。
注意:非官方安裝映像可能受支持,但不能保證一定行。
3、依存關(guān)系:
以下是WoeUSB所需的一種或多種依賴關(guān)系。如果沒有在適當(dāng)?shù)奈恢冒惭b以下軟件,WoeUSB將無法運行:
GNU Bash:用于解釋和執(zhí)行程序邏輯,需要>= 4.3。
GNU核心實用程序(Coreutils):對于基本操作必需的通用Unix實用程序。
實用Linux:用于與存儲設(shè)備等交互的低級實用程序。
GNU Grep和Gawk:用于從命令輸出中解析出必要的信息。
GNU查找實用程序:枚舉操作所需的文件。
GNU GRUB:用于安裝舊PC引導(dǎo)中使用的引導(dǎo)程序代碼。我們特別需要i386-pc架構(gòu)的模塊,對于基于Debian的發(fā)行版,這些模塊通過grub-pc-bin包提供。
GNU Parted:用于處理磁盤分區(qū)表和分區(qū)。
GNU Wget:用于獲取Pete Batard的UEFI:NTFS UEFI引導(dǎo)程序。
dosfstools:用于在--device創(chuàng)建方法中創(chuàng)建FAT文件系統(tǒng)。
NTFS-3G:用于在--device創(chuàng)建方法中創(chuàng)建NTFS文件系統(tǒng)。
另外,如果沒有p7zip、Pete Batard的UEFI:NTFS UEFI引導(dǎo)程序依賴關(guān)系,WoeUSB仍將能夠運行,但是某些功能將不可用。
從源運行
WoeUSB是無需安裝即可運行的程序(不包括其依賴項):
從發(fā)行頁面下載程序(woeusb-N.N.N.bash),比如woeusb-5.0.4.bash,下載地址是https://github.com/WoeUSB/WoeUSB/releases。
修復(fù)缺少的可執(zhí)行文件權(quán)限(chmod +x path/to/woeusb-N.N.N.bash)。
啟動終端應(yīng)用程序并通過適當(dāng)?shù)穆窂竭\行程序(sudo path/to/woeusb-N.N.N.bash --help)。
附:要應(yīng)用前先去下載WoeUSB,按上面的地址下載。
放入/usr/bin目錄,woeusb命令如下:
sudo woeusb --tgt-fs NTFS --device win10_14393_x64_Lite2016.09.09.iso /dev/sdX
WoeUSB v5.0.4
===================
Mounting source filesystem...
Wiping all existing partition table and filesystem signatures in /dev/sdc...
/dev/sdc: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdc: calling ioctl to re-read partition table: 成功
Ensure that /dev/sdc is really wiped...
Creating new partition table on /dev/sdc...
Creating target partition...
Making system realize that partition table has changed...
Wait 3 seconds for block device nodes to populate...
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.
--2020-12-28 14:39:22-- https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img
正在解析主機 github.com (github.com)... 13.229.188.59
正在連接 github.com (github.com)|13.229.188.59|:443... 已連接。
已發(fā)出 HTTP 請求,正在等待回應(yīng)... 302 Found
位置:https://raw.githubusercontent.com/pbatard/rufus/master/res/uefi/uefi-ntfs.img [跟隨至新的 URL]
--2020-12-28 14:39:24-- https://raw.githubusercontent.com/pbatard/rufus/master/res/uefi/uefi-ntfs.img
正在解析主機 raw.githubusercontent.com (raw.githubusercontent.com)... 199.232.68.133
正在連接 raw.githubusercontent.com (raw.githubusercontent.com)|199.232.68.133|:443... 已連接。
已發(fā)出 HTTP 請求,正在等待回應(yīng)... 200 OK
長度:524288 (512K) [application/octet-stream]
正在保存至: “/tmp/WoeUSB.s3SP1E.tempdir/uefi-ntfs.img”
uefi-ntfs.img 100%[===================>] 512.00K 9.50KB/s 用時 54s
2020-12-28 14:40:19 (9.49 KB/s) - 已保存 “/tmp/WoeUSB.s3SP1E.tempdir/uefi-ntfs.img” [524288/524288])
記錄了1024+0 的讀入
記錄了1024+0 的寫出
524288 bytes (524 kB, 512 KiB) copied, 0.295137 s, 1.8 MB/s
Mounting target filesystem...
Copying files from source media...
grep: /tmp/woeusb-source-20201228-143819-Monday.rWvDOH/sources/cversion.ini: 沒有那個文件或目錄
Installing GRUB bootloader for legacy PC booting support...
Installing for i386-pc platform.
Installation finished. No error reported.
Installing custom GRUB config for legacy PC booting...
Unmounting and removing "/tmp/woeusb-source-20201228-143819-Monday.rWvDOH"...
Unmounting and removing "/tmp/woeusb-target-20201228-143819-Monday.5cC8ti"...
You may now safely detach the target device
Done :)
The target device should be bootable now
安裝到這一步,等了10分鐘左右!
Installing GRUB bootloader for legacy PC booting support...
Installing for i386-pc platform.
相關(guān)主題
總結(jié)
以上是生活随笔為你收集整理的linux u盘刻录软件,Deepin Linux下刻录Windows安装U盘:WoeUSB的介绍和应用的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java visitor_java11教
- 下一篇: linux du -sh 脚本,Linu