libera/#devuan/ Tuesday, 2023-04-18

Bill_PI'm new to devuan, was recommended for use as OS on a dedicated Sound server (DIY digital organ).13:20
gnarfacewelcome aboard13:21
gnarfacethis channel is reserved for support issues, but feel free to chat in #devuan-offtopic (most the regulars are asleep right now but they'll start waking up in a couple hours)13:21
Bill_PI've just installed Chimaera on the PC, using the netinstall iso, which seemed to install without problems, but when it rebooted it came up with the grub prompt.13:22
gnarfacethere's a couple things that might cause that, should be easy to fix though13:22
gnarfacedid you already have a grub install on this machine before?13:22
Bill_PThere was, but I reformatted the system partition.13:24
gnarfacegrub resides outside the partitions13:24
gnarfaceso you might actually be looking at the old grub install - that's one potential cause13:24
gnarfaceyou still got the netinstall disk handy? i think it still has a rescue mode you can fix this from, if not i can tell you how to fix it from the installer shell13:25
Bill_PThe PC has a NVRAM disk and hard drive, I don't know if this complicates matters?13:25
gnarfaceoh, it might actually13:26
gnarfacehmmm13:26
gnarfacewait, no13:26
gnarfacenot if that's the only drive anyway13:26
Bill_PI still have the install drive. I will boot that and see what it offers later today.13:27
gnarfaceif it's getting as far as grub, that means the nvram driver is working, unless you also have other drive types in there13:27
gnarfacei think, anyway...13:28
Bill_PIt should boot from the nvram. I can check. The hard drive has never had any system on it, just for user space.13:28
gnarfacebut yea, fair world you should be able to just chroot in and re-run the grub install script13:28
gnarfaceworst case scenario you have to get a different kernel13:28
gnarfaceto be clear, the x86/x86_64 kernels are the same exact kernels as debian's, so if this is regular PC hardware and works in debian it'll work in devuan too, don't panic13:29
Bill_POK, thanks. I'm tied up for a while, but you've given me pointers to work with.13:30
Bill_PI'll come back and report progress, probably tomorrow13:30
Bill_PMany thanks!13:30
gnarfacepeople will be here, but it can be a slow channel so just be patient when you show up. i think if you're using an encrypted disk it might cause this issue too btw13:31
gnarfaceyou might have to install some extra package to make encrypted boot work13:31
gnarfacei forget the name13:31
Bill_PNo encryption. It's not intended to have any network connection once I get it up and working.13:33
Bill_PBye!13:34
gnarfacepeace13:35
Kittyhttps://mjg59.dreamwidth.org/66429.html - is it worth updating the default KDF in the installer to Argon2id ?13:48
gnarfaceKDF?13:51
rrqsomeone might remember to tell Bill_P to add nvme, ext4 and crc32c to /etc/initramfs-tools/modules and then run "update-initramfs -u -k all" so as to get those modules installed in initrd13:54
gnarfacethey're not already there?13:57
rrqwell, I had that problem when I installed chimaera in nvme some while agoe; it might be different now13:58
gnarfaceyou could be right, i guess i don't know for sure13:59
rrqthe modules didn't get loaded; something buggy with the initramfs init scripting (at that time)14:01
rrqI still have it on this machine and haven't explored being without; it's my "main host" so it doesn't get to go on excursions :)14:05
onefangThat article Kitty pointed at is "PSA: upgrade your LUKS key derivation function" about updating the algorithms used for LUKS, coz the old ones might not be secure anymore.15:51
onefangIt was posted to my Planet Debian RSS feed earlier.15:52
jiggawattHello, does devuan support systemd if I choose to install it?18:49
n4dirwhat would be the point?18:49
jiggawattmore advanced OS initialization18:50
n4dirthen use debian, no?18:51
jiggawattgood point18:52
n4diri did a quick apt-cache search, and no results for "systemd", if that is the name of the init system itself18:53
n4dirwait for someone who knows it better :-)18:53
rustyaxelol19:09
rustyaxeseems beyond pointless. why ruin your system?19:10
golinuxrustyaxe: iirc MX Linux allows that feature. At least it used to19:20
golinuxhttps://mxlinux.org/wiki/system/systemd/19:21
golinuxThere you go!19:22
rwpDevuan would not exist if Debian allowed the choice of init systems.19:29
n4dirlast time i checked i could run sysv on debian. Not exactly comfortable, but it did work19:32
rwpI think running non-systemd on Debian is recently possible again after a significant gap where it was if not impossible quite hard.19:47
rwpI have a Sid system without systemd.  I run i3 window manager.  I aggressively manage the system.  I don't think the casual user can run Debian without systemd though.19:47
Bill_PI'm back trying to get devuan up. Was stuck with grub prompt20:39
Bill_PGot  into repair mode, tried running grub-install but get errors.20:41
fsmithredwhat error?20:47
Bill_Pgrub-install /dev/nvme0 gives error: attempt to read or write outside of disk 'hostdisk//dev/vnvme0'20:47
Bill_PChecking man make-install lists x86_64-efi which sounds more likely, but...20:48
fsmithredI think someone left a note for you. Lemme find it.20:48
fsmithredif you're using uefi, then you just run 'grub-install' without naming a disk.20:49
fsmithredbootloader goes into the efi partition.20:49
Bill_Pthat gives error: /usr/lib/grub/x86-efi/modifo.sh does not exist20:49
fsmithred<rrq> someone might remember to tell Bill_P to add nvme, ext4 and crc32c to /etc/initramfs-tools/modules and then run "update-initramfs -u -k all" so as to get those modules installed in initrd20:50
fsmithredis the nvme disk the only disk?20:51
fsmithredand does that disk have the efi partition on it?20:52
Bill_Pno, there's a hard drive /dev/sda, no efi partition. Only efi partition is on nvme020:52
fsmithreddid you check to see if there's a bootloader on that efi partition?20:53
brocashelmwhy would you want to use systemd in devuan? that would defeat the purpose20:54
fsmithredboot the installation media if you can't get the system up from grub prompt.20:54
fsmithredDevuan with systemd has a name: Debian20:54
brocashelmthe real issue IMO is stuff like elogind, which is literally systemd in a nutshell, but is "needed" for a bunch of programs that would otherwise depend on it (consolekit2 remains an option)20:54
brocashelm(responding to someone from earlier today)20:55
fsmithredyeah, I know.20:55
fsmithredfigured I'd chime in since you mentioned it.20:55
brocashelmlol20:56
Bill_PI am in the installation media repair mode, running a shell in nvme2 (root partition)20:56
fsmithredmount the efi partition if it's not already mounted and look in it20:56
fsmithredit will need to be mounted at /boot/efi if you want to run grub-install and update-grub20:59
Bill_POK, that seems to have three systems: BOOT, sparky and ubuntu listed21:05
Bill_PIs BOOT likely to be the one for Devuan, the other two are previous OS's and I've deleted them!21:06
fsmithreddevuan would sayd devuan or debian or possibly both21:08
fsmithredBOOT is the special removable device entry, which might possibly be for devuan.21:09
fsmithredoh, one workaround would be to boot into sparky or ubuntu, whichever is really in charge of the boot, and run update-grub so it adds the new system. (won't work if the new system is on encrypted filesystem)21:10
fsmithredis there a /boot/grub/grub.cfg in the devuan partition?21:11
Bill_PBoth ubuntu and sparky no longer exist - I only have one root partiton plus the efi partion on this.21:12
fsmithredif grub.cfg is missing, it might just be that the boot menu never got created.21:13
fsmithredmake sure efi partition is mounted to /boot/efi and then run grub-install and update-grub21:15
fsmithredgoogle says that error happens when it can't find efi partition.21:15
Bill_Pls21:18
Bill_PRunning grub-install /dev/nvme0n1 gives several messages:21:20
fsmithreddon't post a bunch of lines here21:21
Bill_PThis GPT partition label contains no BIOS Boot Partition: embedding won't be possible21:21
fsmithredyou might get auto-kicked21:21
fsmithredoh, you booted in bios mode with gpt?21:21
Bill_PWhat's gpt?21:22
fsmithredyou need a partition that is at least 1MB in size and has no filesystem on it.21:22
fsmithrednon-msdos partition table21:22
fsmithreduseful for disks larger than 2TB and also (usually) used for uefi.21:23
fsmithredso, if you want to boot in legacy bios mode, you need that special partition. It needs flags: boot and bios_grub (in gparted) or I think it's ef02 in gdisk.21:24
fsmithredyeah, ef0221:24
fsmithredotherwise, boot in uefi mode and run grub-install and update-grub.21:25
Bill_PI thought I was in uefi mode.21:25
fsmithredls /sys/firmware/efi21:26
fsmithredif you get 'no such file or directory'21:26
fsmithredthen you booted in bios mode.21:26
Bill_Pls /sys/firmware/efi21:26
fsmithredshould have stuff in it21:26
Bill_Pdoesn't exist21:27
fsmithredwhat iso did you use and how did you boot it? (dvd or usb)21:28
Bill_Pchimaera netinstall, from usb memory stick.21:29
fsmithreddid you get hit with a boot device menu that showed the usb and the hard disk when you booted the stick?21:30
fsmithredyou might have accidentally chosen a legacy boot option. (also called CSM)21:31
Bill_Pused BIOS (F2) then boot menu (F8), selected memory stick.21:32
fsmithredhow did you prepare the stick? dd or cat or some other way?21:32
Bill_PMaybe I should start again :-(21:32
fsmithrednot necessarily21:33
Bill_Pdd as suggested on devuan install notes21:33
fsmithredcool21:33
fsmithredbrb21:34
Bill_PI did a manual disk partition setup, maybe I should have formatted the uefi partition (200MB)21:34
Bill_Pthat would have elimiated any previous stuff.21:36
fsmithredno, that shouldn't matter and sometimes can brick the motherboard21:42
fsmithredon some boards21:42
fsmithredif you boot the hard disk, you get to a grub prompt?21:46
fsmithredoh wait, that won't work now.21:46
fsmithredI think you need to either figure out how to boot that stick in uefi mode or else make the bios_grub partition to make grub-install happy.21:49
Bill_POK, I'll go have a think about it. Maybe try putting a UEFI partition on the hard drive, and boot from that into the nvme.21:52
Bill_PThanks for all your help, much appreciated!21:52
fsmithredthat might be the issue.21:52
fsmithredyw21:52
fsmithredcheck that device boot menu again21:53
Bill_Pjust a note to say thanks to fmithred - I booted the install with uefi option, and did a reinstall. System now up.22:44
Bill_PThat's enough for one evening! Start customizing and familarising my first Devuan system!22:46
Bill_PAlso to gnarface who welcomed me to the chat the daya before!22:47

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