golinux | Can't you migrate data to the Devuan image? Or do we still not have one? | 00:04 |
---|---|---|
minnesotags | I'm looking into it. | 00:05 |
_abc_ | why is mlocate so bone-headed? I indexed some offline volumes using a custom updatedb and now locate uses them with -d but also uses the system db | 00:07 |
_abc_ | I can't find a flag to make it not do that. Anyone? | 00:07 |
_abc_ | https://superuser.com/questions/1351871/exclude-mlocate-db-from-the-locate-searches answered | 00:10 |
_abc_ | (that is a hack!) | 00:21 |
_abc_ | moving on to zzz | 00:21 |
Xenguy | minnesotags: Welcome to the land of nosystemd | 02:39 |
Xenguy | https://www.youtube.com/watch?v=I4IiGBwSBUE | 02:41 |
minnesotags | Unbelievable. Some Debian upgrade uninstalled my apache and php? Left all configs intact? Sigh. | 05:17 |
rwp | minnesotags, "some" upgrade? The apt* tools won't remove anything that isn't approved with '[Y/n]'. If it isn't what you want then say 'n'o there. :-) | 06:07 |
minnesotags | No kidding? | 06:24 |
rwp | Would I kid you? | 06:37 |
minnesotags | wev | 09:38 |
MinceR | wav | 09:40 |
TwistedFate | Мир Божији, Христос се роди! Merry Christmas everyone! :) | 10:26 |
xkr47 | Ж-mas | 13:46 |
MinceR | *-mas | 13:52 |
g40 | Hello. I'm bringing up a new Arm64 board with a devuan rootfs etc. It is hanging in (I think) eudev where the bootlog has 'synthesizing the initial hotplug events'. Anyone got any ideas on what it might be waiting for? USB? HDMI? | 15:10 |
g40 | And is this the eudev that is in the Gentoo github repo? Any pointers much appreciated. | 15:11 |
poeinklum | Hello Devuan'ers | 15:37 |
poeinklum | I think I've encountered a minor log-noise bug | 15:38 |
poeinklum | Have a look at: | 15:38 |
poeinklum | https://unix.stackexchange.com/questions/492972 | 15:38 |
poeinklum | "Cron is trying (and failing) to open env file: /etc/environment" | 15:38 |
poeinklum | Can someone confirm whether is indeed a Devuan issue? Or perhaps - Debian has it too? | 15:39 |
poeinklum | Anybody? | 15:59 |
aggaz | is it possible to use nftables in devuan ascii (arm)? I installed it and loaded the module nfnetlink, but when I launch the command "nft list ruleset" I get the error "internal:0:0-0: Error: Could not receive tables from kernel: Invalid argument". I can not find documentation does somebody have suggestions? | 15:59 |
dreamer89 | hello everyone | 17:04 |
dreamer89 | is this support chan? | 17:04 |
gnarface | yes, dreamer89 | 17:09 |
dreamer89 | not strictly system related but... i have windows10 and devuan dual-boot | 17:10 |
dreamer89 | and after windows updated, it messed GRUB so i could only boot into windows. i restored grub with boot-repair and only got devuan back since it doesnt recognize windows on bitlocker partition | 17:11 |
dreamer89 | so, any way to see win again? | 17:12 |
gnarface | it would have been better if you'd saved the grub config, but the initial install i believe just detects windows partitions and adds them to the grub config automatically | 17:13 |
gnarface | there should be a way to trigger the auto-detect again manually, but that's what might have failed this time around for some reason, too. luckily the missing lines for windows are pretty simple to add manually as well. i just don't know them off the top of my head sorry. | 17:15 |
gnarface | someone in here knows, i'm sure. i don't use windows though. google should know too. this is a fairly common issue. | 17:15 |
gnarface | https://askubuntu.com/questions/564496/trying-to-dual-boot-ubuntu-14-10-with-windows-10-last-one-not-detected | 17:17 |
gnarface | dreamer89: this looks fairly legit, if you don't follow it literally | 17:17 |
gnarface | the top answer - /etc/grub.d/40_custom, that looks right. you'll probably have to correct the drive and partition numbers but otherwise that should be all there is to it. | 17:18 |
Hurgotron | gnarface: I didn't even manage on a linux-only system to boot a specific kernel without manual interaction (ie. by editing grub config) without lots of try-and-error. There have to be better ways... | 17:18 |
gnarface | hmm. yes, you shouldn't have had to edit grub to change your kernel | 17:19 |
gnarface | i'm not sure what that issue is. that's separate. | 17:19 |
dreamer89 | set root='(hd0,msdos1)' | 17:19 |
dreamer89 | hd0 may be some specific for me_ | 17:19 |
gnarface | most people don't have problems with this, but there are an unfortunately high percentage of badly behaving BIOSes in the wild, and they can cause problems | 17:19 |
gnarface | well the worst BIOS misbehavior i've seen in this regard is where the BIOS changes the order, so the numbers aren't predictable | 17:20 |
gnarface | i've seen that a lot with Dells | 17:20 |
gnarface | other vendors usually consider that a bug | 17:20 |
gnarface | unless it's a USB block device, then all bets are off | 17:20 |
gnarface | there's not a lot of things it can be though | 17:21 |
gnarface | it is probably hd0-4 and msdos1-7 | 17:21 |
gnarface | it's not gonna be something like fdjadj;; >> 108:) | 17:21 |
dreamer89 | trial and error or some way to check it? | 17:21 |
gnarface | there IS a way to check it actually | 17:22 |
gnarface | while you're at the grub prompt, there's a button to edit a command-line before testing it | 17:22 |
gnarface | it supports limited path-completion | 17:22 |
gnarface | so you should be able to just tab it out | 17:22 |
dreamer89 | oh nice | 17:22 |
gnarface | it might be a little uncooperative | 17:23 |
gnarface | not quite as nice as bash command-line completion | 17:23 |
dreamer89 | will try in a few minutes, bbs | 17:23 |
gnarface | not nearly as nice as zsh or anything like that | 17:23 |
gnarface | dreamer89: hmm. there's a couple examples on there, and the differences look to be about whether you're booting windows10 directly, or telling grub to chainload to windows's own bootloader, which should still be the easier option if they're on separate drives but ymmv | 17:27 |
gnarface | doh | 17:28 |
gnarface | alright well if he comes back and i'm not here, someone make sure to tell him he has to know where windows's boot loader and and grub are in relation to each other. | 17:28 |
poeinklum | gnarface: Since you're around - I wanted to try and draw your attention again to this: | 17:34 |
poeinklum | https://unix.stackexchange.com/questions/492972 | 17:34 |
gnarface | poeinklum: if you purge the cron package and reinstall it, does that fix the problem? | 17:38 |
poeinklum | Don't a lot of packages depend on cron? | 17:39 |
gnarface | maybe. it looks like a problem i've only ever seen while installing to a VM though, and i didn't have problems with dependencies when i purged and reinstalled it there. it won't uninstall anything else without prompting you first anyway. | 17:40 |
gnarface | if it is the same problem i didn't figure out exactly what was causing it to fail to be set up right on the first try | 17:40 |
gnarface | i was blaming the kernel patch i was using at the time | 17:40 |
gnarface | (it wasn't on a stock kernel) | 17:41 |
gnarface | looks like from the bug report they can't figure it out either | 17:41 |
gnarface | it works fine if you create a read-only 0-byte file there for /etc/environment, right? | 17:42 |
gnarface | hey dreamer89 glad you made it back. after you left i realized that if you'd *overwritten* the windows MBR with GRUB you'd probably have to use one of the other solutions listed on there (the ntloader thing...) | 17:44 |
gnarface | dreamer89: after you left, i realized the first solution i directed you to assumes that the windows boot loader is still intact somewhere on a drive in the system, just not at the in the first position on the first drive, where it wants to be. | 17:45 |
dreamer89 | haha not, i was on live CD playing with boot-repair, had some time to boot into devuan on hdd again | 17:45 |
gnarface | dreamer89: so there's two approaches. you either chainload from grub to the windows bootloader, or you just boot windows directly from grub, bypassing the windows bootloader. both are known to work in many cases. neither are known to work in all cases. | 17:46 |
dreamer89 | not really straight forward as i was thinking when first encountered problem, i was thinking it's just adding boot option in grub to win partition | 17:48 |
gnarface | well, that is how straightforward it is, but you need to know which boot option to add, and which win partition or MBR to point it to | 17:48 |
gnarface | i could only speculate why it worked right once | 17:50 |
dreamer89 | no, it worked fine for months | 17:50 |
dreamer89 | i got OEM windows and installed devuan after | 17:50 |
dreamer89 | then, windows re-written mbr while it was updating and removed grub | 17:50 |
gnarface | no that's not what i mean. i mean i don't know why grub setup auto-detected it right the first time. | 17:51 |
gnarface | nor why it failed on subsequent attempts. | 17:51 |
dreamer89 | or, i was thinking it removed it so i booted live cd and reinstalled grub loader, but it didn't recognize win again | 17:51 |
gnarface | is it one drive, or two separate drives? that will matter | 17:52 |
gnarface | i don't use windows and haven't for literally decades, but from my recollection, windows usually overwrites the MBR on the first drive and doesn't ask permission | 17:52 |
gnarface | ... which would have overwritten grub from there as you suspect. then if you overwrote that by re-installing grub, you'd have just purged the windows bootloader | 17:53 |
golinux | Oops . . . | 17:54 |
gnarface | if you have TWO drives though, you can just let windows overwrite the MBR on one drive, then move that drive to the second slot while you fix grub | 17:54 |
dreamer89 | it's single drive | 17:54 |
gnarface | that makes things more complicated | 17:54 |
dreamer89 | https://webchat.freenode.net | 17:54 |
dreamer89 | sorryhttps://i.imgur.com/zuyAvr2.png | 17:55 |
gnarface | oh and it's nvme | 17:55 |
gnarface | so that's also weird | 17:55 |
dreamer89 | i'm looking at /etc/grub.d/ before editing anything, but i see few of xx_custom, linux etc files, don't know which one to edit | 17:56 |
gnarface | you can add one of your own too | 17:56 |
dreamer89 | like 51_custom and just add menuentry 'Windows 10' { set root='(hd0,msdos1)' chainloader +1 } | 17:57 |
dreamer89 | run grub update and fail lol | 17:57 |
gnarface | sure. on there's a /etc/grub.d/40_custom file here on mine that is commented as already being specifically reserved for custom entries | 17:57 |
gnarface | oh wait | 17:58 |
gnarface | no but not the chainloder | 17:58 |
gnarface | because that would require an instact windows boot loader to chainload TO | 17:58 |
gnarface | https://askubuntu.com/questions/564496/trying-to-dual-boot-ubuntu-14-10-with-windows-10-last-one-not-detected | 17:58 |
gnarface | on this page, scroll down to where the guy created a /etc/grub.d/42_custom file. he says it's using the grub2 ntloader module instead of the chainloader one. try that one instead. | 17:59 |
gnarface | that example should be closer to what you need | 17:59 |
gnarface | since, as we've clarified now, your bootloaders are trampling each other | 18:00 |
gnarface | i don't know if efi is gonna complicate this further for you or not, sorry | 18:01 |
gnarface | best to just try the ntloader module and tell me what happens | 18:01 |
dreamer89 | can i place in "--set=root XXXXX" UUID format just as sudo blkid /dev/nvme0n1p3 command spits out? | 18:05 |
dreamer89 | doesn't look same, in his example it's shorter without dashes | 18:05 |
gnarface | i don't know for sure | 18:06 |
gnarface | i don't even know if that line is required | 18:06 |
dreamer89 | let's try | 18:07 |
gnarface | but i know you can get the right UUID from /dev/disk/by-uuid/ too | 18:07 |
gnarface | note that it will change if any partitions get added, removed, resized, or refomatted | 18:07 |
gnarface | well, may change. don't even know if that's a given. | 18:08 |
poeinklum | gnarface: Purged, reinstalled, removed /etc/environment, problem still occurs. | 18:10 |
gnarface | poeinklum: wait, removed?? did you test to see if it works if /etc/environment exists as an empty file? | 18:11 |
gnarface | purging and reinstalling should have recreated /etc/environment as an empty file with permissions 644, i believe | 18:12 |
gnarface | owned by root | 18:12 |
gnarface | as i'm understanding from the responses to these bug reports, it's expected to be present and readable, even if empty | 18:12 |
poeinklum | gnarface: Of course it works that way | 18:13 |
gnarface | oh | 18:13 |
poeinklum | the whole bug is that you get a log message you shouldn't, when /etc/environment is missing | 18:13 |
poeinklum | ... and it _is_ missing by default | 18:13 |
poeinklum | (it's deprecated AFAICR) | 18:14 |
gnarface | basically that bug report linked to another one where they said "cannot reproduce" though | 18:14 |
gnarface | i'm in no position to go over their head and make a change to the behavior, to be clear | 18:14 |
gnarface | feel free to reopen the bug report if you think they are in error though | 18:15 |
gnarface | see if you can figure out why it's missing by default for you but not them | 18:15 |
gnarface | something they haven't accounted for must be different | 18:15 |
gnarface | and it might be something important | 18:15 |
dreamer89 | nope, didn't get new entery in grub menu :\ | 18:15 |
gnarface | dreamer89: it didn't even show up??? i think that suggests a problem with update-grub not getting run or not working when run, or a syntax error in the file itself. | 18:16 |
gnarface | dreamer89: you shouldn't be having problems just adding a broken entry. | 18:16 |
gnarface | that should work even if it doesn't actually boot... | 18:16 |
dreamer89 | yeah, i'll try using grub-customizer maybe? | 18:17 |
gnarface | never heard of it, but it might be worth a try | 18:19 |
gnarface | there's probably several tools out there that can do it | 18:19 |
gnarface | you might just be missing something very simple like a closing } though | 18:20 |
gnarface | i mean, if you can't even make a visible one-character change to the title of an existing entry, chances are your config isn't even getting read | 18:23 |
dreamer89 | yeah, ton of syntax errors https://i.imgur.com/0g2dAdt.png | 18:23 |
gnarface | lemme see that file, paste it to paste.debian.net | 18:24 |
gnarface | the 42_custom file | 18:24 |
dreamer89 | https://i.imgur.com/Mnjb2z5.png | 18:24 |
gnarface | or an image, that's fine too i guess | 18:24 |
gnarface | hmmm | 18:25 |
gnarface | weird that it complains about menuentry | 18:25 |
gnarface | i'm not sure why it would do that unless there was an error before it | 18:25 |
gnarface | but if you haven't changed any of the other files.... this is the only file that could have an error | 18:26 |
gnarface | you didn't change 41_custom, did you? | 18:26 |
gnarface | or 40_custom? | 18:26 |
dreamer89 | no, 42 is new file i created | 18:26 |
dreamer89 | i was just reading others | 18:26 |
gnarface | the only thing i see obviously different from your file to all the ones i have here, is all mine start out with #!/bin/sh on the first line. am i reading your screenshot right that yours just has an empty first line? it may not like that. | 18:28 |
gnarface | it may require that you make this file executable as well | 18:28 |
gnarface | mine are all owned by root, with permissions 755 | 18:29 |
dreamer89 | will try in sec | 18:31 |
dreamer89 | owned by root, 755, added first line #!/bin/sh | 18:33 |
dreamer89 | tried to update-grub2, but right now it's spitting out same error | 18:33 |
dreamer89 | gnarface, thanks for your help, but i got to go now, will be back later | 18:36 |
dreamer89 | but at least, you helped me understand this thing, will try later google out something | 18:36 |
gnarface | dreamer89: no problem. good luck, lemme know what you find out. | 18:37 |
dreamer89 | later, thanks again very much | 18:37 |
dreamer89 | sure | 18:37 |
dejdo | Good day to you | 19:41 |
dejdo | I have a laptop with secureboot enabled, and I can't disable it without the superpassword. Is it possible to do some wild debootstrap/shim dance to make devuan to boot on it? The installer usb does not boots up. | 19:42 |
poeinklum | gnarface: Ok, I'll try that. If I find the time and not forget :-( | 19:59 |
gnarface | poeinklum: like i said, the only time cron failed to set up right for me was in a virtual guest running under a non-stock kernel patch, and there were known issues with it | 20:01 |
gnarface | but if you can give instructions on how to reliably reproduce the issue with only stock components, they won't be able to sweep that under the rug as easily | 20:02 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!