jpz4085 / BOOTDISK

BASH script based utility for creating DOS and Windows bootable media.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BOOTDISK - Flash Drive Formatting Tool

This utility consists of a set of BASH scripts that will automatically configure removable media using GPT or MBR partition schemes and format with FAT16/32, exFAT or NTFS and the required bootstrapping code to enable startup on UEFI and BIOS systems. It provides functionality under macOS and Linux similar to the Rufus USB Tool for Windows.

Features

  • Create a FreeDOS 1.3 boot disk with the basic utilities such as FDISK,FORMAT,SYS,EDIT etc.

  • Create a MS-DOS boot disk using the version included with Windows from XP to 8.1. (Enable from Tools Menu)

  • Create bootable Windows install media and Windows To Go media from an ISO image.1

  • Create UEFI bootable exFAT or NTFS disks using the UEFI:NTFS bootloader downloaded by the main script.

  • Create a boot disk using the pre-built UEFI Shell image provided by Pete Batard.

  • Download official retail Windows ISOs and UEFI Shell ISOs using the Fido script. Requires PowerShell 3.0 or greater.

  • Calculate the SHA-1 checksum for Windows ISO files and search for that value in the sha1.rg-adguard.net databases.

  • Customize the Windows installation process to automatically create a local account, configure privacy settings, select language and timezone settings, skip wireless network setup and disable automatic BitLocker encryption.

  • Customize Windows 11 installation media for unsupported hardware (disable TPM, Secure Boot and RAM requirements).

  • Additional information on the features above is available by selecting the About option.

Installation

Build exfatboot utility for macOS.2

make

Install or uninstall as desired.

sudo make install
sudo make uninstall

Update an existing installation.

sudo make update

Requirements3

Common packages: p7zip, mtools, hivex, bcd-sys, powershell, and jq (JSON processor).
Install these in addition to the packages for your platform.

Linux packages: curl, ms-sys, exfatprogs, ntfs-3g and wimtools.
User should be member of "disk" group for unprivileged device access.

macOS packages: bash (above version 3.2), wimlib and NTFS write support.
These can be downloaded using MacPorts or Homebrew.
Optionally ms-sys and sgdisk are supported if present.
The Tuxera and Paragon NTFS products are supported.

Footnotes

  1. See the Troubleshooting section of NOTES for help if the terminal is forced closed due to a memory issue.

  2. This is not required when ms-sys is present.

  3. The main script will warn of missing dependencies required for basic functionality. Review the requirements for your platform and install anything needed to provide missing features.

About

BASH script based utility for creating DOS and Windows bootable media.

License:GNU General Public License v3.0


Languages

Language:Shell 31.7%Language:JavaScript 13.5%Language:SystemVerilog 12.4%Language:Slash 11.9%Language:NewLisp 8.8%Language:Perl 8.2%Language:Ruby 4.3%Language:C 3.3%Language:Raku 2.7%Language:Prolog 1.7%Language:Makefile 1.1%Language:Batchfile 0.2%Language:Python 0.1%