Posted December 05, 2020
I've never heard of M1 before, but I just looked it up and it didn't explain much or anything of relevance. Please tell me why would that have a problem with compatibility for Linux?
What do you mean these forums are dead? Are you referring to my posts specifically or the GOG forums in general? And if so then why would they be dead? GOG is still a popular website, isn't it? To be honest, I only tend to read a few of the topic and they're in my favorites, so I don't really check the main list, so I wouldn't know how many posts there are each day.
As for the reasons why I've had so many problems, glitches and errors always seem to follow me around whenever I'm trying to do anything on a computer, but I don't know if it's just because the software that I'm using is always buggy in some way, or if I'm using it differently than the usual way that it's intended to be used (though I doubt it, because the Linux Live Kit is intended specifically for this purpose!).
First of all, I think you may have accidentally said that backwards, because CSM/Legacy are for using the old BIOS mode, and UEFI is the new mode, so to use that I'd have to turn CSM off, right?
Well I am using UEFI mode when I create the thing, but I'm not sure, why would it matter whether I'm using UEFI or CSM when I create the USB drive? Creating it just involves writing bits to it of the correct values in the correct places, and thus can be done no matter what mode the computer is using. I could even do it on a completely different kind of computer. If I plug the USB stick into my XBox and it can access the data then it could theoretically set it the way I want.
But it doesn't seem to be making an extra partition - isn't putting a GPT where the MBR would be enough to make it bootable in UEFI? I'm not sure how a UEFI partition gives it any extra capabilities. And in any case, here's the problem with that - there are basically two methods that Linux Live Kit provides:
- It can create an ISO which is bootable if I burn it on a CD/DVD (but that's REALLY not the preferred option at all!), but it doesn't seem to work on a USB stick. Though if I wanted to use the ISO I'd just put it on a Ventoy drive so I can multi-boot. My Ventoy drive works fine and seems like it should be very compatible with various hardware, but when I try to use it to boot my custom ISO I always get weird errors, no matter whether I tweak the ISO file using isohybrid.
- It can also create a ZIP file of all the same data which is in the ISO, and I can just extract that onto a blank USB drive (so it won't work in Ventoy, unfortunately) and then run a script on it to make it bootable. However, this drive would then not contain an extra UEFI partition, and I don't even know if that would be compatible, because something tells me that the script just makes it boot directly to the partition on which the files from the ZIP file (including the script itself) are stored. Also, I've had bad luck getting things to boot when I've tried to manually create a UEFI partition (even when PRECISELY following instructions that supposedly other people have been able to use to make it work), or otherwise it ends up making things run unbearably slowly for some reason.
I'm really not comfortable modifying the script. I have no idea what it's doing precisely, except that it must be putting an MBR/GPT on the stick to make it bootable. But as I've said, I'm somewhat new to Linux, so I really haven't even had much experience with shell scripts at all.
In any case, I don't see why that would be necessary, because the whole point of Live Kit is to make the thing bootable live on external devices (such as a USB stick), which it is, but not in UEFI mode, or so it seems (though I never read anything that said whether it is or isn't compatible with UEFI - why wouldn't they even specify that?).
brouer: How on earth are you going to be able to guide your 'clients' on how to boot these things, if you don't know anything about the HW?
Well as far as I can tell, they only need to be able to get into the UEFI/BIOS and change a few settings if applicable (such as whether to enable or disable CSM, possibly disable Secure Boot, enable booting from USB, etc.), and those things aren't generally hard to do, but I could provide instructions in a somewhat generic way, which is to say that they need to look for specific kinds of options which tend to be on certain menus but the interface may vary. brouer: Is this Linux saga related to that cross platform .NET turned Java project you were playing around with?
If so, why do you need a universally compatible Linux-on-a-stick anyway?
The ultimate reason for it is confidential, but suffice it to say that it is the only feasible way to accomplish what I'm trying to do. If so, why do you need a universally compatible Linux-on-a-stick anyway?
rojimboo: I remember your thread, I thInk? Where people were trying to help you in your quest to install linux on a USB stick? For weeks, if not months?
Anyways, something tells me the this won't be the final anything for this project :) Nevermind a question. And thats ok, these forums are pretty dead anyways.
Actually, I wouldn't be so sure of that, because I've made amazing progress with it, and it's really like 99% of the way there. In fact, the solution that I have works very well, except my only concern at this point is a possible issue with incompatibility with some hardware, and I'd really like to alleviate any of those potential problems. Anyways, something tells me the this won't be the final anything for this project :) Nevermind a question. And thats ok, these forums are pretty dead anyways.
What do you mean these forums are dead? Are you referring to my posts specifically or the GOG forums in general? And if so then why would they be dead? GOG is still a popular website, isn't it? To be honest, I only tend to read a few of the topic and they're in my favorites, so I don't really check the main list, so I wouldn't know how many posts there are each day.
rojimboo: But I mean, I recently installed Arch btw, and I still have no clue wtf you are trying to accomplish and why and the reasons why it hasn't worked. Though to be fair, installing Arch is basically about just following the wiki, so that's not really saying much.
To answer your incredibly specialised niche question about some obscure linux utility - Nope.
Well as I said, I can't tell you all of the specifics, but in abstract terms, I'm trying to make a live configured in a specific way, with specific software on it, such that it is portable and can be used by anyone, and can't be modified or cause wear and tear on the USB stick (hence the live mode). I wouldn't think that was such an unusual thing to do. And I don't think that software for making live ISO files is obscure, is it? I mean, how else would people make customized ones, even to make whole new distributions? Wouldn't that be the easiest way? To answer your incredibly specialised niche question about some obscure linux utility - Nope.
As for the reasons why I've had so many problems, glitches and errors always seem to follow me around whenever I'm trying to do anything on a computer, but I don't know if it's just because the software that I'm using is always buggy in some way, or if I'm using it differently than the usual way that it's intended to be used (though I doubt it, because the Linux Live Kit is intended specifically for this purpose!).
rojimboo: But UEFI boots can be incredibly easy, or incrediby painful to make work. Assuming you have CSM on, Legacy/UEFI enabled, then you need to have made the live USB in a UEFI environment with a supported usb live creator tool. That makes it put in a good EFI partition, an then during POST bios you can select it. All these things have to happen to get the miracle of UEFI in a multisystem environment to work.
Well what's the incredibly easy method of making them work? First of all, I think you may have accidentally said that backwards, because CSM/Legacy are for using the old BIOS mode, and UEFI is the new mode, so to use that I'd have to turn CSM off, right?
Well I am using UEFI mode when I create the thing, but I'm not sure, why would it matter whether I'm using UEFI or CSM when I create the USB drive? Creating it just involves writing bits to it of the correct values in the correct places, and thus can be done no matter what mode the computer is using. I could even do it on a completely different kind of computer. If I plug the USB stick into my XBox and it can access the data then it could theoretically set it the way I want.
But it doesn't seem to be making an extra partition - isn't putting a GPT where the MBR would be enough to make it bootable in UEFI? I'm not sure how a UEFI partition gives it any extra capabilities. And in any case, here's the problem with that - there are basically two methods that Linux Live Kit provides:
- It can create an ISO which is bootable if I burn it on a CD/DVD (but that's REALLY not the preferred option at all!), but it doesn't seem to work on a USB stick. Though if I wanted to use the ISO I'd just put it on a Ventoy drive so I can multi-boot. My Ventoy drive works fine and seems like it should be very compatible with various hardware, but when I try to use it to boot my custom ISO I always get weird errors, no matter whether I tweak the ISO file using isohybrid.
- It can also create a ZIP file of all the same data which is in the ISO, and I can just extract that onto a blank USB drive (so it won't work in Ventoy, unfortunately) and then run a script on it to make it bootable. However, this drive would then not contain an extra UEFI partition, and I don't even know if that would be compatible, because something tells me that the script just makes it boot directly to the partition on which the files from the ZIP file (including the script itself) are stored. Also, I've had bad luck getting things to boot when I've tried to manually create a UEFI partition (even when PRECISELY following instructions that supposedly other people have been able to use to make it work), or otherwise it ends up making things run unbearably slowly for some reason.
rojimboo: For an actual linux install, you'll probably need to setup the partitions for EFI yourself manually. Though the Linux Mint installer might do it for you probably somehow. I recently did this manually using (of course) the Arch wiki (can't post links but just search for EFI partition in arch wiki).
If your live usb creator is not creating a bootable UEFI medium, then you might have to do that yourself. You mentioned some script you had for live USBs, maybe modify that.
I don't want a Linux install - I just want live mode without even having an installer available, so that it's trapped on the stick. And I'm not sure how the Mint installer is relevant to this. I'm not installing onto the USB stick - I'm just installing onto a test partition on my HD, and then setting it how I want it, and using Live Kit to create an ISO from that. If your live usb creator is not creating a bootable UEFI medium, then you might have to do that yourself. You mentioned some script you had for live USBs, maybe modify that.
I'm really not comfortable modifying the script. I have no idea what it's doing precisely, except that it must be putting an MBR/GPT on the stick to make it bootable. But as I've said, I'm somewhat new to Linux, so I really haven't even had much experience with shell scripts at all.
In any case, I don't see why that would be necessary, because the whole point of Live Kit is to make the thing bootable live on external devices (such as a USB stick), which it is, but not in UEFI mode, or so it seems (though I never read anything that said whether it is or isn't compatible with UEFI - why wouldn't they even specify that?).