libera/#devuan/ Thursday, 2023-11-02

AnOldHackergnarface onefang fsmithred rwp Thanks for your advice.  In the end, I managed to clean things up from the live thumbdrive installation.  Since I'm not a regular, I figure it is my duty to inform as best as I can.  I'll try to hang around, so if there is a better place to document, please ping me.  Situation:  Dell Latitude 7520. BIOS version 1.24.1.  i7-1185G7/4.8GHz.  Came installed with Windows.  Tried to go multiboot w/out reading i01:37
AnOldHackertructions.  Blew away EFI partition.  Tried to build new partition table, misread things, used 1M EFI partition.  Yeah, this is a candidate for liveboot-only. :D   What I found.  1) BIG SECRET:  EFI data gets saved to NVRAM, and mount reads from the NVRAM.  fdisk, cfdisk, gdisk, and gparted DO NOT WRITE TO THIS NVRAM.  So, when I tried up the EFI partition size, mount still loaded a 1M partition--even after reboots.  How DOES it get wr01:37
AnOldHackerten?  Clearly something in the EFI subsystem.  Which leads to 2) MAJOR NON-OBVIOUS FACT:  When you use fdisk, and you create an EFI partition, and it warns you about a flag, DO NOT CLEAR IT.  Especially if you end up using gparted to set the partition type to VFAT32.  Which gets us to 3) SECRET: If you use gparted to set the partition type, refracta will think that the drive is formatted.  Grub-install will then fail with "Unknown Part01:37
AnOldHackerion Type" which is _really_ confusing, because gparted will _look_ _exactly_ _like_ _the_ _pictures_ _say_.  Sure, there are warnings "do not format an existing efi partition", but what exactly does that mean when you yourself just created the partition?01:37
AnOldHackerSo in the end, I used FDISK to create a 550M partition, changed its type to 1, ignored the warning about the EFI flag, created a second partition for the rest of the drive, and ran refracta.  The EFI install "just worked"--so long as I didn't drop into the chroot & cause that part of the process to be skipped.01:37
gnarfaceAnOldHacker: if you want the saga to be preserved for posterity, you could put it on the forum and perhaps it can serve as a warning to others01:41
AnOldHackerPointer?01:41
gnarfaceit's in the channel topic01:41
AnOldHackerWell, if I can serve as a warning to others.... :D01:42
AnOldHackergnarface:  Heh.  I realized I forgot all about the multi-media install path issue above.  If you want to pile anything on, here it is:  https://dev1galaxy.org/viewtopic.php?pid=45198#p4519802:00
rwpAnOldHacker, I am glad to hear that you got things figured out!  Thank you for coming back here and reporting how things worked out for you.03:50
AnOldHackerI'm a firm believer in the obverse of principle of the conservation of pain--if you've felt the pain, you should be able to help others avoid it!03:52
rwpAs to a couple of details, yes, half of what is needed for UEFI to boot is the files on disk and the other half is magic pixie dust stuff stored in NVRAM.  I don't understand the details either.03:53
rwpOne can use efibootmgr to view and modify the NVRAM data.  That's new with UEFI boot as compared with Legacy BIOS boot which does not have anything similar.03:54
rwpA wishlist item from me for the installer would be to have the installer create ALL of the magic partitions needed for booting any system, such that the disk could later be pulled and moved to another system hardware and then be made to boot there.  But no joy.  If one wants that then they need to figure out the partitions themselves.03:55
rwpAs far as I know there are at least three partition layouts required. 1) Legacy BIOS 2) UEFI 3) UEFI booting Legacy BIOS using the CSM compatibility service module.  And each of those has different partition requirements.03:56
AnOldHackerIt might actually be less work to identify the bios & firmware version, and build to that.  *Might*.  My time at AMD 20 years ago strongly suggests that the BIOS manufacturers cannot be bothered to hire competent people to program their parts.  I strongly doubt there has been a change.03:58
rwpMy HP workstations all have buggy UEFI with various different bugs even though they are otherwise closely similar.04:02
rwpThat's just another confirmation that the large corporate houses can't get it right.04:03
AnOldHackerI would be strongly that HP does not program the BIOS in their computers.  The BIOS manufacturer does that.04:07
rwpWhen I worked there we definitely had a firmware team that was in charge of it.  They licensed it and then tweaked it but they were the last ones to touch it.04:12
AnOldHackerHuh.  Well, that's an improvement.04:12
onefangrwp: I have something called Magic Pixie Dust, 20+ operating systems on a micro SD card, including a variety of rescue tools.  Also micro-SD to SD and USB converters / readers.05:31
onefangI'm in the middle of rewriting my usual install script to use Daedalus, next is to redo Magic Pixie Dust for Daedalus, and adding any more things that can help this sort of thing.  I'm also looking at a BIOS thing that can pretend to be EFI so I can boot with rEFInd on BIOS systems.05:34
rwpIf I were in offtopic I might mention that most stories I have read about pixie dust describe it as very itchy in the extreme for a few days.  But we aren't so I won't. :-)06:34
AnOldHackerrwp :D06:58
rrqonefang: legacy bios chain loading boot via UEFI bios emulation sounds like a Project :)07:52
onefangDUET looks interesting for that.  https://www.rodsbooks.com/bios2uefi/08:07
rrqright; is tianocore in different name?08:19
rrqhmm; moved to microsoft (github) ?08:20
rrq.. and then leads to "Clover EFI bootloader" as the current08:25
rrqno that's also moed to microsoft (github)08:25
onefangI haven't actually looked deeper than that page yet.08:30
rrqok.. then you might warp to CloverHackyColor/CloverBootloader directly :)08:33
rrqhmm doesn't stick in the eye as boot equipments for a hybrid ISO; rather an end-users boot loader to handle multiple installations08:44
rrq(.. and heavily apple-fanboi by the look of it)08:46
onefangIf you find something that does the job, lemme know.  I'm busy with my daedalus install script this week.08:48
onefangNothing wrong with apple-fanboi.  Oh wait, you don't mean the fruit or the music company.  Paul McCartney played near here last night.09:01
onefangrrq: Ah Tianocore is the EFI BIOS used with qemu.12:01
onefangovfm package -   "Open Virtual Machine Firmware is a build of EDK II for 64-bit x86 virtual machines. It includes full support for UEFI, including Secure Boot, allowing use of UEFI in place of a traditional BIOS in your VM."  At boot time it shows a Tianacore logo.12:05
rrqdoes it work as "bootloader" on legacy boot ?12:11
onefangIt works as qemu's EFI BIOS.  Haven't tried to see if I can chain it from a legacy BIOS.12:16
rrqas bios it resides in the boot rom while as bootloader it resides on a device; it might get confused esp about initialising its residence device12:17
onefangWell you mentioned Tianocore and I saw the logo when booting this qemu in EFI mode.  So it's a BIOS, not a bootloader in this case.12:20
rrqafaiui tianocore is the base for most current uefi implementations, and it's also what's used in "clover"; so it'd be good as uefi emulator if it'd be happy residing on a device12:22
rrqor else it needs a prior loader that "installs" it fully into ram12:25
rrqand then that loader needs device reading ability, handling all sorts of devices12:28
rrqegg meets chicken12:29
onefangSo I'll look at this clover thing later.12:29
stratoI have problems with wine in daedalus. Is this a known issue, or do I have to dig deeper?13:39
djphdepends on "the problem" (I mean, I'm not having any problems with the few wine-games I have)13:41
stratoThis is one of the errors I get:13:41
strato00d4:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c000013513:41
djphso WoW is missing a dll, or it's broken13:42
djphhttps://forum.winehq.org/viewtopic.php?t=37610 <- first hit on google13:43
djphdidn't even include "wine" in the thing13:43
stratoWhat is WoW ?13:43
djphI thought it was "World of Warcraft" but ... um, maybe not :)13:44
stratoMy google hit was, among others: https://forum.winehq.org/viewtopic.php?t=36023 :)13:45
stratoI tried it, it dont work.13:45
djph:(13:45
djphmaybe i'm just lucky because I'm running a chimaera -> daedalus upgrade ? :|13:46
stratoIt did run before I upgraded13:46
stratoWell, it does not seem to be a known issue, so I dig deeper :)13:48
KZSAZOdjph: https://bugs.launchpad.net/ubuntu/+source/wine/+bug/2024267 you're missing the 32bit wine packages14:48
KZSAZOmake sure to check out the WineHQ repo too https://wiki.winehq.org/Debian14:49
djphKZSAZO: I'm not missing anything, it's working here.  but maybe that'll help strato14:54
KZSAZOdjph: oh, i meant to quote strato :) sorry!14:56
djph:)14:57
djphKZSAZO: the keys are like right next to each other14:57
stratoI did install and uninstall wine32 several times, it did not help, so I am looking further.15:28
stratoAnd by the way: lscpu15:34
stratoArkitektur:                x86_6415:34
strato  Op-tilstande for CPU:    32-bit, 64-bit15:34
stratoSo 32 bit architecture should be activated15:35
gnarfacestrato: show me the output of these commands (put them at paste.debian.net):16:05
gnarfacedpkg --print-foreign-architectures16:05
gnarfacedpkg --print-architecture16:06
gnarfacedpkg -l |grep wine16:06
gnarfacejust a sanity check first16:06
gnarfacebtw the ntdll thing is probably a red herring16:06
gnarfacedjph: completely confusingly, "WoW" is also the acronym microsoft uses to describe their dual-architecture dll environment16:08
gnarfaceit's their equivalent of "Multiarch" though it's a complete mess by comparison16:09
gnarface(basically every piece of software indiscriminantly uses a mix of both architectures)16:10
djphgnarface: I am ever more glad I'm not using windows16:14
gnarface(and it's extra more confusing when searching wine support forums about it, because microsoft's stupid "syswow64" and World of Warcraft are usually both being debugged at the same time)16:14
gnarfaceWorld of Warcraft being one of the first major games to use this16:15
gnarfacedid microsoft name it that way to purposefully cause confusion? there's no other plausible explanation16:15
gnarfacestrato: btw there's some package in the repos you can install to get rid of the ntdll error, i'm trying to remember the name... but like i said, usually that's not the actual problem.16:16
gnarfacethat error often shows up even when stuff all works right16:16
gnarfacedamnit17:20
gnarfacei just remembered the package name is winbind, but strato is already gone17:20
gnarfaceif strato comes back, tell him the package name i was trying to remember above is winbind17:21
gnarfacebut like i said, that'll probably suppress the error but not the actual problem17:21
aitor_hi20:42
aitor_today i've gotten thunar-volman's volume management working with vdev for the first time, and the *.pkla files defined for udisks2 in /etc/polkit-1/rules.d are working as well20:46
aitor_thanks to the recent change in the helpers:20:50
aitor_https://github.com/storaged-project/udisks/discussions/120920:50
plasma41aitor_: Neat! :-)20:50
aitor_now i'm planning to unify both libeudev and libudev-compat into one shared library20:51
plasma41aitor_: Sounds great20:51
aitor_I think it's possible, and advisable, because change20:51
aitor_... because changes between them, while possible, are a bit of a complication due to libapt's dependency on libudev20:52
plasma41I'll take your word for it. The {,e}udev code goes a bit over my head, but it's reassuring to hear that it's being worked on by someone knowledgeable about it.20:55
aitor_eudev is being mantained by Boian Bonev, among other contributors20:57
aitor_actually eudev is working better than vdev, but I find the latter very promissing20:59
plasma41aitor_: I like having options, so I encourage the experimentation with multiple projects21:02
aitor_yes, this is what i'm trying to do, I also started including s6 in gnuinos21:04
aitor_and I like it very much21:05
plasma41aitor_: Do you know what the state of s6 is in Debian? https://tracker.debian.org/pkg/s6 I've not had the opportunity to try it out.21:06
aitor_a bit stuck21:07
aitor_some packages are missing21:07
aitor_I packaged the most recent versions for gnuinos, but they have not been uploaded to the repository yet21:08
aitor_however, there is an iso image for testing21:08
plasma41aitor_: Link?21:08
aitor_https://www.gnuinos.org/mirror/daedalus/s6%20(experimental)/21:09
plasma41Thanks :-)21:09
aitor_not for production, of course21:09
plasma41Understood21:09
aitor_all the stuff related to sysvinit has been removed, it's not an hybrid init21:10
aitor_pure s621:10
plasma41Gotcha21:10
aitor_you'll not find things like /etc/inittab and the like21:11
aitor_plasma41, time to dinner21:11
aitor_i'll be in touch21:11
aitor_here, more often...21:12
plasma41Thanks for chatting with me. TTYL. Enjoy your meal.21:12
aitor_thanks, bye devuaners :)21:12
plasma41\o21:13

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!