socminarch/windows-usb-image-sh

Project ID: 22407

Description

windows-usb-image-sh is a Bash script for copying disk images to block devices. It can either copy the disk image files to the block device (Copy Mode), or use DD to copy the disk image itself to the block device. Checksums are performed on both the source image and the destination block device to ensure data integrity.

Installation Instructions

Required arguments

  • -s Source image file
  • -d Destination block device
  • -c SHA1 checksum of source image file
  • -C|-D Specify whether to use Copy Mode (-C) or DD Mode (-D)

Optional arguments

  • -b Partition block size

Copy Mode

Copy Mode will create a 512KB FAT32 partition at the start of the block device, and an NTFS partition in the remaining space. The FAT32 partition contains the UEFI:NTFS bootloader, and the NTFS partition contains the source image file contents.

DD Mode

DD Mode will use dd to clone the source image onto the destination block device. Copying will not be performed if the destination block devices checksum is the same as that of the source images.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
EPEL 6 x86_64 (2)* EPEL 6 (0 downloads)
EPEL 7 x86_64 (0)* EPEL 7 (93 downloads)
Fedora 38 x86_64 (2)* Fedora 38 (0 downloads)
Fedora 39 x86_64 (4)* Fedora 39 (19 downloads)
Fedora 40 x86_64 (2)* Fedora 40 (20 downloads)
Fedora 41 x86_64 (0)* Fedora 41 (5 downloads)
Fedora rawhide x86_64 (1)* Fedora rawhide (88 downloads)
Mageia cauldron x86_64 (0)* Mageia cauldron (99 downloads)
openSUSE Tumbleweed x86_64 (0)* openSUSE Tumbleweed (99 downloads)

* Total number of downloaded packages.