A standalone, low-level disk manager written in C# to prepare, partition, and format drives for Linux entirely from Windows. Direct Win32 sector writes bypass Windows disk limitations, strip MSR slices, and synthesize native ext4 and SWAPSPACE2 layouts with zero external DLLs.
Self-contained C# executable. Direct Win32 raw physical sector access.
| Part # | Type / Identity | Capacity (G... | Starting LBA Offset | Boot / Active | |
|---|---|---|---|---|---|
| 1 | EFI System Partition | 0.20 GB | 1,048,576 | [YES] Boot/E... | |
| 2 | Windows / Basic | 0.02 GB | 210,763,776 | No | |
| 3 | Windows / Basic | 473.88 GB | 227,540,992 | No | |
| 4 | Windows / Basic | 0.83 GB | 509,054,287,872 | No | |
| 5 | Windows / Basic | 2.00 GB | 509,949,771,776 | No |
1. Native Managed ext4 Formatter
Synthesizes and writes the complete ext4 superblock (0xEF53), block groups, inode allocation bitmaps, root inode, and directory descriptors directly in C#.
2. Zero External Dependencies
No MSYS2, no Cygwin, no external e2fsprogs or mke2fs.dll binaries. Everything executes via low-level kernel32 Win32 I/O sector streams.
3. Automated UEFI Preparation
Initializes GPT tables, writes an EFI System Partition (ESP) with FAT32, creates Swap, and formats the remaining volume as an ext4 root.
4. Microsoft Reserved (MSR) Stripping
Automatically purges the unwanted 16 MB hidden MSR partition injected by Windows disk tools, ensuring pure, uncorrupted Linux partition layouts.
5. Modern SWAPSPACE2 Engine
Formats Linux Swap spaces with complete page-0 geometry, bad block pointers, and custom UUIDs recognized immediately by the Linux kernel.
6. Low-Level Sector Inspector
Directly reads and parses live drive sectors to decode FAT32 BIOS Parameter Blocks (BPB), ext4 superblocks, and swap signatures in real time.
| Partition | Type / GUID | Filesystem | Default Size | Description |
|---|---|---|---|---|
| Partition 1 | C12A7328-F81F-11D2-BA4B-00A0C93EC93B | FAT32 | 512 MB | UEFI System Partition (/boot/efi) |
| Partition 2 | 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F | Swap | 8192 MB | Linux Swap Space (SWAPSPACE2) |
| Partition 3 | 0FC63DAF-8483-4772-8E79-3D69D8477DE4 | ext4 | Remainder | Linux Root Filesystem (/) |
Grab the source code or publish a single-file portable release from GitHub.
Download on GitHub