libera/#devuan/ Thursday, 2023-03-16

Christianhello I am new and i just removed my systemd :)) My decision came after I noticed that they removed the -d option in puma to force people to use systemd04:37
gnarfacecongratulations04:40
gnarfacethis puma? puma - threaded HTTP 1.1 server for Ruby/Rack applications04:44
Christianyes05:04
Christianno I have to remember the init.d thing :))05:06
Christianhope you guys compile puma with the -d option05:08
brocashelmi've been using devuan + runit for years already. very light and fast05:14
ecxodI changed my nick because christian was not free05:25
ecxodbut NICKSERV is not sending that email05:26
FatPhilBugger, utterly unable to boot from USB install media on my X25007:44
FatPhilSimply cannot get into the BIOS to change the boot settings.07:44
FatPhilTried esc, f1, f2, f12, ctrl-s, with and without the "fn" key for toggling the fn key meanings, pressing and holding, tapping repeatedly, basically everything that's ever fricken worked, and all I get is the bloody windows desktop.07:45
FatPhilI did manage to get into it just once after ~20 minutes of trying yesterday, and was able to enable booting from legacy media. but this morning, now I have a USB stick with a bootable devuan installer, I've wasted a whole hour already, and failed ~50 times out of 50.07:47
FatPhilshop I bought it from doesn't open for another hour or so.07:48
DashiePiedoes it have an intel processor?07:48
DashiePieI ask this, because I have a win10 pc with an intel processor, and it has this feature that prevents install of Devuan. I forget what it's called, though.07:51
DashiePieas for if it's win11, this might help for both win10 and 11   https://answers.microsoft.com/en-us/windows/forum/all/cant-access-bios-or-advanced-startup-on-windows-11/8f60686d-a5ec-40cc-b3ff-787c8c2f300a07:52
DashiePieI just remebered what it was called: Optane07:54
DashiePieI hope that helps, but it's bedtime for me, goodnight08:00
ecxodhey ! it is my first day without this incredible thing, and everything is working well .. :))08:00
onefangFatPhil: Might be that the option of booting from something else is hidden in the BIOS setup screens.08:02
onefangAlso some can disable the graphics boot, or disable silent boot, which may give you a "Press this odd key combo to select boot device" flashing up for a half second before it actually boots..08:14
FatPhilI don't even know what version of windows it is because they are all so unfamiliar to me I (a) don't recognise them; and (b) don't know how to find out.08:16
FatPhilonefang: my random pressing did get me in *just once*, and I turned on every "slow/helpful boot" option I could find - so it prints the message to press <F1> to enter the bios setup utility, for example, and pauses for a couple of seconds at each of the numerous booting stages.08:18
FatPhilI can repeatedly pull up the boot selection device menu with ctrl-s, but that doesn't offer the USB stick.08:19
FatPhilI did also set the "permit booting from legacy media" while I was in the bios yesterday.08:19
onefangAh you might need to enable booting for specific devices.08:19
FatPhilthat was the weird thing about the bios yesterday - it *didn't* have a boot order configuration panel.08:20
FatPhilso I couldn't explicitly add USB to the list of things it would look at.08:20
brocashelmtrying out openntpd instead of ntp/ntpsec for network time synchronization. any thoughts on that one? lighter and stabler?08:20
FatPhilctrl-s offers me the hard disk and PXE08:21
onefangWell if it worked once, but you don't recall what it was that did work, less random pressing, and pay more attention.08:21
FatPhilbrocashelm: I've neem on openntpd for ever with no issues, I prefer it to the canonical package.08:21
FatPhilonefang: I'd already gone through all of the sane keypresses, I was getting kinda desperate.08:22
FatPhilnot as desperate as I am today, I've wasted well over an hour booting into windows 50 times already.08:22
onefangTime to try insanity.  Sometimes it helps.  B-)08:22
brocashelmfatphil: oh, cool. works well for me so far. what about sndio as an alternative to pulseaudio or pipewire? still on alsa as it just works08:23
onefangALSA + JACK is what I use.08:23
FatPhilI'm just plain ALSA08:23
brocashelmjust pure alsa here08:23
onefangIgnore those that say JACK is hard and use QjackCtl.08:24
brocashelmi have not had a reason to add any of those layers. just wondering how sndio compares to them08:26
FatPhilI always ask myself "what is the problem that I have such that $newtech is the solution to that problem", and that's why I'm always on "legacy" software.08:26
brocashelmmaybe if i wanted to record sound through my screen, so pulseaudio or pipewire would "work" in that regard. i've had usb headsets work with just alsa firmware tinkering08:26
onefangWell in my case, this year I have started learning to be an electronic music producer, so JACK is needed.08:27
brocashelmout of curiosity, what programs are you using for your production? ardour and the like?08:27
onefangMostly MusE that I compile myself from their git.  Plus looots of plugins.08:28
brocashelmi have seen that sndio can work well with midi devices, so i could plug in a keyboard or v-drums08:28
brocashelmok, i've heard of muse before. never really messed with it08:28
brocashelmbut ardour looks pretty expandable from what i've seen08:29
onefangI did a lot of testing of things mostly using a MIDI file of Tubular Bells.  LOts of things couldn't handle that.08:29
onefangArdour crashes, hangs, or spews lots of errors with that.  Then I tried to build it and noticed it's Pythen build tool has a binary blob at the end.  NO FUCKING WAY!08:30
onefangLMMS is good for basic stuff, and includes it's own instruments.08:31
onefangMost of the tools use a variety of plugins, and often support several plugin standards.  Including Windows plugins.08:33
FatPhildamn - briefly managed to get into the bios again, and I think I know how I did it this time - need to try again to reproduce09:33
onefangProgress!09:33
FatPhilI did get in again - I had to "restart" windows rather than shut down and power up09:39
FatPhilthere was a bit of mousepad slippage yesterday, I may have accidentally selected that option09:39
FatPhilI've checked - all the bios passwords are disabled, so I should have access to everything09:40
FatPhilbut still no boot order settings09:40
FatPhilFound it! it was hidden under a submenu, and the UI was ambiguous09:58
FatPhilUSB added to list ... f12 lets me select it ... Installing devuan!09:58
FatPhilWhat do I need to preserve on the hard disk so that I'll be able to reboot again. I'd hate to just overwrite everything and then have UEFI tell me to get bent09:59
onefangYay!09:59
onefangI prefer rEFInd as a boot loader on my desktop for that sort of thing.  It also has an option to get into the BIOS.10:00
onefangIt's main advantage is it figures out for itself what can be booted from, but you have to get it on there in the first place.10:01
FatPhilI prefer a world where UEFI was never invented. Alas that's not an option.10:01
gnarfacewhat do you mean by reboot again? you mean reboot into windows again?10:03
FatPhilno, I literally mean boot anything10:04
FatPhilwhen I installed devuan on my MSI Cubi a few years back, I know I had to preserve some partition for UEFI purposes10:05
gnarfaceoh10:05
gnarfacehmmm10:05
gnarfacegood question10:05
FatPhillinux keeps it mounted as /boot/efi10:05
onefangYes you need an EFI partition.10:05
FatPhilarse, it seems to have forgotten my "use Fn keys as Fn keys" setting - was trying to get a console, and confusing the installer with volume up!10:14
FatPhilI see 4 partitions on the HD: 500M Windows recovery environment; 99M EFI system; 16M Windows reserved; 237G Microsoft basic data.10:17
FatPhilfrom fdisk -l10:17
onefang99M EFI system is the one you keep.10:18
FatPhilyup, I see I preserved that on my Cubi. Looks like I preserved the Windows reserved too, not sure why.10:20
FatPhilHowever, that was a slightly different scenario, I'd added an SSD to that, it was booting off an onboard flash device previously so I didn't care about just keeping all the old crap lying around.10:21
FatPhilTook me weeks or months to blat the OS partition when I finally got "brave" enough. I still don't use that partition for anything.10:22
FatPhilAh, if I need to preserve a partition I can't use full disk encryption10:30
onefangDoubt if you could boot from a fully encrypted disk either.10:31
FatPhilmy x240 does, I'll check the gf's x250...10:32
FatPhilyarp, she has no effin' EFI on hers.10:33
FatPhilOooh, I could pull out an SSD from an old dead laptop, and attempt a 100% linux boot install on that, and if that works, put the bigger SSD back in.10:34
FatPhillunch break and progress report - downs, and ups, fortunately13:01
FatPhiltook 19 screws of 6 different types to get the old HD out!?!?! that's just insane. fucked up the disk swap, the silly surface connector wasn't properly in. even the stock drive failed to boot. reseated everything, and the old disk is recognised, and better that that - bootable13:03
FatPhilit went straight into a (i386) lubuntu with no EFI on it.13:04
FatPhilso I think I' able to blat the whole drive and use full disk encryption as I have on all the other machines.13:05
FatPhilhowever, to convince myself it's low-risk, I shall perform a full chimaera install on the spare disk, and if that works I'll swap back the original and get brave.13:16
FatPhilI'd forgotten how much I hate those press-together connectors.13:18
onefangMore progress!13:25
FatPhilseems a bit paranoid doing 2 installs, but I'll end up with a live bootable system on the spare disk.13:31
FatPhilis the installer a debian thing, or are there devuan customisations - there are a couple of mini buglets that could be improved13:34
onefangI think fsmithred wrote the installer for us.  I may be wrong.13:38
FatPhilit's at this point I realise Ihaven't got a clue how to manually configure LVM, yet I hate the defaults13:39
onefangI have even less clue.13:39
FatPhilJust knowing what command I could use on the lappy I configured 5 years ago in order to find out what I did would be useful13:45
FatPhillooks like I just did a single partition13:50
FatPhilugh - it's allocating 1GB for swap, that's not even a quarter of a firefox13:55
fsmithredyes, I wrote the live installer with some help from a few others13:58
onefangI use swapspace, it allocates swap files as big as is needed.  Which also means it's not taking up space when not needed.13:58
fsmithredFatPhil, are you installing from one of the live isos?13:59
fsmithredif so, there's a way to manually set up lvm. I can give you a link to instructions.13:59
fsmithredhttps://dev1galaxy.org/viewtopic.php?id=232314:00
FatPhilI went for the netinstall, as that was the interface I'm historically familiar with (in clorios text-consolo-vision14:00
fsmithredyou mean real plain console and not the ncurses interface? With audio?14:01
fsmithredthe debian/devuan installer in the installer isos gives you a lot more possibilities for partitioning.14:02
fsmithredand software selection.14:02
FatPhilI presume it's curses, the blue background and borders around the dialog boxes14:05
FatPhilUg, I've messed something up. while seeing what it was going to do with LVM it seems to have locked in an LVM configuration that I can't overwrite14:06
FatPhilIt asks me to "name the volume group for the new system", and then it tells me that the name I chose (the default it suggests) is "already in use". It can't be already in use, as I've not left ths stage of the installer14:08
fsmithredI think maybe you need to go back to the window that shows the partition table, choose the volume group and delete it.14:09
FatPhilI can't see an option to delete a volume grou14:10
fsmithredBut that's a guess. I always have to find my way through the maze when doing lvm or encryption when installing with d-i14:10
fsmithredother possibility would be to drop to console and nuke it manually14:10
FatPhilIf I select things like "Configure the Logical Volume Manager", it pops up  a scary dialog "Before the LVM can be configured, the current partitioning scheme has to be written to disk ..."14:11
fsmithredyeah, let it do that14:11
FatPhilI'm literally saying "shit's wrong" and it's saying "gotta save that shit, and "no additional changes to partitioning are allowed"14:11
fsmithredand then you can proceed14:11
fsmithredthat's the normal procedure14:12
FatPhil"Error while initialising phyzical volume"14:12
fsmithredbut I'm not sure about the 'name already existing' error message14:12
FatPhil"the physical volume /dev/mapper/sda5_crypt14:12
FatPhilcould not be initialized"14:13
fsmithredthat volume exists?14:13
FatPhilconsile says "partman=lvm: Can't open /dev/mapper/sda5_crypt exclusively. Mounted filesystem?"14:14
FatPhilnothing's mounted from that hard disk14:15
FatPhilI do see devmapper partitions in /proc/partitions though14:15
FatPhilit looks like there are these LVM groups/partitions/whwatevers, and I just can't delete them14:17
fsmithredvgremove14:18
fsmithredI think that's the right command14:18
FatPhilvgremove says ""volume group not found"14:19
fsmithredI don't know what to tell you. Maybe restart the installer. Maybe find a video that shows how to do it.14:23
fsmithredI made a video that shows how to make a single encrypted partition. It took me four or five attempts to get it right.14:24
fsmithredand that's the install I usually do when I use d-i14:24
fsmithreddid you let it write to disk when it said it had to do that before you could configure lvm?14:25
FatPhilI did let it write once, perhaps twice, but I think the 2nd time it barfed.14:27
FatPhilI'm starting from scratch..14:27
fsmithredhttps://www.youtube.com/watch?v=GEl2S5MI-WU    This one claims to show you how to do it.14:29
FatPhilI can't even find the "manual/guided" partitioning menu this time14:32
FatPhilIt shows me the last thing I wrote out, which was plain old fashioned non-encrypted partitions, nothing assigned to any of the,14:32
FatPhilI'm not even getting the option of LVM encryption14:37
fsmithredIf you follow that video, I suggest you don't let the installer erase the data on your encrypted volume. That could take longer than a day to complete.14:39
FatPhilFollowing that vid, and it's just bifurcated from what I see.14:41
fsmithreddid you check the sha256sum to verify the iso?14:41
FatPhilI do the "detect disks" and then go to "partition disks"14:41
FatPhilhe gets led to the "The installer can guide you ..." with the choices of guided or manual14:42
fsmithredat 4:44 or so?14:43
FatPhilI get led to "here is an overview of your currently configured partitions"14:43
FatPhilpaused at 4:28 - I no longer have that menu he shows14:43
FatPhilI can blat my partitiontable manually from the console, and go in again14:44
fsmithredthat might be good14:45
fsmithredit's msdos partition table?14:45
FatPhilI still don't get his menu - just 120GB free space in my "currently configured parritions"14:45
fsmithredis there anything on the disk you need to keep?14:46
FatPhilnothing14:46
FatPhilI'm deliberately doing a test install on a spare disk14:47
FatPhilbefore I overwrite the one that came with the lappy14:47
FatPhilaborting and trying again.14:49
FatPhilthis time I'll not do the advanced install, so I'm a closer match to his flow14:49
FatPhilOK, caught up with him. It looks like his parts agree with what I like, so I'll pretty much follow what he does14:52
FatPhilOK, one click later, and we've diverged again. I have a bunch of other options between "Guided partitioning" and "configure iSCSI volumes" (and of course our devices are very different)14:54
FatPhilaha, after ge set up his encryption partition, he gets those same options, which he's now diving into...14:59
FatPhilI'm just making a coffee while the partition gets randomised, thanks for hunting out this vid - it looks like it's bang on what I needed.15:04
FatPhilTHe only question I have so far is why he selected "physical volume for encryption" rather than "physical volume for LVM" at 5:5415:07
FatPhilThe best thing about my practice install is that hopefully by the time I've done it on the real device, it should become more intuitive.15:08
FatPhiloooh, another question - why, at 8:42 does his /dev/mapper/vda5_crypt say "ext4"? (mine does too) - ext4 makes no sense in this context, it was "physical volume for encryption", not "ext4".15:14
FatPhilcool, I'm past the LVM parts now, so it should all be familiar now15:29
FatPhilI do think the dead ends I found earlier are bugs in the installer. I can't delete something until I save something, and I can't save that something until I've deleted the thing I want to delete. That's a deadlock.15:33
onefangYay!15:33
FatPhiland it boots, straight to devuan!15:37
FatPhilthanks all, in particular fsmithred for that vid!15:38
onefangYay!  Again.  B-)15:38
fsmithredcool.15:40
FatPhilwhat's a sensible hd benchmarking tool - if I'm going to swap out the drive and put the original windows one back in, ready for another install sesh, it might be nice to know if I'm actually downgrading15:40
FatPhiloyoyoy, burnt 9 hours on this already today, I think I need some cat vids to calm me down15:41
fsmithredhdparm -tT15:42
FatPhilfsmithred: might it make sense to get that video linked to from the devuan documentation, so it doesn't have to be hunted out in the future?15:46
fsmithredit's risky linking to other people's stuff - it might disappear or get moved and then we have to track it down and edit the web page.15:49
fsmithredbut a link to that video in a forum post would be appropriate15:49
fsmithreddone15:57
FatPhilthanks!16:02
FatPhilHmmm, having a spot of bother ifup'ing my wlan016:02
FatPhiljust copied a well-used stanza from another lappy into /etc/network/interfaces.d/ , and the name was recognised, but I'm getting no lease16:03
FatPhilprobably the router, my phone's failing too, and that normally works16:26
FatPhilwait, that makes no sense, as it was working fine during the install itself.16:40
FatPhilthere isn't a log of the install anywhere is there?16:40
fsmithredyeah, /var/log/installer or something like that16:49
FatPhilah, the syslog there only tells me that it successfully got a lease16:58
FatPhilwell, plus tons of other logs that don't tell me precisely how16:58
FatPhilOK, was a MAC filter on the router for my private network. But it's weird that my open public network didn't let me in.17:14
FatPhilfalse statement: you would not believe how much I hate my router :/17:15
FatPhilone thing I don't understand about the install is how when I was asked to chose a hostname for the new machine, it offered as a default the previous name of the computer that had that spare HD in. That's kinda spooky. Where did that name come from?17:25
FatPhilthat name is still hanging around like a ghost in my router's network graph (because simple lists are so 1960s)17:26

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