libera/#devuan/ Friday, 2024-08-16

dvbsthmmmmm, so the installer seems to be working fine, but it just doesnt want to install grub00:33
dvbstwhat if i do that manually?00:33
dvbstis it just grub-install --target=x86_64-efi --efi-directory=/boot --removable and then grub-mkconfig -o /boot/grub/grub.cfg like gentoo or are the debian steps different? im thinking about dpkg-reconfigure grub-efi-amd64 and possibly other things?00:39
rwpSeems like I have only ever needed to run "grub-install /dev/sda" with the appropriate device.  And it should do the right thing without any device by searching IIRC.00:43
dvbstgrub-install /dev/sda is for legacy boot00:44
rwpDoesn't the installer present a dialog at the very end that asks you to select the device to install grub on?00:44
rwpIt's at step number 21 shown here: https://www.devuan.org/os/documentation/install-guides/daedalus/install-devuan00:45
dvbstit doesnt, it automaticly decides by itself (or falls apart before that) and then spits out unable to grub-install dummy fatal error00:45
rwpCertainly if you have the option of booting Legacy BIOS mode then that's always the more reliable boot option.00:45
rwpI had a broken UEFI system which did things similar to what you are reporting.  Eventually I gave up trying to make it boot UEFI correctly since it had the ability to boot Legacy I switched to it.00:46
masondvbst: Hm, I tend not to bother with --removable or a --target. You can just install with --efi-directory specified.00:47
masondvbst: And of course, then you can confirm that it did the right thing after.00:47
dvbsti just pasted the command from a guide i followed some time ago, and it was the only one that managed to install grub on my wierd system, but yes, this is a new pc and legacy should work, so i will try that, but im just asking if i can do it manually or if the installer will be upset00:48
masondvbst: Just read a touch of scrollback. If you want to confirm that you got the EFI invocation right, you should be able to match up the search.fs_uuid with your blkid output.00:49
mason...found in your ESP's grub.cfg.00:50
rwpOne thing important to know is that the package for grub legacy mode abuses debconf as a database and stores the selection.  Later upgrades will use that selection.  If the selection does not match then later in the future an upgrade may fail.  Has failed for me, which is why I know this detail.00:50
masonWe won't tell anyone if you hurt the installer's feelings.00:50
rwpThat does not apply to UEFI because UEFI has EFI VARS instead.00:50
masonrwp: You don't even need boot variables for UEFI if you don't want them. Fallback naming works.00:51
rwpSometimes fallback naming is the only thing that works, due to buggy UEFI implementations.00:51
mason(And to play Devil's advocate, I've had at least one box where fallback naming didn't work.)00:51
rwpFor legacy grub replacing a disk drive now includes "dpkg-reconfigure grub-pc" in order to update the drive selection to the new replacement drive.00:52
dvbsti think i set msdos as the label and not gpt so i should go with legacy00:52
masonI wonder if Debian's grown Ubuntu's multiple-ESP-handling in dpkg-reconfigure grub-efi-amd6400:52
rwpThis is one thing that Coreboot excels at because the systems with Coreboot all boot UEFI perfectly.00:52
masonHm, nope, still no legacy-style handling of multiple devices.00:53
dvbstokay so once again, if i just grub-install /dev/sda and then grub-mkconfig -o /boot/grub/grub.cfg it should be good if all else is good and i dont encounter any strange errors? there are no other debian specific steps? i dont know what youre trying to say with this dpkg-reconfigure grub-pc, i havent really slept well tonight00:58
dvbstand rwp, it boots all **linux** UEFI perfectly, it doesnt want to boot dragonflybsd at all because of some strange graphics switching thing afaic, or at least thats what i think is the problem, and at least on my coreboot system (not the laptop im currently installing to, but a different one)00:59
rwpWhy do you need to run grub-mkconfig manually?  I have never needed to do that myself.01:00
dvbstidk, thats kinda what i always been doing01:01
Xenguyre: "<dvbst> it doesnt, it automaticly decides by itself (or falls apart before that) and then spits out unable to grub-install dummy fatal error":  That's a bold claim.  Really?01:01
rwpI have an Intel NUC that is having a similar weird issue of booting a FreeBSD install.  But I will work that through in #freebsd rather than here. :-)01:01
rwpThe only time I have ever had the installer puke with errors like that was on UEFI systems that were buggy and broken and so the installer couldn't deal with it.01:02
XenguyI'm late to the conversation, but if that were true I might feel a little disconcerted : -/01:02
dvbstXenguy: it looks like this, im on the install grub boot loader step, i click ok, and then the next thing i see is this error message with the fatal error01:03
XenguyYeesh01:03
dvbstso if anything was supposed to ask me where i want to install it, it didnt show up01:04
XenguyI would assume this is some very edge case, or I sure hope that's the case01:04
XenguyThere is an option to specify manually, yes?01:04
dvbstwhere would it be?01:04
Xenguy"Enter device manually", same screen, step 2101:05
dvbstif you mean to alt+ctrl+f2, and then type it out, then yea, i guess there is01:05
dvbstno there is nothing like that in the installer01:05
Xenguyhttps://www.devuan.org/os/documentation/install-guides/daedalus/install-devuan01:05
Xenguystep 2101:06
Xenguypreviously referenced by rwp01:06
XenguyI have no idea if the option would help, but the option is present in that screenshot01:06
onefangExpert mode needed first?01:07
XenguyNo, this is standard install I believe01:08
rwpExpert mode allows one to take control but I expect that the grub-install will fail in exactly the same way there too.01:08
Xenguyhrm01:08
Xenguy*Is* this an edge case?  I mean it's a bit worrisome if not.01:09
dvbstXenguy: it doesnt go to that step01:11
dvbstthe fatal error is pretty much right after the init choice01:11
XenguyWhich init are you choosing?01:11
dvbstrunit01:11
dvbstbut i dont think it has anything to do with grub01:12
XenguyCan you elaborate "it doesnt go to that step" ?01:12
dvbstyes01:12
dvbstso01:12
Xenguy(sorry if I missed it previously)01:13
dvbsti go to the installing grub step01:13
dvbstthere is this loading bar as always that says its looking for other operating systems01:14
dvbstwhich there are none01:14
dvbstand then it spits out the fatal error01:14
dvbstthats pretty much it01:14
dvbstthere is nothing else in between01:15
dvbstim sorry01:15
XenguyAppreciate the feedback, thanks.01:16
XenguyIs there a sense of what's going wrong here, or is it a fresh mystery?01:16
masondvbst: Did you try installing GRUB manually?01:17
dvbstXenguy: the partitioning step, if you can read a little bit up i said that the automatic partitioning doesnt work because it not only formats the drive that i want to install to, but also the installation media, so i reflashed the installation media, partitioned it myself, and now i want to install it to those partitions01:19
dvbsti was thinking that i put wrong options in the boot partition in the installer, but its 1:1 as in my working system that has been installed 100% with the devuan installer, tho it was chimaera01:20
Xenguydvbst, Did you file a bug report BTW?01:20
dvbsti did think that if i switch the options from "use as ext2" to "do not use" might help, but then it doesnt let me specify to mount it as /boot, so that doesnt work either01:21
dvbstmason: not yet, but i am about to01:21
masondvbst: Sounds like you're re-using partitions...?01:21
dvbstXenguy: i did not01:21
dvbstmason: wdym01:22
masondvbst: Are you going to try UEFI still, or legacy?01:22
dvbstno no just legacy01:22
masonkk01:22
masonAnd are you using GPT or legacy MBR partitioning?01:22
Xenguydvbst, If all else fails, please consider filing an official bug report.  That would be the proper way to escalate this issue after other options are exhausted.01:22
dvbsti am using mbr01:22
masonFWIW, "update-grub" is generally what you want on Debian-based systems01:24
dvbstXenguy: if all else fails, that would be really really poop, im installing this for my friend to who im going in about a week and i cannot afford to travel back and forth throught a few countries willy nilly, and he does not have the technical knowledge to do any of that, which is why im installing it01:25
masonSo, legacy partitioning, you don't need to worry about having a biosboot partition. dpkg-reconfigure grub-pc ought to handle letting you select where you're installing it.01:25
dvbstmason: so once again, grub-install /dev/sda, update-grub and then dpkg-reconfigure grub-pc because grub-mkconfig -o /boot/grub/grub.cfg is not needed?01:27
rwpThe two commands have similar names but do different things.  update-grub is used to rebuild the grub menu.  grub-install installs the early stage boot loaders.01:27
dvbstrwp: so i would only do update-grub if i have grub installed already, am i getting it right?01:28
rwpIf you change options in /etc/default/grub then after making changes run update-grub to have those "compiled" into grub configuration.01:29
dvbstdo i need to make changes?01:29
rwpYou have just now installed and haven't changed anything.  Therefore update-grub should not be needed.01:29
dvbstight, makes sense01:30
dvbstand how about dpgk-reconfigure grub-pc?01:30
rwpHOWEVER you are reporting that the installer is failing at this step.  We haven't figured out why.  Therefore I maintain that just ignoring that will not result in a successful installation.01:31
masondpkg-reconfigure grub-pc should install for you01:31
rwpRunning "dpkg-reconfigure grub-pc" to debug what error messages result from it would be a good start.01:32
dvbstrwp: have you read what it says? did i send that or did i not?01:32
dvbstit says that it wants to install to dummy01:32
dvbstand that fails01:32
masondvbst: Doesn't give you a choice of disks?01:33
gnarfaceit was really a mistake to remove lilo from the distro. grub sucks.01:33
masonEh. Both are about equivalent.01:33
dvbstmason: it does not01:33
masondvbst: That might be part of the issue then.01:33
gnarfacethey are really really not even close to equivalent, and anyone who has tried to boot an old dell of a SD card will see the stark contrast in boot times01:33
rwpGRUB v1 was great!  With the GRUB v2 rewrite they hit bottom and started to dig.01:33
gnarface*off an SD card01:34
dvbstso my guess is that it doesnt see anything to install grub to, so it tries to install to nothing, and that doesnt work, so it spits out fatal errors01:34
rwpdvbst, I remember reading your reported errors previously.  Looking now to refresh I don't find them easily because of the huge wall of text to search through.  Sorry.01:34
gnarfacebasically on this old inspiron (530?) i have here, grub would try for about 2 minutes then fail 100% of the time. lilo would try for 1 minute and succeed.01:34
gnarface(probably more a fault of the Dell bios i suspect, but not much else to do about it either)01:35
dvbstunless it tries to install to dummy as a test, and the test fails, so installing grub would not work too because if it cant install it in a perfect simulated environment, then why would it work anywhere else01:35
dvbstrwp: its chill, basicly the only thing is this01:37
dvbstUnable to install GRUB in dumy01:37
dvbstExecuting 'grub-install dummy' failed.01:37
dvbstThis is a fatal error.01:37
dvbstand then i have the option to go back or continue, and both of those just take me to the menu with all the steps01:38
rwpAt that point I would Alt-F4 to switch to vt console 4 (from the vt 1 where this is running) and see if there are any error messages logged there.01:39
rwpThen Alt-F2 to go to vt 2, Enter to get a shell prompt, then look to see what devices and device names are present.01:39
dvbstok, im on it01:40
rwpAlt-F2 and Alt-F3 are available at that point of the install IIRC for interactive consoles.  Other output is tail'd to vt 4.  The installer dialogs are running on vt 1.01:40
dvbstyes01:40
dvbstok do you want me to type out all the stuff from the v4?01:43
dvbstvt401:44
dvbstthere are 6 lines01:44
dvbsteither way, it wants to install to efi, and it says it cant get canonical path of /dev/sdb2 (thats where the / is!!!) and then it fails01:52
masondvbst: If it wants to install UEFI then you may not have booted in legacy mode.01:52
dvbstidk buddy, i just plugged in the usb and let the computer do the thing01:53
masonRight, and that's not going to get you a legacy install on a UEFI computer.01:53
masondvbst: If you want a UEFI install, set CSB mode or whatever it's called in your BIOS and the installer won't see UEFI bits and assume it wants to do a UEFI install.01:55
masonFor my part I just do debootstrap installs, so nothing is ever given the task of guessing.01:55
dvbstso i have to reboot and do all that again?01:55
dvbstyea i was thinking i might debootstrap if all else fails, because ive heard here that this always works01:56
masonWell. Your latest error is that it wants to install to your EFI System Partition, or whatever the error was, so that's an indicator that things aren't quite right. That said, given sufficient comfort you can just let that install finish and fix up the bootloader by hand, but I don't think that's something you'd be maximally comfortable doing.01:56
masonThat said, you'd learn useful stuff doing it, so there's that. And it's arguably the quickest path from here to done.01:57
dvbstand i dont think its a uefi only computer, i think it can do both, its a thinkpad t47001:57
masonRight, but it's booted with UEFI there, so the installer saw it.01:57
dvbstbut i can install the legacy version with the command (i think) and then let the installer continue (i think??????)01:58
masondvbst: You can wait until the end and install if you want.02:00
masonBut yeah, once you're at a shell, you can install whatever you like.02:01
dvbstwait untill the end of what?02:01
dvbstthe grub installation is the last part of the thing02:01
masondvbst: You can even swap back and forth between UEFI and legacy if you want. I set up my partitions to accomodate that most of the time - include both a biosboot partition and an ESP on a GPT-partitioned disk, and you can do it all.02:01
rwpEverything should JustWork(TM) on a Thinkpad.  Shocked that it does not.  Makes me think something is messed up in the BIOS.  I might try a reset to factory defaults.02:02
masondvbst: Wait until the installer thinks it's done, and go into a shell, and do whatever. Sometimes bind mount /dev, /sys, and /proc into your fresh system and choot in. Sometimes just edit files. Whatever you need to do.02:02
rwpThe problem with trying to manually rescue an install that installed UEFI and needs to be switched to Legacy BIOS or the reverse is that the partitioning is different for the two choices.02:03
masonrwp: Doesn't have to be different.02:03
masonAs noted, I tend to install such that I can do whichever.02:03
rwpmason, I know that you know what you are doing but the installer does make a different partitioning based upon the two choices.  (I also manually set up partitions so that I can flexibly do either thing.)02:03
dvbstmason: all i need to do is install grub and thats the end, all the packages and all that are installed already, this is the last step02:04
masondvbst: If the installer's not doing the right thing, then you should have an option at the end of the install to get a shell, yes?02:04
dvbstyup02:04
dvbstrwp: this might be true, and this showed up at the start, the boot splash says "press enter to get into boot options", but enter does nothing, for some reason its f1202:06
dvbstand i would reset it to factory defaults, but i have no clue how to do that (╥_╥)02:08
rwpIt's an option under the exit tab of the firmware configuration page usually.02:10
dvbstbut maybe i should try the grub-install /dev/sda first?02:11
dvbstmaybe it works and i dont have to do that?02:11
dvbsti know i keep asking but i want to be sure i get the steps correctly cuz i dont want to mess up the drive02:12
masondvbst: you also want to make sure it's got a coherent config built, as that's all your doing with grub-install is pointing to the larger config that'll be loaded in subsequent stages.02:14
masondvbst: make sure your "set root" lines are sane, etc.02:15
masondvbst: Anyway, I'm going AFK for a bit but I'll check in later.02:17
dvbstokay02:17
dvbstwelp, there is no grub.cfg in /target/boot/grub/, so i cant verify the config02:22
dvbstunless that is not the config02:22
dvbstin that case idk what to do02:22
freaxehty CueXXIII02:28
rrqdvbst: I missed the beginning ... do you install grub for uefi or for legacy?02:48
dvbsti want to install for legacy but so far i did nothing02:49
fsmithredlegacy. You need to run update-grub to make a menu02:49
rrqdo: chroot target apt-get install --reinstall grub-pc02:50
fsmithred^^^ do that02:50
dvbstsure02:51
dvbstbut do i need to mount and do all the other stuff or is just chroot enough?02:51
fsmithredyou're in the installer at the point where it wanted to install grub?02:52
dvbstyes02:52
fsmithredthen everything is ready for chroot02:52
dvbstepic02:52
dvbstok i reinstalled it02:53
dvbstwhat now?02:54
rrqI think it needs: chroot target grub-install /dev/sda02:54
rrqthat will out stuff into MBR on the disk02:55
dvbstit failed02:55
rrqthe rest should be in /target/boot/grub by now02:55
fsmithredand then chroot target update-grub to make the menu02:55
rrqaha needs devpts I guess?02:55
fsmithredyeah, but why isn't that already done?02:56
dvbstfailed to get canonical path of '/dev/sdb2' (it is the /boot/efi on the live iso)02:56
fsmithreddid you boot in efi mode?02:57
fsmithreddoes /sys/firmware/efi exist in the running system?02:57
dvbstit did it automaticly02:57
rrqhmm grub has had some improvement and "thinks" the efi partition of the installer belongs to the target02:57
dvbstit does exist02:58
rrqbut installing grub-pc should have purged grub-efi-amd6402:58
rrqyes the installer has an efi partition02:58
fsmithredbut not grub-efi-amd64-bin02:58
dvbstbut i installed grub-pc in /target not the live iso02:59
dvbstand the efi is in the live iso02:59
dvbsti mean it is on the chroot too02:59
rrqit should be unmounted02:59
rrqfrom everywhere02:59
fsmithredare grub and kernel not agreeing on which disk is sda?02:59
dvbstrrq: the /sys/firmware/efi is not mounted anywhere, and /boot/efi is mounted only on the live iso03:00
rrqno grub finds the installer's efi partition on its partition traversal and then "thinks" that belongs to the target... it's a grub bug03:00
rrqunmount /devsdb2 from everywhere ... not needed03:01
dvbstok03:01
rrqthen purge all grub-efi-* you can find03:02
dvbston the live iso or on the target03:02
rrqtarget03:03
rrqand os-brober should not be used03:04
rrqos-prober03:04
dvbstthere are 5 in /usr/share, 6 in03:05
rrqchroot target apt-get purge grub-efi*03:05
dvbst/var/lib/dpkg/info and 3 in /var/cache/apt/archives03:05
rrqthen maybe reinstall grub-pc again, and then grub-install /dev/sda *should* be happy03:07
dvbstit did spit some errors03:07
rrqjust complaint about stuff not installed I hope03:08
dvbstfirst that it cant write logs cuz /dev/pts is not mounted, then ucfr: association belongs to grub-pc, not grub-efi-amd64, aborting03:08
rrqhmm ok, maybe slower... start with: chroot target /bin/bash03:09
rwpThat error about /dev/pts not being mounted is annoying but it can always be ignored.03:09
rrqthen: dpkg -l | grep grub03:10
dvbstgrub-common, grub-pc, grub-pc-bin and grub2-common03:10
dvbstthats what it lists03:11
rrqok so it should be fine now03:11
dvbstok so grub-install /dev/sda now?03:11
rrqyes03:11
dvbstfailed to get canonical pat of /dev/sda1 (thats the boot partition of the target)03:12
rrqright... are /dev/sda and /dev/sda1 there03:13
dvbstyes03:13
dvbstthat is the target drive and the target boot partition03:13
rrqand "mount" says so?03:13
dvbstor wait, do i execute the grub-install /dev/sda on the chroot or on the live iso?03:13
dvbstbecause i did so in the chroot now03:14
rrqeverything on the chroot03:14
rrqand it needs to have /dev/sda and /dev/sda1 as well03:14
dvbstit does03:14
dvbstlike, lsblk lists it03:15
rrqls /dev03:15
dvbstoh well03:15
dvbstit isnt03:15
dvbstbizzare03:15
rrqeasy way is ... in chroot still ... mount -tdevtmpfs none /dev03:16
rrqthen grub-install /dev/sda03:16
rrq(still in the chroot)03:16
dvbstwait i write 3 dots in the console and hit enter?03:16
dvbstwhat does that do03:16
rrqooops. no03:17
rrqthose are my separations between phrases03:17
rrqi nstead of newlines03:17
dvbstso i just mount -tdevtmpfs none /dev in the console03:17
rrqright; within the chroot!03:18
dvbstok that worked03:18
dvbstawesome03:18
rrqthat will make /dev (in the chroot) populated with the kernels idea obout devices03:19
rrqafter grub-install03:19
rrqyou need: umount /dev03:19
dvbstokay03:20
dvbstdo i go back to the installer now?03:20
rrqis there a good /boot/grub/grub.conf ?03:21
dvbstthere is no grub.conf at all03:21
fsmithredupdate-grub03:21
dvbstthat was what i was about to write, yup03:21
rrqyes ^^03:21
fsmithredin chroot03:21
fsmithredand it'll be grub.cfg03:22
rrq(and with devtmfs mounted)03:22
dvbstso i mount -tdevtmpfs none /dev again? because i just umounted /dev03:22
rrqyes03:22
rwprrq, fsmithred, Just a thought here but are we sure that T470 has a SATA disk?  If it has an NVMe disk it would be /dev/nvme0n1 instead of /dev/sda and /dev/sda would be the USB netinst image.03:23
dvbstit is a sata disk03:23
rrqupdate-grub might complain about devpts but we ignore that03:24
dvbstand the update-grub is done with no errors03:24
dvbstit didnt complain03:24
rrqgood03:25
rrqthen umount03:25
dvbstso now back to the installer03:25
rrqyes. now the target is set up to do it's grubby boot03:25
dvbstthe installation finisher updated initramfs03:26
dvbstand iirc thats something that grub does things with03:26
rrqyes that also happens with update-grub03:27
dvbstso do i update it again? because i went with the option to not install grub because i installed it myself, so the install scripts would skip the grub update thing i think03:27
rrqnot really needed but if you're worried itt doesn;t hurt doing it again03:28
dvbstsure03:28
dvbsthmmmmmmmmmmm03:30
dvbstso i booted03:31
dvbstnot to the live iso but to the drive i just installed03:31
dvbstit looped on a thing03:31
dvbstBegin: Running /scripts/local-block ... done03:31
dvbstfor a while03:32
dvbstand then it dropped to a busybox shell03:32
rrqhmm sounds like mdadm issue...???03:33
fsmithredor cryptsetup03:33
dvbstits cryptsetup03:33
dvbstit does complain that /dev/mapper/lvmSystem-root does not exist03:33
fsmithreddid you edit /etc/crypttab or check to see if it's right?03:34
dvbstbut it should ask for a password first03:34
rrqI think you'll need to boot the live iso and then verify your crypt setup03:35
fsmithredmake sure cryptsetup-initramfs is installed03:36
fsmithredand rebuild initrd03:36
fsmithredupdate-initramfs -u03:36
fsmithredall in chroot03:36
dvbstok, im on it03:37
fsmithredI'm going to sleep soon.03:38
dvbstok, but just before i boot again, do i reset the bios to factory defaults now? do i boot it in legacy and not uefi?03:39
dvbst(if thats even possible)03:39
fsmithredI don't know about your factory defaults but there should be a way to do legacy (csm) boot03:39
dvbstok so i chrooted and /bin/bash but wierdly it now says root@(none):03:49
dvbstis that bad?03:49
dvbsti think its bad03:49
rrqit sounded like it was legacy before03:49
adhocit does not know its hostname03:49
dvbsti know03:49
dvbstbut it seems problematic03:49
dvbstis it?03:49
rrqis its /etc/hostname fine?03:49
adhocdoes not have a /etc/hostname file ?03:49
dvbstokay i know whats wrong03:50
dvbstok yup03:52
dvbstso now apt-get cryptsetup-initramfs in the chroot03:52
rrqthen it's time to try a boot again03:52
rrqsorry03:53
dvbstit says its already the newest version03:53
rrqhmm is /etc/crypttab correct?03:54
dvbstoh well, you told me to boot again so thats what i did03:55
rrqsorry03:55
dvbstno its no problem03:55
dvbsthow do i know if its correct or not?03:55
rrqI'm not too experienced with cryptfs ... I'll need to refer to the manuals03:56
rrqwhat's in your /etc/crypttab03:58
dvbstnothing03:59
dvbsti mean, a comment with the <> things telling me what should be where04:00
dvbstits not an empty file yfm04:00
rrqbut your target root filesystem is encrypted04:00
dvbstit is, yes04:00
fsmithredlvmSystem    /dev/sdaN    none    luks04:01
dvbstill look how it is in my working system04:01
fsmithredsomething like that04:01
rrqyes use fsmithred's line ^^04:01
fsmithredN is a number (maybe 2?)04:01
rrqprobably /dev/sda1 though04:01
fsmithredoh yeah, /boot04:02
dvbstyea, same on the working system, just the uuid instead of the /dev/sda and the options are luks,discard04:02
dvbstno no no, it should be 204:02
rrqright04:02
dvbstthats where the root fs is04:02
fsmithredyeah 204:02
dvbstbut04:03
dvbston the working system the target name is not the vg name04:04
dvbstit is not the pv name either04:04
fsmithredshould be the /dev/mapper name04:04
dvbstit is not04:04
dvbstit is sda5_crypt04:05
dvbstand i have no clue what this name reffers to04:05
fsmithredit refers to /dev/mapper/sda5_crypt04:05
dvbstthat is named devuan-(my hostname)04:06
fsmithredwhich is an encrypted sda5, which is a logical partition04:06
fsmithrednamed?04:06
dvbstyea, like pvdisplay says its named that04:07
dvbstor i guess it doesnt matter?04:07
fsmithredman crypttab04:07
fsmithredit explains what the fields are04:07
fsmithredI need sleep. Good luck. I hope you figured out how to boot in legacy mode.04:08
dvbstgood night04:08
dvbston the working system, ls /dev/mapper lists control, devuan--(my hostname)--root, devuan--(my hostname)--swap and the sda5_crypt04:09
dvbstand ls /dev/mapper/ on the chroot lists control, lvmSystem-root, lvmSystem-swap and devuan-system04:10
dvbstso my guess is that it should be devuan-system there04:10
rrqlook at ls -l /dev/mapper04:11
dvbstso in this case that would be the argument while cryptsetup luksOpen /dev/sda2 [this thing]04:11
rrqonly root is an encrypted partition ?04:14
dvbstroot and swap04:14
rrqtogether orr separately?04:14
dvbstits lvm on top of luks04:15
dvbstso one luks thing and then root and swap seperated with lvm04:15
rrqok. yes then devuan-system is the encrypted thingy, and the other are portions of that04:15
dvbstyes so im gonna do this04:16
dvbstdevuan-system UUID=(the uuid) none luks,discard04:16
dvbstok that looks legit04:17
rrqlooks fine to me04:17
dvbstnow i reboot(?)04:17
rrqyes now it works04:17
rrq;)04:18
dvbstok now im half confident04:18
dvbstthat this will work04:18
dvbsti know what i forgot to do04:19
dvbstredo the initramfs04:19
dvbstwell here we go again04:19
dvbstok im in the chroot04:25
dvbstupdate-initramfs -u04:26
dvbstand that should do the trick right?04:26
dvbstanything else?04:26
dvbsti think grub04:26
dvbstit wants to do some things in /proc but it complains its not there04:30
dvbstdo i do the mount --types proc /proc /mnt/proc and all that?04:31
rrqok yes mount -tproc proc /proc04:43
rrqand mount -tsysfs sys /sys04:45
dvbstyes yes all the things04:45
dvbstok that went smoothly04:49
dvbstamazing04:50
dvbstit now asks for password04:50
rrqhope you remember it :)04:50
dvbstwacky04:51
dvbstso it booted in single user mode04:51
dvbstand fsck failed04:51
dvbstand it tells me to repair the fs manually04:52
dvbsthow do i do that?04:52
dvbstjust fsck and thats it i think?04:52
dvbstit will prompt me stuff right?04:52
rrqyes but that filesystem cannot be mounted04:52
dvbstit is mounted04:53
dvbstand i can do stuff04:53
dvbstand fsck tells me i cant run it cuz the partition is mounted04:53
rrqanother run with the iso I guess04:53
dvbstand what do i do there?04:54
rrqfsck04:54
dvbstok04:54
rrqyou need to cryptsetup the partition but not mount the root04:54
rrqthen fsck the root lvm04:55
dvbstlike just fsck /dev/mapper/[the root volume] and thats it?04:55
rrqyes that should b ok. you might want -y (or not)04:56
dvbstok that worked04:58
dvbstno errors no nothing04:58
rrqthen maybe it boots "normally"04:59
dvbstsame situation05:00
rrqapparently the initrmafs init is confused about when to fsck05:02
dvbstoh its the fsck on the boot partition thats failing05:02
dvbstit does it, says its clean, and then exits with status code 6 whatever that is, and then says it failed because status code 605:03
dvbsti did fsck.fat /dev/sda1 as root (in the single user mode) and that says logical sector size is zero05:04
dvbstthats wack05:04
rrqcan be fixed?05:06
dvbsthow would i do that?05:06
rrqfsck.fat -a I guess05:06
rrqfsck.fat -a /dev/sda1 I guess05:06
dvbstit says the same thing05:07
dvbstthat the logical sector size is zero05:07
rrqsomethign from fsck /dev/sda105:08
rrq?05:08
dvbstsays its clean05:11
dvbstand it used e2fsck05:11
rrqoh; what type is it?05:11
dvbstoh yea, thats right05:12
dvbstits ext205:12
dvbstofc you cant read it with fat05:12
dvbstso05:12
dvbstnow05:12
dvbstwe need to change it so it tries to mount it as ext2 and not fat05:13
dvbsthow do we do that?05:13
rrqwhat's in /etc/fstab ?05:13
dvbstoh thats wack05:14
dvbstthere is an entry for /dev/sdb2 to mount as /boot/efi05:14
dvbsti guess i remove that?05:15
rrqyes05:15
dvbstbut this was put in by the install wizzard05:15
dvbstthats for sure05:15
rrqbut it should mount /dev/sda1 as /boot and tell its and ext2 filesystem05:15
dvbstthat is right05:15
dvbstthat is set properly05:15
rrqthen update-initramfs -u   would be good05:16
rrqand update-grub might be good tool shouldn't hurt at least05:16
rrqtoo05:17
dvbstoh well05:17
dvbsti dont have the update-initramfs command05:17
dvbstthis comes with the cryptsetup-initramfs package right?05:17
rrqupdate-initramfs -u -kall05:17
rrqhmm no it comes with initramfs-tools05:18
rrqcryptsetup-initramfs might depend on it05:18
dvbstokay05:20
dvbstso i have both installed05:21
dvbstand after update-[tab tab] i only have -alternatives, -dekstop-database, -mime-database, -service05:22
rrqroot? what is $PATH ?05:22
dvbst/usr/bin:sbin:/bin no such file or directory05:23
dvbstpwd says /root tho, yes05:23
dvbstand whoami also says root05:24
rrqwhere did you get that PATH from? .. PATH shoud be /usr/sbin:/sbin:/usr/bin:/bin05:24
dvbsti got it from typing out $PATH05:24
rrqecho $PATH05:24
dvbstit is /usr/bin:/sbin:/bin05:25
rrq?? needs to also have /usr/sbin05:25
dvbstwhat do you want me to say05:25
dvbstim typing out what the computer spits out05:25
rrqdo: PATH=/usr/sgin:$PATH05:25
rrqdo: PATH=/usr/sbin:$PATH05:25
rrqsomething is off somewhere..05:26
dvbstok i did05:26
rrqwhen it gives you that PATH05:26
rrqnow update-initramfs is available as command05:26
dvbstwait i wrote %PATH and now its fucked05:27
rrqPATH=/usr/sbin:/usr/bin:/sbin:/bin05:27
dvbstye ye i know05:27
rrq(it is the program /usr/sbin/update-initramfs)05:28
dvbstyes ok that works05:28
rrqgood. you may need to review /root/.bashrc as well as /etc/profile and whatnot05:29
rrqsomething gave set PATH very badly for root05:29
dvbstok grub updated05:30
rrqmaybe: grep usr/bin:sbin: -r /etc05:30
rrqand also all /root.* files05:31
rrqor maybe ignore tht for now and reboot, then check root path after booting05:32
dvbstok05:32
dvbstcrazy05:34
dvbstit now works normally05:34
dvbstit booted to the dm05:34
dvbstnow i can log in as my user05:34
dvbstand i have my desktop05:35
dvbstthats wild05:35
onefangSo this ten hour saga is complete, and you can go rest now?05:35
rrqnow the real journey starts :)05:35
dvbstseems like it05:36
dvbstbut i want to fix the $PATH thing or it will keep bugging me05:36
dvbstalso i cant go rest now, now the fun part begins, i have to install steam and discord and virtualbox and all that kind of stuff for my friend05:37
rrqyes; become logged-in root and check PATH05:37
dvbstbash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory05:41
rrqyou check with: echo $PATH06:04
rrqand it should be a root *login shell*06:04
rrqnot just "su"06:05
dvbstokay06:15
dvbstidk, i dont want to do this today, maybe ill go to sleep now06:31
onefangAs I mentioned before, you have been at this for over ten hours.  Sleeping sounds like a great idea.06:32
dvbstnah i gotta get stuff done06:45
dvbsthow do i change the apt mirrors?06:47
onefangYou mean /etc/sources.list ?06:48
dvbstidk man06:48
dvbstim running both computers on the same network and one can do apt-get update just fine and another one standing right next to it connected to the same thing says that theres a temporary faliure resolving deb.devuan.org06:49
adhocyup =/06:49
adhoclots of folks have been having that this week06:49
onefangThat's what I get for having a public holiday on Wednesday.  lol06:50
dvbstoh so this issue is not related to my computer?06:51
dvbstwicked06:51
onefanghttps://pkgmaster.devuan.org/mirror_list.txt is a list of our package mirrors.06:51
dvbstso i guess i do just go to sleep? if the universe says so06:51
onefangThat /etc/apt/sources.list file is where you change the mirror you use.06:51
dvbstsure ill try that06:51
rrqand "resolving deb.devuan.org" is a DNS lookup thing06:52
dvbstso i replace the deb.devuan.org with whatever address from that list right?06:52
rrqnot a good idea06:52
dvbstokay so how do i check the dns thing06:52
dvbsti mean ping gnu.org works damn fine06:53
rrqping deb.devuan.org06:53
dvbstyea that doesnt wokr06:53
freaxehi changed my dns servers to quad9 and it works flawlessly now06:53
dvbsttemporary blah blah06:53
dvbstyou know the thing by now, it always says the same thing06:54
adhocfreaxeh: i am curious about which DNS root services are making life interesting06:54
rrqok; what's in  /etc/resolv.conf  and compared to the other computer06:55
adhocof if there is a common path or upstream service for all the affected folks06:55
dvbstrrq: damn okay, ill just rewrite the lines from one to the other and it should work06:56
freaxehwish i could answer that for you06:56
adhocfreaxeh: collect the data, maybe we can work something out06:57
dvbstok yup that works now06:57
adhocgood06:59
adhoc=)06:59
onefangCool.06:59
onefangNote that if you happen to be using my mirror, sledjhamr.org, I'm currently looking for a new hosting company for it, so there will be some downtime.  Maybe in the next few days if things go OK.07:02
freaxehhost it at bahnhof07:07
freaxehwe need more radiation hardened servers hosting devuan repositories07:08
freaxehthats my personal opinion07:08
onefangRather expensive, I'm looking for cheap.07:14
adhocfreaxeh: radiation hardened!07:14
* adhoc used to work in a DC like that =)07:14
adhocfreaxeh: are there many left?07:14
freaxehim not the person to ask that07:16
freaxehi'm unemployed and paranoid about the end of the world, definatley not the person to ask that.07:17
freaxehyou could host it in australia but thats expensive too07:18
freaxehand not rad hardened07:18
onefangI know how expensive Australia is, I live there.07:18
freaxehsame07:18
freaxehi ran tcpdump > dump.txt but all i'm getting is a bunch of garbage07:23
freaxeho07:23
freaxehi've got arp requests but they are "request who-has 192-168-1-157.tpgi.com.au"07:24
freaxehnothing about deb.devuan.org07:24
freaxehwhat exactly am i  meant to be looking for07:24
freaxehi'm using my modem as a dns server. just like before when it failed it fails again this time.07:25
rrqif you want to catch IP addresses of lookups, they are outgoings to port 8007:26
freaxehright07:26
freaxehdef want -n then07:27
freaxeh"tcpdump -n port 80" is the command i need then?07:28
rrqthat could work; it'll use gaetway interfae I think07:29
rrqthe gateway interface07:29
dvbsti think im gonna sleep now, good night everybody and massive thanks for helping me once again07:30
gnarfacefreaxeh: i think you want "tcpdump -n dst port 80"07:31
gnarface(dst is short for "destination")07:31
gnarfacemake sure you don't have https in your sources.list too (that would probably explain it not working, since most the mirrors aren't properly configured for https of the dns round-robin)07:32
gnarfaceand note that since it's a dns round-robin, you won't see http requests to deb.devaun.org, you'll see requests going to whatever it resolves to in that moment07:33
onefangWE don't use HTTPS for the DNS round robin at all.07:33
rrq(and devuan doesn't share their cert willy-nilly)07:33
onefangThat's why.07:33
gnarfacefreaxeh: if you're looking at the whole traffic stream, you'll see the dns request for deb.devuan.org get a reply first, and then you'll see the http request to port 80 going to whatever ip it got as a reply (which should be one of the same list you get from "nslookup deb.devuan.org" or something is really wrong with your DNS servers)07:35
freaxeh0 packets captured 0 packets received by filter 0 packets dropped by kernel. thats what i get when i ran tcpdump in one window while another window is open doing apt update07:38
gnarfacefreaxeh: tcpdump -i eth0 ...07:39
gnarface(or whatever your actual device in use is... maybe wlan0)07:39
freaxehoh its listened on eth0 but i'll specify that07:39
gnarfaceyou should be seeing something, unless you're listening on an unused device07:40
freaxehits like its not even trying07:40
gnarfacedid you make sure you're running it as root?07:40
freaxehyep i'm running as root07:40
rrqdo you use VPN07:40
freaxehnope07:40
rrqand trying apt-get update?07:40
freaxehi'm trying apt update07:41
rrqsame enough07:41
gnarfacesure the network is up? you can ping stuff, right?07:41
freaxehyeah i can visit youtube/google in firefox just fine, did it earlier07:41
freaxehi'll do a ping anyway07:41
gnarfaceyea, ping google.com07:41
freaxehping came back fine, google.com 5ms07:42
gnarfacehmm07:42
gnarfacewait07:42
freaxeh100mbit fiber :D07:42
gnarfacewhat ip are you getting for google.com?07:42
rrqand your sources.list lines say http://deb.devuan.org/....07:42
freaxeh142.250.71.7807:42
gnarfacemake sure the ip you're getting for google.com isn't actually your own router, i've seen this on some badly behaved routers07:42
freaxehyep all http, not https07:43
gnarfacehmm, 142.250.* is google's ip block, so that should be fine...07:43
rrqso some traffic to some port 80 should happen (?!)07:43
gnarfaceyea, you should be definitely seeing some shit in tcpdump07:44
gnarfacecan you paste the exact tcpdump command you used?07:44
freaxehsure07:44
freaxeh"tcpdump -i eth0 -n dst port 80 > dump1.txt"07:44
gnarfaceoh07:45
gnarfacewell, if you call it like that you also have to run "tail -f dump1.txt" on another prompt or you'll see nothing07:45
freaxehok07:45
freaxehopening another window07:45
freaxehi stop the packet capture and check the .txt file in nano07:46
freaxehbut i'll do it your way07:46
gnarfaceeither works really07:46
rrqdo you have firewall ?07:46
freaxehnot on the host system, i have two routers, one acting as an AP in my bedroom here and another in the living room acting as a PPPoE gateway and then a NBN box on the wall that connects to fiber.07:47
gnarfacewell, let's see what the packet dump says07:48
freaxehnothing from tail07:48
gnarfaceignore the tail thing07:48
freaxehwhen i run apt-get update07:48
freaxehok07:48
gnarfacethat file should have had everything in it07:49
gnarfacewhat did it show you in nano?07:49
freaxehnothing in the dump1.txt07:49
gnarfacewhat? nothing!?07:49
gnarfacethat doesn't seem right...07:49
freaxehnot a thing07:49
onefangFor those that don't know, NBN is the Australian government wholesale Internet that covers most of the population.  You can get any retail ISP via it.07:49
gnarfaceok, so as a sanity check, let's see the output of "/sbin/ifconfig -a" ... keep in mind this is a slight security risk but it should only show your local IP so it shouldn't be THAT big of a risk07:50
freaxehits cool07:50
onefangI have it to.07:50
rrqand   ip r   is also interesting here07:51
freaxehwith a command like ifconfig -a all you'll see is my lan ip07:51
gnarfacefreaxeh: i just want to make sure your network device is actually up and called what we are assuming it's called07:51
rrqor ip r get 1.1.1.1   will tell the outbound device07:52
rrq(typically)07:52
gnarfacefreaxeh: should look something like this: https://paste.debian.net/1326533/07:52
freaxehhttps://pastebin.com/twaJkAtZ07:53
gnarfacefreaxeh: ("/sbin/route" for the old way to get the data from "ip r")07:53
gnarfacei still prefer how the older tools format the output, but it's probably just because that's what i am most familiar with07:54
gnarfaceyuck... pastebin has ads07:54
freaxehi know how you feel, i learnt how to use debian like 20 years ago and they changed everything over time so all of my learnin' went down the drain,.07:54
gnarfacethere's gotta be some sort of pretty obvious mistake we're missing here07:55
freaxehwould my hostname being different to my actual lan ip make this not worky07:55
onefangThat'll be why I take advantage of my ability to learn tech stuff really quickly, so I don't need to recall lots of slowly aging facts.07:55
gnarfacefreaxeh: i doubt it, but if the values in /etc/hosts and /etc/hostname aren't correct you should fix them anyway so they don't break other stuff07:56
freaxehi'll fix it now07:57
freaxehbtw the dump file got filled with stuff since i went to pastebin.com in firefox07:57
gnarfacei see07:57
gnarfaceyou don't need to dump to a file07:58
freaxehrebooting the box07:58
rrqit may be safer to use    | tee dump1.txt  rather than > sicne the latter involves caching07:58
gnarfacei doubt that'll help either, unless you just recently updated the kernel, but it probably also can't hurt...07:58
gnarfaceat this point i would just run "tcpdump -i eth0 -n dst port 80" and let it dump to the terminal window directly, we're not really going after an advanced analysis here07:59
freaxehok my hostname is now correct07:59
freaxehroger07:59
rrqit may be safer to use    | tee dump1.txt  rather than > since the latter involves caching07:59
rrqi.e. tcpdump does not write to stdout if it's a file unless it has enough data08:00
rrqand it also doesn't flush its buffer if interrupted by ^C08:00
gnarfacei'll never remember that, but good to know...08:01
rrqs/caching/buffering/08:01
freaxehi'll change my dns server to quad9 in network manager and lets see what a good resolution looks like...08:01
freaxehhttp://paste.debian.net/hidden/7e49301b/08:04
freaxehthats a correct capture with quad9 dns servers defined in the interface08:05
freaxehif i use my router though nothing....08:05
freaxehas sargeant shultz says: https://www.youtube.com/watch?v=UgcxGFmYyPs08:06
gnarfacedid the "apt-get update" actually work during that last capture? because it looks like the dns part worked fine...08:06
freaxehyep worked fine08:06
gnarfacebut even if the other dns were broken, you should have still at least seen the traffic from the attempt08:07
gnarfaceoh, well not with "dst port 80" though, i guess08:07
rrqwell apt would have targeted any hosts with port 8008:07
gnarfaceso, anyway, currently looking like your router's DNS, whatever that is, is broken08:07
gnarfacethis is a fairly conclusive result08:08
rrqno traffic is only if getting no hosts08:08
gnarfaceyou can probably query the other dns directly with dig or nslookup and see a difference in response (no need for tcpdump, the error should be obvious008:09
gnarface)08:09
gnarfacethe particular issue I have here with my current shitty ISP enforced router, is that if i use the ISP supplied DNS (which is inextricable from it) and their upstream servers happen to be down, the stupid fucking thing actually redirects all dns queries to itself which is really really egregiously bad behavior08:10
gnarface(not that that's why i run my own DNS servers, but it would be a good enough reason008:10
gnarface)08:10
gnarfacelike, literally every DNS request gets a "valid" response of its own gateway08:11
gnarfacemaybe your router is doing something similar08:11
gnarfaceor maybe the dns servers are just hardcoded and nobody has updated the IP addresses?08:12
gnarfaceyikes! sorry about that. what did i miss?08:18
gnarfacei think someone just EMP'd my UPS in retaliation for talking shit about AT&T...08:19
adhocgnarface: you did not miss anything.08:21
gnarfacethanks08:21
adhocthe point of a UPS is to keep your system up, right >?08:22
adhocor are we not talking about uninteruptable power supplies here?08:23
gnarfaceyea, the point is for it to keep the system up, and it just utterly failed at that catastrophically... it's not a devuan issue though08:24
freaxehgonna reboot my router brb08:24
gnarfacesigh, so much for my uptime08:27
freaxehstill didn't fix the issue08:35
freaxehwhen using my modem as a dns server it just doesn't like devuan.org08:35
freaxehmaybe its blocked in the great firewall of australia08:36
gnarfacefreaxeh: what does "nslookup deb.devuan.org" return from it? just nothing? error?08:36
gnarfacefreaxeh: its purely academic at this point, but i was primarily curious whether its a problem with the router or the ISP connected to it08:38
freaxehhttp://paste.debian.net/1326536/08:38
gnarfacehmm, odd... at first glance that looks like the correct response08:39
gnarfacemaybe it was just super slow to update and it will work properly now?08:39
gnarfacetime and the dns server seem to be the only two possible variables at this point..08:40
freaxehits good that the star trek voyager didn't rely on dns servers otherwise they would have never gotten back home08:41
gnarfaceif it was blocking by IP addresses then changing the DNS servers wouldn't have fixed anything08:41
gnarfacebut we didn't test the response directly before now, so try it again?08:41
freaxehi'm trying now08:41
freaxehand still nothing08:41
gnarfacewtf...08:41
freaxehits just stuck at 0% [Connecting to deb.devuan.org]08:42
gnarfacewell, if you got a traffic capture of this type of stall it might be informative, but since merely changing to a different DNS server fixes it, i think that it's not a devuan bug08:43
gnarfacestill pretty weird though, that router is exhibiting highly suspect behavior08:44
freaxehi bought it from the good guys08:44
gnarfacei wonder if it could be some sort of ipv4/ipv6 issue08:44
freaxehand updated it to the latest firmware before putting it into service08:44
gnarfacei thought the good guys went out of business?08:44
gnarface...like a decade ago?08:45
freaxehnot the good guys, officeworks08:45
gnarfacehmm08:45
freaxehthe good guys is still in business here08:45
gnarfacei can't imagine what type of normal function would cause this, but maybe if it has some sort of advanced firewalling gone awry...08:46
gnarfacei recommend you just run a local dns resolver and forget about it08:47
freaxehthats the thing, a request isn't even going out08:47
freaxehor maybe it is and i cannot see it08:47
gnarfacewell, were you running the tcpdump during that attempt that just stalled?08:48
freaxehi can look at the back of the computer and look at the activity lamp08:48
freaxehyes08:48
gnarfacetry it, but without the filter, just do "tcpdump -i eth0"08:48
gnarfaceyou should at least see the dns packets going back and forth08:49
freaxehyes thats what i thought08:49
gnarfaceyou sure you actually typed in the DNS IP correctly into the linux side?08:49
freaxeh192.168.1.1? yes08:50
gnarfaceif you'er not adding any tcpdump filters, i don't think you actually even need a response to see the outbound request packets08:50
gnarfaceyou don't have your subnet mask or network IP wrong do you?08:50
gnarfaceIP 192.168.1.16608:51
freaxehnope08:51
gnarfacesubnet 255.255.255.008:51
gnarfacenetwork 192.168.1.008:51
gnarfacebroadcast 192.168.1.25508:51
gnarfaceyou got all those right?08:51
freaxehgetting stuff now that i rebooted the modem08:51
CueXXIIIfreaxeh: can you run "host deb.devuan.org 192.168.1.1" or "dig @192.168.1.1 deb.devuan.org"?08:52
freaxeh57 packets captured08:52
freaxehhttp://paste.debian.net/hidden/97dd1902/08:54
gnarfaceworking now?08:54
freaxehsure08:54
freaxehnope08:54
gnarfacehmm08:54
freaxehi'll do CueXXIII's task08:55
CueXXIIIhm, but your paste looks like dns should be working08:56
freaxehdig output: http://paste.debian.net/hidden/77d10a47/08:56
gnarfaceyea, something is really weird there08:56
gnarfacerouter suspect08:56
gnarfaceISP also suspect08:56
freaxehdouble nat could do it i reckon08:57
freaxehcause this sort of problem08:57
CueXXIIIdig output looks good, too08:57
freaxeham i right in my assumption?08:57
gnarfacei don't know how just changing DNS would fix that though... i'd comb through the router settings if you haven't already, look for some sort of advanced packet-inspecting firewalling feature08:57
CueXXIIIworking double nat should not be a problem08:57
gnarface(something misconfigured or buggy)08:57
gnarfaceyea, i've got double NATs here, hasn't ever caused a problem with package updates08:58
gnarfacenintendo games on the other hand....08:58
CueXXIIIfreaxeh: howw far did apt-get go during the tcpdump08:58
CueXXIIIi don't see any connection attempts08:59
freaxehrunning it again now08:59
gnarfaceis the router possibly alternating between more than one of your ISP's DNS servers, and maybe just one is down and you've been exceptionally unlucky?09:00
gnarfacei'm starting to run out of ideas that don't involve aliens09:00
freaxehnow that you mentioned aliens there have been quite a few nbn vans around lately09:00
gnarfaceheh09:01
freaxehand weird AP names09:01
CueXXIIIfreaxeh: do "route -n" and "iptables -L -vn" look sane?09:01
freaxehlemmie check09:02
freaxehi'll paste the output of dump1.txt first from the latest apt-get update09:03
freaxehhttp://paste.debian.net/hidden/c390be35/09:03
freaxehroute -n output: http://paste.debian.net/hidden/d39c3ae0/09:04
freaxehiptables command not found09:05
CueXXIIIah, so no iptables filters configured09:05
freaxehjust to be sane: http:/paste.debian.net/hidden/97c70212/09:07
freaxehi changed the dns server and installed it09:07
freaxehwhat i can do is i can remove the AP in my bedroom and replace it with a smart switch09:07
freaxehbrb reconnecting to the modem in the living room09:07
freaxehi'll rip the AP out and replace it with a switch09:08
CueXXIIIi see no connection attempt from apt, so it is borked locally09:08
freaxehyep it aint the router in my bedroom09:13
freaxehits the router in the lviing room the one i got from tpg09:13
freaxehnevermind09:14
freaxehi'll just route around the damaged components09:14
CueXXIIIoh, you got it working?09:14
freaxehno09:14
freaxehi can get it working by using quad9 dns servers specified in my network card09:15
freaxehbut not if i use my router's ip address as the dns server09:15
freaxehie, 192.168.1.109:15
freaxehthats the mystery09:16
freaxehthe router works fine for resolving everything else, ie youtube, google, etc.09:16
freaxehjust not deb.devuan.org09:16
gnarfacei would check the router's settings carefully09:16
gnarfacethen call the ISP if there's nothing09:16
gnarfaceyou said you bought it from a 3rd party though, they may just pass the blame...09:17
freaxehno no no, theres two routers/access points09:17
gnarfacethey're the same model?09:17
freaxehone is from tpg, thats the one in the living room. the other is from officeworks and thats in my bedroom. no not the same models09:17
gnarfaceoh i see, but you're sure it's the tpg one?09:18
gnarfaceto blame, i mean09:18
freaxehyep because i removed the one from officeworks out of the equation09:18
gnarfaceright09:18
freaxehand replaced it with a smart switch09:18
freaxehthe process of elminination my dear watson09:18
freaxehbrb09:18
gnarfaceit's gotta be there then09:19
gnarfacethe question is whether it's something you can change or if it's upstream at the ISP's end09:19
gnarfaceand whether it's on purpose or not09:19
gnarfacecould be some sort of security whitelist?09:19
gnarfacelike maybe parental controls? i dunno09:20
gnarfaceor it could just be they don't know how to run a DNS server, which would be a common issue...09:20
gnarfacehmm, no, it's gotta be on purpose, because you get the right DNS resonse09:20
gnarface*response09:20
gnarfaceseems clear something has to be actually blocking it that is also inspecting the DNS?? anyone else have any other ideas?09:21
CueXXIIIhm, the only difference may be that quad9 is probably returning ipv4 and ipv6 addresses, and your ipv4 could be borked09:21
rrqmmm I had tpg in Melbourne (since 1995 to last year) and their DNS did get borked 2010 or so;09:25
gnarfacei think the router's DNS response showed both ipv4 and ipv6 though...09:25
gnarfacewell, the last time something really weird like this happened it did turn out to be a ipv4/ipv6 thing though09:26
rrqthat's also possible... if the local host is configured for ipv6 then apt will use that even though the link out rrequires ipv409:27
rrq(afaik tpg doesn't have ipv6)09:28
CueXXIIIhm, there were ipv6 router advertisements in the tcpdump09:30
freaxehi'll change it to quad9 dns servers in the dhcp server settings of my modem and consider the problem fixed09:31
freaxehi'm logged into the router now09:31
freaxehother people in the house are complaining of their streaming services not working too09:31
freaxehaka my mum09:33
freaxehlol09:33
rrq:) yes I'm sure bypassing tpg's dns "service" sits somewhere between good and necessary09:34
onefangAs is avoiding TPG.09:35
rrqwell, their traffic service (otherwise) was always good for me; always >80% plan rate09:36
rrqboth down and up09:36
freaxehapt-get is working fine now09:39
freaxehbut it would as i'm no longer using the isps dns servers09:40
freaxehi'm getting an error message when launching l4d2 on devuan. "SetLocale('en_US.UTF-8') failed. Using 'C'. You may have limited glyph support. Please install 'en_US.UTF-8' locale." how do I do that?11:48
freaxehother than that the game plays ok except for occasional jitters11:48
gnarfacefreaxeh: first install the package "locales" then run "dpkg-reconfigure locales" as root11:48
freaxehroger11:49
gnarfaceyou may also want to run "dpkg-reconfigure keyboard-configuration" for good measure11:49
freaxehlocales is already the newest version11:49
gnarfacethat's fine11:49
gnarfaceif you haven't done either of those you might also have missed "dpkg-reconfigure tzdata" too11:50
freaxehinstalling en_US.UTF-8 UTF-811:50
gnarfaceyou might have to restart Xorg for that change to take effect globally11:51
gnarface(the locales one, not the other two)11:51
freaxehtzdata is set correctly, australia sydney11:51
gnarfacei forget exactly which one, but there was one in-game graphical setting i disabled not for performance but for stability11:52
gnarfacei forget which exactly now though, it has been a while (and might have been a nvidia specific issue anyway)11:52
freaxehno more error message11:52
gnarfacethat should fix the locale for everything that supports utf811:53
gnarfaceyou might want to enable iso-8859-1 too if you haven't11:53
gnarfacei'm not sure whether your default terminal will have utf8 support or not, some do some don't11:54
freaxehmulticore rendering i'll disable and see if that fixes it11:54
gnarfacei think that wasn't actually it, i think it was one of the filters; Anti-aliasing or antisotropic(sp?)11:55
gnarfacejust not clear enough on the memory though, sorry11:55
gnarfaceit might be multicore, because i remember that coming up similarly somewhere before (maybe this game)11:55
gnarfacebut for me with l4d2, i think it was something else11:56
gnarfacei also had problems getting mic to work without pulseaudio, but presumably if you're using pulseaudio it will work fine11:57
gnarface(i use a hack with the Loopback driver to get around it without)11:58
freaxehit seems to have fixed it, multicore rendering12:02
freaxehactually it wasnt turned off12:04
freaxehstill enabled12:04
freaxehantialiasing was turned off though12:04
freaxehduring that run12:04
freaxehthere we go just stuttered then, still doing it.12:08
freaxehthat was with trilinear filtering mode12:08
freaxehstill doing it on bilinear mode, seems to do it only when a level has just loaded12:14
freaxehon a ryzen 7 5800X with RX580 it shouldn't do that lol12:14
freaxehat least the crashes have stopped12:19
freaxehi haven't had a crash today12:19
freaxehcan someone run me through a method of fixing the resolution on my monitor12:52
freaxehi'm stuck at 640x48012:52
freaxehover DVI12:53
buZzwhats wrong with the monitor?12:53
freaxehits a samsung12:53
freaxehEX192012:53
buZzoh, didnt know that was a problem?12:53
freaxehit is for me12:53
buZzdo you have drivers for your gpu running?12:54
freaxehi can get 1920x1080 on my tv but my tv has terrible input lag12:54
freaxehyes12:54
freaxehAMD RX58012:54
buZzoh ok, and xrandr doesnt let you pick a different resolution?12:54
freaxehnope12:54
buZzwell, if the monitor cant announce the resolutions it supports to the computer, then it has no way of knowing12:55
freaxehhang on you said xrandr12:55
buZzthat happens over wires inside the DVI cable12:55
freaxehxrandr says maximum of 16384 x 1638412:55
buZzthats your gpu, not the monitor12:55
buZzunless you got a really huge square screen ;)12:56
freaxehi wish12:57
freaxeh"xrandr --output DVI-D-0 --mode 1366x768" says "cannot find mode 1366x768"12:58
freaxehand i know this monitor can support that resolution12:58
freaxehis there any way to force it?12:58
buZzright, so my suggestion above (between the lines) was trying a different cable12:58
freaxehi doubt i have a spare dvi cable12:58
freaxehi'll check12:58
buZzyou can force the GPU to -know- the possible resolutions by placing the EDID data of the monitor inside a file on your computer and pointing the driver to that12:58
freaxehyes its been 20 years since i did that12:59
buZznothing changed ;)12:59
buZzin the past i had a 42" 1080p on HDMI that announced itself on EDID as '16x9cm' , lol  , so i grabbed the data, editted that, and just overrode it from the driver12:59
djphbuZz: does wayland throw a spanner in the works there?13:00
buZzthat 16x9cm was messing with scaling a -lot-13:00
buZzdjph: i'm not sure, honestly13:00
djphfair enough13:00
buZzthis is my first wayland desktop and i'm liking/disliking it, but i dont have enough experience with it13:00
buZzbiggest issue thusfar is 'transparant stuff in openscad behaves like a stroboscope' lol13:00
djphI mean, I'll use X11 until something better comes along ... or it's retired (and then 100% terminal)13:00
buZzbut its so great for multitouch stuff, it seems13:01
buZzi moved to a surface pro 5 recently, as carry-on13:01
djphwayland still kinda feels "experimental, at best"13:01
djphthen again, maybe that's just because of Debian13:01
buZzALAS the surface-linux repo stuff requires systemd :(13:01
freaxehi changed the dvi cable to another one, rebooted, still no other resolutions available13:03
freaxehmonitor is defective? i bet you if i plugin another monitor it will do the same thing, i could of course plug in another monitor.13:03
buZzoh, that would be a wise debugging step13:03
freaxehbrb13:03
djphmonitor or just the EDID info being too slow for the driver ... I've seen that happen beore13:04
freaxehstill the same result with a new monitor and a reboot of the system13:07
buZzbizar, maybe the RX480 is just broken then?13:07
freaxehprobably13:07
freaxehwatch this, i'll now use a hdmi to dvi cable and it will probably fix the problem13:11
freaxehyep that fixed it13:14
freaxehnow got high resolution13:15
freaxehunfortunatley the hdmi to dvi cable is on loan13:19
buZzHDMI is just DVI aswell13:19
buZzso, likely; the DVI port on your monitor is broken or damaged13:20
freaxehnope, tried a second monitor13:20
freaxehremember13:20
freaxehso its the graphics card13:20
buZzyou swapped the cable on same GPU and same monitor and its fixed13:20
buZzoh, the HDMI side is the gpu? yeah then DVI port on GPU13:21
freaxehyes13:21
freaxehboth monitors are DVI13:21
buZzbtw also realize ; there's -3- different DVI cable standards13:21
freaxehinteresting13:21
freaxehi'll be sure to mention that in polite conversation some time13:21
buZzDVI-A DVI-D and DVI-I13:22
buZzhttps://en.wikipedia.org/wiki/Digital_Visual_Interface13:22
buZzDVI-A is analog only (like VGA)13:22
freaxehi liked DVI-A13:22
buZzDVI-D is what HDMI is now13:22
buZzDVI-I is 'both'13:22
freaxehi also liked VGA13:22
buZzso, analog only wont do well for most LCDs13:22
freaxehall i know is my next monitor will be hdmi/Displayport13:24
freaxehso hopefully wont have these issues with the RX58013:24
buZzhmhm , displayport ftw13:24
freaxehwell Black Mesa works but has graphical issues (polygon issues)14:42
freaxehbridge constructor works nicely though14:42
freaxehjust testing out some games14:42
masonAh, glad to see dvbst got a bunch further.17:12
XenguyHey mason17:14
XenguyDid he?  Glad to hear it.  gnarface was right though, a Thinkpad should 'just work'; there was something wrong with that setup from the start me thinks17:15
masonXenguy: Seems like he got through the install and ran into some DNS issues, which is a marked improvement from where he started.17:20
masonI need to write up a doc explaining how to prepare a chroot for various operations. It seemed like he needed to "mount --rbind /dev /target/dev", rinsing and repeating for /sys and /proc.17:21
XenguyI just can't imagine why such a thing would be needed in the first place though, especially once I found out he was installing on a TP  : -/17:23
XenguyBut I'm a simple man I suppose17:23
masonXenguy: Sometimes with pre-existing partitions the installer(s) can get badly confused.17:32
XenguyI see, so the difficulties do seem related to the initial install conditions, makes sense.17:36
rwpI was also shocked and confused about how installing on a Thinkpad wouldn't Just Work.  Everyone is using Thinkpads and those get the most testing.20:10
fsmithredI think booting in uefi mode to do a legacy bios install was a big part of the problem. And wanting to use pre-existing encrypted lvm made it all more complicated than it needed to be.20:13
XenguyFailure to keep it simple(r) ?20:15
fsmithredPartly that. Apparently grub gets confused by the efi partition on the usb stick, so automatic partitioning includes the installation media.20:17
fsmithredand manual partitioning of any encryption, with or without lvm is a confusing maze.20:18
fsmithredhttp://distro.ibiblio.org/refracta/misc/partition_encrypt-4.ogv20:20
fsmithred^^^ video of installing to a single encrypted partition.20:21
fsmithredThe "4" is the number of attempts it took me to get it right, and I've done it a bunch of times before.20:21
XenguyWow, wouldn't wish it on anyone20:38
djphfsmithred: // number of hours wasted trying to optimize this function: ___21:09

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