desktop-ubuntu/_installs/woeusb.sh

32 lines
416 B
Bash
Executable File

#!/usr/bin/zsh
sudo apt install -y \
git \
p7zip-full \
python3-pip \
python3-wxgtk4.0 \
grub2-common \
grub-pc-bin \
wimlib-imagex \
wimtools \
build-essential
# install
sudo add-apt-repository -y \
ppa:tomtomtom/woeusb
sudo apt update -y
sudo apt install -y \
woeusb
# get disk list
sudo fdisk -l
# use
sudo woeusb \
--target-filesystem NTFS \
-d /Data/Iso/wnd-10.iso \
/dev/sdX