admin:windows:installstick

Create Windows 10 installation media

Source: http://serverfault.com/questions/6714/how-to-make-windows-7-usb-flash-install-media-from-linux

# partition with type 7 and bootable flag
cfdisk /dev/sdx

# make NTFS file system
mkfs.ntfs -f /dev/sdx1

ms-sys -7 /dev/sdx
# alternatives:
lilo -M  /dev/sdx mbr
dd if=/usr/lib/syslinux/bios/mbr.bin of=/dev/sdx

mount -o loop win7.iso /mnt/iso
mount /dev/sdx1 /mnt/usb
cp -r /mnt/iso/* /mnt/usb/
sync

Use Rufus.

  • Last modified: 2024-07-05 14:31