Darvond and clarry, here's what's confusing about that: the MBR is the Master BOOT Record, so I assume it has something to do with enabling the drive to boot, right? So if the GPT succeeds that then doesn't it also serve that purpose? And then clarry, you say that the EFI partition is what the UEFI boots, right? So how is that different at all?
rojimboo:
rojimboo: Like others have mentioned, an EFI partition (FAT32, GPT for the drive, and the EFI partition at the beginning of the drive) is mandatory for UEFI to work. Check the Arch wiki under EFI partition/UEFI.
Then why is it that Ventoy gets installed on the
second partition of its drive (32 MB all the way at the end), and the
first partition is a non-bootable one just for holding ISO files and other stuff (they don't boot
directly, anyway)? And btw I'm using Mint, which is Debian, not Arch, but I don't know if that makes a difference.
rojimboo: Usually, if not done manually, the live usb creator will do the work. THat's why mixing up ventoy and linux-live-kit might not work out so well - both try to mount drives and create partitions according to their own scripts.
Well I think I used Live USB Creator or UNetbootin or something like that (I don't remember what I used) for burning the ISO, but I could try that again if you think it might put the stuff on there manually. And I also tried using Ubuntu Imager as an alternative to Live Kit, but that one doesn't work either in Ventoy or on its own. HOWEVER, the interesting thing is that the error I get is exactly the same in both cases, which means that theoretically if it can be fixed then it
should work in Ventoy! As for UEFI vs. BIOS, I don't remember for certain but I
think that I may have tested it both ways and gotten the same error, and if so then it would actually be fully compatible with both modes, with or without Ventoy! And by the way, it was booting already when it got the error sort of at the last minute just before it finished (it even did a system check and found no errors, and I tried it with and without toram). However, I don't remember exactly what the error was (something vague about failing to load or something), nor do I have any idea how to fix it, so sadly, Ubuntu Imager may not be an option.
rojimboo: Knowing more about the final USB setup you have (with the lsblk -f, which you never provided) can help me/us to get a better grasp at how the live USB is formatted. For example, my Arch ISO live USB burnt with Suse ImageWriter had an EFI partition created for it automatically, I can see that.
I'll look that up after this post and then get back to you, but I might try that Suse ImageWriter (or does it only work on the Suse OS?).
rojimboo: This is only to get UEFI to work. There's still the main issue of booting into Linux Mint. The /etc/fstab configuration might not work out so great after all, as an idea, because I checked my live USB and it does not have the apparent structrure of a linux system burnt onto it - just a bunch scripts/configs/archives. One of those scripts will control how the partitions are mounted - in your case your ISO's /linux/ needs to be mounted as root and in addition the EFI partition to /efi preferably(though it's not crucial).
If I understand you correctly, then I could have told you that - which is to say that if I look at the drive on which a live ISO has been burned, it doesn't have the home, media, bin, dev, etc directories, but instead just some stuff that implies that it goes in and extracts all of that from some read-only data files. That seems to always be the case with the live versions.
As for mounting the directory, without direct access to the fstab file I don't see how I would do that (full disclosure though, I don't think I've ever actually
modified an fstab file except to disable the swap file).
rojimboo: Again, something the live usb creator would have probably handled. Alternatively, it's baked into the ISO maybe. Somehow :)
Well I'll try burning the ISO again and see if I can get that to work, but I've always had better luck using the ZIP file instead.
rojimboo: Anyways, get back with that info I asked for, and we'll see what's next. I will probably recommend dropping ventoy for now, as it's unnecessary and not as crucial for what you are trying to accomplish, is my understanding.
Yeah, it's something that would be ideal but if it's not compatible then oh well, I guess.
Now here's another idea though, and I'd be interested to hear your thoughts on it: what if I use GParted to make a UEFI partition and a regular partition, and then extract the ZIP file onto the regular partition, and run the script to make it bootable? Would that fix the problem, do you think? And if so then please clarify:
- Do I need to have the UEFI partition first, or should I have the ZIP files partition first so that its script will correctly recognize it as being in the right spot, or does it even matter either way?
- Do I need to put an MBR on it first, or make an extra partition for BIOS also (ideally I want it even to be compatible with computers that don't have UEFI support, and Ventoy boots in both modes so I KNOW it must be possible to do that)? If I need to do any of this, how exactly should it be set up?
I guess that's all the questions I have for the moment. I'll go get the ls results and anything else you requested...
EDIT: Oh by the way, keep in mind that however I do it, it needs to be self-duplicating if it's run in RAM mode, so for example, if I have to burn an ISO file then that's fine, as long as it's possible to supply that same ISO file on the new drive itself, so that it can be burned again the next time, but I don't know if putting it on the drive with all of the files for the live system will interfere with them, or if the ISO will just be ignored.