Bill_P | I'm new to devuan, was recommended for use as OS on a dedicated Sound server (DIY digital organ). | 13:20 |
---|---|---|
gnarface | welcome aboard | 13:21 |
gnarface | this 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_P | I'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 |
gnarface | there's a couple things that might cause that, should be easy to fix though | 13:22 |
gnarface | did you already have a grub install on this machine before? | 13:22 |
Bill_P | There was, but I reformatted the system partition. | 13:24 |
gnarface | grub resides outside the partitions | 13:24 |
gnarface | so you might actually be looking at the old grub install - that's one potential cause | 13:24 |
gnarface | you 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 shell | 13:25 |
Bill_P | The PC has a NVRAM disk and hard drive, I don't know if this complicates matters? | 13:25 |
gnarface | oh, it might actually | 13:26 |
gnarface | hmmm | 13:26 |
gnarface | wait, no | 13:26 |
gnarface | not if that's the only drive anyway | 13:26 |
Bill_P | I still have the install drive. I will boot that and see what it offers later today. | 13:27 |
gnarface | if it's getting as far as grub, that means the nvram driver is working, unless you also have other drive types in there | 13:27 |
gnarface | i think, anyway... | 13:28 |
Bill_P | It should boot from the nvram. I can check. The hard drive has never had any system on it, just for user space. | 13:28 |
gnarface | but yea, fair world you should be able to just chroot in and re-run the grub install script | 13:28 |
gnarface | worst case scenario you have to get a different kernel | 13:28 |
gnarface | to 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 panic | 13:29 |
Bill_P | OK, thanks. I'm tied up for a while, but you've given me pointers to work with. | 13:30 |
Bill_P | I'll come back and report progress, probably tomorrow | 13:30 |
Bill_P | Many thanks! | 13:30 |
gnarface | people 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 btw | 13:31 |
gnarface | you might have to install some extra package to make encrypted boot work | 13:31 |
gnarface | i forget the name | 13:31 |
Bill_P | No encryption. It's not intended to have any network connection once I get it up and working. | 13:33 |
Bill_P | Bye! | 13:34 |
gnarface | peace | 13:35 |
Kitty | https://mjg59.dreamwidth.org/66429.html - is it worth updating the default KDF in the installer to Argon2id ? | 13:48 |
gnarface | KDF? | 13:51 |
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 initrd | 13:54 |
gnarface | they're not already there? | 13:57 |
rrq | well, I had that problem when I installed chimaera in nvme some while agoe; it might be different now | 13:58 |
gnarface | you could be right, i guess i don't know for sure | 13:59 |
rrq | the modules didn't get loaded; something buggy with the initramfs init scripting (at that time) | 14:01 |
rrq | I 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 |
onefang | That 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 |
onefang | It was posted to my Planet Debian RSS feed earlier. | 15:52 |
jiggawatt | Hello, does devuan support systemd if I choose to install it? | 18:49 |
n4dir | what would be the point? | 18:49 |
jiggawatt | more advanced OS initialization | 18:50 |
n4dir | then use debian, no? | 18:51 |
jiggawatt | good point | 18:52 |
n4dir | i did a quick apt-cache search, and no results for "systemd", if that is the name of the init system itself | 18:53 |
n4dir | wait for someone who knows it better :-) | 18:53 |
rustyaxe | lol | 19:09 |
rustyaxe | seems beyond pointless. why ruin your system? | 19:10 |
golinux | rustyaxe: iirc MX Linux allows that feature. At least it used to | 19:20 |
golinux | https://mxlinux.org/wiki/system/systemd/ | 19:21 |
golinux | There you go! | 19:22 |
rwp | Devuan would not exist if Debian allowed the choice of init systems. | 19:29 |
n4dir | last time i checked i could run sysv on debian. Not exactly comfortable, but it did work | 19:32 |
rwp | I think running non-systemd on Debian is recently possible again after a significant gap where it was if not impossible quite hard. | 19:47 |
rwp | I 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_P | I'm back trying to get devuan up. Was stuck with grub prompt | 20:39 |
Bill_P | Got into repair mode, tried running grub-install but get errors. | 20:41 |
fsmithred | what error? | 20:47 |
Bill_P | grub-install /dev/nvme0 gives error: attempt to read or write outside of disk 'hostdisk//dev/vnvme0' | 20:47 |
Bill_P | Checking man make-install lists x86_64-efi which sounds more likely, but... | 20:48 |
fsmithred | I think someone left a note for you. Lemme find it. | 20:48 |
fsmithred | if you're using uefi, then you just run 'grub-install' without naming a disk. | 20:49 |
fsmithred | bootloader goes into the efi partition. | 20:49 |
Bill_P | that gives error: /usr/lib/grub/x86-efi/modifo.sh does not exist | 20: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 initrd | 20:50 |
fsmithred | is the nvme disk the only disk? | 20:51 |
fsmithred | and does that disk have the efi partition on it? | 20:52 |
Bill_P | no, there's a hard drive /dev/sda, no efi partition. Only efi partition is on nvme0 | 20:52 |
fsmithred | did you check to see if there's a bootloader on that efi partition? | 20:53 |
brocashelm | why would you want to use systemd in devuan? that would defeat the purpose | 20:54 |
fsmithred | boot the installation media if you can't get the system up from grub prompt. | 20:54 |
fsmithred | Devuan with systemd has a name: Debian | 20:54 |
brocashelm | the 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 |
fsmithred | yeah, I know. | 20:55 |
fsmithred | figured I'd chime in since you mentioned it. | 20:55 |
brocashelm | lol | 20:56 |
Bill_P | I am in the installation media repair mode, running a shell in nvme2 (root partition) | 20:56 |
fsmithred | mount the efi partition if it's not already mounted and look in it | 20:56 |
fsmithred | it will need to be mounted at /boot/efi if you want to run grub-install and update-grub | 20:59 |
Bill_P | OK, that seems to have three systems: BOOT, sparky and ubuntu listed | 21:05 |
Bill_P | Is BOOT likely to be the one for Devuan, the other two are previous OS's and I've deleted them! | 21:06 |
fsmithred | devuan would sayd devuan or debian or possibly both | 21:08 |
fsmithred | BOOT is the special removable device entry, which might possibly be for devuan. | 21:09 |
fsmithred | oh, 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 |
fsmithred | is there a /boot/grub/grub.cfg in the devuan partition? | 21:11 |
Bill_P | Both ubuntu and sparky no longer exist - I only have one root partiton plus the efi partion on this. | 21:12 |
fsmithred | if grub.cfg is missing, it might just be that the boot menu never got created. | 21:13 |
fsmithred | make sure efi partition is mounted to /boot/efi and then run grub-install and update-grub | 21:15 |
fsmithred | google says that error happens when it can't find efi partition. | 21:15 |
Bill_P | ls | 21:18 |
Bill_P | Running grub-install /dev/nvme0n1 gives several messages: | 21:20 |
fsmithred | don't post a bunch of lines here | 21:21 |
Bill_P | This GPT partition label contains no BIOS Boot Partition: embedding won't be possible | 21:21 |
fsmithred | you might get auto-kicked | 21:21 |
fsmithred | oh, you booted in bios mode with gpt? | 21:21 |
Bill_P | What's gpt? | 21:22 |
fsmithred | you need a partition that is at least 1MB in size and has no filesystem on it. | 21:22 |
fsmithred | non-msdos partition table | 21:22 |
fsmithred | useful for disks larger than 2TB and also (usually) used for uefi. | 21:23 |
fsmithred | so, 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 |
fsmithred | yeah, ef02 | 21:24 |
fsmithred | otherwise, boot in uefi mode and run grub-install and update-grub. | 21:25 |
Bill_P | I thought I was in uefi mode. | 21:25 |
fsmithred | ls /sys/firmware/efi | 21:26 |
fsmithred | if you get 'no such file or directory' | 21:26 |
fsmithred | then you booted in bios mode. | 21:26 |
Bill_P | ls /sys/firmware/efi | 21:26 |
fsmithred | should have stuff in it | 21:26 |
Bill_P | doesn't exist | 21:27 |
fsmithred | what iso did you use and how did you boot it? (dvd or usb) | 21:28 |
Bill_P | chimaera netinstall, from usb memory stick. | 21:29 |
fsmithred | did you get hit with a boot device menu that showed the usb and the hard disk when you booted the stick? | 21:30 |
fsmithred | you might have accidentally chosen a legacy boot option. (also called CSM) | 21:31 |
Bill_P | used BIOS (F2) then boot menu (F8), selected memory stick. | 21:32 |
fsmithred | how did you prepare the stick? dd or cat or some other way? | 21:32 |
Bill_P | Maybe I should start again :-( | 21:32 |
fsmithred | not necessarily | 21:33 |
Bill_P | dd as suggested on devuan install notes | 21:33 |
fsmithred | cool | 21:33 |
fsmithred | brb | 21:34 |
Bill_P | I did a manual disk partition setup, maybe I should have formatted the uefi partition (200MB) | 21:34 |
Bill_P | that would have elimiated any previous stuff. | 21:36 |
fsmithred | no, that shouldn't matter and sometimes can brick the motherboard | 21:42 |
fsmithred | on some boards | 21:42 |
fsmithred | if you boot the hard disk, you get to a grub prompt? | 21:46 |
fsmithred | oh wait, that won't work now. | 21:46 |
fsmithred | I 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_P | OK, 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_P | Thanks for all your help, much appreciated! | 21:52 |
fsmithred | that might be the issue. | 21:52 |
fsmithred | yw | 21:52 |
fsmithred | check that device boot menu again | 21:53 |
Bill_P | just a note to say thanks to fmithred - I booted the install with uefi option, and did a reinstall. System now up. | 22:44 |
Bill_P | That's enough for one evening! Start customizing and familarising my first Devuan system! | 22:46 |
Bill_P | Also 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/!