The officially official Devuan Forum!

You are not logged in.

#101 Re: Hardware & System Configuration » Installer *.iso problems - again ... » 2025-06-26 15:29:35

Hello:

Altoid wrote:

... see if I can find it ...

Found the image, booted in an instant.

# uname -a
Linux devuan 4.16.14-v8+ #1 SMP PREEMPT Tue Jun 5 18:50:10 CEST 2018 aarch64 GNU/Linux
#

This is ascii, archived but not a problem for the time being.
And the image as seen by gnome-disks dos not show any &%$#" UEFI/EFI partition.
Probably the reason why it boots without any problems.

I can SSH as root and user but I need to install a few packages.

The /etc/sources.list from the image I saved is this:

## package repositories
deb http://pkgmaster.devuan.org/merged ascii main contrib non-free
deb http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free
deb http://pkgmaster.devuan.org/merged ascii-security main contrib non-free
#deb http://pkgmaster.devuan.org/merged ascii-backports main contrib non-free

Which would be the new list to use for the archived ascii?
Using http://archive.devuan.org/merged/dists ascii/main gets me a "does not have a Release file" error.

Best,

A.

#102 Re: Hardware & System Configuration » Installer *.iso problems - again ... » 2025-06-26 13:48:16

Hello:

ralph.ronnquist wrote:

... boot an arm64 installer on your Sun Ultra 24 WS ?

Hmm ...
Yeees?

I downloaded both the netinstall-arm64.iso and the desktop-arm64.iso, wrote them to a 32Gb SD card with the Mintstick software at some time suggested by greenjeans and attempted to boot the RPi3B+ first with the netinstall and later with the desktop *.iso.     

When nothing* happened I checked the sha256sum files again but found no discrepancy.
* not even a blink from the activity on-board led or the GbE port.

Then I thought* ...
* not really, please bear with me

"This absolute-waste-of-money™ boots from a MicroSD card.
Could it be the that the *.isos are used to install Devuan arm64 'on' the MicroSD cards?
Lets give it a try
"

Granted, a dumb idea when seen in retrospective, not with a glass of scotch by my kb.
But when the installer screen appeared on my monitor it suddenly seemed to make sense.

Till it did not.   8^°

Like I mentioned, the idea is to install a headless Devuan to the RPi3B+ to see what can be done with it, if anything (useful) at all.
I have already been able to install the latest OpenWRT but I would like to install some Devuan version.
RaspberryOS works OOTB, but it is systemd crippled, so ...

ralph.ronnquist wrote:

That netinstall iso has some isolinux software residue ...

Now I understand what was going on.
An 'unrecognised whatever' would have been nice.
And avoided me some embarrassment.

I recall that I once managed to install a Devuan (Chimaera?) desktop version and kept an image somewhere.
I'll see if I can find it and get rid of the excess baggage.

That said, I don't think I'll get too far with 1Gb RAM and a GbE port on the same bus as the 4xUSB 2.0 ports.
The Ethernet throughput will probably be lower than what I get with the WD-MBL via FTP.

Ideas / suggestions welcome.

As always, thanks for your input.

Best,

A.

#103 Off-topic » Caveat emptor -> Kingston DataTraveler Exodia M USB 3.2 » 2025-06-26 12:42:09

Altoid
Replies: 3

Hello:

I will try to make it short.
This is just a heads up for forum members, not a thread to discuss anything.

To wit:
Do not purchase a Kingston Kingston DataTraveler Exodia M USB 3.2.
It is an utter piece of crap and you will be wasting your money.

After my +10 year old and very reliable Data Traveler DTS9 USB 2.0 drive went south, I purchased three of these at ~ US$10 ea.
Did not bother with any research as all Kingston drives I have used in the past gave me no grief and worked prefectly well.
No issues, ever.

They are labelled as USB3.2 but as USB drives are all backwards compatible, I saw no problem.
And besides the on-board USB 2.0, my box also has a good quality USB 3.0 PCIe card.

I did not think to look but after running these tests I noticed that read / write speeds are not stated anywhere in the packaging.
Just says USB 3.2 Gen1, whatever that is these days.

So the next time I need to purchase a USB drive, I will check on-line first.
The Kingston brand name is no longer reliable for me.

This is how it is detected by Devuan Daedalus:

$ sudo dmesg
--- snip ---
[ ]usb 3-1.1: new SuperSpeed USB device number 3 using xhci_hcd
[ ] usb 3-1.1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 0.01
[ ] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ ] usb 3-1.1: Product: DataTraveler 3.0
[ ] usb 3-1.1: Manufacturer: Kingston
[ ] usb 3-1.1: SerialNumber: E0D55EA57403F76139331987
--- snip ---
$

I ran these tests.
Other tests were consistent with these results

# dd if=/dev/random of=/media/groucho/EXODIA64/tmp123 bs=1048576 count=3072
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 406.307 s, 7.9 MB/s
#
# dd if=/dev/random of=/media/groucho/EXODIA64/tmp123 bs=1048576 count=3072
3072+0 records in
3072+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 399.216 s, 8.1 MB/s
#

The first run is on a USB 3.0 socket on a hub at the front of the box and the second from one at the USB 3.0 PCIe card at the back of the box, there is no big difference.

I got a ~+25% write speed increase with a stream of zeroes.

$ cat /dev/zero | pv > /media/groucho/usb1/tmp123
3.00GiB 0:04:36 [10.8MiB/s] [   <=>   ]
$ 

Thinking I had been duped and had fallen for fake Kingston hardware, I searched and found a great many posts with complaints about Kingston, their new marketing practises and these USB drives which seem to be QLC type which would (?) explain the absurd write speed performance.

But it gets worse: not only the complaints line up with what I have experienced with the ones I purchased, I have also read a post that complains about data rot after only two months.

Now you know.
As always, YMMV.

Best,

A.

#104 Hardware & System Configuration » Installer *.iso problems - again ... » 2025-06-26 00:13:10

Altoid
Replies: 13

Hello:

Wanted to try Devuan in the RPi3B+ I have gathering dust in a drawer.

As I am planning to use it as a headless device, I downloaded the netinstall-arm64.iso available here.

Checked the sha256sum, burned it to a new 64Gb USB stick proceeded to boot it from my BIOS only Sun Ultra 24 WS.

TL;RD
It boots, gets to the screen to select the type of installation and that is it.
Any selection made freezes the screen for maybe 5' and then unfreezes but nothing else.
The only selection that goes an additional step is Expert Install but then freezes and like the other options, after ~ 5', unfreezes.

I will try and see what happens with the desktop image and report back, maybe tomorrow.

Any one else has this problem?

Best,

A.

#105 Re: Off-topic » GNOME is taking the scum bag approach still... » 2025-06-16 11:16:52

Hello:

Michael Larabel wrote:

This will make it harder to run GNOME on operating systems without systemd.

Hmm ...

A huge loss ...
A truly huge loss indeed. :^(

A.

#106 Re: Desktop and Multimedia » Android in a VM - recommendations? » 2025-06-14 01:14:25

Hello:

steve_v wrote:

... will all do what was asked in the OP ...

The OP asked about much more than that.
Running in an emulator is only a necessary part of what OP ultimately wanted to do.

Duke Nukem wrote:

... there are certain things my bank will not let you do on their website but only with their app.

The app the OP refers to is the bank's custom application running on a smartphone in the way I previously described.

So the answer to the question/s I posed in my previous post would seem to be a hard no.

steve_v wrote:

None of them will register a real IMEI ...

Exactly.

steve_v wrote:

... depends how your authenticator works.
... sign in to google from the virtual device with a real account.

As far as I can tell, Google et al have absolutely no involvement (at least for the time being) in the client <-> bank transaction through their authenticating servers, none whatsoever.

Banks are run by experienced white collar crooks, not idiots.

Many years ago, I tried to log into one of my bank's websites using the Tor browser, thinking it would be better and safer.
It took a few seconds to get kicked out of the session and instantly get an email summoning me to the head branch to speak with an accounts officer who, sternly produced a disclaimer for me to sign because "third party malware had been detected during my last log in" and assume full responsibility for whatever could happen, lest they terminate my account on the spot if I did not sign it.

Needless to say, he did not take lightly my asking if he was referring to the MS operating system (Win98SE) running on the boxes I used at the office and at home.

So no, for all the reasons I explained in my lengthy post, I do not think it is possible to avoid using a smartphone to do any banking unless the bank allows the use of an 'on-device' authenticator running on your smartphone, something that will never happen.

Basically because, among other things, it is an integral part of the the meta-data farming system that has been put in place in the past 5/10 years.
With no government oversight whatsoever.

Soon enough, you will not even be able to order a pizza at a resturant without a smartphone.
The absence of a printed menu has recently started to become a widespread trend.
ie: sitting at a table in the joint, you actually have to use a smartphone to see the menu on the restautant's web site.

And it is going to get worse.  8^|

Best,

A.

#107 Re: Desktop and Multimedia » Android in a VM - recommendations? » 2025-06-13 17:27:48

Hello:

rbit wrote:

Genymotion ...

steve_v wrote:

Android studio ...

yurimodin wrote:

Waydroid via Weston ...

Interesting.

Let me see if I understood this correctly:

Using one or any of the applications suggested above, I can log into my bank or whatever secure website requiring a website supplied token* and carry out my business without actually using a smartphone?

* the token sent by the secure server to a smartphone registered under my name with that same server but without using the smartphone in any way.

Yes?

That said, I do obtain secure access to a couple of secure websites using my browser.
But the token is generated by the smartphone itself (ie: me) via an app such as Aegis Authenticator.
All I had to do is copy a QR code generated by the owner of the website and apply it to the authenticator.

Any time I need to access that secure server, I first login to the website (with UserID+PW) and then use the authenticator to generate a six digit number (on demand) in order to complete my access.

No further process is carried out on or by the secure server.

Best,

A.

#108 Re: Desktop and Multimedia » Android in a VM - recommendations? » 2025-06-13 13:13:16

Hello:

Duke Nukem wrote:

... becoming increasingly difficult to avoid using a smartphone ...

Indeed ...
The final objective is that everyone uses a smartphone for everything.

Duke Nukem wrote:

... have one but hate it.

Same here.
And the local telcos do not offer any dumbphone options.

Duke Nukem wrote:

... doctors' practice ...
... certain things my bank will not let you do on their website ...
... using a PC must be a bit shady ...

A local doctor's association (or whatever it is) has intere$ted / offered their associated physicians access to a dedicated website where, instead of handing you the usual hand written prescription while you are in front to them, they will send it to you via email.

To that effect, all your data and prescription history is stored (safely, never shared or sold mind you) in the association's server.
Not only that, it seems that the chaps actually get some cash for every patient that gets uploaded to the data base.

Like my proctologist's secretary ignorantly explained: "the Dr. saves time when not having to write the prescription".  8^D !!!

The bank where I get my pension deposit and have been a client for more than 25 years one day decided that I would no longer be able to transfer money between my account and any other account (mine or not) if I did not have a token which was (to them) the only possible way to ID myself before the bank's infrastructure if I was using their website.

Gone was the 2FA Auth I had been using and as you would expect, said token could only be generated by an app running in a smartphone I did not have (used a Blackberry at the time).

Needless to say that the process of installing the app involved (you guessed it) uploading photos of your mug like if you were being processed for murder. ie: front / right / left / smiling / not smiling and so on. It's a wonder they did not also want a photo of my tonsils.

I could go on as examples of this bulshit abound so I will stop now and explain why all this is happening worldwide:

It is all about control.
A smartphone is basically a tracking device and all these app shennanigans are meta-data harvesting procedures.

The moment you get your mug shot on-line is the moment it is shared worldwide, istantly associated to all the information you shed permanently with absolutely everything you do with a smartphone. eg: banking, digital wallet payments, etc.

The added bonus for banking institutions is that, sooner than later, any and all client banking activity will have to be done via a smartphone.
Forget your secure Linux box behind a router / firewall at home and, to their shareholder's delight as all their clients will then work for them, welcome to the world of banks without branches, ATMs, tellers, employees, etc.

Like stores of all sorts that, as time goes by, have more self-service checkout tills and less cashiers or humans: you are both the employee (weighing/sorting/checking out the goods) and the client (paying for it all).

I flatly refuse to use them and point out to the employee at the till that if I do, eventually they will be out of a job, a job which they are good at.
Their reply? "I find it very helpful, especially when there are many clients in the store"
Unbelievable.

Duke Nukem wrote:

... just want one to use as a smartphone, and I want it to run in a VM ...

I do not think there is one and given how the system works, I there will not ever be one.

This because the key to all this is that the app runs on the smartphone, ie: the portable data harvesting device registered (via an IMEI <-> your ID pair) to you and working with / through the telco's infrastructure which is (obviously) linked to the rest of the world-wide telco infrastructure and whatever other infrastructure feeds from it.

As far as I know, it is impossible to access that infrastructure directly with a computer / emulator but you can do it if your computer accesses it via your smartphone, I believe there is such a thing for whatsup. You would need to fake quite a few things, the main one being a valid IMEI / your ID pair.

Soon there will be no way of using any telco infrastructure without a registered smartphone.

No dumphones or burner phones will be allowed and all communication devices will have to be linked to a valid ID, meta-data* included, of course.
* full name, address, full facial recognition data, some ID number (passport, etc.) and who knows what else.

Best,

A.

#109 Re: DIY » Need advice, building a small server for city-library-Devuan mirror » 2025-06-11 20:29:30

Hello:

greenjeans wrote:

One big question ...

I can feel your pain from way down here.  8^°

Food for thought:
From your OP I gather that $$$ is a limitation and a very understandable one.

As you know, I run my Devuan system on a ca. 2007 Sun Microsystems Ultra 24 WS.
Doesn't ever skip a beat and it is the best IT purchase I ever made.
The box is built like a tank, way ahead of its time when it came out and still was 10 years later.
You don't get hardware like this anymore.

Why not consider an older, high quality box to populate with enough RAM, SAS controller / drives and a pair of 4port Gigabit cards?
I think that is where you will get the best bang for your town's money.
And no EFI ...

eg: a Sun Microsystems Ultra 40 M2.

2x AMD 3.0 GHz Opteron dual-core processors + 32 GB of DDR2-667 ECC
2x 10/100/1000BASE-T Gigabit Ethernet ports
8x SATA / SAS HDD slots
2x PCIe x16 graphics slots
2x PCIe x8 expansion slots
1x PCI 33MHz, 32-bit slot

It probably has (like my U24) pins for a RS-232 port, which has to be enabled in BIOS.
Could be quite useful.

You can probably get a basic one for a good price and populate it according to your needs.

eg: run it with no monitor, use 1x PCIe x16 slot for a four port GbE card, 1x PCIe x16 slot an 8 port SAS controller and boot from a SSD drive on an adapter in one of the expansion slots and you will still have 1x PCIe x8 and 1x PCI 33MHz 32-bit slots for whatever else you want to stuff in there.

Just my 0.02 ...

Best,

A.

#110 Re: Desktop and Multimedia » Printer suddenly stopped working recently » 2025-06-09 17:11:11

Hello:

Mike-thinky wrote:

... printer used to work, but has recently refused to print.

For lack of a better reply, I'd say that what you have is a very specific CUPS issue.

Mike-thinky wrote:

... suggestions to track down and fix this?

Unfortunately, Apple Corp. has blocked all acess to the huge source of data/information that were the CUPS archives.

That said, there is are new lists set up by the chap who wrote CUPS:

See here for general instructions:
https://subspace.kernel.org/subscribing.html

See here for specific CUPS lists instructions:
https://subspace.kernel.org/lists.linux.dev.html

For printing-architecture
subscribe       printing-architecture+subscribe@lists.linux.dev   
unsubscribe   printing-architecture+unsubscribe@lists.linux.dev
posting          printing-architecture@lists.linux.dev
archive          https://lore.kernel.org/printing-architecture/

For printing-users
subscribe      printing-users+subscribe@lists.linux.dev
unsubscribe  printing-users+unsubscribe@lists.linux.dev
posting          printing-users@lists.linux.dev
archive          https://lore.kernel.org/printing-users/

The background to all this hassle, more specifically, the archives at https://lists.cups.org/pipermail/cups/:

Up to (at least) May last year, the archive was accessible to anyone, suscribed or not.
Those suscribed to the list could post to all list members by sending mail to cups@cups.org
Just like most standard issue mailing lists ...

Some time ago I needed to look up something and found that attempting to access the archives
returned a *403 Forbidden* page.

A mail to cups-owner@cups org got me this reply:
---
More recent cups related stuff can be found at openprinting.org.
When apple bought cups, those lists went to their servers.
Mike quietly left apple years ago, and it appears that apple has removed the lists.
They own "cups". So Mike had to make a new name.
---
'Mike' obviously refers to Michael Sweet who left Apple in December 2019.

Unfortunately, a further email asking for more information went unanswered.
Bad vibes ...

It seems that I can still post to the list (ie: email does not bounce) and I receive other people's
posts containing replies so the list works, but the thread is not accessible.

I then posted to the OpenPrinting GitHub page asking about this and right away received a
reply from M.R. Sweet himself:

https://github.com/OpenPrinting/cups/discussions/1237

---
Unfortunately, lists.cups.org is an Apple-managed site and we have no control over its
contents or configuration...
The printing-users and printing-architecture lists on kernel.org are the current place for
discussing printing-related issues.
---

The thing is that all this went down without *any* notice sent to the list and the wealth of information that made up the archives are, thanks to the assholes at Apple Corp., lost to any and everyone who ever posted anything there.

The first example of such shitty behaviour came from yet another well known corporation (Oracle): after taking over Sun Microsystems, they blocked all access (mailing lists and downlaods) to anyone without a $ervice contract.

Best,

A.

#111 Re: Freedom Hacks » How to change dependencies of a Debian package » 2025-06-01 13:34:32

Hello:

RE: "Devuanite experience"
Please excuse my OT but as you have mentioned it:

igorzwx wrote:

... one may still need to have a long list of pinned packages.

My Daedalus box has these:

$ apt-cache policy
--- snip ---
Pinned packages:
     pulseaudio -> 16.1+dfsg1-2+b1 with priority -1
     pulseaudio:i386 -> 16.1+dfsg1-2+b1 with priority -1
     apparmor -> 3.0.8-3 with priority -1
     apparmor:i386 -> 3.0.8-3 with priority -1
     zeitgeist-datahub -> 1.0.4-5 with priority -1
     zeitgeist -> 1.0.4-5 with priority -1
     zeitgeist-core -> 1.0.4-5 with priority -1
$ 

Made me wonder if it was long enough.

Best,

A.

#112 Re: Other Issues » tailscale error » 2025-05-31 21:54:37

Hello:

@SlySven
I'm afraid you have misquoted me.
The quote belongs to the OP, kapqa.

I would never* spell systemd like that.  8^D !!!

* lest I summon an instant rebuke from our (long time) absentee member, HoaS.

Best,

A.

#113 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-31 17:49:46

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.

#114 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-31 11:24:22

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.

#115 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-30 11:50:35

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.

#116 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-29 22:09:31

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.

#117 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-29 17:00:39

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.

#118 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-29 10:56:27

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.

#119 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-28 00:14:48

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.

#120 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-27 22:46:57

Hello:

greenjeans wrote:

... one last question ...

No problem.

greenjeans wrote:

... add the extra sleep command ...

No, did not touch it.
Just copied the script, labelled and made executable.

greenjeans wrote:

...work for you without having to add the extra code?

Apparently ...

But I think I found a use case where the script does not work.
ie: in UEFI boxes.

As you may recall, I used a Chimaera i386 *.iso.file from the Devuan repository.
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.
ie: as expected, gparted reported a single *.iso file while disks reported an *.iso file and the remaining unformatted/empty space.

Then I tried a Bookworm based #!++ i386 *.iso file to see how it would work. -> cbpp-12.0-i386-20230611.iso
Find it here you may want to try it out and see what happens.

TL;DR
Using the #!++ *.iso, Mintstick generates a first partition with an *.iso image, a second UEFI partiton and the remaining empty space.
As a result, the script will delete the partition containing the UEFI shit.

I expect that the same thing will happen with any modern *.iso file beyond Chimaera or equivalent.

In this last test, it deleted the partition with the UEFI shit, left the unformatted empty space untouched and threw the same error we both experienced.
You may want to consider the script looking only for empty and unformatted space.

It's fine with me, all my hardware is non-UEFI (BIOS boot) so I just created a a FAT32 DATA partition by hand.
But how about the cases you will be working on?

That said, the error does not seem to be reproducible.
And since both of us have seen it ie: different hardware, a pause may be effectively needed somewhere in the script.

Best,

A.

#121 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-27 21:13:11

Hello:

greenjeans wrote:

... thank you ...

You're welcome.

Done.
Ran the whole process over again, just in case.
ie: format and write *.iso with mintstick and then the new script as executable.

Here is the terminal printout:

[root@devuan isos]# sudo ./fscli.sh
This utility is for use on an existing liveUSB with an ISO-9660 filesystem
created by Mintstick. It will create a secondary FAT32 data partition labeled
'DATA' in the remaining space. WARNING: Existing secondary partitions will be
overwritten, and data on them will be lost.

Ensure only one liveUSB with an ISO-9660 filesystem is plugged in.
Run 'lsblk -o NAME,FSTYPE,LABEL' or 'blkid' to check connected devices.

Continue? (y/n): 
y
Wiping ISO-9660 signatures...
/dev/sdg: 5 bytes were erased at offset 0x00008001 (iso9660): 43 44 30 30 31
Removing existing secondary partitions...
Creating new partition...
Checking that no-one is using this disk right now ... OK

Disk /dev/sdg: 1.89 GiB, 2032664576 bytes, 3970048 sectors
Disk model: Storage Device  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x23927a24

Old situation:

Device     Boot Start     End Sectors  Size Id Type
/dev/sdg1  *       64 2333951 2333888  1.1G 17 Hidden HPFS/NTFS

/dev/sdg2: Created a new partition 2 of type 'W95 FAT32 (LBA)' and of size 798.9 MiB.
Partition #2 contains a vfat signature.
/dev/sdg3: Done.

New situation:
Disklabel type: dos
Disk identifier: 0x23927a24

Device     Boot   Start     End Sectors   Size Id Type
/dev/sdg1  *         64 2333951 2333888   1.1G 17 Hidden HPFS/NTFS
/dev/sdg2       2333952 3970047 1636096 798.9M  c W95 FAT32 (LBA)

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Refreshing partition table...
Formatting new partition as FAT32...
mkfs.fat 4.2 (2021-01-31)
Success! New partition /dev/sdg2 created with FAT32 filesystem, labeled 'DATA'.
[root@devuan isos]# 

Script exited without errors and SD Card boots my 1000HE as expected.

greenjeans wrote:

... if you ever find yourself in the Midwest section of the US ...

Of course ...

Best,

A.

#122 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-27 20:23:10

Hello:

greenjeans wrote:

... introduced some additional latency ...

I've given that some thought.
The weakest link here is the Class 2 2.0Gb SD Card + SD Card reader.
disks clocks it at an average read rate of 10.5MB/s, average write speed is probably slower.
By comparison, the SAS drive from which the *.iso file was read is clocked at an average read rate of 105.2 MB/s.
ie: 10X higher using the same size (10MB) sample.

greenjeans wrote:

... cli version of the script ...

No need.
Patch the script, test it and let me know the additions.
ie: line number and syntax so I can just add them verbatim to the original.

Best,

A.

Edit:
Posts crossed while I was making espresso.
I'll run the tests and post as soon as I get it done, later tonight or early tomorrow.

.

#123 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-27 15:54:12

Hello:

greenjeans wrote:

... funky set-up ...

Indeed ...

greenjeans wrote:

... surprised it worked at all.
... a USB 3.0 slot on a 2009 machine?

The U24 MB has two front and four rear USB 2.0 sockets as well as one internal USB 1.1 USB.
There are two useless 1394a Firewire sockets but I've never used them and have blacklisted the kernel module.

For USB 3.0 I have a PCIe X1 USB card with four external sockets, jury-rigged to a (rather crappy) USB 2.0/3.0 hub occupying the 5.25" bay where the OEM CD/DVD drive was. I keep a ca. 2009 LG GB08LU11 Super Multi DVD Writer at hand just in case I need to boot from a CD/DVD or read/write optical media.

Best,

A.

#124 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-27 13:01:05

Hello:

greenjeans wrote:

Thanks ...
... had similar errors ...
... great info ...

Glad I could be of help.

greenjeans wrote:

... specs of the machine you tested it on?
... model and size of stick?

Box is a ca. 2009 Sun Microsystems Ultra 24 WS with an Intel Q9550 / 8Gb RAM - Linux 6.1.0-37-amd64 x86_64
Swap file in RAM.

$ sudo swapon -s
Filename				Type		Size		Used		Priority
/dev/sdb3                               partition	2749436		0		-2
/dev/zram0                              partition	6291452		0		100
$ 

The memory is a standard Sandisk SD (Class 2) 2.0Gb  Card on a generic USB 2.0 SD /MicroSD Card reader plugged into a USB 3.0 slot.

The difference in read/access speeds between a Class 2 SD card, USB 2.0 reader in a USB 3.0 slot and a swapfile in RAM may (?) account for whatever happens timing wise. I'd say that, in this specific case, you don't need fast.
ie: accurate and reliable would be the thing to aim for.

Best,

A.

#125 Re: DIY » Does anyone here use Mintstick for making livUSB's? Need testers. » 2025-05-27 12:22:19

Hello:

ralph.ronnquist wrote:

... use of the disk group ...
... sufficient permission for running ...

I belong to all the groups I thought were needed when I set up this box long ago with Devuan jesse, things may well have changed or not.
eg: I nuked exim back when I was running Beowulf but I see the group Debian-exim:x: 104: is still there, so I fixed that.

# groupdel Debian-exim
# 

Then there are groups which call my attention:

$getent group | grep systemd
systemd-journal:x:119:
systemd-timesync:x:120:
systemd-network:x:121:
systemd-resolve:x:122:
systemd-bus-proxy:x:123:
$ 

I see no reason for a Devuan user to belong to any of them.
ie: because -> Devuan but that may not be enough ...

I suspect a rogue (to give it a name) application could well add a user to any/all of those.
Made me wonder if they should be part of what Devuan should not have in its system. ie: sanitised

That said, the disk group is still there but, alas, I am not in it.
Fixed that.

ralph.ronnquist wrote:

... does your udev rules assign group permission for removable devices?

The default udev set lists the disk group:

[root@devuan rules.d] # cat 50-udev-default.rules | grep disk
SUBSYSTEM=="block", GROUP="disk"
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="0", GROUP="disk"
KERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk"
KERNEL=="loop-control", GROUP="disk", OPTIONS+="static_node=loop-control"
KERNEL=="btrfs-control", GROUP="disk"
KERNEL=="rawctl", GROUP="disk"
SUBSYSTEM=="raw", KERNEL=="raw[0-9]*", GROUP="disk"
SUBSYSTEM=="aoe", GROUP="disk", MODE="0220"
[root@devuan rules.d]# 

No idea if they are what they should be.
The folder for custom udev rules has this:

[root@devuan ~]# ls /etc/udev/rules.d
59-smfp_samsung.rules
60-vboxdrv.rules
70-persistent-net.rules
[root@devuan ~]# 

I am member of the sudo group but for the use of a specific set of commands with rules in /etc/sudoers.d.
eg: updatedb, fdisk -l, etc.
Some without user PW and, in an attempt to keep me on my toes, some needing it to run.

The rest of the important commands are run as root.
I'd appreciate your letting me know if something is amiss in how this is set up.

Thanks for your input.

Best,

A.

Board footer

Forum Software