Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multifunction USB SSD (USB Swiss Army Knife)
#1
@page { size: 21cm 29.7cm; margin: 2cm } p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }
Hello Everyone!
I apologize for my poor knowledge of English, my text would probably be a little more clearer in Hungarian.
I have long wanted to create a tool that can act as a storage medium and boot many iso installers, and it also has an installed Linux system. So there is no need to use installer iso + persistence. In addition, the installed linux system can be updated. I think with the help of ventoy-1.0.15 this is almost entirely feasible.

I did the following.
I have a Sony 111 gigabit USB SSD.
I installed the new version with the instruction "sudo sh Ventoy2Disk.sh -i -r 32768 -g / dev / sdb". I then made a copy of the EFI partition VTOYEFI / EFI / BOOT / BOOTX64.EFI file.
Then I formatted the dev / sdb3 reserved partition into an ext4 partition using Gparted.

Now I have installed a linux system in UEFI mode using linuxmint-20-xfce-64bit.iso. Dev / sdb3 was mounted as / and dev / sdb2 was mounted as / boot / efi. The installer has repeatedly warned that this will not be good! In the meantime, I had to remove the boot, efi flag from the original efi partition on my computer to proceed with the installation. He finally succeeded and did it. Now Legacyy mode can be used to boot ventoy and UEFI mode to boot installed linux as a system. Because of this, I deleted the contents of the VTOYEFI / EFI / BOOT / folder and rewrote the previously saved ventoy BOOTX64.EFI file into it.

In the end, ventoy can be booted in Legacy mode, and installed Linux can be booted in UEFI mode (because it can boot from the EFI / ubuntu folder). By selecting “boot from efi file” from the “BIOS”, starting the VTOYEFI / EFI / BOOT / BOOTX64.EFI file, the ventoy starts in UEFI mode. Smile

So far, I'm very happy about that.

I even copy the i386-pc folder from the usr / lib / grub folder to the boot / grub folder on the installed system with its contents. If I boot this system with a grub from another Legacy linux system, I will plug in a small flash drive and install the grub in the auxiliary flash drive (for example sudo grub-install dev / sdX), then update-grub or grub-mkconfig -o and the system Legacy mode can then be booted using the auxiliary flash drive.

I know it was pretty DIY like that, but maybe I gave you a tiny idea for the “how to proceed” aspect.

Thank you for your patience! … Best Regards … CsI Smile
Garden, gadgets, work, math, brainstorming ... that's all .... and the family.
Reply


Messages In This Thread
Multifunction USB SSD (USB Swiss Army Knife) - by CsIxy - 07-12-2020, 12:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)