{"id":68,"date":"2021-03-09T10:34:54","date_gmt":"2021-03-09T08:34:54","guid":{"rendered":"http:\/\/cimalink.eu\/blog\/?p=68"},"modified":"2021-03-09T10:34:54","modified_gmt":"2021-03-09T08:34:54","slug":"create-a-multiboot-usb-from-linux","status":"publish","type":"post","link":"https:\/\/cimalink.eu\/blog\/create-a-multiboot-usb-from-linux\/","title":{"rendered":"Create a MultiBoot USB from Linux"},"content":{"rendered":"\n<p>I have tested:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>MultiSystem (\u00a0<a rel=\"noreferrer noopener\" href=\"http:\/\/liveusb.info\/dotclear\" target=\"_blank\">http:\/\/liveusb.info\/dotclear )<\/a><\/li><li>MultiBoot USB (doesn&#8217;t exist anymore)<\/li><li>Easy2Boot (<a href=\" https:\/\/www.easy2boot.com\/\"> https:\/\/www.easy2boot.com\/<\/a> )<\/li><li>VenToy ( <a href=\"https:\/\/www.ventoy.net\/en\/index.html\">https:\/\/www.ventoy.net\/en\/index.html<\/a> )<\/li><\/ul>\n\n\n\n<p>For me the best and easiest solution is ventoy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is ventoy<\/h2>\n\n\n\n<p>Ventoy is an open source tool to create bootable USB drive for ISO\/WIM\/IMG\/VHD(x)\/EFI files.<br>With ventoy, you don&#8217;t need to format the disk over and over, you just need to copy the ISO\/WIM\/IMG\/VHD(x)\/EFI files to the USB drive and boot them directly.<br>You can copy many files at a time and ventoy will give you a boot menu to select them (<a href=\"https:\/\/www.ventoy.net\/en\/screenshot.html\">screenshot<\/a>).<br>x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are supported in the same way.<br>Most type of OS supported (Windows\/WinPE\/Linux\/Unix\/VMware\/Xen&#8230;)<br><strong>620+<\/strong>&nbsp;ISO files are tested (<a href=\"https:\/\/www.ventoy.net\/en\/isolist.html\">list<\/a>), &nbsp; &nbsp;&nbsp;<strong>90%+<\/strong>&nbsp;distros in&nbsp;<a target=\"_blank\" href=\"https:\/\/distrowatch.com\/dwres.php?resource=popularity\" rel=\"noreferrer noopener\">distrowatch.com<\/a>&nbsp;supported (<a href=\"https:\/\/www.ventoy.net\/en\/distrowatch.html\">details<\/a>),<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Features<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>100% open source\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/doc_license.html\">(license)<\/a><\/li><li>Very simple to use\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/doc_start.html\">(Get started)<\/a><\/li><li>Fast (limited only by the speed of copying iso file)<\/li><li>Can be installed in USB\/Local Disk\/SSD\/NVMe\/SD Card<\/li><li>Directly boot from ISO\/WIM\/IMG\/VHD(x)\/EFI files, no extraction needed<\/li><li>No need to be continuous in disk for ISO\/WIM\/IMG\/VHD(x)\/EFI files<\/li><li>Both MBR and GPT partition style are supported<\/li><li>x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI, MIPS64EL UEFI supported<\/li><li>IA32\/x86_64 UEFI Secure Boot supported\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/doc_secure.html\">Notes<\/a><\/li><li>Persistence supported\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/plugin_persistence.html\">Notes<\/a><\/li><li>Windows auto installation supported\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/plugin_autoinstall.html\">Notes<\/a><\/li><li>RHEL7\/8\/CentOS7\/8\/SUSE\/Ubuntu Server &#8230; auto installation supported\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/plugin_autoinstall.html\">Notes<\/a><\/li><li>FAT32\/exFAT\/NTFS\/UDF\/XFS\/Ext2(3)(4) supported for main partition<\/li><li>ISO files larger than 4GB supported<\/li><li>Native boot menu style for Legacy &amp; UEFI<\/li><li>Most type of OS supported, 620+ iso files tested<\/li><li>Linux vDisk(vhd\/vdi\/raw&#8230;) boot solution\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/plugin_vtoyboot.html\">Notes<\/a><\/li><li>Not only boot but also complete installation process<\/li><li>Menu dynamically switchable between ListView and TreeView mode\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/doc_treeview.html\">Notes<\/a><\/li><li>&#8220;Ventoy Compatible&#8221; concept<\/li><li>Plugin Framework<\/li><li>Injection files to runtime enviroment<\/li><li>Boot configuration file dynamically replacement<\/li><li>Highly customizable theme and menu style<\/li><li>USB drive write-protected support<\/li><li>USB normal use unaffected<\/li><li>Data nondestructive during version upgrade<\/li><li>No need to update Ventoy when a new distro is released<\/li><\/ul>\n\n\n\n<p>Download Ventoy <a href=\"https:\/\/www.ventoy.net\/en\/download.html\">here<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Start to use Ventoy<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Install Ventoy To USB Drive<\/li><li>For Windows<\/li><\/ul>\n\n\n\n<p>Download the installation package, like ventoy-x.x.xx-windows.zip and decompress it.<br>Run&nbsp;<code>Ventoy2Disk.exe<\/code>&nbsp;, select the device and click Install or Update button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ventoy.net\/static\/img\/ventoy2disk_en.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ventoy.net\/static\/img\/install_arrow_en.png\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ventoy.net\/static\/img\/ventoy2disk2_en.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Notes:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>if Ventoy2Disk.exe always fail, you can use Ventoy LiveCD, refer\u00a0<a href=\"https:\/\/www.ventoy.net\/en\/doc_livecd.html\">notes<\/a><\/li><li>Ventoy can be installed on USB drive or local disk. To prevent misoperation, Ventoy2Disk.exe only lists USB drives by default.<br>You can toggle the\u00a0<code>Show all devices<\/code>\u00a0option then all the disks will be listed. But at this time, you must be very careful and don\u2019t choose the wrong disk.<\/li><li>MBR\/GPT partition style option is used only during install and will be ignored during update.<\/li><li>After install, the 1st partition will be formated in exFAT, and you can manually reformat it with FAT32\/NTFS\/UDF\/XFS\/Ext2\/3\/4<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Linux GUI<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>1. Background<\/li><\/ul>\n\n\n\n<p>For convenience, Ventoy has provided a web browser-based GUI in Linux system since 1.0.36.<br>The UI layout and usage have no difference with Ventoy2Disk.exe in Windows.<br><br><strong>Notes: If you run into problem in the GUI, you can use Ventoy2Disk.sh to install or update Ventoy. Refer&nbsp;<a href=\"https:\/\/www.ventoy.net\/en\/doc_start.html#doc_linux_cli\">usage<\/a><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>2. Screenshot<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ventoy.net\/static\/img\/webui_en.png\" alt=\"\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>3. Usage for Deepin\/UOS<\/li><li>3.1 How to use<\/li><\/ul>\n\n\n\n<p>Just run&nbsp;<code>sudo sh VentoyWebDeepin.sh<\/code>&nbsp;in the terminal.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>3.2 How to close<\/li><\/ul>\n\n\n\n<p>Close the pop-up window or press&nbsp;<code>Ctrl + c<\/code>&nbsp;in the terminal.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>4. Usage for Other Linux<\/li><li>4.1 How to use<\/li><\/ul>\n\n\n\n<p>1. run&nbsp;<code>sudo sh VentoyWeb.sh<\/code>&nbsp;in the terminal<br>2. open browser and visit&nbsp;<code>http:\/\/127.0.0.1:24680<\/code><\/p>\n\n\n\n<p>Tip: Step 1 will print the http address in the terminal. In many distros you can just press&nbsp;<code>Ctrl<\/code>&nbsp;and click the link with your mouse meanwhile.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>4.2 How to close<\/li><\/ul>\n\n\n\n<p>1\u3001Close the web browser<br>2\u3001In the terminal, press&nbsp;<code>Ctrl + c<\/code>&nbsp;to exit<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For Linux &#8211; CLI mode<\/li><\/ul>\n\n\n\n<p>Download the installation package, like ventoy-x.x.xx-linux.tar.gz and decompress it.<br>Run the shell script as root&nbsp;<code>sh Ventoy2Disk.sh { -i | -I | -u } \/dev\/XXX&nbsp;<\/code>&nbsp; XXX is the USB device, for example \/dev\/sdb.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Ventoy2Disk.sh CMD [ OPTION ] \/dev\/sdX\n  CMD:\n    -i   install ventoy to sdX (fail if disk already installed with ventoy)\n    -I   force install ventoy to sdX (no matter installed or not)\n    -u   update ventoy in sdX\n    -l   list Ventoy information in sdX\n    \n  OPTION: (optional)\n   -r SIZE_MB  preserve some space at the bottom of the disk (only for install)\n   -s          enable secure boot support (default is disabled)\n   -g          use GPT partition style, default is MBR style (only for install)\n   -L          Label of the 1st exfat partition (default is ventoy)\n<\/pre>\n\n\n\n<p><strong>Attention that the USB drive will be formatted and all the data will be lost after install.<\/strong><br>You just need to install Ventoy once, after that all the things needed is to copy the iso files to the USB.<br>You can also use it as a plain USB drive to store files and this will not affact Ventoy&#8217;s function.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Copy Image files<\/li><\/ul>\n\n\n\n<p>After the installation is complete, the USB drive will be divided into 2 partitions. The 1st partition was formated with exFAT filesystem (You can also reformat it manually with NTFS\/FAT32\/UDF\/XFS\/Ext2\/3\/4 &#8230; See&nbsp;<a href=\"https:\/\/www.ventoy.net\/en\/doc_disk_layout.html\">Notes<\/a>). You just need to copy iso files to this partition. You can place the iso\/wim\/img\/vhd(x) files any where. Ventoy will search all the directories and subdirectories recursively to find all the image files and list them in the boot menu alphabetically. Also you use plugin configuration to tell Ventoy only to search for image files in a fixed directory (and its subdirectories).<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Update Ventoy<\/li><\/ul>\n\n\n\n<p>If a new version of Ventoy is released, you can update it to the USB drive.<br><strong>It should be noted that the upgrade operation is safe, all the files in the first partition will be unchanged.<\/strong><br>Upgrade operation is in the same way with installation.\u00a0<code>Ventoy2Disk.exe<\/code>\u00a0and\u00a0<code>Ventoy2Disk.sh<\/code>\u00a0will prompt you for update if the USB drive already installed with Ventoy.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have tested: MultiSystem (\u00a0http:\/\/liveusb.info\/dotclear ) MultiBoot USB (doesn&#8217;t exist anymore) Easy2Boot ( https:\/\/www.easy2boot.com\/ ) VenToy ( https:\/\/www.ventoy.net\/en\/index.html ) For me the best and easiest solution is ventoy. What is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6,4],"tags":[8,35,36,7],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-linux","category-software","category-windows","tag-linux","tag-multiboot-usb","tag-usb","tag-windows"],"_links":{"self":[{"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":1,"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cimalink.eu\/blog\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}