previous
2024-04-25
23:44:17 <brocashelm> sometimes you have to add third-party repos for things missing from even debian, like trinity desktop (but they have their own devuan versions so as to not conflict in any way)
---------- 2024-04-26 ----------
00:33:50 <Guest3482> Hello! Can Devuan be installed in UEFi mode or is it only MBR capable ?
00:35:32 <gnarface> Guest3482: it works for uefi too
00:36:04 <gnarface> people have complications setting it up sometimes, but it's basically the same as debian
00:36:41 <gnarface> if you have issues with it, stick around and people can answer questions. the channel is just slow sometimes.
00:45:56 <rustyaxe> A larger stick solves most efi problems.
00:47:42 <Guest3482> Thank you, so do I need to set and "EFI" partition? What should I format it to ? When Devuan prompts me to install grub, it only shows me the root device names (/dev/sda, /dev/sdb). How do I set it up on Uefi?
01:27:50 <rrq> anyone knows how to use suckless' surf for a jitsi video call?
01:38:38 <gnarface> Guest3482: sorry, don't know much about it myself but i think you tell the UEFI interface to create it... stick around, someone will probably show up by morning who knows
02:16:24 <onefang> I'm using pandoc to generate HTML from markdown. Two things I can't figure out. Favicons and aligning an image to the right.
02:20:24 <CueXXIII> Guest3482: i think 100MB is the recommended minimum, but on my system only 2MB are actually used. it has to be vfat, has to have the right uuid and has to be on a gpt partition table. usually the installer should create that on a guided install when booted from efi
02:20:29 <onefang> OK, got favicon figured now, but the hard way, coz apparently you can't set the value of random variables in the markdown.
02:22:39 <gnarface> onefang: iirc the css property for aligning an image to the right is "float: right;"
02:24:19 <onefang> I know what the result should look like.
02:25:23 <gnarface> well, it depends on the code, they might not be "aligning" it, they could be using absolute or relative positioning instead, in which case it won't work the same once you remove the reference positioning of the parent container tag
02:26:35 <onefang> The problem is it's turning - align="right" into - data-align="right".
02:27:19 <gnarface> yea, well, there's a nested set of problems there, because "align=right" is deprecated, and afaik data-align right is either nonexistent or some proprietary IE thing
02:29:11 * onefang tries your CSS then.
02:29:31 <gnarface> wait, is this going on the actual img tag, or on a container block?
02:30:35 <gnarface> i wonder if it's some IE proprietary synonym for "text-align: right", which is a property that is supposed to only work on table cell contents, when applied to the table cell tag itself
02:30:50 <onefang> I prefer simple HTML, so I try to avoid things like JS, CSS< and container blocks. It's an <img>.
02:31:06 <onefang> Why would pandoc use EI shit?
02:31:41 <gnarface> i don't know, but i do know enough about this stuff that i suspect there's always going to be some corner cases that are simply impossible to translate without CSS
02:31:50 <onefang> I did find how to align table stuff, but I'm not doing that.
02:32:55 <onefang> Pandoc at least has Lua support, I might poke at that.
02:33:31 <gnarface> one thing about floats, the source order matters
02:33:48 <onefang> Or I might just sed out the data- thing in my script. lol
02:34:09 <gnarface> if you float an image, the inline text after it will "float up" to fill the space, but it will not itself move up into the empty space left by stuff that was before it in the source order
02:35:22 <onefang> Ah it's working now.
02:35:53 <gnarface> and there used to be a lot of poor sods out there who think that IE's made up crap is the actual standard, but actually they designed most their features to be actively harmful to anyone even trying to understand the standards, let alone use them to support non-microsoft stuff
02:36:32 <gnarface> to a lesser degree, Safari has done some of this stuff too but most of the blame is on IE
02:36:44 <gnarface> (or "Edge" or whatever they're calling it now)
02:38:07 <gnarface> if you want to avoid having to use css blocks or external css files, you can always put css properties on individual tags like: style="float: right; display: block;" for example, it's not forbidden, just considered bad form
02:39:40 <CueXXIII> you can have inline css, too, in <style> tags. or is that also considered bad form?
02:41:38 <onefang> Again - I know what the resulting HTML should look like, it's getting pandoc to produce that was the problem.
02:42:03 <onefang> Next - turning an image into a link.
02:47:55 <onefang> Ah, nesting it inside the usual link syntax did that.
02:49:37 <onefang> But now data-align is back. lol
02:53:29 <gnarface> you're gonna have to find a reference for what that's supposed to do, because i don't recognize it
02:53:41 <gnarface> merely a guess that it's a microsoft thing
02:56:39 <gnarface> CueXXIII: well there's like a sliding scale of opinions about that, but technically it's kosher as long as you don't put it in the page body. officially style tags can only go in the header, despite that many browsers will blithely break standards to obey them from anywhere. using an external css file is always considered preferable due to organization and bandwidth optimization priorities
02:58:34 <gnarface> using the "style=..." property on individual tags is considered worst form because it contributes heavily to data redundancy and hampers code re-usability, but the argument can be made that even that is acceptable in cases where you're just using it to add occasional exceptions in a way that doesn't actually increase data redundancy (i think we should move this conversation to #devuan-offtopic though, we're well off
02:58:34 <gnarface> into the weeds)
03:08:22 <onefang> Meh, sed -e 's/data-align="/align="/g'
03:17:39 <CueXXIII> ah, using regex to parse (and modify) htmlxD
03:21:49 <onefang> Now it's time for s/empty belly/full belly/ B-)
03:22:21 <onefang> I'll poke at the pandoc Lua stuff after dinner.
05:25:51 <x3dre> Is it possible to install plasma and gnome on Devuan Daedalus 5.0?
05:26:34 <gnarface> x3dre: yes
05:26:59 <gnarface> or, you mean at once? i don't know for sure, but they're both there...
05:27:07 <x3dre> I also like cinnamon is that possible too ?
05:27:27 <gnarface> here, you can check for packages here: pkginfo.devuan.org
05:27:59 <gnarface> but it's mostly all the same stuff as debian
05:29:18 <gnarface> this channel can be kinda slow, but if you ask questions and nobody answers right away, just stay connected, someone will answer you eventually
05:30:16 <x3dre> Ok thanks for the info :)
05:32:10 <x3dre> I have the usb live running at the moment. I have made some bookmarks and added a few apt programs, will they be here now the installation is finished and ready to reboot?
05:37:27 <CueXXIII> x3dre: probably not, i don't know devuan's live cd, but usually all changes you make to the running live system are temporary. there should be an installer to install devuan to your harddisk, but browser bookmarks would not be copied by default, i think
05:38:15 <x3dre> ok I'll write them out to an external disk :)
05:38:37 <CueXXIII> https://www.devuan.org/os/documentation/install-guides/daedalus/live-gui
05:40:13 <x3dre> CueXXIII thanks for the link :)
05:43:53 <fsmithred> The live installer installs what is running
05:44:08 <fsmithred> any changes you make are carried over into the installed system
05:44:32 <x3dre> Oh ok that's good to know... :)
05:45:15 <fsmithred> just don't use up all your ram making changes.
05:45:40 <x3dre> on the USB stick's ram ?
05:45:55 <fsmithred> on the computer's ram
05:46:19 <fsmithred> anything you install in the live session does not get written to disk/usb/cdrom
05:46:52 <fsmithred> if you tried to upgrade the whole system you would fail.
05:47:15 <x3dre> I have just saved the bookmarks and json files to an external stick ..
05:48:01 <x3dre> I'll do the upgrade once I rebooted the lappy as there is plenty space ...
07:48:26 <x3dre> How can I paste an image ?
07:58:35 <x3dre> I found away this is what happened after I installed devuan daedalus 5.0 :(
07:58:38 <x3dre> https://pasteboard.co/lp2TCT7KFcF0.jpg
07:59:11 <x3dre> Can you help me what to do apart from installing a fresh again...?
08:11:47 <fsmithred> x3dre, which iso did you use?
08:12:49 <x3dre> the one available on the website live iso which I installed onto my 128Gb USB stick
08:13:58 <x3dre> https://files.devuan.org/devuan_daedalus/installer-iso/
08:22:42 <fsmithred> the installer iso directory does not have the live isos.
08:22:53 <fsmithred> You used debian-installer?
08:23:02 <fsmithred> or refractainstaller?
08:23:16 <x3dre> refractainstaller?
08:23:23 <x3dre> refractainstaller yes this one..
08:23:37 <fsmithred> tell me the exact name of the iso you used
08:25:20 <x3dre> devuan_daedalus_5.0.0_amd64_desktop.live
08:25:32 <x3dre> devuan_daedalus_5.0.0_amd64_desktop-live
08:26:18 <fsmithred> is there another linux installed on this box?
08:26:35 <fsmithred> and if so, which one is in charge of booting?
08:26:55 <x3dre> No other installations on here it is a blank hard disk...
08:29:16 <fsmithred> Did you create a swap partition when you installed?
08:29:28 <x3dre> I did try and install devuan previously but that failed because of slim failure...
08:29:45 <x3dre> Yes I did create a swap partition...
08:30:11 <fsmithred> do you plan on hibernating?
08:30:20 <x3dre> Yes I do ...
08:30:42 <fsmithred> ok, I think you need to change the uuid in one file.
08:30:54 <x3dre> How do I do this ?
08:30:55 <fsmithred> To see the uuids, run 'blkid' as root
08:31:07 <fsmithred> find the uuid of the swap partition
08:31:22 <fsmithred> find the file I want you to edit...
08:31:41 <fsmithred> I think it's /etc/initramfs-tools/conf.d/resume
08:32:00 <fsmithred> you might already have a resume file somewhere in there
08:32:05 <fsmithred> look around first
08:39:05 <x3dre> : /etc/initramfs-tools/conf.d/resume nothing located in this directory...
08:39:18 <fsmithred> ok, so create that file
08:39:27 <fsmithred> and add one line...
08:39:43 <fsmithred> RESUME=<the uuid of the swap partition>
08:40:06 <fsmithred> are you familiar with chroot?
08:40:40 <x3dre> No I'm not familiar with chroot
08:41:08 <fsmithred> Are you running the live system now to edit the file on the installed system?
08:41:46 <x3dre> I've created the file but which one is the swap partition from blkid ?
08:42:12 <x3dre> Yes I am and I mounted the installed system...
08:42:48 <fsmithred> It the one that says TYPE=swap
08:43:27 <fsmithred> just copy the uuid number without the quotes
08:43:37 <x3dre> How many lines can I post here ?
08:43:49 <fsmithred> two or three I guess
08:44:34 <fsmithred> the other way to find it is to look for the device name
08:44:44 <x3dre> : /dev/sda4: UUID="30d4c112-a46d-4996-b2b3-357c22d3016f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2670957e-04"
08:44:44 <x3dre> : /dev/sda2: UUID="fd7bdae0-bcc3-4226-a4c8-cef925f390ab" TYPE="crypto_LUKS" PARTUUID="2670957e-02"
08:44:45 <x3dre> : /dev/sda3: UUID="133ba8fa-162e-4f2d-8d8b-31184e21f5f1" TYPE="crypto_LUKS" PARTUUID="2670957e-03"
08:44:54 <fsmithred> I'm assuming you were the one who chose which device to use as swap
08:45:03 <fsmithred> ok, it's not one of those
08:45:05 <x3dre> : /dev/sda1: UUID="c4fc1ac5-321e-412e-bb71-02cfa5eefadf" BLOCK_SIZE="1024" TYPE="ext2" PARTUUID="2670957e-01"
08:45:05 <x3dre> : /dev/mapper/luks-fd7bdae0-bcc3-4226-a4c8-cef925f390ab: UUID="af38efa0-42d0-4464-8640-9e60877c49ff" BLOCK_SIZE="4096" TYPE="ext4"
08:45:29 <x3dre> This is all there doesn't mee
08:45:40 <x3dre> seem to have swap name ...
08:46:09 <fsmithred> that would explain why initramfs can't find it
08:46:21 <x3dre> I see ...
08:46:50 <fsmithred> Are planning on keeping the installation on usb or will you install to hard drive?
08:47:51 <x3dre> It seems like /dev/sda3 is the partition is the one where swap is...
08:48:38 <x3dre> No I'm planning to install the system to the hard disk and use the USB stick on another machine...
08:50:08 <x3dre> dev/sda3 is encrypted with luks is that a problem?
08:50:08 <fsmithred> I've never made an encrypted swap partition. I'm not sure how that works. If you want multiple encrypted partitions, you might be better off using an installer iso, which can set up encrypted lvm.
08:50:46 <fsmithred> then your swap will be a logical partition inside the lvm along with whatever else you put in there.
08:50:58 <fsmithred> probably the whole system except for /boot.
08:51:06 <x3dre> That I tried but after rebooting the slim loader failed ...
08:51:22 <fsmithred> screw slim. There are other display managers.
08:52:11 <x3dre> Plus I didn't like the non gui installer it made for confusing choices to make ...
08:52:38 <fsmithred> it's actually easier to use than the gui
08:52:39 <x3dre> I like the live iso as it's more understandable..
08:53:02 <x3dre> I'm from a gui background lol
08:53:04 <fsmithred> It is possible to set up encrypted lvm and use refractainstaller.
08:53:17 <fsmithred> You have to do the first part manually (command-line)
08:53:42 <x3dre> Hmmm that's where I'll come a cropper lol
08:54:08 <gnarface> x3dre: slim failing was probably a driver issue, and it probably was easier to fix without reinstalling
08:54:23 <fsmithred> oh, good point
08:54:24 <x3dre> Unless I'm prompted how to do it or it in a doc somewhere then I'm sure I'll screw it up...
08:54:32 <fsmithred> https://dev1galaxy.org/viewtopic.php?id=2323
08:54:41 <fsmithred> ^^howto
08:55:43 <x3dre> Reading...
08:55:59 <fsmithred> what video card do you have?
08:56:17 <fsmithred> amd, nvidia, intel?
08:56:48 <x3dre> I haven't got inxi to tell me that ...
08:56:57 <fsmithred> lspci
08:57:08 <fsmithred> then look for VGA
08:57:30 <gnarface> "i don't know" usually means intel
08:57:38 <x3dre> 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
08:57:49 <gnarface> is there more than one though? that's always a problem...
08:57:53 <x3dre> I think there is another one though
08:58:08 <gnarface> sometimes they'll have intel and nvidia, then you can have weird issues
08:58:22 <x3dre> 01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 980M] (rev a1)
08:58:46 <gnarface> ah, yea, so for starters that one definitely needs non-free drivers
08:58:53 <gnarface> it probably tried to use the open source drivers then failed
08:59:07 <x3dre> Very likely...
08:59:24 <gnarface> they're included already in the live iso, but with the normal installer you have to know to request them specifically
08:59:33 <x3dre> I looked for the non-free drivers but couldn't find them...
08:59:44 <gnarface> they've moved from non-free to non-free-firmware
09:00:01 <gnarface> i know
09:00:04 <x3dre> To confuse ppl lol
09:00:53 <gnarface> this is a choice debian made, not devuan
09:01:07 <gnarface> just happened as of current stable, all previous releases are normal
09:01:10 <onefang> Just an update on my pandoc stuff. I wanted to replace the sed with Lua, since the Lua is called from pandoc during the parsing, so I don't have to worry about sed getting confused. Except that data-align thing happens AFTER the Lua gets it's hands on things. So sed is still needed.
09:01:26 <x3dre> What if I wiped /dev/sda3 and formatted it to ext2 or ext4 then swapped that would it work...
09:02:13 <gnarface> you don't format a swap partition, just wipe it and mark it as swap in the partition table
09:02:24 <onefang> On the plus side, I figured out how to get Lua to read variables in the markdown, so I can have the favicon defined in each document, instead of hardcoding it in the script.
09:03:27 <x3dre> in gparted I just changed it to linux-swap...
09:03:48 <fsmithred> you really should have your swap encrypted
09:03:48 <gnarface> x3dre: that's the same thing
09:04:13 <gnarface> x3dre: but if it's encrypted you might have to zero it first, not sure
09:04:28 <gnarface> i think if you care about security, encrypting it is probably a good choice
09:04:40 <x3dre> Ok I was unallocated and so zapped.
09:04:59 <x3dre> I do care about security and privacy
09:05:54 <fsmithred> If you didn't want to hibernate, I'd say just use a swapfile inside the encrypted root partition, but I don't think you can hibernate in that. Maybe I'm wrong.
09:06:59 <x3dre> Will it boot now correctly ?
09:07:33 <fsmithred> huh?
09:07:39 <fsmithred> you need to rebuild initramfs
09:07:52 <x3dre> : /dev/sda3: UUID="f0633953-6bcb-4493-8320-0150dd1612cd" TYPE="swap" PARTUUID="2670957e-03"
09:08:06 <fsmithred> mkswap /dev/sda3
09:08:14 <fsmithred> oh, maybe not
09:08:27 <fsmithred> root partition is mounted where?
09:08:31 <x3dre> swapon I did in gparted...
09:08:55 <fsmithred> oh, edit /etc/fstab to have the right uuid number
09:09:28 <fsmithred> is your /boot partition also mounted?
09:10:59 <x3dre> I am not quite sure where root or boot is mounted...
09:11:41 <x3dre> : /etc/fstab is in one of the sdX partitions...
09:12:29 <x3dre> I don't know which on and how do I cd to
09:12:36 <x3dre> dev/sda1: UUID="c4fc1ac5-321e-412e-bb71-02cfa5eefadf"
09:12:36 <fsmithred> Did the video problem get solved?
09:13:17 <x3dre> I deleted the OS and went with the live OS USB instead ... Which I'm using now...
09:14:03 <x3dre> This one ?? dev/sda2: UUID="fd7bdae0-bcc3-4226-a4c8-cef925f390ab" TYPE="crypto_LUKS" PARTUUID="2670957e-02
09:14:25 <x3dre> or this one dev/sda4: UUID="30d4c112-a46d-4996-b2b3-357c22d3016f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2670957e-04"
09:14:39 <x3dre> I'm confused... lol
09:14:52 <fsmithred> Yeah, I'm pretty sure this is not going to work.
09:15:32 <fsmithred> Bite the bullet and use the netinstall iso.
09:15:41 <x3dre> Re-install again you think ? It took 40 hrs to get this far as the formatting took hours...
09:15:46 <fsmithred> it will partition the drive correcctly for you.
09:16:01 <gnarface> this time you have people helping who have done it before at least...
09:16:08 <fsmithred> omg, it should not take hours to format.
09:16:20 <fsmithred> you have a fast internet connection?
09:16:23 <gnarface> eh, ext4 maybe and a large disk?
09:16:35 <gnarface> or maybe with the badblocks verification...
09:16:44 <fsmithred> oh, maybe
09:16:45 <gnarface> xfs would format just about instantly though
09:16:58 <x3dre> I do need a large /boot partition as the last old buster install was too small and I always had to be clearing the clean and autoclean and bleachbit to get space again ...
09:17:19 <x3dre> I have a fibre connection...
09:17:33 <fsmithred> cool. Netinstall will go fast.
09:18:00 <x3dre> Ok I'll try that... Never used netinstaller before ...
09:18:12 <fsmithred> it's just debian-installer
09:18:53 <fsmithred> arrows and TAB to navigate, space bar to check/uncheck boxes.
09:18:53 <x3dre> Can I run it from this live running usb stick or I'll need another usb stick ?
09:19:02 <fsmithred> another one
09:19:23 <gnarface> it's small though, it downloads the stuff after you finish setup
09:26:16 <x3dre> Which mirror is close to the UK https://www.devuan.org/get-devuan
09:26:49 <x3dre> As the list doesn't seem to have a GB or UK link ...
09:28:00 <gnarface> x3dre: here, use this mirror list: http://deb.devuan.org/mirror_list.txt
09:28:55 <x3dre> Thanks...
09:29:12 <gnarface> or you can just use deb.devuan.org and keep refreshing until you get a good one
09:29:21 <gnarface> (it's a dns round-robin)
09:30:01 <x3dre> Oh using F1 devices :)
09:33:05 <x3dre> this one http://sledjhamr.org/devuan/devuan-cd/devuan_daedalus/installer-iso/devuan_daedalus_5.0.1_amd64_netinstall.iso ?
09:34:01 <gnarface> it's like you read my mind
09:34:38 <x3dre> lolol We all used to be telepathic in our original incarnations :D
09:35:05 <gnarface> i believe it to be true
09:35:08 <x3dre> Now we are gelatinous we speak weird languages lolol
10:09:22 <x3dre> Here I got on my first netinstall :)
10:09:32 <x3dre> Here I go on my first netinstall :)
10:09:42 <x3dre> Wish me luck lol
15:03:24 <DrDre> Where do I get the ath1ok/qca6174/hw2.1/firmware files from and when installing them, from the netinstall, do I place them on another USB disk in the root and load missing firmware from there?
15:04:08 <DrDre> Where do I get the ath1ok/qca6174/hw2.1/firmware-2.bin to 6 plus ctefx.bin files from and when installing them, from the netinstall, do I place them on another USB disk in the root and load missing firmware from there?
15:07:56 <DrDre> Also the ath10k/pre-cal-pci-0000:03:00.0.bin & ath10k/cal-pci-0000:03:00.0.bin
15:11:21 <plasma41> 'apt-file search qca6174' turns up no results on my system
15:13:37 <golinux> Nor here https://pkginfo.devuan.org/c
15:19:31 <DrDre> ok cool :)
15:21:16 <fsmithred> DrDre, are you trying to get past a question in the beginning of the install that says you need to supply firmware?
15:21:44 <DrDre> The problem is in rescue mode the Detect network hardware ask for these files but I do not know if I can find these files and put them on what medium...
15:22:53 <fsmithred> I don't know how you'd install it inside the installer, but the firmware packages are in the iso. You need firmware-atheros.
15:23:56 <DrDre> Yes ... I found the deb file I put it on another usb stick and when it asks for it I thought it would be picked up but it is not doing that...
15:25:01 <DrDre> It says on screen : Load missing firmware from removable media?
15:25:22 <fsmithred> yeah, I think that can be ignored.
15:25:44 <fsmithred> Try proceeding without adding anything.
15:26:03 <fsmithred> A lot of people get stuck on that question.
15:27:15 <DrDre> If I ignore that then when the booting up process is over instead of opening a gui login I get dropped to a curse ascii login prompt so my desktops will not load because ???
15:36:05 <fsmithred> That makes no sense. Wireless firmware is not required to get to the desktop.
15:47:19 <DrDre> I just rebooted again and it's not the wireless divers I need it is to get instead of the devuan login: prompt to be placed in the login prompt in gdm login prompt ?
15:47:57 <DrDre> The desktop gui like startkde startx will not load...
15:58:17 <fsmithred> You replaced sddm with gdm?
17:26:01 <DrDre> I gave up trying to figure out why the desktop gui logins would not work and gone for another fresh install ... Though the problem is the alienware box has two video cards in... Intel and Nvidia ...
17:27:48 <DrDre> Maybe this is why the gui would not load... It may not know which card to choose...
17:31:08 <_ds_> I'd remove the nvidia one and make sure that the Intel one is in the 16× slot.
2024-04-26
next