<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yojee</title>
    <description>The latest articles on DEV Community by Yojee (@yojeero).</description>
    <link>https://dev.to/yojeero</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2643622%2Fbae8fc35-e3ea-4ba4-a5eb-419f00ae6ac0.jpg</url>
      <title>DEV Community: Yojee</title>
      <link>https://dev.to/yojeero</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yojeero"/>
    <language>en</language>
    <item>
      <title>Creating a multiboot USB flash</title>
      <dc:creator>Yojee</dc:creator>
      <pubDate>Tue, 25 Feb 2025 02:15:32 +0000</pubDate>
      <link>https://dev.to/yojeero/usb-multiboot-1c4d</link>
      <guid>https://dev.to/yojeero/usb-multiboot-1c4d</guid>
      <description>&lt;h1&gt; 
Multiboot USB Flash Drive   
&lt;/h1&gt;   

&lt;p&gt;
Universal multiboot USB flash drive with support for Windows, Linux, WinPE and UEFI/Legacy BIOS.
&lt;/p&gt;     

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fot1qzz53rpj3n8ij1uz6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fot1qzz53rpj3n8ij1uz6.png" width="800" height="598"&gt;&lt;/a&gt; 
&lt;/p&gt;     

&lt;h2&gt;
  
  
  Quick start
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;graph LR;
Format[Format] --&amp;gt; Boot[MBR/PBR]
Boot --&amp;gt; Files[USB-Files]
Files --&amp;gt; ISO[ISO]
ISO --&amp;gt; Menu[menu.lst]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Contents
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Quick Start&lt;/li&gt;
&lt;li&gt;Features&lt;/li&gt;
&lt;li&gt;Supported Images&lt;/li&gt;
&lt;li&gt;How to Make the USB Flash Drive Bootable&lt;/li&gt;
&lt;li&gt;Preparing a Windows ISO Image&lt;/li&gt;
&lt;li&gt;WinContig — Analysis and Defragmentation&lt;/li&gt;
&lt;li&gt;
Themes
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;BIOS/UEFI&lt;/li&gt;
&lt;li&gt;Windows ISO&lt;/li&gt;
&lt;li&gt;Linux ISO&lt;/li&gt;
&lt;li&gt;WinPE/LiveCD&lt;/li&gt;
&lt;li&gt;Themes&lt;/li&gt;
&lt;li&gt;Multiple ISOs on a single USB drive&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Supported ISOs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Windows 10 / 11&lt;/li&gt;
&lt;li&gt;Macrium Reflect&lt;/li&gt;
&lt;li&gt;WinPE / LiveCD environments&lt;/li&gt;
&lt;li&gt;Arch Linux&lt;/li&gt;
&lt;li&gt;Kali Linux&lt;/li&gt;
&lt;li&gt;CachyOS&lt;/li&gt;
&lt;li&gt;Debian-based distributions&lt;/li&gt;
&lt;li&gt;Most modern Linux distributions
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to make the USB flash drive bootable
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Installing the bootloader&lt;/strong&gt;   &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;[!IMPORTANT]&lt;br&gt;
The USB flash drive must be formatted as one partition.   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Select a File System
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;FAT32/NTFS&lt;/strong&gt;→ Choose the file system that best suits your needs.   &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;[!IMPORTANT]&lt;br&gt;
FAT32 → does not support files larger than 4 GB   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Activate the Partition
&lt;/h4&gt;

&lt;p&gt;Open Bootice and select your USB drive.   &lt;/p&gt;

&lt;h4&gt;
  
  
  Formatting a USB flash drive
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;File System
├─ FAT32/NTFS
└─ Start LBA → 2048
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;File system&lt;/th&gt;
&lt;th&gt;Features&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;FAT32&lt;/td&gt;
&lt;td&gt;Compatible, but files up to 4 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NTFS&lt;/td&gt;
&lt;td&gt;Supports large ISO files&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Parts Manage
├─ Re-Partitioning
├─ USB-HDD mode (Single Partition)
└─ Activate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Install MBR
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Bootice
└─ Process MBR
    └─Windows NT 5.x/6.x
        └─ Install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Install PBR
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Bootice
└─ Process PBR
   └─ Grub4Dos
      └─ Install
         └─ Version 0.4.6a
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Creating a Multiboot USB Drive
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Format the USB flash drive using → &lt;strong&gt;Bootice → Parts Manage → Repartitioning&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Using BOOTICE, perform Re-Partitioning as described in the section above. → &lt;strong&gt;How ​​to make the USB flash drive bootable&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Copy the contents of the folder → &lt;strong&gt;USB-Files&lt;/strong&gt; to the USB flash drive.
&lt;/li&gt;
&lt;li&gt;Integrate the driver → FiraDisk &lt;strong&gt;into&lt;/strong&gt; the Windows ISO image.
&lt;/li&gt;
&lt;li&gt;Copy the ISO image to the folder → &lt;strong&gt;ISO&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Edit the file → &lt;strong&gt;menu.lst&lt;/strong&gt; so that the ISO paths and names match.
&lt;/li&gt;
&lt;li&gt;Copy the Linux distributions to the &lt;strong&gt;TUX&lt;/strong&gt; folder
&lt;/li&gt;
&lt;li&gt;Copy WinPE / LiveCD images to the &lt;strong&gt;PE&lt;/strong&gt; folder
&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;[!IMPORTANT]&lt;br&gt;
If desired, all ISOs can be stored in one directory.&lt;br&gt;&lt;br&gt;
Folders "ISO, TUX, PE, Apps" are created solely for convenience.   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Structure of a multiboot flash drive
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Multiboot USB root/
│
├──GFX/
│ ├── mac.gz
│ └── unifont.hex.gz
│
├── Apps/
│
├── ISO/
├── PE/
├── TUX/
│
├── AutoUnattend.xml
├── GRLDR
├── liveusbl
├── winpeshl.ini
│
└── menu.lst
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;[!IMPORTANT]&lt;br&gt;
A multiboot flash drive created using this scheme works in both BIOS Legacy and UEFI.   &lt;/p&gt;

&lt;p&gt;[!WARNING]&lt;br&gt;
Some ISO images may require disabling Secure Boot in the BIOS/UEFI to boot.   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Preparing a Windows ISO image
&lt;/h2&gt;

&lt;p&gt;To run Windows installation from a USB flash drive, you need to integrate the &lt;strong&gt;FiraDisk driver&lt;/strong&gt; into the ISO image.&lt;br&gt;&lt;br&gt;
For this purpose → &lt;strong&gt;FiraDisk_integrator&lt;/strong&gt; is used.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Create a working folder
├─ Use Latin characters in the folder name
├─ No spaces
├─ Maximum 8 characters
├─ Copy the Windows ISO into the folder
├─ Place the FiraDisk_integrator script in the same folder
└─ Run the script as administrator
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;[!IMPORTANT]&lt;br&gt;
You can copy several Windows ISO, of different editions and 32-bit and 64-bit versions.&lt;br&gt;&lt;br&gt;
The script processes all ISO images located in the same folder sequentially and, based on them, creates its own ISO images with the FiraDisk driver.   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  WinContig — Analysis &amp;amp; Defragmentation
&lt;/h2&gt;

&lt;p&gt;When working with multiboot flash drives, ISO files should not be fragmented.   &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;[!IMPORTANT]&lt;br&gt;
If the ISO is fragmented, errors or problems may occur while loading the ISO into memory.   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;ISO check&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;WinContig → Analyze
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;[!IMPORTANT]&lt;br&gt;
If the program shows the need for optimization, perform defragmentation.   &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Defragmentation&lt;/strong&gt;→ launch WinContig&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;List of drives
├─ Select flash drive
├─ Properties
├─ Service
├─ Check
└─ Optimize
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Themes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Themes&lt;/strong&gt; → located in the &lt;code&gt;make_skins/skins&lt;/code&gt; folder&lt;/p&gt;

&lt;p&gt;How to Install a New Theme&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Select the skin file → for example → mac.gz   
├─ Copy it to the folder → GFX
├─ Edit → menu.lst 
├─ Find the line → gfxmenu /GFX/sony.gz
└─ Replace → sony.gz with mac.gz
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;City&lt;/th&gt;
&lt;th&gt;Art&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6dkh3wayrn9v50jgn1n4.png" alt=" " width="800" height="598"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faudijqw302uktn69lw8y.png" alt=" " width="800" height="598"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Yellow&lt;/th&gt;
&lt;th&gt;Moda&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Floyz9zeig2r3samzsfx0.png" alt=" " width="800" height="598"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fot1qzz53rpj3n8ij1uz6.png" alt=" " width="800" height="598"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  GitHub
&lt;/h2&gt;

&lt;p&gt;Source files, configs, and themes:   &lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/yojeero/usb_multiboot" rel="noopener noreferrer"&gt;yojeero/usb_multiboot&lt;/a&gt; / &lt;a href="https://github.com/yojeero/usb_multiboot/blob/main/README_Ru.md" rel="noopener noreferrer"&gt;описание на русском&lt;/a&gt;   &lt;/p&gt;

</description>
      <category>usb</category>
      <category>linux</category>
      <category>windows</category>
      <category>winpe</category>
    </item>
  </channel>
</rss>
