
我打算在我的筆記型電腦上安裝 Linux Mint,我認為它可以滿足我對筆記型電腦的需求。只是事實並非如此,因為我一開始就對 Linux 不太聰明。
我再次嘗試在該筆記型電腦上為 Windows 10 建立可啟動 USB,只是我做錯了一些事情,現在我的筆記型電腦上也有 Linux,所以上面不再有作業系統了。
我唯一剩下的就是 Raspberry Pi 4。
現在我的問題是,Raspberry Pi 上有 Kali Linux。我可以使用此 Raspberry Pi 創建適用於 Windows 的可啟動 USB 隨身碟還是我被困住了?
答案1
A Linux program to create a Windows USB stick installer from a real Windows DVD or image.
This package contains two programs:
woeusb: A command-line utility that enables you to create your own bootable Windows installation USB storage device from an existing Windows Installation disc or disk image
woeusbgui: Graphic version of woeusb
Supported images:
Windows Vista, Windows 7, Window 8.x, Windows 10. All languages and any version (home, pro...) and Windows PE are supported.
Supported bootmodes:
Legacy/MBR-style/IBM PC compatible bootmode
Native UEFI booting is supported for Windows 7 and later images (limited to the FAT filesystem as the target)
安裝 WoeUSB-ng 的依賴項
烏班圖
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0
Fedora(測試於:Fedora Workstation 33)
sudo dnf install git p7zip p7zip-plugins python3-pip python3-wxpython4
安裝 WoeUSB-ng
sudo pip3 install WoeUSB-ng
從原始碼安裝
安裝 WoeUSB-ng 的建置依賴項
烏班圖
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0
拱
sudo pacman -Suy p7zip python-pip python-wxpython
Fedora(測試於:Fedora Workstation 33)
sudo dnf install git p7zip p7zip-plugins python3-pip python3-wxpython4
安裝 WoeUSB-ng
git clone https://github.com/WoeUSB/WoeUSB-ng.git
cd WoeUSB-ng
sudo pip3 install .
從本地或虛擬環境中的源代碼安裝
git clone https://github.com/WoeUSB/WoeUSB-ng.git
cd WoeUSB-ng
git apply development.patch
sudo pip3 install -e .
請注意,這不會建立選單快捷方式,您可能需要執行 gui 兩次,因為它可能需要調整策略。
解除安裝
要完全刪除 WoeUSB-ng,請運行(僅在使用原始程式碼安裝時需要):
sudo pip3 uninstall WoeUSB-ng
sudo rm /usr/share/icons/WoeUSB-ng/icon.ico \
/usr/share/applications/WoeUSB-ng.desktop \
/usr/local/bin/woeusbgui
sudo rmdir /usr/share/icons/WoeUSB-ng/
其他方法
使用 ppa
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install woeusb
答案2
在 DVD、ISO 檔案或 USB 隨身碟上建立 Windows 安裝媒體的典型方法是使用 Microsoft 提供的媒體建立工具https://www.microsoft.com/en-us/software-download/windows10
這將安裝可用的最新版本,並將滿足任何人 90% 的 Windows 安裝需求。