The officially official Devuan Forum!

You are not logged in.

#26 2025-05-27 23:33:20

greenjeans
Member
Registered: 2017-04-07
Posts: 910  
Website

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Aaargh, of course it would be uefi....yeah I don't think i've even got a uefi iso around here anyway, for sure I haven't tested one. crap.

All right, back to the drawing board. Like I needed another reason to dislike uefi.

I've used the utility to write over sticks that already had a second partition just fine, must be something with that uefi partition, and I guess it needs to stay, and also possibly some additional delay needed in the script.

Thanks again Altoid, this is all good info, smacking my forehead right now that I didn't even think about an efi-iso needing a 2nd partition on a liveUSB, seems like a regression if you ask me. wink


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#27 2025-05-28 00:14:48

Altoid
Member
Registered: 2017-05-07
Posts: 1,748  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Hello:

greenjeans wrote:

... of course it would be uefi...

I should have remembered the problems I had installing a UEFI *.iso to a USB stick.
And the multiple hoops I had to jump through to get it done
Fortunately ralph.ronnquist figured it out.

Have a read, it's fun.  8^/

greenjeans wrote:

... must be something with that uefi partition ...

A UEFI machine will not boot if there is no UEFI partition it can find on the boot device.
USB stick, HDD, etc.

greenjeans wrote:

... it needs to stay ...

Yes, at least to boot UEFI enabled hardware.

Now, if your script can look for empty/unformatted space (and find it) then Bob's your uncle.
You just don't touch any formatted space, whether it be hidden or not.
ie: with any format, just in case.

greenjeans wrote:

... possibly some additional delay needed ...

Maybe.
Or maybe it is something else.
Just a hunch, with the error being of an aleatory nature.

greenjeans wrote:

Thanks ...

You're welcome.

As to all this UEFI shit being a regression ...
Methinks we have not seen the tip of the iceshitberg yet.

Best,

A.

Offline

#28 2025-05-28 15:11:56

greenjeans
Member
Registered: 2017-04-07
Posts: 910  
Website

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Yeah after sleeping on it, i'm not sure i'm inclined to put in the work to make it work with efi stuff, I have a couple machines here that will do efi but they're both in compatibility/legacy mode and i'm quite happy with them, and not willing to change that to test some stuff i'll likely never use. Efi is just shit, and I don't feel like stepping in it if I can help it.

It's been a fun project and an awesome learning experience, and now I have a super nice tool that i'll use regularly. Bonus: I un-installed the gnome-disk-utility because now I don't need it anymore, my utility actually does a trick the GDU does not. wink


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#29 2025-05-28 17:20:24

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,627  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Altoid wrote:

devuan_chimaera_4.0.3_i386_desktop-live.iso

This *.iso file did not generate a #$%& UEFI partition when I wrote it to the SD Card.

That's right. the i386 doesn't do uefi. I'm not aware of any 32-bit uefi systems.

Offline

#30 2025-05-28 19:17:35

greenjeans
Member
Registered: 2017-04-07
Posts: 910  
Website

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

That's right. the i386 doesn't do uefi. I'm not aware of any 32-bit uefi systems.

Apparently Crunchbang++ does, the iso Altoid linked to is efi, and won't boot up a live-session on my machine.

Something really wrong with that iso anyway, it's bizarre, downloading it alone caused my browser to lock up at the end of the process. And just looking at it on a usb stick that I burned, it's got a whole lot of odd stuff on it I usually don't see on normal isos.

And it apparently requires an efi partition as Altoid mentioned just to (attempt) to boot.

Uefi is just shit. Pure shit. Like shit with a side of shit-sauce and a shit-shake with some turds on the side.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#31 2025-05-29 07:39:57

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 284  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

mostly for future thread visitors and with respect to OPOT, just wanted to make others aware of EasyOS by Barry Kauler of PuppyLinux fame.

EasyOS

https://bkhome.org/news/tag_easy.html


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#32 2025-05-29 10:56:27

Altoid
Member
Registered: 2017-05-07
Posts: 1,748  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Hello:

greenjeans wrote:

... apparently requires an efi partition as Altoid mentioned just to (attempt) to boot.

Yes but not if you are booting a box with no UEFI.
eg: Asus 1000HE
You can just delete the UEFI partition with disks albeit not with gparted which does not see it.

My guess is that because of how the installer works now, any *.iso made for a post Chimaera/Bullseye kernel will produce a UEFI partition, independently of the kernel present in the installation.

This complicates everything.
eg: try to install Daedalus or any post Chimaera/Bullseye release on a USB drive.

All this UEFI, secureboot, apparmor, SELinux et al crap being imposed manu militari by the WinTel consortium will not end well for us. 

Best,

A.

Offline

#33 2025-05-29 13:07:41

greenjeans
Member
Registered: 2017-04-07
Posts: 910  
Website

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

No, something in that iso is making that happen, I make liveUSB's all the time with daedalus based isos, my own, vanilla Devuan daedalus, even Devuan excalibur. It's not the kernel version triggering it. It's definitely the iso itself.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#34 2025-05-29 13:11:54

greenjeans
Member
Registered: 2017-04-07
Posts: 910  
Website

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Why would easyOS be pertinent to this topic? It doesn't even use the .iso format from what i've read? To be honest, from reading about it, I think Barry lost a marble or two after he stopped developing Puppy.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#35 2025-05-29 17:00:39

Altoid
Member
Registered: 2017-05-07
Posts: 1,748  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Hello:

I wrote:

... because of how the installer works now, any *.iso made for a post Chimaera/Bullseye kernel will produce a UEFI partition ...

greenjeans wrote:

... something in that iso is making that happen ...

Knowing nothing of what goes on inside an *.iso or how it works, I did not accurately write what I meant to say.

So I will rephrase:

"... because of how the installer works now, any *.iso made for a post Chimaera/Bullseye kernel will [have the instructions to] produce a UEFI partition ..."

That would cover the making that happen you are making reference to.

From what I gather, it seems that it is not something you can weed out just like that.
ie: clip out a piece of script.

Which is why I said how the installer works now, thinking it is part of something more complicated.

I seriously doubt that the #!++ i386 *.iso has any/many UEFI enabled i386 boxes / laptops to be used in.
So why is it a UEFI enabled *.iso?

It is also systemd enabled, so it is a no go for me.
I just wanted a peek at the Openbox config files.

@greenjeans
Maybe you could take a minute to look at them and see if they can be 'dropped' into a Devuan Chimaera with an Openbox setup.

Best,

A.

Offline

#36 2025-05-29 18:11:11

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,627  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Install openbox and do a diff on the files you're curious about against the ones in /etc/xdg/openbox. (probably menu.xml and rc.xml)

FWIW, not related to the installer isos, but refractasnapshot has a config option for enabling uefi boot or not. (you always get legacy boot) It's just a matter of turning on or off one (I think it's just one) function. Oh yeah, the devuan-live isos have the same option because the same function is used in live-sdk.

To test those other config files,  drop them in ~/.config/openbox/ and fire up an openbox session.

Offline

#37 2025-05-29 22:09:31

Altoid
Member
Registered: 2017-05-07
Posts: 1,748  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Hello:

fsmithred wrote:

... a diff on the files you're curious about ...
... probably menu.xml and rc.xml ...

Right, those are the ones I'veen looking at.

fsmithred wrote:

...drop them in ~/.config/openbox/ and fire up ...

Yes. I was planning on doing that in my present 1000HE setup.

Re: enabling UEFI

fsmithred wrote:

... the devuan-live isos have the same option because the same function is used in live-sdk.

So the function to enable UEFI in the *.iso, be it installer or live, is in some part of the respective *.sdk?

If so, maybe the installer could have an option to turn it on/off, depending on the default setting.

As always, thanks for your input.

Best,

A.

Offline

#38 2025-05-30 00:21:54

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,386  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

I don't understand what you talk about.

Any choice between using UEFI bios and legacy bios is a choice on and for the target system, because it's the target system that decides how it boots, and at best a choice for the person installing.

An installer ISO image may be prepared to support either or both means of booting.

The installer software, when executed, may offer setup for either one or both means of booting into the installed system. One of the primary differences is then the requirements that the means of booting has on the target system's disk partitioning and filesystem choices. That is in the hands of the person installing.

Offline

#39 2025-05-30 11:50:35

Altoid
Member
Registered: 2017-05-07
Posts: 1,748  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Hello:

ralph.ronnquist wrote:

... don't understand what you talk about.

Should not be a surprise.  8^)
I have already owned to "Knowing nothing of what goes on inside an *.iso or how it works ..."
Among other things.

ralph.ronnquist wrote:

... using UEFI bios and legacy bios is a choice on and for the target system ...
... at best a choice for the person installing.

Right.

Remember my post asking about dd'ing devuan_daedalus_5.0.1_amd64_netinstall.iso to a USB stick?

It was eventually solved but not before you figured out all the hoops I should jump through to be able to get a bootable USB device.
Not precisely a choice for me or for any other Devuan user with a non-UEFI box.

ralph.ronnquist wrote:

The installer software, when executed , may offer setup for either one or both means of booting ...

Yes, if it boots.

@ralph.ronnquist: as always, thanks for your input.

@greenjeans: I think the original topic has gone MIA after the testing / project ended.
For neatness' sake, you may want to consider marking the thread as solved.

Notwithstanding, the problems this UEFI crap has brought to the table remain.

Best,

A.

Offline

#40 2025-05-30 16:27:04

greenjeans
Member
Registered: 2017-04-07
Posts: 910  
Website

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

@greenjeans: I think the original topic has gone MIA after the testing / project ended.
For neatness' sake, you may want to consider marking the thread as solved.

Not necessarily, the conversation has pivoted somewhat, but it has turned to discussion of the stumbling block itself, and perhaps a better understanding of that will help with expanding the script to include efi stuff.

I did spend a little time working on re-writing, but after several attempts i'm not quite there, so it's on the back-burner simmering while I try to gather more data and do more reading. I have a working prototype (mostly) that extends it to bypass the need for Mintstick, and does everything I want it to, wipe-format-write-add data partition. But again, that's gonna be useless for efi-only isos that may need the boot partition on the liveUSB.

Gonna be twice the amount of code just to deal with the useless efi crap. sad


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#41 Yesterday 03:47:28

dzz
Member
From: Exmouth, South West England
Registered: 2016-12-01
Posts: 71  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

A UEFI machine will not boot if there is no UEFI partition it can find on the boot device.

True but.. The 'esp' and 'boot' flags don't need setting on the USB. UEFI will look in /EFI/ on the first partition, which must be FAT formatted.  Other files can  be on the same partition. Therefore an ISO built with UEFI support can be simply copied to a FAT formatted USB and will boot in UEFI mode.

Done like this a USB will also boot in mbr mode; with few and minor modifications, the 'boot' flag set and syslinux correctly installed.

It should boot in both cases exactly like the cdrom with the same splash and boot menu.

As for 32-bit UEFI machines, I heard of them but never seen one..

Offline

#42 Yesterday 11:24:22

Altoid
Member
Registered: 2017-05-07
Posts: 1,748  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Hello:

... a USB will also boot in mbr mode; with few and minor modifications ...

I'm sure you will concur with me in that few and minor are basically relative concepts.

That said, consider having a read at the post I linked to earlier in this thread.
Having done so, reflect upon what place few and minor could possibly have in what transpired.

For a long time now, the established idea has been that any current Linux *.iso (in this case Devuan/Debian) properly dd'd to a USB stick would be able to boot from any machine, provided hardware compatiblity was complied with.

I'd say it is one of those essential parts of the jazz that Linux is all about.
eg: like TCP/IP

With the advent of this UEFI shitload and without having been said otherwise, it stands to reason the idea referenced above still stands.
If that is not what is happening, something is definitely wrong.

And having to apply any modifications, however few and minor, is neither convenient nor acceptable.
The implications of it being considered as such are huge and of significant and extensive reach.

I think my opinion reflects that of a great many Linux users.
As always, YMMV.

Thanks for your input.

A.

Offline

#43 Yesterday 13:58:07

dzz
Member
From: Exmouth, South West England
Registered: 2016-12-01
Posts: 71  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

@Altoid, thanks for your input. I missed your linked post till now, what a battle!

All I can say about that without closer scrutiny: I have seen boot failure on USB drives which had grub previously installed (by design, accident , incorrectly or for another system) or had isohybrid previously dd'd.

What mostly worked here to sort that was, before any formatting, to zero out the mbr plus a bit more e.g.

dd if=/dev/zero of=/dev/sdX bs=512 count=4096

"few and minor modifications" in this case means simply copy the contents of /isolinux/ to /syslinux/ then copy /syslinux/isolinux.cfg to /syslinux/syslinux.cfg. On a properly prepared USB drive of course.

Apologies if this is somewhat off-topic but might help resolve *some* usb boot issues.

Offline

#44 Yesterday 17:49:46

Altoid
Member
Registered: 2017-05-07
Posts: 1,748  

Re: Does anyone here use Mintstick for making livUSB's? Need testers.

Hello:

dzz wrote:

... what a battle!

Indeed.
The intervention of one of our admins was decisive in solving the issue.
ie: both finding out what was going on and coming up with a solution.

dzz wrote:

... boot failure on USB drives ...
... grub previously installed ...
... or had isohybrid ...

No the case.
I always take the precaution of formatting as cleared with gparted.
More so if the drive has had anything previously dd'd to it.

dzz wrote:

Apologies ...

No need, a constructive exchange of opinions is always healthy.

Have a good week-end.

Best,

A.

Offline

Board footer