SMG wrote: ⤴Sat May 28, 2022 3:42 pm
juannm wrote: ⤴Sat May 28, 2022 2:06 pmThe only practical differences I could see is that Rufus detects that the ISO file is a so-called "hybrid" and asks me to choose which mode I want, which is a curious feature, as I had never been asked about this difference:
I have not used Rufus, but it is my understanding that one must specify in Rufus whether they need the ISO to boot in UEFI mode or in BIOS mode. (That is the limit of my knowledge of Rufus--please do not ask me any hard questions about Rufus.
)
The Linux Mint ISO tool creates an ISO that can do either UEFI or BIOS. You do not have to specify ahead of time which one you need. Perhaps that is what Rufus considers to be hybrid? I do not know and am just guessing.
I researched a bit... never a bad moment to learn new things!
This post by the creator of Rufus has a lot of interesting insights:
Why are there different options for creating bootable usb compared to a cd?
But more to the point, this phrase (from
here) is what made it click for me:
How isohybrid works
Starting in version 3.72, ISOLINUX supports a "hybrid mode" which can be booted from either CD-ROM or from a device which BIOS considers a hard disk or ZIP disk, e.g. a USB key or similar. These isohybrid images contain in addition to the normal CD-based ISO9660 filesystem, a valid-looking DOS-style partition table. So if you simply "raw" copy an isohybrid processed image to a USB flash drive, the BIOS will boot the image directly.
So, this is how most if not all Linux distros publish their ISO files! They not only contain a good old ISO9660 read-only filesystem, but they are also post-processed with
isohybrid to add a FAT32-style partition table, and that means that the file can be
dd
'ed bit-for-bit straight to a USB drive, and still be readable as a disk volume.
Rufus detects this fact, and asks if you want to dd the .iso file as-is to the USB (which would work, rendering a valid but read-only filesystem of some fixed size), this would be the "DD" mode it asks about. Or, it recommends to write it in "ISO" mode, which means opening up the .iso file, and
copying its contents (I mean, the actual files) into a cleanly-formatted, read-write FAT32 USB partition.
In "ISO" mode, after copying the files from the .iso file, to make it bootable it adds its own Syslinux to the result, the exact same Syslinux that the contents of the original .iso would expect. That's why Rufus was asking me "hey, this .iso expects Syslinux 6.04/20191223, but I don't have it, do you want me to download it?".
I'm not sure how the Mint USB writer works, but seems that at the end of the day, all USB writers must work in a very similar way. Maybe the Mint writer
does have the correct Syslinux version to start with, that's why it doesn't need to download anything from internet.
In any case, none of this things are enough to help me understand where the process goes differently and the Mint writes a non-booting image while Rufus writes one that boots. My only clue is that this Syslinux that Rufus downloaded and wrote, is somehow working better than the one the Mint writer uses, but even that sounds a bit far fetched.
SMG wrote: ⤴Sat May 28, 2022 3:42 pm
Have you checked to see if your system is running the most recent BIOS/UEFI available? My guess is there might be some type of setting in BIOS/UEFI that might be the source of the problem with booting from the ISO made with Mint's image write.
Yes I tried the updater program that came with the machine, and also checked on the LG website, but sadly the BIOS seems to be in its latest version already.
SMG wrote: ⤴Sat May 28, 2022 3:42 pm
juannm wrote: ⤴Sat May 28, 2022 2:31 pm...there is the issue that none of the newer kernels are able to boot, regardless of using Rufus or not (except the 5.10.0-12-amd64 from LMDE5).
Are you dual-booting with Windows? If so, there are several items which come to mind which might be causing issues.
Yes, I'd like to keep the original Windows partition that came with the computer, so I'm installing Linux on a different partition, which I made with GParted from the live USB itself, before running the install wizard. Which changes are you thinking about? For now, the only thing I changed from defaults in the BIOS, is disabling Secure Boot. Let me know if there are any other settings that typically cause issues, so I check their current value...