Jump to content











Photo
* * * * * 1 votes

UEFI MULTI - Make Multi-Boot USB-Drive

linux aio boot vhdx wim ssd windows 10 multiboot usb uefi

  • Please log in to reply
105 replies to this topic

#101 wimb

wimb

    Gold Member

  • Developer
  • 2342 posts
  •  
    Netherlands

Posted 14 December 2018 - 08:10 AM

*** Update UEFI_MULTI - Version 86 ***
 
- Add VHDX to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 VHDX as FILEDISK
- Add WIM to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 WIM from RAMDISK
- Add Grub2 of Linux Mint to boot various Linux versions in BIOS and UEFI Secure mode
- AIO Boot is supported in BIOS mode by adding Grub4dos and Grub2 entry to Boot Manager Menu
- AIO Boot is supported in UEFI Secure mode by booting with Grub2 EFI Manager of Linux Mint
- Update Grub4dos to version grub4dos-0.4.6a-2018-09-19 for booting in BIOS mode
 
Download : UEFI_MULTI-86.zip   -  password for UEFI_MULTI-86.zip is bootwimb86
 
How to make USB Drive booting with various AIO Linux versions in BIOS and in UEFI Secure mode
 
1. Make FAT32 USB Drive (Max = 32 GB) booting with Microsoft Boot Manager Menu
    Microsoft Media Creation Tool (Architecture both 32 and 64 bits) Or Other Format Tool can be used
2. Download and Unpack AIOBoot-v0.9.8.17.7z - Don't use Extractor and Don't Overwrite existing Microsoft files
    Unpack and Copy content of folder AIOBoot-v0.9.8.17 to FAT32 USB Drive, but keep existing Microsoft Boot files
3. Use UEFI_MULTI to Add Grub2 EFI Manager of Linux Mint, which fixes AIO Boot for booting in BIOS and UEFI Secure mode
4. On USB run  AIOCreator.exe - Select Integration Linux OS and your Linux ISO linuxmint-19-cinnamon-64bit-v2.iso - preferred
5. Boot from USB after beep via F8 menu in UEFI or in BIOS mode with Grub2 menu and Select your Linux OS
 
More Info in Attached File  Win10_Inst_Eng.pdf   797.5KB   12 downloads - Linux Mint - Knoppix Live - Ubuntu - Porteus
 
 
 
:cheers:


#102 wimb

wimb

    Gold Member

  • Developer
  • 2342 posts
  •  
    Netherlands

Posted 3 weeks ago

UEFI_MULTI-86 has been improved so that the extraction of Linux ISO by AIO Boot is not needed anymore.
We can simply add various Linux ISO files to folder images on USB.
 
Grub4dos entries present in menu.lst for booting in BIOS mode various Linux ISO files
iftitle [if exist /images/linuxmint-19-cinnamon-64bit-v2.iso] ISO Linux Mint - linuxmint-19-cinnamon-64bit-v2.iso
set iso_path=/images/linuxmint-19-cinnamon-64bit-v2.iso
map %iso_path% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=%iso_path% quiet splash --
initrd /casper/initrd.lz

iftitle [if exist /images/runtimelivecd.iso] ISO Knoppix - runtimelivecd.iso
set iso_path=/images/runtimelivecd.iso
map %iso_path% (0xff)
map --hook
root (0xff)
kernel /boot/isolinux/linux bootfrom=/dev/*%iso_path% knoppix_dir=/KNOPPIX ramdisk_size=100000 lang=en apm=power-off nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 noswap tz=localtime
initrd /boot/isolinux/minirt.gz

iftitle [if exist /images/ubuntu-18.10-desktop-amd64.iso] ISO Ubuntu - ubuntu-18.10-desktop-amd64.iso
set iso_path=/images/ubuntu-18.10-desktop-amd64.iso
map %iso_path% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=%iso_path% quiet splash ---
initrd /casper/initrd

iftitle [if exist /images/Porteus-CINNAMON-v4.0-x86_64.iso] ISO Linux Porteus - Porteus-CINNAMON-v4.0-x86_64.iso
set iso_path=/images/Porteus-CINNAMON-v4.0-x86_64.iso
map %iso_path% (0xff)
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz nomagic base_only norootcopy from=%iso_path%
initrd /boot/syslinux/initrd.xz


=
Grub2 entries present in grub.cfg for booting in UEFI Secure mode various Linux ISO files
if [ -e "/images/linuxmint-19-cinnamon-64bit-v2.iso" ]; then
menuentry "ISO Linux Mint - linuxmint-19-cinnamon-64bit-v2.iso" {
  set iso_path=/images/linuxmint-19-cinnamon-64bit-v2.iso
  loopback loop $iso_path
  linux (loop)/casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=$iso_path quiet splash --
  initrd (loop)/casper/initrd.lz
}
fi

if [ -e "/images/runtimelivecd.iso" ]; then
menuentry "ISO Knoppix - runtimelivecd.iso" {
  set iso_path=/images/runtimelivecd.iso
  loopback loop $iso_path
  linux (loop)/boot/isolinux/linux bootfrom=/dev/*$iso_path lang=en apm=power-off nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 noswap tz=localtime
  initrd (loop)/boot/isolinux/minirt.gz
  loopback --delete loop
}
fi

if [ -e "/images/ubuntu-18.10-desktop-amd64.iso" ]; then
menuentry "ISO Ubuntu - ubuntu-18.10-desktop-amd64.iso" {
  set iso_path=/images/ubuntu-18.10-desktop-amd64.iso
  loopback loop $iso_path
  linux (loop)/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=$iso_path quiet splash ---
  initrd (loop)/casper/initrd
}
fi

if [ -e "/images/Porteus-CINNAMON-v4.0-x86_64.iso" ]; then
menuentry "ISO Linux Porteus - Porteus-CINNAMON-v4.0-x86_64.iso" {
  set iso_path=/images/Porteus-CINNAMON-v4.0-x86_64.iso
  loopback loop $iso_path
  linux	(loop)/boot/syslinux/vmlinuz nomagic base_only norootcopy from=$iso_path
  initrd (loop)/boot/syslinux/initrd.xz
}
fi

=

Download : UEFI_MULTI-86.zip   -  password for UEFI_MULTI-86.zip is bootwimb86
 
How to make USB Drive booting with various Linux ISO versions in BIOS and in UEFI Secure mode
 
1. Make FAT32 USB Drive (Max = 32 GB) booting with Microsoft Boot Manager Menu
    Microsoft Media Creation Tool (Architecture both 32 and 64 bits) Or Other Format Tool can be used
2. Use UEFI_MULTI to Add Grub4dos for booting in BIOS mode and Grub2 EFI Manager of Linux Mint for booting in UEFI Secure mode
3. In USB folder images Add your Linux ISO file - preferred is linuxmint-19-cinnamon-64bit-v2.iso
4. Boot from USB after beep via F8 menu in BIOS mode with  Grub4dos menu Or in UEFI Secure mode with Grub2 menu and Select your Linux OS
 
More Info - Linux Mint - Knoppix Live - Ubuntu - Porteus - All booting in UEFI Secure mode using Grub2 EFI Manager of Linux Mint
 
In case UEFI Grub2 is not available as Boot option in your F8 Boot Menu for your Portable SSD 
then you need to use BOOTICE to Add UEFI entry.
Unneeded for USB-Stick, but UEFI Grub2 boot entry is easily lost in case of Portable SSD.
Select as UEFI Boot entry on USB the Linux Mint Grub2 file \EFI\Boot\BOOTx64.EFI
 
UEFI_Grub2.png
 
:cheers:
 


#103 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14466 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 3 weeks ago

Question/doubt. :dubbio:
 
IF:
if exist /images/linuxmint-19-cinnamon-64bit-v2.iso
is satisfied, isn't this:
find --set-root /images/linuxmint-19-cinnamon-64bit-v2.iso
redundant?
 
I mean, if the condition is satisfied, root is already established to the "right" parent dir, and the result of find --set-root in the best of cases won't change root (but will take some time to execute), in the worse will establish root to another device that is searched before the current root one.
 
Or, in other words, either of:
 

iftitle [find --set-root /images/linuxmint-19-cinnamon-64bit-v2.iso] ISO Linux Mint - linuxmint-19-cinnamon-64bit-v2.iso
map /images/linuxmint-19-cinnamon-64bit-v2.iso (0xff)
etc.


or:

iftitle [if exist /images/linuxmint-19-cinnamon-64bit-v2.iso] ISO Linux Mint - linuxmint-19-cinnamon-64bit-v2.iso
map /images/linuxmint-19-cinnamon-64bit-v2.iso (0xff)
etc.


seems to make more sense to me.

:duff:
Wonko

#104 wimb

wimb

    Gold Member

  • Developer
  • 2342 posts
  •  
    Netherlands

Posted 3 weeks ago

Question/doubt. :dubbio:
 
IF:
if exist /images/linuxmint-19-cinnamon-64bit-v2.iso
is satisfied, isn't this:
find --set-root /images/linuxmint-19-cinnamon-64bit-v2.iso
redundant?
 

 

Thanks for your comment. You are quite right  :) 

The find statement is redundant and I will make changes accordingly.

 

:cheers:



#105 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14466 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 3 weeks ago

Thanks for your comment. You are quite right  :) 
The find statement is redundant and I will make changes accordingly.
 
:cheers:

Good :) , then, only for symmetry with GRUB2   :w00t:

How about something *like*:



iftitle [if exist /images/linuxmint-19-cinnamon-64bit-v2.iso] ISO Linux Mint - linuxmint-19-cinnamon-64bit-v2.iso
set iso_path=/images/linuxmint-19-cinnamon-64bit-v2.iso
map %iso_path% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=%iso_path% quiet splash --
initrd /casper/initrd.lz

:unsure:

 

:duff:

Wonko



#106 wimb

wimb

    Gold Member

  • Developer
  • 2342 posts
  •  
    Netherlands

Posted 3 weeks ago

Good :) , then, only for symmetry with GRUB2   :w00t:

How about something *like*:



iftitle [if exist /images/linuxmint-19-cinnamon-64bit-v2.iso] ISO Linux Mint - linuxmint-19-cinnamon-64bit-v2.iso
set iso_path=/images/linuxmint-19-cinnamon-64bit-v2.iso
map %iso_path% (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=%iso_path% quiet splash --
initrd /casper/initrd.lz

 

Good idea  :)

 

The Grub4dos Menu entries as published earlier are now according to your proposal

 

and present in the available UEFI_MULTI-86.zip download.

 

:cheers:







Also tagged with one or more of these keywords: linux, aio boot, vhdx, wim, ssd, windows 10, multiboot, usb, uefi

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users