Preperation tool to make Windows dual-boot work easily with BlossomOS
- C# 100%
| BlossomPrepTool | ||
| icons | ||
| .gitignore | ||
| app-icon.png | ||
| app-icon.svg | ||
| BlossomPrepTool.slnx | ||
| LICENSE | ||
| README.md | ||
BlossomOS Switch
Preperation tool to make Windows dual-boot work easily with BlossomOS
Highlights
- Guided wizard with two setup modes: Just Flash USB and Dual‑Boot Setup
- Downloads the latest BlossomOS image from the CDN and verifies SHA‑256
- Pause/resume and cancelable downloads
- Flash USB drive using balena‑cli (auto‑installed via Chocolatey)
- Restore a BlossomOS USB back to a normal Windows USB (DiskPart)
- Resize the C: partition safely with validation and fallbacks
- Configure system settings for Linux compatibility (UTC clock, disable Fast Startup)
- Optional WinBtrfs installation for Windows access to Btrfs partitions
- Translated UI
Setup Modes
Just Flash USB
For creating a BlossomOS recovery USB only.
Dual‑Boot Setup
Adds disk resizing, system settings, and WinBtrfs installation for a complete dual‑boot preparation flow.
Requirements
- Windows 10/11
- .NET Framework 4.7.2
- Administrator privileges (required for disk/partition and system‑setting operations)
- Internet connection (for ISO download and Chocolatey packages)
- USB drive (the tool filters out very large/system drives for safety)
Usage Overview
- Launch the app as Administrator.
- Choose Just Flash USB or Dual‑Boot Setup.
- Select a USB drive.
- Download the BlossomOS image or select a local ISO.
- Flash the USB (or restore a USB back to normal format).
- (Dual‑Boot) Resize the C: partition, apply system settings, and install WinBtrfs.
- Finish and optionally reboot into UEFI firmware settings.
ISO Download and Cache
Downloaded images are cached in the system temp directory:
%TEMP%\BlossomOS\BlossomOS.iso
The SHA‑256 checksum is validated using the metadata from:
https://cdn.blossomos.org/iso/isodata.json
Building from Source
Open the solution file and build with Visual Studio:
preptool/BlossomPrepTool.slnx
Target framework: .NET Framework 4.7.2
Notes & Safety
- Flashing or restoring a USB drive erases all data on that drive.
- Resizing partitions always carries risk. Ensure important data is backed up.
- Some steps (DiskPart, power settings, registry changes) require admin rights.
License
See LICENSE.