[00:00] <tripelb> I'm way better at this than most people.
[00:00] <matsaman> =)
[00:00] <matsaman> is it windows 10?
[00:00] <tripelb> Oh yes I've already copy the files from the Windows partition.
[00:00] <matsaman> okay, so no issue
[00:01] <giaco> why do-release-upgrade on 18.04 doesn't upgrade to 20.04 without using -d ? Isn't 20.04 LTS out?
[00:02] <tripelb> And copied the files from my 18.04 partition. That one always gave me errors on boot up. In addition it didn't know how to use the Wi-Fi properly. Good riddance. I was thinking of putting mint on it. Xubuntu and mate desktops don't display properly on this laptop. Maybe mint mate will.
[00:02] <sarnold> giaco: LTS users usually expect stability; we want to avoid that group of users having a bad experience upgrading before the enthusiasts will find and report the problems
[00:02] <Bashing-om> !ltsupgrade | giaco
[00:02] <tripelb> I've got a bunch of tweaks but the task bar goes over the bottom and doesn't communicate with the window manager so that I can't get to the bottom edge of my windows. It's one of several basic bad things that I've seen in 20.04
[00:03] <jay42> Is there a supported way to have kernel 4.19+ running on 18.04 LTS?
[00:03] <giaco> Bashing-om: thanks
[00:03] <tripelb> There's no way I'm going to upgrade that 1804 because that 1804 has always had problems. Hence... I installed 20.04 on a different partition.
[00:04] <sarnold> jay42: oh! good idea https://wiki.ubuntu.com/Kernel/LTSEnablementStack
[00:04] <Bashing-om> !hwe | jay42
[00:04] <blizzow> quadrathoch2, I can do the systemctl disable systemd-resolved. I'm just flabbergasted that there are so many layers between me and setting a DNS server up. It really used to be, edit /etc/resolv.conf and your networking management stack consulted with that. If you wanted to edit /etc/resolv.conf via your networking stack, they had that functionality.
[00:04] <jay42> Thanks.
[00:05] <tripelb> sarnold I had no idea that the beginning of a LTS distribution might not be stable. That seems antithetical to the entire system of having an LTS. It would seem to me that the pre-LTS version would be the unstable and once it was stable it would be an LTS.  (This could be translated in a less family-friendly way.)
[00:05] <giaco> sarnold: thanks for the insight
[00:05] <blizzow> Someone went hog wild with systemd, netplan, and networkmanager, and someone at ubuntu didn't say "no, this is a bad idea" and here we are with an init system Microsoft would be proud of.
[00:06] <tripelb> Well I'm going to shut down and boot from a USB drive as soon as I find out where I put them.
[00:06] <sarnold> tripelb: despite tens of thousands of tests in the distribution, there's absolutely no substitute for handing it to a user and finding out what broke when they try to use it in a way you didn't expect :)
[00:06] <tripelb> Thanks for the help and I'll talk to you all later.
[00:08] <giaco> I am quite puzzled about how netplan and networkmanager are stacked together and what's the difference between ubuntu desktop and server on this point. I only know that on desktop I'm quite happy with nm and on server I setup via /etc/netplan, but then when I read that to use nm on server too is not about replacing netplan with nm but setup netplan to use nm as backend or something like that
[00:08] <tripelb> In that case I am honored to be one of the people who is reporting to you. (I used to be a programmer in the old old old days. Simulation which is in my opinion a lot like graphics. The engineers do the primitives in both places. But then graphics has gotten so so complicated. Now I'm lost.  SIGGRAPH LA local group.  I taught Pascal at UC Irvine as
[00:08] <tripelb>  a student teacher while I was a master's student in fine art.
[00:08] <DrManhattan> blizzow, I have to agree about the networking. simple tasks have become ridiculously convoluted.
[00:09] <tripelb> Okay, I come here when I'm in trouble and I have a path to follow. I'll work on it. Thanks again
[00:09] <DrManhattan> that used to be one of the easiest things about linux, now it's WAY worse than microsoft.
[00:09] <DrManhattan> at least in ubuntu
[00:09] <DrManhattan> the desktop sure is snappy though
[00:11] <quadrathoch2> giaco, well netplan is only there to configure nm or systemd-networkd, nothing more, nothing less. but that's why I don't like it. It's not like networkd is so hard to set up. On top of that, much of network was pushed over to the DHCP server/switch.
[00:11] <quadrathoch2> tripelb, most people see the 20.04 release as a normal release and only with 20.04.1 it's rolled over to a LTS release. And Canonical pushes the update for 18.04 or below only with 20.04.1 to get the last few kinks out
[00:12] <quadrathoch2> blizzow, well at some point things change. I don't agree with everything. but I do like networkd. I'm not sure if ubuntu still 'supports' ifupdown
[00:12] <tripelb> Thanks. I didn't know that. Maybe I should have installed 19.10. -- This is how I learn
[00:12] <tripelb> That was to quadrathoch2
[00:13] <quadrathoch2> tripelb, no if you have 20.04 installed and have no major issues. it should be fine. its mostly for those who really want a stable OS, or for production servers
[00:14] <quadrathoch2> giaco, btw, I remembered you were asking what the difference is between desktop and server. welp, default packages, that's it, because you can switch however you like between them
[00:14] <quadrathoch2> tripelb, hopefully you can figure out what's wrong and can just delete windows ;)
[00:14] <tripelb> I am having all kinds of difficulties. I really want mate. I really want the way the OS look to me in 2006 is a panel of the top there's a panel which is a task bar at the bottom. I can put little icons in the panel at the top as shortcuts. I don't see any advantage to what's going on now as far as how the desktop looks. And functions. quadrathoch2
[00:14] <tripelb>  
[00:15] <quadrathoch2> tripelb, which version do you right now have installed?
[00:15] <tripelb> I always forget the command for that but I am got it before the end of the month.. of April
[00:15] <tripelb> I do all the updates as they come up. What's the command for version?
[00:16] <quadrathoch2> cat /etc/os-release
[00:16] <quadrathoch2> ?
[00:16] <akik> tripelb: lsb_release -a
[00:16] <tripelb> 20.04 LTS release 20.04 code name focal
[00:17] <giaco> quadrathoch2: so when I install ubuntu server, what netplan does be default  is just passing commands to systemd-networkd?
[00:17] <quadrathoch2> sounds like proper ubuntu?
[00:17] <quadrathoch2> giaco, or network manager. whatever you have installed
[00:17] <quadrathoch2> it's there for more complex setups, giaco. well whenever they happen outside of corporate businesses ^^
[00:19] <quadrathoch2> tripelb, any more help you need? as in figuring out what's happening with plex or the swap partition/file?
[00:20] <tripelb> quadrathoch2 Yes I'd like to get rid of Plex running is rude. (as far as the swell partition I'm going to boot from USB and follow the directions on the help page. . Unless you have a disagreement)
[00:20] <tripelb> SWAP partition.
[00:20] <quadrathoch2> could you post once more the page? can't find the link
[00:21] <tripelb> thermomane is a kill command that is specific for a process number. On the other hand it won't stop the thing called plex server from running when I reboot.
[00:21] <quadrathoch2> tripelb, i'm pretty sure that plex is using most of your computer that's why it hicks up
[00:21] <quadrathoch2> could you give me the output of snap list?
[00:21] <tripelb> How do I get rid of it? The Plex website says it's not installed. Apt purge says it's not installed. quadrathoch2
[00:22] <quadrathoch2> I think you installed it through snap that's why the 'snap list' command to see if it shows up
[00:27] <giaco> quadrathoch2: I really find this quite confusing. Both systemd-networkd and nm are good to setup quite complex network configuration, why the need for a component to describe the requirements for one of the two or handover the whole configuration to a different component
[00:27] <quadrathoch2> giaco, imho because of the yaml hype train maybe? idk. I am not 100% behind canonical. So i don't get everything they try out. but most stuff ;)
[00:28] <giaco> quadrathoch2: if it keeps going this way, I'll probably switch to devuan one day
[00:29] <quadrathoch2> giaco, eh, for me it's debian ;)
[00:29] <quadrathoch2> but right now I am on fedora
[00:31] <Jordan_U> giaco: I personally always just use systmd-networkd, network-manager, or in one case iwd directly.
[00:32] <giaco> Jordan_U: hey :) iwd? let me google this
[00:32] <quadrathoch2> how is iwd? never tried it for now. Jordan_U
[00:33] <giaco> Jordan_U: when you say you use systemd-networkd, do you mean you configure stuff in /etc/netplan yaml files using systemd-networkd as backend (as ubuntu server manual says) or do you mean to skip netplan completely and go straight to the systemd manual?
[00:34] <Jordan_U> giaco: quadrathoch2: I like it a lot. I have it running on one desktop in a quite odd wifi situation entirely replacing wpa_supplicant and network-manager / systemd-networkd. I like that it's simple, fast, low resource, and has the particular knobs I needed and good help from #iwd for my peculiar situation.
[00:34] <quadrathoch2> Jordan_U, so you kinda use networkd for eth and iwd for wifi?
[00:35] <Jordan_U> giaco: I skip netplan entirely. Nothing against it, but I'm just not interested in using it, and don't need to.
[00:35] <quadrathoch2> tripelb, you still there?
[00:36] <Jordan_U> quadrathoch2: Yes. On laptops I still use network-manager since it's there by default, and easy to quickly graphically connect to new networks.
[00:36] <quadrathoch2> Jordan_U, oh so no gui for iwd for now? or no integration in nm? I thought there was an iwd 'plugin' for nm
[00:36] <giaco> Jordan_U: I think I will follow your path as I really find netplan in the way of something more valuable (I find both networkmanager and systemd-networkd well equipped and really usable, nm in particular)
[00:39] <Jordan_U> quadrathoch2: You can use iwd with network-manager, but my particular issue with maintaining a connection to a (seemingly) buggy access point left me trying to use only iwd. It turned out that even with just iwd I was having the same problem, but devs in #iwd helped me find the right configuration and now it's all reliable (or at least has been for about 20 hours).
[00:40] <quadrathoch2> Jordan_U, yay, sounds awesome. I will look into it. at least when I can get my fingers onto some laptop parts xD
[00:47] <tripelb> quadrathoch2 I looked away. How can I scrub whatever is generating the Plex Media server ... Routines running as root.??
[00:47] <quadrathoch2> first let's see if you got it installed through snap with 'snap list'. it shouldn't show up (hopefully)
[00:48] <tripelb> My IRC phone app doesn't highlight my nick. Every app has missing qualities.
[00:48] <joshh> the only good thing about systemd-resolve is that it can have certain domains use dns servers from a vpn while the rest uses the standard resolvers, etc
[00:48] <quadrathoch2> tripelb, it's not open source, but most like IRCCloud
[00:49] <joshh> but it probably should have been solved in a non-systemd way
[00:49] <kinghat> to run a command in a bash script do you use eval?
[00:50] <quadrathoch2> joshh, and what is so systemd in networkd?
[00:51] <joshh> i don't know, i actually don't know much about networkd and netplan
[00:51] <joshh> super familiar with the old networking ways though
[00:52] <quadrathoch2> hm the only systemd thing as far as I know is the name (which comes from being under the systemd umbrella)
[00:53] <quadrathoch2> and it probably needs systemd itself to run. but that's something that could be patched so it can run without it
[00:53] <joshh> are you saying systemd-resolve is not part of systemd?
[00:53] <quadrathoch2> joshh, it depends. do you mean systemd as in umbrella project or systemd the PID1?
[00:53] <joshh> umbrella
[00:54] <quadrathoch2> yeah. but only because it's in the umbrella project doesn't mean it's bad or needs to run only on systemd. The devs just don't care too much about other init systems. But that's another problem
[00:54] <joshh> though technically maybe it's both, since there is a systemd-resolved process as well
[00:55] <joshh> its easy enough to manage resolv.conf on your own if you want to i guess though
[00:57] <quadrathoch2> the issue is for enterprise. since systemd was taken in as a init system, linux took off (even more than before). because it was standardizing the base of linux. was it good for linux? probably. do we have a monoculture? almost. which is bad imho. because Linux is almost dominating every single pc 'device'. which is imho really really bad
[00:57] <joshh> i also wish systemctl was a little shorter to type
[00:57] <quadrathoch2> just use an alias ;)
[00:57] <joshh> completing between that and systemd* can be annoying lol
[00:57] <joshh> alias is a good idea
[00:57] <quadrathoch2> joshh, yeah that's why I use alias ctl=systemctl
[00:58] <joshh> systemd is great as an init system and service/daemon manager, and some of the extra things it does are fine too
[00:58] <joshh> im a bit worried about the new home directory thing but it might always be optional
[00:59] <quadrathoch2> it will be optional as long as they can't figure out how to ssh into it ;)
[00:59] <joshh> poettering has massive balls to constantly piss off the whole world though, i'll give him that, even if i do worry about it creeping too much
[01:00] <quadrathoch2> joshh, honestly I think it's just funny how most devs and people in the community scream about only code is important but say in the same sentence, reiserfs can never be mainlined, or poettering is the devil and nothing is allowed in
[01:00] <giaco> Jordan_U: in your opinion, which one would you choose for a device that needs quick network re-configurations due to roaming around and/or hotplugging: networkmanager or systemd-networkd?
[01:00] <joshh> oh ya there's much more to it than code
[01:00] <quadrathoch2> giaco, networkmanager
[01:00] <joshh> all the things any huge internet group will have
[01:01] <quadrathoch2> systemd-networkd is mostly for basic configurations in servers/vms
[01:01] <joshh> especially with some of the most socially awkward types
[01:01] <quadrathoch2> joshh, yupp
[01:01] <joshh> also for all the meritocracy talk there is a lot of shitty code out there
[01:01] <giaco> quadrathoch2: thanks
[01:01] <bparker> > im a bit worried
[01:01] <joshh> but making good code is hard
[01:01] <quadrathoch2> bparker, about?
[01:01] <bparker> why, because systemd has also decided it needed to replace init, syslog, grub, network-manager, ntpd, login, cron, atd, watchdog, acpid, inetd, pm-utils and more?
[01:02] <joshh> yes, i agree that it's too much to be under one project
[01:02] <quadrathoch2> bparker, which you don't have to use
[01:02] <joshh> even a loose umbrella project
[01:02] <joshh> but then again so is "gnu" i guess
[01:02] <joshh> it's basically just gnu/systemd/linux at this point
[01:02] <joshh> RMS will need to switch his terminology
[01:02] <quadrathoch2> joshh, yeah but because poettering is the 'head' of systemd (the umbrella project) most people avoid it
[01:03] <bparker> I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/LInux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
[01:03] <joshh> there are many valid technical reasons to argue against aspects of systemd, but yes, the internet being what it is, if i was leonnart i wouldn't want my address to be public
[01:03] <joshh> err lennart i guess
[01:04] <quadrathoch2> ^^
[01:05] <quadrathoch2> idk i'm pretty sure that in a few years, systemd is out of most distributions, and the next devil is painted on the wall *shrug*. enterprise love unification (especially with something like an init system)
[01:06] <joshh> ive been wanting to play around with void linux, even though i've only used runit inside containers, but the concept and what i hear about the quality is interesting
[01:06] <joshh> don't know what i would do with it though
[01:06] <joshh> but i predict systemd lasting a while considering how entrenched it as and backed by redhat, etc
[01:07] <quadrathoch2> it's funny because in the beginning redhat didn't even touch it with any fingertip xD
[01:07] <joshh> it would be a huge effort to replace all the pieces, and going back to the old for everything might not ever be done by everything
[01:07] <quadrathoch2> it is, and if we look at the other inits or x etc. it will be awhile. but it will be gone at some point
[01:11] <joshh> overall though the number one thing that worries me about it is that it's becoming too different from BSDs and other OSs, and i don't think that will be good for the "unix" ecosystem overall
[01:11] <joshh> if it was a bunch of other separate projects rather than the whole umbrella, other OSs could adopt pieces of it, or equivalents, etc easier
[01:12] <joshh> i might be wrong but that's kinda my feeling
[01:12] <quadrathoch2> sadly the bsds are dying. and probably nothing can stop it. except some company like microsoft or apple or other businesses in that ballpark. and with that, we have a monoculture of most pcs, which is something I really want to avoid :/
[01:12] <joshh> for example, too much popular software might only work with linux or non-linux due to difficulty
[01:13] <joshh> on one hand, linux has basically left the BSDs in the dust in many ways the last several years
[01:13] <quadrathoch2> joshh, wasn't elogind born because of the issue with bsds and gnome?
[01:13] <joshh> i don't know but there have been a lot of gnome issues with BSDs and even other linux distros over the years
[01:13] <joshh> like when slackware temporarily dropped it
[01:14] <joshh> in general i don't like anything that makes software hard to port
[01:14] <quadrathoch2> yeah I also remember that.
[01:14] <quadrathoch2> sadly I think we already reached the point of no return for BSDs. even IXsystems is giving it up (to some degree)
[01:14] <quadrathoch2> at least for now
[01:16] <joshh> i think you might be right, but somehow i hope not
[01:16] <joshh> i have a soft spot for them from long ago
[01:16] <blahboybaz> Is it know whether zoom client works for Ubuntu 18.04 ?  https://crcna.zoom.us/download#client_4meeting  <--  After selecting Ubuntu in the first field, I notice that the leatest selection for version is 14.04   I have a meeting I'm supposed to be in in a half hour
[01:16] <joshh> and think its good for the world to have several unix OSs
[01:16] <quadrathoch2> I have a huge soft spot for OpenBSD :/
[01:17] <joshh> but, we have of course been hearing that BSD is dying or dead almost as long as they've existed
[01:17] <quadrathoch2> blahboybaz, test it out, as it even says 14.04+ (see the plus sign) ^^
[01:17] <blahboybaz> I see what's happening. It says "14.04+"  Presumably its 'supposed' to work
[01:17] <blahboybaz> right
[01:17] <blahboybaz> ty
[01:18] <quadrathoch2> joshh, well, yeah. but any OS is dying slowly because of corporate. so no wonder there
[01:18] <quadrathoch2> even IXsystems won't just kill freebsd
[01:18] <quadrathoch2> this instance
[01:18] <joshh> also i don't think there is much new blood in the BSD communities, kids these days don't care about them
[01:18] <joshh> so the userbase might just die off eventually
[01:19] <quadrathoch2> joshh, yup, even the hardware support seems to be getting worse and worse
[01:19] <quadrathoch2> I don't dread the day where only linux exists :(
[01:21] <joshh> with the way it's taken over almost every type of computer, i could almost see a day when it really does run every desktop, and osx/windows/etc are actually just super highly polished distros of it, if the market ever decides that their proprietary OSs aren't worth all the cost and differences between platforms, etc.  desktops in general are shrinking compared to mobile anyway
[01:22] <joshh> but that's just complete speculation after a bunch of bong hits
[01:22] <joshh> and probably at least like 15 years away
[01:22] <quadrathoch2> joshh, it's kinda funny how people talk about the EEE strategy of MS, but i see it as Embrace, Extend, so we dont get extinguished
[01:23] <joshh> it would be kinda funny of gates was actually right about linux being a cancer and it does eventually replace windows
[01:23] <quadrathoch2> I think MS is right now only open sourcing everything they can + porting stuff over from open source (chromium) to still be relevant in a 'few' years
[01:24] <quadrathoch2> they just downsize their development so they can profit off of open source. I could even see taking a wine approach, just with a way better implementation. So they have a reason why people buy ms linux
[01:24] <quadrathoch2> and imho that's why windows 10 is the 'last' windows
[01:25] <quadrathoch2> as they said
[01:26] <joshh> i don't think they will wind anything down, i just think there will be so much profit to be made from all kinds of tech that is based on linux that there won't be much reason to care about their own proprietary OS code
[01:27] <joshh> even with apple, osx machines are like one of their more minor businesses now
[01:27] <quadrathoch2> eh, just winding down their own development of stuff they can take from open source projects, just like chromium
[01:27] <joshh> im not predicting anything, just thinking that literally anything can happen, and that linux will continue being the most successful overall general purpose kernel/OS
[01:28] <joshh> it's basically unstoppable now
[01:28] <joshh> for as long as linus is alive and in charge at least
[01:28] <quadrathoch2> oh that's for sure, I don't think anybody will deny that (who is in this knowledgeable on this topic)
[01:30] <joshh> if a regular user only cares about the desktop interface anyway, and it's not like they use the terminal or anything on osx, so why should apple keep using it's own highly custom internal code over the very long term?  eventually some high up VP might ask and push for a switch, who knows
[01:30] <joshh> there were rumors a long time ago of them switching to a full freebsd base but that of course never happened
[01:31] <joshh> just depends how much they will care about keeping their code private in the long term when linux is more advanced and the creakier unix base of osx is harder to maintain
[01:31] <joshh> or they might do something totally new, who knows
[01:31] <quadrathoch2> eh, for now, cause apple can? I mean they earn enough with other stuff. and on top of that, because they have a small hardware base, it shouldn't be too horrible to support that
[01:32] <joshh> true, apple can afford to do basically anything it wants
[01:33] <joshh> its just going to come down to the philosophy of future execs, and whatever the situation is then
[01:33] <quadrathoch2> and it will even increase the whole vertically integrated route
[01:33] <joshh> look at the difference between ballmer and satya for example
[01:33] <quadrathoch2> i'm pretty sure about that
[01:34] <joshh> imagine a RHEL-esque situation where apple owns some customized linux with their app store that you need an account to use, etc
[01:34] <joshh> then the whole mach/darwin/etc teams can do other stuff
[01:34] <joshh> but it won't happen soon
[01:35] <quadrathoch2> why even at all. for now, they can pay for the luxury. and I don't see it happen differently. As long as android phone makers can't get their brains washed
[01:36] <quadrathoch2> blahboybaz, is it working?
[01:36] <joshh> im talking a really long timespan anyway
[01:36] <blahboybaz> quadrathoch2: Is what working?
[01:37] <blahboybaz> joshh: are you from the future?  :p
[01:37] <quadrathoch2> yeah I figured. But as long as the android companies are handling their devices the way they do, apple will profit sooo much off of it
[01:37] <quadrathoch2> blahboybaz, zoom
[01:37] <quadrathoch2> ;)
[01:37] <blahboybaz> oh wow
[01:38] <blahboybaz> I forgot about that. yes and no. I mean everything appears to be installed right and it fires up but I don't understand the ux very well  :(
[01:38] <blahboybaz> it isn't a vey good ui / ux
[01:38] <quadrathoch2> welp, I can't help with that ;)
[01:39] <blahboybaz> I know
[01:39] <blahboybaz> I'll figure it out
[01:39] <quadrathoch2> hopefully
[01:59] <Amaranth> joshh: I don't think that'll happen ever, Apple is allergic to GPL after GPLv3 happened
[02:05] <quadrathoch2> Amaranth, do you maybe know why they have something against v3?
[02:06] <Amaranth> Secure Boot (without letting you turn it off or register your own keys) and the App Store are against the license
[02:07] <Amaranth> You can't put GPLv3 code on an iPhone
[02:07] <Amaranth> If GPLv3 code ends up on a locked down device they're required to give you the keys so you can put your own version of it on there too
[02:08] <quadrathoch2> Amaranth, thanks
[02:39] <robertparkerx> I'm trying to 'rm /var/www/html/staging.exactprecisions.com/public_html/wp-content/uploads/*.webp' but I get error no such file or directory
[02:40] <robertparkerx> what i'm trying to do is recursively remove all .webp
[02:40] <robertparkerx> in a directory
[02:43] <robertparkerx> I got it
[02:43] <robertparkerx> I used find
[02:57] <supercom32> So I installed Ubuntu 20.04 and I noted that over time (Like a day or 2) gnome-shell starts becoming slower and slower. This is most notable when click on new windows, as it takes about a second for the desktop to react. Anyone know what's up?
[02:58] <lotuspsychje> supercom32: that doesnt seem a normal behaviour to me
[02:59] <votality> Hi im trying to add the repositories for the amd64 architecture to my pi
[02:59] <supercom32> @lotuspsychje: I also notice that the `gnome-shell` process spikes in CPU usage as well when switching windows. Doesn't happen at the start, but over time it gets less and less responsive.
[03:00] <votality> I seem to have the wrong repo for focal-security does anyone know what it should be
[03:02] <supercom32> @lotuspsychje: Strangely enough, ALT+F2 and using the `r` command seems to reset it back to normal. I guess doing that once in a while isn't too terrible. Maybe gnome-shell has a memory leak.
[03:02] <quadrathoch2> votality, you can't really use the amd64 repository with an arm, as the packages are not installable
[03:03] <quadrathoch2> votality, you can't really use the amd64 repository with an arm, as the packages are not installable
[03:03] <votality> quadrathoch2: im using qemu
[03:04] <lotuspsychje> supercom32: no, gnome's memory leak has been taken care off a time ago already now
[03:04] <sarnold> votality: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe
[03:05] <quadrathoch2> votality, sure, but the performance will be abysmal
[03:05] <supercom32> @lotuspsychje: Someone seems to have posted about a month ago: "I can confim this in Archlinux with GNOME Shell 3.36.1. A workaround, if you are using xorg session, is reload the shell alt+f2+r". So maybe there is a new leak of some kind.
[03:05] <votality> Oh i had ubuntu-ports
[03:05] <votality> quadrathoch2: yea im going to see how bad it is lol
[03:05] <sarnold> votality: amd64 lives on archive.ubuntu.com; aarch64 lives on ports.ubuntu.com
[03:08] <votality> Thanks a lot
[03:09] <lotuspsychje> !info gnome-shell | supercom32
[03:11] <supercom32> @ubottu: Yep, I realize it's 3.36.2.
[03:14] <oft_gegong> does this channel also support the WSL Ubuntu from the Windows Store?
[03:22] <Bashing-om> !wsl | oft_gegong
[04:11] <ballison> i'm trying to figure out how to configure mail.rc on ubuntu 18.  I need to add in some lines to support smtp-relay for gmail.com.  I have it all working on Amazon Linux, but i'm lost on how to do it under Ubuntu 18 because I can't find a /etc/mail.rc on Ubuntu 18
[04:16] <viktor_> ballison: what are you using to send mail?
[04:42] <kinghat> i add this at the bottom of my sudoers file and it should allow me to set it w/o password, correct? kinghat ALL=NOPASSWD: /usr/sbin/rtcwake
[05:16] <blogten> hi, I'm having trouble installing Ubuntu 20.04 LTS... after the installation completes, the machine boots and I get a message saying "invalid arch-independent ELF magic".  how do I go about figuring out what's going on?
[05:17] <matsaman> blogten: sounds like UEFI nonsense
[05:17] <Ben64> sounds like you installed 32 instead of 64 efi
[05:18] <Ben64> or maybe the other way around?
[05:18] <blogten> the machine is set to boot legacy
[05:19] <blogten> I did not tell the installer to do anything out of the ordinary
[05:19] <matsaman> blogten: how about the install media?
[05:19] <blogten> copied image using DD to a USB hard drive.  I verified the MD5 of the downloaded ISO matches the one published (every md5 character matches)
[05:19] <matsaman> check your boot menu for a specifically non-UEFI USB boot option (for USB install media, for example)
[05:20] <blogten> wait... Ubuntu installed
[05:20] <blogten> the installer worked just fine (seemingly)
[05:20] <blogten> when the machine boots after installing, I get that ELF magic message
[05:21] <matsaman> naturally, you haven't used GRUB till you boot up the installed system
[05:21] <matsaman> check your boot menu for a specifically non-UEFI USB boot option (for USB install media, for example)
[05:21] <blogten> I would agree with that about GRUB
[05:21] <blogten> the machine is set to boot legacy (as opposed to UEFI)
[05:21] <matsaman> You said.
[05:21] <matsaman> That doesn't mean you boot the install media with that setting, however.
[05:22] <blogten> hmmmmmm
[05:22] <blogten> ah I see what you mean now
[05:22] <blogten> ok hang on let me see
[05:23] <raddy> Hello Everybody
[05:23] <raddy> My laptop already is having multiple extended partitions,
[05:23] <matsaman> raddy: braggart
[05:24] <blogten> there is no such option.  also, from previous experience, if I set the machine to UEFI, the installer starts up different (and, in UEFI, I can see in passing a message about trusted boot being disabled)
[05:24] <raddy> matsaman: No, no. I am not
[05:25] <raddy> matsaman: So, can I install the mbr for ubuntu in pen drive ?
[05:25] <raddy> Is installer allows such a setup ?
[05:25] <matsaman> raddy: the mbr doesn't actually go in a proper partition, so it shouldn't matter how many partitions you have
[05:27] <blogten> I also tried installing Ubuntu with UEFI enabled.  installation proceeds, and the first system boot after installation lands me in GRUB.  in one of those installs, there was an avalanche of syntax error messages.  sometimes, there is only one such syntax error message.  either way, the fresh install does not boot
[05:27] <raddy> matsaman: I have Windows 10 already, and I could not even cross the partition stage in ubuntu, because of already having multiple extended partitions
[05:27] <blogten> as an aside, I did install Debian on the machine, and that installs and works just fine in legacy mode (I didn't try UEFI).
[05:28] <matsaman> raddy: why do you have so many partitions already?
[05:29] <raddy> matsaman: work laptop. :D
[05:29] <matsaman> raddy: back them up and delete them
[05:29] <raddy> matsaman: Isn't there other solutions like booting from usb pen drive than deleting partitions ?
[05:30] <matsaman> raddy: but 'work laptop' doesn't really explain so many partitions, either
[05:30] <matsaman> raddy: yeah, but you have to delete/repurpose at least one partition regardless
[05:30] <matsaman> unless you can just add another storage device
[05:30] <matsaman> which is generally easier but sometimes more problematic on a laptop
[05:30] <matsaman> a low profile usb stick or sd card might work, for example
[05:31] <matsaman> or some laptops ship with an empty m.2 slot
[05:31] <raddy> matsaman: windows. oem, bitlocker are the reasons for the multiple partitions
[05:31] <blogten> any ideas why the fresh install won't boot?
[05:32] <raddy> matsaman: I cannot really delete any one them, unfortunately.
[05:32] <matsaman> blogten: not under both circumstances, not unless you continue to have a mismatched disk boot vs install medium boot config
[05:32] <matsaman> blogten: maybe try https://askubuntu.com/questions/327815/grub-invalid-arch-independent-elf-magic-usr-sbin-grub-bios-setup-not-found
[05:32] <matsaman> raddy: there's probably a rescue image on one of those partitions you can delete
[05:32] <blogten> matsaman: are you sure I have a mismatched config?
[05:32] <matsaman> raddy: usually the first or second, small partition
[05:32] <matsaman> blogten: no, only you can be sure of that
[05:33] <blogten> what's the best way to tell?
[05:34] <blogten> and why would Debian install fine in the same circumstances?...
[05:34] <matsaman> Debian has a stable branch, Ubuntu does not
[05:34] <blogten> 20.04 LTS is not stable?
[05:34] <matsaman> LTS doesn't mean 'more stable' if that's what you're asking, no
[05:35] <Jordan_U> blogten: How many disks do you have in this machine? My guess is that grub's boot sector / code.img is being installed to the MBR/ post-mbr gap of the wrong drive.
[05:36] <blogten> there are 3 disk devices
[05:36] <blogten> I asked Ubuntu to install on sdb
[05:36] <blogten> that's the one set to boot
[05:36] <blogten> the three disk devices are behind a raid controller
[05:37] <Jordan_U> blogten: Ahh, that could be the real problem, assuming it's FakeRAID.
[05:37] <blogten> no, it's hardware raid
[05:37] <matsaman> raid's a problem either way
[05:38] <matsaman> back all that crap up and replace it; you can restore it before you give the laptop back if you want
[05:38] <Jordan_U> blogten: I'm confused. You said that you installed Ubuntu to sdb. Is sdb your raid array of three drives?
[05:38] <blogten> well, how come it was not a problem for Ubuntu 14, 16, and 18, which were installed in the machine before, as well as Debian?...
[05:38] <blogten> yes, sdb is one of the disk devices exposed by the raid controller
[05:39] <Jordan_U> blogten: How many disks are exposed by the raid controller?
[05:39] <blogten> there are a total of 8 PHY in the machine, the raid controller exposes 3
[05:39] <blogten> (each of which... blah blah...)
[05:39] <blogten> all PHY are populated
[05:40] <matsaman> blogten: 14, 16, 18 != 20
[05:41] <Jordan_U> blogten: OK, then my guess is that Ubuntu's installer installed grub's boot sector / core.img to the wrong array (lets call it that, rather than a drive, if you don't mind). My guess is that if you try setting your boot firmware to boot from sda or sdc, one of them will get you booted successfully into sdb. We can fix it so that grub is properly installed on sdb so that you can set your boot firmware to
[05:41] <blogten> matsaman: correct.  I just do not see how that gets me closer to figure out what I have to do to get 20 to work.
[05:41] <Jordan_U> boot from sdb.
[05:41] <blogten> the raid controller is set to boot from sdb.  this is how debian was booting.
[05:42] <Jordan_U> blogten: I get that. Try changing it to boot from sda, then try setting it to boot from sdb (that's in order of most likely to work). I'll bet (unless you've done some other things to try to fix this since running Ubuntu's installer) that one of the other two arrays will get you booted into sdb, as counter-intuitive as that sounds.
[05:42] <matsaman> blogten: what I said about removing the pointless preconfigured setup is the simplest way
[05:43] <blogten> what pointless preconfigured setup did you mean/
[05:43] <matsaman> the raid system and all the partitions
[05:44] <Jordan_U> blogten: Again, I'm not proposing that as a permanent solution. Once you're booted into your Ubuntu install on sdb, we can make sure that grub always gets installed to the MBR of sdb from now on (since updates to the grub-pc package will re-run grub-install).
[05:44] <blogten> what partitions?
[05:46] <blogten> Jordan_U: FWIW, I have done nothing to try to fix this.  I assumed I did something wrong, my perception is that given that this box worked with all those other Ubuntus, and Debian recently, that I had done something wrong with the installer.  I just do not see what that could be.  I do not know what the problem is, so I do not want to aimlessly
[05:46] <blogten> "fix" (meaning "change") things...
[05:46] <blogten> however, I can try setting the machine to boot from sda as is, and see what happens.  IIRC, sda has nothing on it, so my expectation would be that nothing happens at all.  but... we'll see.
[05:47] <blogten> sdc, the other array, was never bootable.
[05:48] <Jordan_U> blogten: Perfect, that's what I had hoped to hear. The next steps would either be to boot from a LiveUSB and run boot info script from here: https://github.com/arvidjaar/bootinfoscript and pastebin the RESULTS.txt, then chroot in and fix the problem in a lot of steps, or just try booting from sda, then try booting form sdc and run one command (sudo dpkg-reconfigure grub-pc) to fix the problem permanently.
[05:52] <blogten> ok, I reconfigured the raid controller, it's rebooting...
[05:53] <blogten> it didn't boot at all, the BIOS didn't recognize anything bootable... I got the typical BIOS message about "how about you put a bootable disk somewhere, bud? <smirk>"
[05:54] <Jordan_U> blogten: Are you just changing what array will be booted from, or is only one array readable / writable at a time?
[05:54] <blogten> just changing the array order
[05:55] <blogten> the RAID controller boots from the first one
[05:55] <blogten> so, I'll put sdb first again, yet boot from the USB installer, then go into the live Ubuntu, and see what...
[05:55] <SynfulAck> is the default install media for 2004 via usb not set todo uefi installs? Tried various combinations of settings in the bios which never seemed to play nicely with it.
[05:56] <blogten> btw, I'm perfectly happy helping debug this and conceivably filing a bug report with all the necessary details... I did this before with Ubuntu 18, working with lotuspsychje
[05:56] <Jordan_U> blogten: Usually I'd expect the boot firmware to decide which drive or array to boot from. Can you also get a one time boot menu from your boot firmware? Not that it's needed, it is just the way that I would expect to do this if I were doing it myself.
[05:57] <lotuspsychje> blogten: ?
[05:57] <blogten> I don't see a RAID option to do one-offs like that.  the bios provides one-offs.
[05:58] <blogten> oh hi lotuspsychje.  I just commented on the fact that last year you helped me out with the NVIDIA drivers and -nomodeset, and that after that we ended up filing a bug report on the subject
[06:00] <blogten> ok, sdb back first in line... now wait until all this reinitializes, then get to the bios, set to boot from usb, boot the live cd...
[06:00] <Jordan_U> blogten: Booting from sdc failed too?
[06:00] <blogten> didn't try that.  should I?
[06:01] <blogten> well.  let's be thorough.  I'll set sdc first in line and see what
[06:01] <Jordan_U> blogten: Yes please.
[06:01] <blogten> ok, first in line... waiting to see what happns
[06:03] <blogten> "reboot and select proper boot device, or insert boot media..." no, sdc won't boot either.
[06:03] <blogten> I'll put sdb first again, and boot from USB
[06:04] <Jordan_U> blogten: OK, then that rules out my theory. Let's see what info boot info script: https://github.com/arvidjaar/bootinfoscript gives. Please pastebin the RESULTS.txt that it produces.
[06:04] <blogten> thankfully sdc isn't trashed.  I have everything backed up, but still I would not want to wait a day until all that is copied back into it
[06:09] <blogten> ok, script running...
[06:12] <blogten> pastebin: bbc4Huwt
[06:12] <blogten> *bbc4HUwt
[06:14] <Jordan_U> blogten: Please provide the full link.
[06:14] <blogten> https://pastebin.com/bbc4HUwt
[06:14] <Jordan_U> (I don't even know what pastebin service you used)
[06:15] <blogten> oh sorry, I thought you meant pastebin literally
[06:16] <Jordan_U> blogten: No problem, it all worked out :) From a quick look everything looks correct, though it looks like right now your Ubuntu install is on the array showing up as sda rather than sdb.
[06:17] <blogten> I saw that... I am very sure the installer listed the 6tb device as sdb
[06:19] <blogten> what I'm trying to do with the 6tb device is to test installs... once I make sure things work they way I want, I'm planning to set the 2tb device as the first device, and do the real install then.  after that, the 6tb phys will go away (to the next machine I need to install, the same way)
[06:19] <Jordan_U> blogten: Well, device enumeration can't be expected to remain stable. That's why everything in Ubuntu uses UUIDs or other more reliable means of identifying the right volumes.
[06:19] <blogten> ok, that's fine.  now, what would prevent this install from booting?  why the ELF magic complaints?
[06:21] <blogten> Jordan_U: also, should I prefix messages to you with your user name?
[06:21] <Jordan_U> blogten: Yes please, that way I get notified. Do you get dropped to a "rescue> " prompt after the arch-independant ELF magic error?
[06:21] <blogten> Jordan_U: yes
[06:24] <Jordan_U> blogten: You can't fit enough code in 512 bytes to be able to read from a filesystem, and so back in the old days grub had to use the area between the mbr and the start of the first partition, sometimes called the boot track or post-mbr gap, to store enough code to read the rest of itself (and kernels / config files/ etc) from the actual filesystem.
[06:25] <blogten> Jordan_U ok... do you mean that stuff is corrupted / messed up?
[06:26] <blogten> Jordan_U: in case you're wondering, I did not even go to the partition configuration in the installer
[06:27] <Jordan_U> blogten: Today, on BIOS based GPT systems, this second part of grub is stored in the BIOS Boot Partition (no filesystem, just executable code). Since grub is modular, grub-install creates a core.img with just the bare minimum needed to be able to read the partition table / filesystem containing the rest of grub's modules. Then, grub tries to load those modules. If those modules are corrupt, or much more
[06:27] <Jordan_U> commonly from a different release of grub with different symbols, then the modules will fail to link and you'll get one of a few different error messages, one of them being about arch-independant ELF magic.
[06:28] <blogten> Jordan_U: ok, that starts making sense.  how do we find out which one is causing a problem?
[06:31] <blogten> Jordan_U: it starts sounding like you'd like me to mount the boot partition of (right now) sda, then go peek inside and see what
[06:32] <Jordan_U> blogten: Normally, the most common cause of this is something like the following: Someone installs Ubuntu 18.04 to /dev/sda , then they realize that they want to add a drive and re-install. Now 18.04 is on sdb, and when they install Ubuntu 20.04 the installer (incorrectly IMHO) decides that sda is the best place for grub's boot sector and core.img to be installed. So now you have a situation where
[06:32] <Jordan_U> booting from sda gets you success, and booting from sdb gets you Ubuntu 18.04's core.img, which tries to load modules from Ubuntu 20.04 and they don't match, causing booting to fail. I don't know why you are getting this problem though.
[06:32] <blogten> Jordan_U: ok... yeah, it looks like that didn't happen here
[06:33] <Jordan_U> blogten: We can try chrooting in and re-running grub-install, and it may fix things, but it's hard to say if it will or not without knowing the root cause, and I'd almost be disappointed if it did work and we never found out what caused the initial problem.
[06:34] <blogten> Jordan_U: right, so let's try to find the root cause now that we have an example... that way, the next person won't run into this (hopefully)
[06:34] <blogten> Jordan_U: a more brutal approach would be to stop exporting the other two arrays from the RAID controller, install to the single exposed drive, then export the arrays again
[06:34] <blogten> Jordan_U: that way, the problem you describe becomes impossible
[06:35] <Jordan_U> blogten: But there's no signs of grub being installed to the other arrays.
[06:35] <Jordan_U> blogten: Do you have a spare USB drive (or one of your other arrays) that we can just install grub to, including a /boot/grub/ on that USB drive?
[06:36] <blogten> Jordan_U: that would be just to make sure...
[06:36] <blogten> I have a USB key
[06:37] <Jordan_U> blogten: Does it have a Live image on it, or a normal partition table and fat32 / ext4 partition?
[06:38] <blogten> Jordan_U: by the way, sda1 doesn't mount.  sda2 seems empty.  sda3 has the root fs, including /boot
[06:39] <blogten> Jordan_U: I'm booting the installer (and the live image) from a USB HDD.  this is how I'm examining the system now.  in addition to that, I have a USB key we can use
[06:40] <Jordan_U> blogten: sda1 is the BIOS Boot Partition. It contains (basically) the contents of /boot/grub/i386-pc/core.img , with no filesystem. Thus it's not expected to be mountable. sda2 seems like it's probably an EFI System Partition left over from when you installed for UEFI.
[06:40] <blogten> Jordan_U: are the grub modules expected to be for i386?... like, 32 bit ELF?...
[06:41] <Jordan_U> blogten: Yes, because most of grub runs in 32 bit for BIOS based systems.
[06:41] <Jordan_U> blogten: OK, please mount your USB drive and then tell me the mountpoint.
[06:44] <blogten> Jordan_U: I asked file for all the files in the grub directory that appears to have modules.  3 types of files exist.  1. ELF 32 bits, stripped.  2. ELF 32 bits, not stripped.  3. ELF-64 bit, apparently signed with SHA1, not stripped
[06:44] <blogten> Jordan_U is that as expected?
[06:45] <blogten> Jordan_U and by "USB drive", do you mean the USB key?
[06:45] <PETURBG> hi someone know how it can work.
[06:45] <Jordan_U> blogten: Yes, and yes.
[06:45] <PETURBG> i have laptop with wifi and ethernet. i want use wifi internet to pass internet for ehernet, from ethernet i will put cable and put switch to connect two computers. jow can be done.
[06:46] <blogten> Jordan_U the USB key is at /dev/sde
[06:46] <PETURBG> ubuntu 20
[06:47] <blogten> Jordan_U (and the USB key has a partition in it, visible as /dev/sde1)
[06:47] <Jordan_U> PETURBG: Run nm-connection-editor and create a new wired network. Set that wired network to be "Shared to other computers". Then just connect to your wireless network. network-manager will know that your wireless network is your gateway, and will pass packets along from eithernet to wireless as needed.
[06:48] <Jordan_U> blogten: sudo mount /dev/sde1 /mnt/
[06:48] <PETURBG> Jordan_U i think i try it and it didnt work. i was all night trying.
[06:49] <blogten> Jordan_U ok
[06:49] <Jordan_U> blogten: sudo grub-install --boot-directory=/mnt/boot/ /dev/sde # Be careful with device names here. And be sure that you pass /dev/sde, and *not* any partition like sde1.
[06:50] <Jordan_U> blogten: Then create a file /mnt/boot/grub/grub.cfg with the following contents: https://paste.debian.net/1151133/ .
[06:50] <PETURBG> to confirm. i want pass wifi internet to ethernet that is gonna connected to switch and from switch it will be connected two more computerd.
[06:50] <blogten> Jordan_U ok, grub-install doing its work...
[06:51] <PETURBG> it switch is gonna get intermet connection from wifi to have internet. with they different lan ip addredd. like 192.168.1.34
[06:51] <blogten> Jordan_U grub-install complains it can't embed because core.img doesn't fit
[06:52] <blogten> Jordan_U parted?  fdisk?
[06:52] <PETURBG> blogten  youu neef to make more space partition. maybe you have little space.
[06:53] <Jordan_U> blogten: Your first partition probably starts immediately after the MBR. This is bad for a few reasons, one of which is inability to install grub, the other is that your performance won't be as good as it should be. Partitions should always be aligned to MiB boundaries.
[06:53] <blogten> Jordan_U this is a USB key that I use to swap files around... it's not like I'm going to boot from it...
[06:54] <blogten> Jordan_U for the same reason, we can blast it away and set it to what we want for these purposes
[06:54] <Jordan_U> blogten: If you re-create / move the partition with parted or GParted they will automatically align partitions to MiB boundaries and avoid this problem.
[06:54] <blogten> Jordan_U ok hang on...
[06:54] <EriC^> blogten: can you pastebin 'sudo parted /dev/sde print'
[06:55] <blogten> ... all this sudo... time to do sudo su -..
[06:55] <blogten> EriC^ one partition, 1024B start...
[06:56] <EriC^> msdos partition type?
[06:56] <Jordan_U> blogten: Odd, grub should have no problem fitting its core.img then. Is it GPT or msdos ("MBR")?
[06:57] <blogten> ... pastebin coming...
[06:57] <Jordan_U> blogten: If it's GPT then you'll want to create a BIOS Boot Partition to store the core.img. There's another quick solution but I'd rather not recommend it because I don't want others to use it for more permanent installs...
[06:57] <matsaman> blogten: dude you could've backed everything up by now =P
[06:58] <blogten> Jordan_U EriC^ https://paste.debian.net/hidden/4837fad2
[06:58] <EriC^> Jordan_U: wondering what that quick solution is
[06:59] <blogten> matsaman: I could also have given up a week ago and used Debian, which worked the first time...
[06:59] <matsaman> blogten: you're making a lot of sense
[06:59] <matsaman> y'know that Ubuntu is literally sourced directly from Debian (unstable), right?
[06:59] <EriC^> blogten: Jordan_U: for me on msdos i have 1049KB at the start, not 1024B so maybe that's why it doesnt fit
[07:00] <blogten> EriC^ yeah... the thing was formatted by a mac... but it doesn't matter, we can restructure it for what we want now... sec
[07:00] <Jordan_U> EriC^: Ahh yes, thank you for noticing that important difference in units.
[07:00] <EriC^> i'm slightly confused as to what you're doing though, there seems to be a fat32 partition, is the usb's purpose just to boot another hdd's os?
[07:01] <Jordan_U> blogten: Re-make the fat32 partition with gparted, then re-follow the steps I gave above.
[07:02] <blogten> EriC^ we're trying to figure out why a fresh Ubuntu install fails to boot.  there seems to be some issue with grub.  so, Jordan_U's suggestion to see what's going on seems to be to give the install a grub it can boot from, by putting grub in a USB key, then booting the USB and asking it to run the Ubuntu install
[07:02] <Jordan_U> EriC^: Yes. I'm trying to figure out why blogten's Ubuntu install ended up with a grub that doesn't boot. I could just run grub-install on the real drive and hope it fixes things, but we both want to try to figure out the root cause.
[07:03] <blogten> Jordan_U gparted complains it cannot connect because connection refused, and can't open display...
[07:03] <EriC^> blogten: hmm, how does the first one not boot? grub just never shows up?
[07:03] <Jordan_U> blogten: Don't run GUI apps with sudo (or otherwise from a root shell)!
[07:04] <blogten> EriC^ it complains bad ELF magic (and if I install with the box set to boot UEFI, then I get grub syntax errors and it doesn't boot either)
[07:04] <blogten> Jordan_U yeah, running like this, as root, is very unusual for me... but I got a bit tired of doing sudo everywhere
[07:05] <blogten> Jordan_U parted it is...
[07:05] <Jordan_U> blogten: Just run "gparted", as your normal user. It will properly use pkexec to run only the needed bits as root.
[07:07] <Jordan_U> blogten: Well, looking at it further, that's somewhat of a lie. I had hoped that gparted had been separated into privileged and non-privileged parts by now, but it seems it hasn't. It will properly run itself with pkexec to get it running as root though.
[07:07] <EriC^> blogten: invalid arch-independent ELF magic ?
[07:08] <blogten> EriC^ yes, booting / installing as legacy.  if UEFI, then grub syntax error and it still doesn't boot
[07:08] <blogten> Jordan_U: it's ok.  which partition type would you like?
[07:08] <blogten> Jordan_U: I mean, file system...
[07:08] <Jordan_U> blogten: ext4
[07:09] <EriC^> blogten: did you try to chroot and reinstall grub?
[07:09] <blogten> Jordan_U ok, done... back to mount, then grub install...
[07:09] <EriC^> also was the iso md5sum'd ?
[07:10] <blogten> EriC^ yes on md5
[07:10] <Jordan_U> EriC^: I think the Ubuntu 20.04 installer automatically does an md5sum check at boot now.
[07:11] <blogten> Jordan_U ok, installation worked... next up, the pastebin file
[07:11] <EriC^> oh
[07:11] <blogten> Jordan_U I saw that... it never failed...
[07:12] <blogten> Jordan_U ok, grub.cfg in place
[07:13] <EriC^> this thread suggests chrooting and reinstalling grub fixed the problem, not sure how you might get 'corrupted grub binaries' though
[07:13] <EriC^> https://stackoverflow.com/questions/18120835/debian-grub-rescue-invalid-arch-independent-elf-magic
[07:13] <blogten> EriC^ yeah... that kind of "solution" bothers me, that's why I refrained from doing such things.  besides, if you got corrupted grub binaries when *installing* the system, then what else is broken and what are you doing running the thing at all...
[07:14] <EriC^> blogten: exactly
[07:14] <Jordan_U> blogten: OK, assuming that you also ran grub-install successfully, try rebooting and use the first menuentry.
[07:15] <blogten> Jordan_U: to do that, I'll have to go into the BIOS and ask it to boot from USB key... that's effectively the same thing, I think.
[07:15] <Jordan_U> EriC^: Here's the grub.cfg I made for blogten: https://paste.debian.net/1151133/ . If the second menuentry works, then it means that all of the files in /boot/grub/ are good and at least match each other, and it's the embedded core.img that is either corrupt or somehow from a different version of grub.
[07:16] <blogten> Jordan_U oh I see, the menuentry from grub... ok
[07:16] <Jordan_U> blogten: That is what I meant, so sounds good.
[07:16] <blogten> Jordan_U ok rebooting...
[07:17] <blogten> Jordan_U ok, got to grub, selecting first entry
[07:18] <blogten> Jordan_U first entry puts me back into grub
[07:18] <blogten> Jordan_U the screen blanks out for a moment, then I'm back at the menu
[07:18] <EriC^> same initial menu? not the os install menu?
[07:18] <Jordan_U> blogten: Interesting, maybe I made a mistake. I assume that the second menuentry will do the same, though maybe taking longer.
[07:19] <EriC^> *installed os
[07:19] <blogten> EriC^: a menu that looks the same as the first one.  Jordan_U: trying the second one
[07:19] <blogten> Jordan_U different behavior: error: no such device: ... a whole bunch of text... then press any key to continue
[07:21] <Jordan_U> blogten: So, that means that grub isn't able to find your Ubuntu install, at least not when searching by UUID. Press any key to get back to the grub menu, then press "c" to get to the grub shell, then run "ls" to list all devices / partitions.
[07:21] <blogten> Jordan_U it says (hd0) (hd0,msdos1) (hd1) (hd2) (hd3)
[07:22] <Jordan_U> blogten: Ahh, easy fix then. run "insmod part_gpt" then press escape to go back to the menu and try again.
[07:22] <blogten> ok
[07:23] <Jordan_U> blogten: I forgot that grub wouldn't have loaded its gpt support since the USB isn't using gpt. I should have included "insmod part_gpt" in the grub.cfg I made for you.
[07:23] <blogten> Jordan_U lots of syntax error and incorrect command (this starts looking a lot like the UEFI error messages after installing)
[07:23] <blogten> Jordan_U and now, selecting the second option results in invalid arch-independent ELF
[07:24] <Jordan_U> blogten: Can you take a picture of the error messages with a phone or similar? Is one of the incorrect commands "linuxefi"?
[07:24] <blogten> Jordan_U what's a good way to go back to the menu from the grub rescue prompt?
[07:25] <blogten> Jordan_U the error messages simply say "syntax error", and "incorrect command", nothing else.
[07:26] <Jordan_U> blogten: "exit" might work, but if not you'll need to reboot. Your /boot/grub/i386-pc/core.img doesn't seem to match the rest of the modules in /boot/grub/i386-pc/ , which is a problem I can't remember ever seeing before, and I've helped a *lot* of people with grub issues.
[07:26] <blogten> Jordan_U exit doesn't work.  rebooting.
[07:27] <blogten> Jordan_U this is much better than I could have ever gotten to... this seems like a controlled way to trigger the problem.  maybe we have a hope of debugging it and figuring it out
[07:28] <TJ-> Has anyone noticed that 20.04's NetworkManager, wifi, on SSIDs with multiple BSSIDs, doesn't switch to the strongest AP signal any more?
[07:29] <Jordan_U> blogten: It definitely is that, but I have no idea how either of the two problems are being caused. I think that grub-install would likely fix the arch-independant elf magic problem, but likely wouldn't fix the syntax error problem.
[07:29] <blogten> Jordan_U this is interesting.  so the first time, before doing anything, I hit c, then insmod gpt_part.  of course that doesn't work.  so, I put in insmod part_gpt, then exit.  and doing that throws me into the invalid ELF magic again.
[07:29] <TJ-> brb ... gateway reboot!
[07:29] <CQ> hello, anyone one here who understands how the askubuntu / stackexchange works? I keep getting messages regarding responses to a question I am watching, but when I click on them I don't see them posted
[07:29] <blogten> Jordan_U rebooting again...
[07:29] <CQ> err, stackoverflow
[07:30] <Jordan_U> blogten: Exit exits grub, at which point your boot firmware tries to boot from the next drive in the boot order.
[07:31] <Jordan_U> blogten: So the arch independent ELF magic error probably came from your boot firmware trying to boot sdb directly.
[07:31] <blogten> Jordan_U: ok... so I pressed escape this time, after installing part_gpt
[07:31] <EriC^> blogten: you could always use debsums to verify the packages are all intact later, if you choose to reinstall grub from chroot and fix the problem that way
[07:32] <EriC^> or maybe use debsums to see if the grub package is corrupted if you want to understand the problem more or something
[07:32] <blogten> EriC^: right, and how long until a kernel update makes the system nonbootable again?
[07:32] <EriC^> blogten: what do you mean? why would it?
[07:33] <Jordan_U> blogten: We definitely have a way of independently triggering the two problems, but I have no idea how either of the two problems are being caused. I think that grub-install would likely fix the arch-independant elf magic problem, but likely wouldn't fix the syntax error problem.
[07:33] <EriC^> a kernel update would trigger update-grub
[07:33] <blogten> EriC^ because e.g. "updating kernel modules", or "rebuilding initramfs", or something of that nature... I need to understand what's going on
[07:34] <blogten> Jordan_U isn't there some way to figure out what is the syntax error?
[07:34] <EriC^> blogten: can you boot the live usb, we can troubleshoot from there and try to see what's wrong maybe
[07:34] <blogten> EriC^ the bottom line is that if I don't know why it happened once, it will happen again...
[07:35] <Jordan_U> blogten: Well, you can run "grub-script-check /boot/grub/grub.cfg" but I've already done that with your grub.cfg (from boot info script output) and it finds no syntax error.
[07:35] <blogten> EriC^ yes, I can do that
[07:35] <EriC^> blogten: ok, run 'sudo parted -ls | nc termbin.com 9999' and paste the link here as a sanity check
[07:36] <blogten> Jordan_U, EriC^ so to do that, I need to get out of this USB key boot... are we done with this bit?
[07:36] <Jordan_U> EriC^: If you haven't seen it already, here is blogten's boot info script RESULTS.txt: https://pastebin.com/bbc4HUwt
[07:36] <EriC^> thanks Jordan_U
[07:37] <Jordan_U> blogten: Yes, I'm done with testing things from that USB drive for tonight. (And I'm going to sleep, so I'm done with anything else too :)
[07:37] <blogten> Jordan_U ok, thanks :)
[07:37] <blogten> EriC^ are you going to be around a bit to continue this?... I have time
[07:38] <Jordan_U> blogten: EriC^: If you do figure it out please ping me so I can see it tomorrow. If not, hopefully there will be a time tomorrow when we're both on again and can continue troubleshooting.
[07:38] <EriC^> blogten: yeah sure
[07:38] <blogten> Jordan_U will do :)
[07:38] <blogten> EriC^ ok, booting the live cd
[07:39] <Intelo> Can I turn laptop/ pc in to a phone and insert sim in it? Recive calls and make calls (not voip but gsm?
[07:39] <EriC^> ok
[07:39] <blogten> EriC^ the live image...
[07:44] <blogten> EriC^ : first time I see this error message with the parted bin... the driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes
[07:45] <blogten> EriC^ https:/termbin.com/7w8i
[07:45] <EriC^> blogten: that's normal it just relates to when the iso was put there using a certain blocksize, it's harmless
[07:47] <EriC^> blogten: it looks somewhat sane til now
[07:47] <EriC^> blogten: type 'sudo mount /dev/sda3 /mnt'
[07:47] <EriC^> blogten: you said you let the installer do its thing and didnt manually partition yes?
[07:48] <blogten> EriC^ correct, and done with the mount (btw I became root, so...)
[07:48] <EriC^> blogten: type 'cat /mnt/etc/fstab | nc termbin.com 9999'
[07:49] <blogten> EriC^ the url ends in nezj now.  the UUID seems vaguely familiar from the error messages from the USB boot key
[07:50] <blogten> EriC^ so https://termbin.com/nezj
[07:50] <EriC^> blogten: ok, well the installer is obviously confused, it created a bios_boot partition suggesting you were booted in legacy mode, but it also created a fat32 efi partition, and used it for the install
[07:51] <EriC^> Jordan_U: ^
[07:51] <blogten> EriC^ ok, how do we get it to unconfuse, or how can we tell it to stop it?...
[07:52] <blogten> EriC^ and what information do we have to collect to file a bug if needed?
[07:53] <EriC^> blogten: well, i'd guess this is some bug in the installer, if i were you, i would reinstall grub properly, and if you wanted you could run debsums on the whole system to make sure it's intact, but if the checksum at the start was good i'd bet it just got confused in the bootloader related part and messed up
[07:54] <EriC^> blogten: i think the installer log is in /mnt/var/log/installer there might be useful stuff there
[07:56] <EriC^> blogten: as for it messing up in the future, if all the packages are good md5sum, and grub is correctly installed and whatnot, it wont mess up when it updates the kernel or runs initramfs
[07:56] <blogten> EriC^ : ok, so how do we reinstall grub into /dev/... eh, /dev/sda
[07:56] <blogten> then we can also make a nice package with the installer logs
[07:57] <blogten> EriC^ oh, wait... what about the syntax error?... maybe we can track that down?
[07:57] <EriC^> blogten: ok, type "for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done"
[07:58] <blogten> EriC^ done... are we going to do the chroot bit?
[07:58] <EriC^> blogten: it's probably a confused grub, mixing between uefi stuff and legacy stuff, this is like throwing a wrench into an engine and trying to see what's going on, the devs really should figure out why the installer went haywire during the bootloader selection/decision making phase
[07:58] <EriC^> blogten: yeah
[07:59] <blogten> EriC^ ok, we'll package up the install logs and file a bug or something to that effect
[07:59] <blogten> EriC^ next step?
[07:59] <EriC^> blogten: type 'dpkg -l | grep grub | nc termbin.com 9999' to see what grub packages are installed currently
[08:00] <EriC^> blogten: (after running sudo chroot /mnt)
[08:00] <blogten> EriC^ chroot fails because /bin/bash does not exist
[08:01] <EriC^> blogten: heh :D
[08:01] <makara> how do i run a snap as a service, at startup?
[08:02] <EriC^> blogten: try 'ls /mnt /mnt/bin/bash | nc termbin.com 9999'
[08:03] <blogten> EriC^ something's odd, the contents of /mnt look strange
[08:04] <blogten> EriC^ it looks like I'm twice chroot-ed
[08:04] <EriC^> blogten: hmm, what's the link? not sure what you mean
[08:05] <EriC^> blogten: maybe you ran sudo chroot /mnt already earlier?
[08:05] <EriC^> blogten: try to type open a fresh terminal, and type 'sudo chroot /mnt'
[08:06] <blogten> EriC^ that after the first time chroot complained about /bin/bash, I thought it failed outright.  then I thought ah, that's because I'm root and I'm inside /mnt.  so, cd /, and then chroot again.  and again chroot complained.  but now /mnt does not look like the root of an Ubuntu install... it looks like something completely different, e.g. with a
[08:06] <blogten> directory called openvpn...
[08:06] <Mavrik> Morning everyone. Any Dell XPS 13 users here? For some reason the speakers on mine stopped working on Ubuntu 20.04 and it's proving really hard to debug :/
[08:07] <fronchetti> Hello everyone, I have a big problem in hands. I accidentally deleted bootchart.conf journald.conf and logind.conf from the /etc/systemd folder using sudo rm (I know, I shouldn't do that). Is there any solution to recover these files?  It is a machine in production.
[08:07] <blogten> EriC^ also no more terminals because /bin/bash is gone
[08:07] <EriC^> blogten: O.o
[08:08] <tatertots> fronchetti: just restore the files, production machines commonly have backups in a real production/enterprise environment
[08:08] <EriC^> blogten: very odd, try to reboot the live usb, im wondering if somehow the for command had a typo
[08:08] <blogten> maybe... rebooting the rhing...
[08:09] <blogten> thing
[08:09] <fronchetti> The problem is that I'm not sure if we have a backup available, thats the reason why I'm here
[08:09] <fronchetti> Hahahaha
[08:09] <fronchetti> and I don't know if these files can break the computer
[08:09] <tatertots> fronchetti: else..just find out how bad of a mistake you made and just leave it be as is ...or reinstall
[08:09] <fronchetti> break the system*
[08:15] <blogten> EriC^ ok, chroot /mnt worked this time
[08:17] <blogten> EriC^ I also found the typo... /dev /proc /run /sys were all mounted -R to /mnt, rather than /mnt$i :facepalm:
[08:17] <EriC^> blogten: ah great
[08:18] <EriC^> blogten: ok, type "mount -a" to mount the efi partition
[08:18] <blogten> EriC^ ok (but note: the system is not using EFI to boot)
[08:18] <EriC^> the live usb?
[08:18] <blogten> EriC^ or anything.  the boot is set to Legacy
[08:19] <EriC^> i see
[08:19] <EriC^> do you want to use uefi or legacy? at this point it's completely up to you
[08:20] <EriC^> since you already have an efi partition you could have both dwell together peacefully, but leave one grub package that will keep getting updates and such
[08:20] <blogten> things worked well for me with legacy so far, so at first glance I'd continue that way.  however, do you think I'd be missing anything important?  that is, what would you miss from efi?
[08:21] <EriC^> well, in general not much, but uefi is newer, plus it's nice to be able to have multiple bootloaders if you later decide to add an os or something, and there's the not so important 0.5sec or something quicker loading time
[08:22] <blogten> oh ok... then I do not see this box needing efi.  we can go with legacy.
[08:22] <EriC^> alright
[08:22] <EriC^> blogten: ok, so nevermind the 'mount -a'
[08:23] <EriC^> blogten: type 'nano /etc/fstab' add a "#" at the start of the line that says UUID=xxxx-xxxx /boot/efi ....
[08:23] <blogten> EriC^: ok
[08:24] <EriC^> blogten: ok, type 'dpkg -l | grep grub | nc termbin.com 9999'
[08:25] <blogten> EriC^: https://termbin.com/hh87
[08:26] <EriC^> blogten: ok, looks like grub-efi was not installed, all good
[08:26] <EriC^> blogten: you used 'sda3' for the /mnt right?
[08:27] <blogten> yes
[08:27] <blogten> EriC^: yes, sda3
[08:28] <EriC^> ok cool, type "grub-install --target=i386-pc /dev/sda"
[08:29] <blogten> EriC^ : done
[08:29] <EriC^> blogten: great, type 'update-grub'
[08:30] <blogten> it complained because it could not find a GRUB drive for /dev/sdd1
[08:31] <blogten> EriC^: although, it finished
[08:31] <EriC^> blogten: no worries, is the patriot memory the live usb btw?
[08:31] <blogten> EriC^ yes (and I wish it was called something neutral)
[08:31] <EriC^> hehe
[08:32] <blogten> EriC^ oh wait nono.
[08:32] <blogten> EriC^ the patriot thing is a USB stick that we prepared earlier to try to debug the problem
[08:32] <EriC^> oh i see
[08:32] <blogten> EriC^ the live usb is an external usb disk, a Seagate
[08:33] <EriC^> blogten: ok, no worries, type 'exit' to exit the chroot, then reboot, make sure csm legacy is enabled/uefi disabled and sda is first in the boot order
[08:34] <EriC^> blogten: actually 1 sec
[08:34] <blogten> EriC^ ok.  in the mean time, I noticed a swap file in the root filesystem. are those as fast as swap partitions these days?... ok, also, holding
[08:34] <EriC^> i feel like it would be a good idea to rename the files in the efi partition, just as an added measure to make sure it's indeed loading the bios_boot grub
[08:34] <EriC^> blogten: type in the chroot "mount /dev/sda2 /mnt"
[08:35] <blogten> EriC^ : there is nothing there
[08:35] <EriC^> interesting
[08:35] <EriC^> ok, type 'exit' and try rebooting
[08:36] <blogten> EriC^ ok, will reboot trying to boot from what we called sda
[08:36] <EriC^> ok
[08:37] <blogten> EriC^ : ok, bios set to boot the raid controller and nothing else
[08:38] <blogten> EriC^ : black screen...
[08:38] <blogten> EriC^ : this used to take a bit of time...
[08:38] <EriC^> blogten: try to reboot and hold shift
[08:39] <blogten> EriC^ let's wait a bit...
[08:39] <EriC^> ok
[08:40] <blogten> EriC^ : doesn't look great, no disk i/o, nothing...
[08:40] <EriC^> aha, try pressing ctrl+alt+del
[08:40] <blogten> EriC^ : also num lock dead on the keyboard
[08:40] <blogten> EriC^ : ctrl+alt+del unresponsive
[08:40] <EriC^> if that doesn't work try "alt+prntscrn + s   then same + u then + b
[08:41] <blogten> nothing
[08:41] <blogten> going for the power button (btw, full keyboard)
[08:41] <EriC^> alright
[08:42] <EriC^> try holding shift when it boots, you should get grub if its loading it, otherwise it's not even loading grub
[08:42] <blogten> ok, coming up again...
[08:43] <raddy> Hello Everybody
[08:43] <raddy> I have installed Ubuntu recently in my laptop
[08:43] <blogten> EriC^ black screeb again.  but, numlock is not dead
[08:44] <raddy> Afterwards i am unable to boot windows due to bitlocker confirmation.
[08:44] <dengi> whats  kind of GUI tool can be used to make a bootable usb?
[08:44] <blogten> EriC^ this is super odd.  it's bootiing something
[08:44] <blogten> some error messages
[08:44] <blogten> bad
[08:44] <raddy> If i remove ubuntu from mbr can i boot windows ?
[08:44] <dengi> with some persistent storage
[08:44] <EriC^> blogten: is the patriot memory removed?
[08:45] <raddy> dengi : Use rufus in windows
[08:45] <dengi> raddy: yes however its linux machine
[08:45] <raddy> Ohh okkk
[08:45] <blogten> EriC^: initramfs unpacking failed, invalid magic at start of compressed archive, kernel panic because unable to mount root fs on unknown block... and yes the usb stick is still there
[08:46] <EriC^> blogten: dang
[08:46] <blogten> EriC^ I will clean out the usb connectors then try that again
[08:46] <blogten> EriC^ now the keyboard is dead for sure
[08:46] <blogten> back to the power button
[08:46] <EriC^> blogten: ok, try to remove the patriot memory just to see if it's booting the sda grub for sure or what
[08:47] <blogten> EriC^ ok, no USB devices now
[08:49] <blogten> EriC^ : black screen... num lock alive... num lock dead again
[08:49] <blogten> EriC^ same error messages, kernel panic
[08:49] <EriC^> very odd
[08:50] <EriC^> blogten: online it appears that for some user the problem went away when he updated intel microcode *shrug*
[08:50] <EriC^> https://bbs.archlinux.org/viewtopic.php?id=252429
[08:51] <blogten> oh yeah, same error messages
[08:52] <EriC^> ill brb, i need to do a quick trip to the grocery shop to get a couple items, in the meantime, try to boot the live usb again, chroot as before, and try running 'apt-get update && apt-get dist-upgrade'
[08:53] <EriC^> also maybe 'update-initramfs -c -k all' to see if it says anything while creating the initramfs
[08:53] <EriC^> brb in 10mins or so
[08:53] <blogten> EriC^ you mean in the chroot?
[08:53] <EriC^> yes
[08:53] <blogten> ok
[08:54] <raddy> I can't get recovery key for bitlocker
[08:54] <raddy> Is it possible to still boot windows ?
[09:05] <survietamine> hello, in have beginning of my openvpn's log files filled with "^@". Any hints?
[09:06] <survietamine> ah, maybe a problem with logrotate: https://stackoverflow.com/questions/8353401/garbage-collector-log-loggc-file-rotation-with-logrotate-does-not-work-properl
[09:15] <EriC^> blogten: back
[09:16] <blogten> EriC^ trying to figure out why the first attempt at chroot didn't work the way I expected...
[09:18] <NTQ> Hi. Is there a simple solution to prevent applications from stealing my focus? MS Teams is really annoying and steals my focus everytime somethings happens mich drives me nuts.
[09:18] <EriC^> blogten: im confused, didnt you say the for command had a typo?
[09:18] <blogten> EriC^ the contents of /dev/sda3 changes, now there are some directories with install-logs-2020-etc... what the...
[09:18] <EriC^> O.o
[09:19] <dengi> is there some trick to run a 32 bit app on a 64 bit ubuntu?
[09:19] <EriC^> blogten: hmm, can you run 'sudo parted -ls | nc termbin.com 9999'
[09:19] <blogten> oh gads now /dev/sda is /dev/sdb...
[09:20] <blogten> ok back to sanity now
[09:20] <gloomy> Hi, I have an old backup laptop that I had setup for my girlfriend and have since completely forgot which password we used back then. Is there any way I can add a user without reinstalling the operating system?
[09:20] <blogten> EriC^ : chroot ok now
[09:21] <gloomy> (I don't care about the data in that account, I'd just rather avoid having to reinstall everything)
[09:22] <blogten> EriC^ apt-get update going... done
[09:22] <SynfulAck> Is there some package of configuration file that will allow me to turn the mouse sensitivity further up? on gnome settings>Mouse&Touchpad its already maxed out on the slider. I dont believe theres anything else in gnome-tweaks either.
[09:23] <blogten> EriC^ about 500mb of installs for dist-upgrade going...
[09:24] <makara> when is it safe to `sudo apt autoremove` ?
[09:25] <EriC^> gloomy: yeah you can boot into recovery mode from grub, then choose 'drop to root shell' type 'mount -o remount,rw /' and then run 'passwd <username>' and reset the password
[09:25] <EriC^> gloomy: grub > advanced options > any recovery kernel
[09:25] <gloomy> awesome, thanks. Didn't know what to google for :)
[09:26] <blogten> EriC^ the update process is triggering multiple update-initramfs... ok, finished
[09:27] <EriC^> makara: when you know the packages it'll remove won't break the system i guess, it's usually safe unless something essential has been removed manually and then autoremove would remove alot of important packages
[09:27] <EriC^> gloomy: no problem :)
[09:27] <EriC^> blogten: great
[09:27] <blogten> EriC^ now it's running the update-initramfs command you asked for
[09:27] <EriC^> aha
[09:28] <blogten> done
[09:28] <EriC^> blogten: what does 'apt-cache policy intel-microcode' show for installed? as a reference
[09:29] <blogten> it says 3.20191115.1ubuntu3
[09:30] <blogten> EriC^ ^
[09:30] <EriC^> ok looks good
[09:30] <EriC^> blogten: try typing 'exit' then reboot
[09:31] <blogten> EriC^ you mean reboot the installation, rather than the live image I take it?...
[09:31] <EriC^> yup try rebooting into the main os
[09:31] <blogten> ok
[09:34] <blogten> EriC^ there was an avalanche of syntax error messages, and it threw me into the grub prompt
[09:35] <blogten> EriC^ or something that seemed like syntax error... it really flew by
[09:35] <EriC^> blogten: is it a grub> or grub rescue> ?
[09:35] <blogten> EriC^ just grub>
[09:36] <EriC^> well that's better
[09:36] <EriC^> blogten: try "ls"
[09:36] <EriC^> look for the disk that has gpt1 gpt2 gpt3
[09:36] <blogten> EriC^ (hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (hd1) (hd2)
[09:37] <blogten> (so, hd0)
[09:37] <EriC^> blogten: ok, try         set root='(hd0,gpt3)'
[09:37] <blogten> ok, it took it
[09:37] <blogten> (apparently, there was no response)
[09:37] <blogten> EriC^
[09:38] <makara> EriC^: i think i'll stick to only doing it occassionally, and just after a successful reboot
[09:38] <EriC^> blogten: ok, type 'insmod part_gpt'
[09:38] <blogten> EriC^ : ok
[09:38] <EriC^> blogten: then 'insmod ext2'
[09:38] <blogten> EriC^ : ok
[09:39] <EriC^> blogten: try typing 'linux /boot/vmlinuz<use tab completion here to find the latest kernel> but dont hit enter yet
[09:40] <blogten> EriC^ : 3 options: 5.4.0-26, 5.4.0-33, and vmlinuz.old
[09:40] <EriC^> try with 5.4.0-33
[09:40] <blogten> EriC^ : and vmlinuz, so 4 in total
[09:40] <blogten> EriC^ : ok, 5.4.0-33
[09:41] <blogten> EriC^ : great, entered the command.  no response.
[09:41] <EriC^> ok continue the line "linux /boot/vmlinuz-5.4.0-33-generic root=UUID=222de126-8767-47dd-b1de-2298b9b50e5c ro debug ignore_loglevel"
[09:43] <EriC^> blogten: note there are no L's in the uuid, it's all hex abcdef 0-9
[09:44] <blogten> EriC^ : ok, all set.  enter?
[09:44] <EriC^> yes
[09:44] <blogten> EriC^ : ok
[09:44] <EriC^> blogten: type "initrd /boot/initrd.img-5.4.0-33-generic"
[09:45] <blogten> EriC^ :  and enter?
[09:45] <EriC^> yup
[09:45] <EriC^> then type "boot" and hit enter
[09:45] <blogten> EriC^ : after a pause, grub> again
[09:45] <blogten> EriC^ : looks like it's waiting for the next thing
[09:45] <blogten> EriC^ : and now, the boot comman
[09:46] <blogten> EriC^ : an avalanche of messages
[09:46] <blogten> EriC^ : looks like the beginning of dmesg
[09:47] <EriC^> aha
[09:47] <blogten> EriC^ : it made it to looking at sda.  after attaching sda, it stopped.  and the keyboard is dead.
[09:47] <EriC^> can you take a screenshot with your phone? it might be useful
[09:48] <rory> When I see an update is available for "Ubuntu Base" only, at a hundred Kb or so, what is being updated? I thought this was just a metapackage.
[09:48] <blogten> EriC^ : this is wild
[09:48] <EriC^> blogten: i somehow feel it might be related to some raid stuff perhaps, i dont know much about raid tbh, do you? perhaps you could remove it from the equation just as a test or something? no idea here
[09:48] <blogten> EriC^ : the keyboard is dead. and everything screeched to a halt.  however, I got two messages from the raid controller: it's verifying units (they are overdue).
[09:49] <EriC^> at this point grub seems to loading fine, as well as its modules and stuff, else you'd get a grub rescue>, so something afterwards is a miss, maybe hdd related or i have no idea really, but the debug screen might show more info
[09:52] <blogten> there's a message about sda... that the optimal transfer size 33553920 is not a multiple of the physical block size of 4096
[09:52] <blogten> EriC^ : ^ that's about the most interesting thing I see here.  the rest is just going through the block devices
[09:53] <blogten> EriC^ : do you know if, by chance, the drivers for the 3ware cards were removed from the kernel?... they've been there since 2.6.39 or some really old kernel like that
[09:53] <blogten> EriC^ : but still this is bizarre because if I install Debian, I get none of these problems
[09:54] <blogten> EriC^ : the 3ware bit doesn't seem to make much sense... the messages on the screen read '3w-sas'...
[09:57] <EriC^> blogten: is there any kind of connections usb->sata or something?
[09:58] <blogten> EriC^ actually yes, the live image.  also, see here... https://manpages.ubuntu.com/manpages/focal/man4/tws.4freebsd.html ... maybe?...
[09:59] <sruli> how do i get the size of all files in a dir (excluding the subdirs)
[10:00] <blogten> EriC^ wait, you mean a USB disk showing up as a SATA device or some such?... if you meant that, then no
[10:01] <versionsix> so snap and ipv6, when will these two finally go together?
[10:01] <EriC^> blogten: apparently /boot/config-5.4.0-33-generic should have which stuff is added to the kernel
[10:01] <versionsix> the bug is open since 2017 !! https://bugs.launchpad.net/snapstore/+bug/1710022
[10:03] <blogten> EriC^ how do we find out where is the silly syntax error for grub?... boot the live image, mount sda3 (or sdb3, or whatever the name is), then look under /boot?
[10:03] <dengi> failed to execute child process - lubuntu 18.04 multi arch support enabled
[10:04] <dengi> how I can trouble shout it?
[10:04] <EriC^> blogten: yeah the grub commands should be in /boot/grub/grub.cfg , but what syntax error do you mean? i thought it only did that earlier
[10:04] <bluesceada> hey in ubuntu 20.04 something has changed over 18.04 how 'apt' handles wildcards ... for example try > apt policy gimp-data*
[10:05] <bluesceada> 20.04 will say "N: Unable to locate package gimp-data*"
[10:05] <blogten> EriC^ this time too, before getting to the grub> prompt, there was an avalanche of syntax error (or something error) messages, after which it got to the grub> prompt
[10:05] <bluesceada> 18.04 lists the policy of gimp-data and gimp-data-extras
[10:05] <EriC^> blogten: according to that manpage, it mentions that you can load the tws stuff at run time using the loader, but the loader seems to require efi/efi partition as that's where the config is
[10:05] <bluesceada> How can i have something that works like the old behavior?
[10:05] <EriC^> blogten: oh
[10:06] <bluesceada> I usually use it for "purge" to get rid of everything from old kernels (e.g. apt purge linux*5.3.0-53*)
[10:06] <EriC^> blogten: maybe we should boot the live usb, get grub to always show the menu and wait, and see the contents of grub.cfg as well
[10:07] <blogten> EriC^ ok, let's try that and see what.  also, where did you see the efi/efi part?... that the module loader itself requires efi?...
[10:09] <EriC^> bluesceada:
[10:09] <EriC^> bluesceada:
[10:09] <EriC^> sorry
[10:09] <EriC^> bluesceada: does "apt-cache policy 'gimp-data*'" still work?
[10:10] <EriC^> blogten: https://manpages.ubuntu.com/manpages/focal/man5/loader.conf.5.html
[10:10] <ricardodevries> Hello, I'm trying to install kvm on a ubuntu server 20.04 headless. It seems it wants to install the x11 packages along with it which I really do not want. Is there any solution? https://paste.ubuntu.com/p/gztQ7vzMc8/
[10:10] <EriC^> in the first page it said "Alternatively, to load the driver as a module at boot time, place the following line in     loader.conf(5)"
[10:11] <EriC^> blogten: ^
[10:11] <blogten> EriC^ right, so does that mean the loader *requires* efi?...
[10:12] <EriC^> blogten: i dont think so, but just guessing
[10:12] <EriC^> blogten: in any case, in my config for 4.4* kernel there's no "device tws" in case it's actually needed
[10:13] <EriC^> blogten: you already have an efi partition though luckily so if you want, you could just enable uefi and put that line there and see if it works and needed that
[10:14] <EriC^> blogten: (by enable uefi i mean install grub-efi package and all the good stuff for uefi to work)
[10:16] <blogten> EriC^ : ok, the live image is up and running, and I'm looking at grub.cfg... what's a good way to find what might be busted here?
[10:19] <EriC^> try to pastebin it
[10:20] <blogten> EriC^ https://termbin.com/bgyab
[10:20] <EriC^> blogten: did you chroot by any chance?
[10:21] <blogten> no I did not do that yet
[10:21] <EriC^> we can have grub show the menu, that way you know if the syntax stuff is pre menu or post it running the entry
[10:21] <blogten> EriC^ : ok should I chroot to do that?
[10:22] <EriC^> yeah
[10:22] <blogten> EriC^ : ok, chrooted
[10:23] <EriC^> blogten: ok, for line and everything?
[10:23] <blogten> EriC^ : yep
[10:23] <EriC^> ok, type 'nano /etc/default/grub'
[10:24] <EriC^> set GRUB_TIMEOUT_STYLE=menu   and GRUB_TIMEOUT=10
[10:24] <blogten> EriC^ : ok
[10:25] <blogten> EriC^ : oh, you mean now reboot from the actual install disk and see what?
[10:25] <EriC^> you might need to uncomment GRUB_TERMINAL=console as well
[10:25] <blogten> EriC^ : ok, done
[10:26] <EriC^> ok, type 'update-grub' to make the new grub.cfg
[10:26] <blogten> EriC^ : done
[10:27] <EriC^> blogten: we could do a 2 birds with one stone thing here if you want, install grub-efi and add that loader.conf and in case legacy mode doesnt boot you just switch to uefi in the bios and see how that goes, interested?
[10:28] <blogten> EriC^ : ok, could try
[10:28] <blogten> EriC^ : apt-get grub-efi?
[10:28] <EriC^> blogten: ok, type 'nano /etc/fstab' uncomment the line you did earlier uuid=xxxx-xxxx /boot/efi
[10:29] <EriC^> then type 'mount /boot/efi'
[10:29] <blogten> EriC^ : ok
[10:29] <blogten> EriC^ : /boot/efi is currently empty, 512mb available
[10:30] <EriC^> blogten: ok, just a quick check to see the live usb mode, type 'ls /sys/firmware/efi'
[10:30] <EriC^> if it gives you dirs then it's booted in uefi mode, otherwise it's in legacy mode
[10:30] <blogten> EriC^ : no efi
[10:31] <EriC^> ok, so that means we will manually add the efi files in the 'standard' location cause we cant access the uefi list in this mody and grub-install will fail at the very last step of that
[10:31] <EriC^> blogten: type 'apt-get install grub-efi-amd64-signed'
[10:31] <EriC^> *mode
[10:32] <blogten> EriC^ : done
[10:32] <EriC^> blogten: ok, type 'grub-install --removable --target=x86_64-efi --efi-directory=/boot/efi'
[10:33] <blogten> EriC^ : finished with no errors
[10:33] <EriC^> blogten: ok, type "ls -lR /boot/efi | nc termbin.com 9999"
[10:34] <blogten> EriC^ : https://termbin.com/9cvh
[10:34] <EriC^> blogten: ok, type "mkdir -p /boot/efi/efi/microsoft/boot'
[10:35] <blogten> EriC^ : ... microsoft?...
[10:35] <EriC^> blogten: yeah it's one of the standard locations the bios looks for efi files on a disk with no uefi entry pointing to a file
[10:35] <blogten> EriC^ : ok
[10:36] <EriC^> blogten: then type 'cp /boot/efi/efi/boot/bootx64.efi /boot/efi/efi/microsoft/boot/bootmgfw.efi'
[10:37] <blogten> EriC^ : is all this case insensitive?
[10:37] <EriC^> blogten: yeah, it's fat32 it doesnt care
[10:37] <blogten> EriC^ : ok done
[10:38] <EriC^> blogten: finally type 'mkdir /boot/efi/loader'
[10:38] <blogten> EriC^ : ok
[10:38] <EriC^> blogten: then type 'nano /boot/efi/loader/loader.conf' and type in     tws_load="YES"
[10:39] <blogten> EriC^ : done
[10:39] <EriC^> blogten: ok, type 'exit' and try rebooting in legacy mode
[10:39] <EriC^> also try keeping the live usb in, just in case its messing up with the hd0 hd1 stuff
[10:40] <EriC^> (i had noticed in grub.cfg its using hd1 but in grub ls showed hd0, not sure how much that matters, just in case)
[10:42] <blogten> EriC^ : ok, got to the text mode grub
[10:42] <EriC^> grub menu with Ubuntu advanced options etc?
[10:42] <blogten> EriC^ : aha
[10:42] <blogten> EriC^ : ... omg... please not -nomodeset again...
[10:43] <EriC^> blogten: what's up? what happened when the pc booted up?
[10:44] <blogten> EriC^ : I didn't ask it to boot.  I just remembered the horrors of getting Ubuntu to work on another box, last year... lotus here helped me with that... I got some horrific behavior that all went away when I added -nomodeset as a kernel parameter the first time the system started until I added the nvidia drivers
[10:45] <blogten> EriC^ : and I just see how this grub seems to work fine in text mode... and it just hit me omg please not -nomodeset again...
[10:45] <blogten> EriC^ : so, at this point, what to do... try to boot Ubuntu?
[10:46] <EriC^> yeah go for the ubuntu entry
[10:46] <blogten> EriC^ : ok, the ubuntu entry wants root at hd1,gpt3
[10:46] <EriC^> aha
[10:46] <blogten> EriC^ : no such file or directory regarding some lvm module...
[10:47] <blogten> EriC^ : ubuntu graphic turning... this is new...
[10:47] <blogten> EriC^ : a mouse cursor
[10:47] <EriC^> a great!
[10:47] <blogten> EriC^ : purple screen
[10:47] <blogten> EriC^ : started
[10:47] <blogten> EriC^ : what in heck did we do to "fix" this?...
[10:47] <EriC^> which mode is it booted in? try "ls /sys/firmware/efi"
[10:47] <EriC^> i'm wondering the same thing blogten xD
[10:48] <EriC^> maybe that loader.conf did it?
[10:48] <blogten> EriC^ : if *THAT* did it, then we can test what happens if we take it out
[10:48] <EriC^> exactly
[10:48] <EriC^> is it in legacy mode currently? just to understand it further
[10:48] <blogten> EriC^ : no efi directory under /sys/firmware
[10:49] <EriC^> aha
[10:49] <EriC^> blogten: try 'sudo mv /boot/efi/loader/loader.conf{,.backup}'
[10:49] <blogten> EriC^ : you know what I suspect?... we set grub to console, text mode... no gfx change...
[10:50] <EriC^> nah that would only affect the grub menu, but it seemed to have major issues later, we only did that as a just incase while trying to get grub to show the menu
[10:50] <blogten> EriC^ : ok, renamed the loader file
[10:50] <EriC^> ok, try rebooting again, see how what happens
[10:52] <blogten> EriC^ : ok, booting again...
[10:52] <blogten> EriC^ : turning graphics, logo, mouse arrow, purple screen, booted
[10:53] <EriC^> blogten: interesting
[10:53] <EriC^> blogten: perhaps it's cause the live usb is still plugged in?
[10:53] <blogten> EriC^ : we can try that if you want
[10:54] <blogten> EriC^ : I am also really curious to see what happens if I comment the console only grub line
[10:54] <EriC^> *shrug* all we literally did was install the grub efi files and run update-grub, but we did before, odd
[10:54] <EriC^> blogten: yeah that sounds good
[10:54] <EriC^> remember to update-grub as well afterwards so it takes effect though, maybe cp /boot/grub/grub.cfg{,.backup} too just in case it gets all 'weird' again :P
[10:55] <blogten> EriC^ : ok, I just commented that one line out... aww rats, yep... will have to do the update-grub...
[10:55] <blogten> EriC^ : at least now the real thing is booting
[10:55] <EriC^> yup
[10:57] <EriC^> blogten: also remember to remove the grub-efi-* packages and install grub-pc so that apt keeps updating the legacy mode grub in the future
[10:57] <blogten> EriC^ : ok, rebooting, this time without console mode grub.  all else is the same
[10:57] <EriC^> aha
[10:58] <blogten> EriC^ : this is a throw away install anyway
[10:58] <blogten> EriC^ : AHA!!! syntax error everywhere, and grub>
[10:59] <EriC^> aha, interesting!
[10:59] <blogten> EriC^ : damned graphics mode grub
[10:59] <EriC^> well, i'm glad it worked out, though by complete chance we got it working in the end, hey better lucky right :D
[10:59] <blogten> EriC^ : so, I am starting to think that all these problems were rooted in the graphical mode grub
[11:00] <EriC^> yeah seems so
[11:00] <blogten> EriC^ : ok fine, but why?
[11:00] <blogten> EriC^ : nvidia again?
[11:00] <blogten> EriC^ : what is it about gfx mode grub that makes it fail this way?
[11:01] <EriC^> hmm no idea really, it seems for some people with updating ubuntu they lost their grub and had to use the console option from earlier releases
[11:01] <blogten> maybe lotus knows and is around
[11:02] <blogten> lotuspsychje are you around?
[11:02] <EriC^> blogten: i have no idea, the stuff it was saying about elf and initrd really doesnt add it with any gfx stuff, very odd
[11:02] <EriC^> *add up
[11:03] <blogten> EriC^ : this is starting to sound a lot like the horrible problems I got last year while trying to install Ubuntu on another box... without -nomodeset the first boot (before installing the nvidia drivers), the system would be very very sluggish, the keyboard would take like 5 seconds to respond, the text would wrap around in horrible ways, there
[11:03] <blogten> would be video artifacts on the screen...
[11:04] <blogten> EriC^ : it was awful.  but, lotus pointed out hey, for nvidia, the kernel tries to set gfx modes but that wrecks the nvidia cards and after that nothing works.  so, use -nomodeset the first time you boot, then install the drivers, then reboot, and now you can take out -nomodeset.  and it worked just fine.
[11:04] <DrManhattan> I couldn't get 20.04 to boot normally, kept going to grub prompt, had to actually tell grub what to do in order to boot
[11:04] <blogten> EriC^ : but this is even before the kernel loads now
[11:04] <DrManhattan> from the USB
[11:04] <DrManhattan> once it was installed to system, it was find
[11:05] <DrManhattan> fine
[11:05] <giaco> after upgrade I've lost touchpad middle click via left+right. I can't paste anymore, it's hell
[11:05] <EriC^> blogten: yeah it's very odd, i really dont know what to make of it all myself
[11:06] <blogten> EriC^ : I really, really, really wish people were thorough in what they do, so that people like you and I do not have to troubleshoot an effectively incomprehensible rube goldberg device... just as a suggestion LOL
[11:07] <EriC^> blogten: yup it's difficult i guess, too much hardware and stuff out there coming out each day
[11:07] <Severs> so im lurking here, and im probably wrong... but its seems like all nvidia cards are having issues with 20.04 right now?
[11:07] <blogten> last year I had the -nomodeset thing with 18.04 desktop...
[11:08] <DrManhattan> Severs, my 2070 and nouveau didn't get along at all
[11:08] <blogten> however, this is good to know now.  because it means that I can plan doing the real install, and before I boot the system, I just chroot into the new install, update the grub configuration, and it should work because it was the one thing that was controlling the misbehavior
[11:08] <DrManhattan> worked fine once the nvidia drivers were installed
[11:09] <EriC^> blogten: yup
[11:09] <Severs> i still consider myself a heavy linux noob, so honestly once something breaks hard im at a loss
[11:10] <Severs> i can google alot of things, and get most things back working again, but im still learning
[11:10] <EriC^> Severs: you could always try to install 20.04 to a usb and see how that runs before deciding on the switch
[11:10] <TJ-> EriC^: blogten is the issue solved? When installing, use "try Ubuntu" mode and after installation and before reboot you can manually edit the /target/etc/default/grub.d/local.cfg and add the text-mode setting there
[11:10] <blogten> remember the -nomodeset kernel switch, the first time :)...
[11:10] <Severs> think i will, i know i was told to wait a couple months anyway before upgrading to it.. im assuming so they can get those bugs worked out
[11:11] <EriC^> Severs: yeah exactly, in a few months the first "point release" comes out, hopefully they'd have ironed out some stuff
[11:12] <blogten> TJ- it *appears* the issue is solved by enabling the console mode grub, then update-grub.  however... "solved"... ???... I still do not know what the issue is
[11:13] <TJ-> blogten: I've only been glancing briefly as you've dealt with it but not clear on what the failure/symptom(s) were/are right now
[11:13] <Severs> good to know, im loving the linux experience (for the most part, im a gamer so that can be a pain sometimes) and i am actively trying to learn how to do more stuff, actually just bought a command line bundle thats got a bunch of exercises with it, but ive still a long way to go
[11:14] <DrManhattan> if it weren't for MS Word, BFV, and GTAV, I'd go linux full time
[11:14] <TJ-> blogten: I always have " GRUB_GFXPAYLOAD_LINUX=text " in /etc/default/grub.d/local.cfg so each "update-grub" writes the correct entries to /boot/grub/grub.cfg and /boot/efi/EFI/ubuntu/grub.cfg
[11:14] <Severs> i didnt really have much of a choice tbh.. Win10 became so unstable on this system i couldnt use it anymore, and i tried for 3 months, and had help from 5 different people, trying to figure out wtf was going on, but to no avail
[11:15] <Severs> then i switched to Ubuntu 18.04 LTS and ive been stable ever since
[11:15] <blogten> TJ- ok, thanks for the tip on that
[11:15] <blogten> now, how do I file a bug for this?
[11:15] <DrManhattan> I've never found an OS to be unstable on it's own. There was always some sort of underlying issue that showed in other OSs
[11:16] <DrManhattan> when Ubuntu for WSL has full access to the GPU, I'll most likely only use pure linux on my server
[11:16] <Severs> yeah ive no idea wtf was going on, i was bluescreening multiple times a day... if i formatted and installed from my base disc id be completely stable, as soon as win10 updated, it broke and i went back to blue screening
[11:17] <blogten> EriC^ what's the best way to file a bug for this?
[11:17] <DrManhattan> that is disappointing. My results with w10 have been great, but the Ubuntu 20.04 desktop is just lovely. It's snappy, responsive, and a sheer pleasure to use.
[11:18] <Severs> yeah im looking forward to upgrading to it, just following advice and waiting a smidge before i do
[11:19] <DrManhattan> I found that using 4 dimms in my Ryzen 2700x system gave me terrible issues with stability, even with ram on the QVL
[11:20] <DrManhattan> went down to 2 dimms, smooth as silk
[11:20] <Severs> im not on Ryzen yet, still on the FX series
[11:20] <DrManhattan> i had an fx 8350 and it was solid as a rock for me
[11:20] <DrManhattan> no matter what the OS
[11:20] <Severs> yeah thats what im on
[11:21] <blogten> on this box in front of me, too many dimms and the frequency will go down (and there are also restrictions on voltage)
[11:21] <DrManhattan> I wonder what happened to cause your instability
[11:21] <blogten> just in case something like that could be behind the memory instability you mention
[11:21] <Severs> i have not a clue, especially being my wife has pretty much a carbon copy computer, and never had the same issues
[11:21] <DrManhattan> blogten, maybe, I just returned the RAM and ordered two 16gb sticks instead
[11:22] <DrManhattan> the QVL ram was supposedly certified by the mobo manufacturer to run 4 sticks @ 2933
[11:22] <DrManhattan> it did not run that stably
[11:22] <blogten> DrManhattan also, the restrictions are as per the manual... e.g. if you put in 16x32gb sticks on the box, the bus frequency drops to 800mhz or something like that
[11:23] <EriC^> blogten: i guess to make a bug against ubiquity for the installer (bios_boot + efi) and maybe grub-pc for the gfx stuff?
[11:23] <DrManhattan> yeah, like I said, mobo manufacturer said 4 sticks @ 2933 were certified
[11:23] <DrManhattan> of that particular model anyhow
[11:23] <EriC^> blogten: ubuntu-bug <package> should make a bug report
[11:23] <DrManhattan> was not stable
[11:24] <blogten> EriC^ for sure against grub-pc for the gfx stuff.  the installer, now I do not know, because this is the symptom I had previously, and I only changed the console mode for grub
[11:24] <blogten> EriC^ so many all of this was just grub gfx mode all along
[11:25] <blogten> *so maybe
[11:25] <EriC^> yeah the bug was definitely related to that not the wrong partition stuff
[11:26] <blogten> EriC^ it's super late and I must go to bed.  thank you all for your help so much.  I will file the bug reports, and I will also make the experiment of a fresh install, chroot to fix grub to console mode, and then see if I can reproduce any issue.  I suspect everything will work.
[11:26] <EriC^> blogten: alright, no problem :)
[11:34] <TJ-> !cookie | EriC^
[11:36] <Severs> out of curiosity, are there any good free resources out there for one to learn how to use Linux with exercises? i have the command line bundle, which seems like a good start, but i wanted to know if there was anything else out there
[11:38] <Severs> as useful as google has been to me, i kind of want to be able to do at least some basic trouble shooting without having to rely on the google
[11:40] <EriC^> TJ-: :)
[11:40] <TJ-> Severs: watch #ubuntu and ##linux :)
[11:40] <TJ-> EriC^: you must be exhausted by now trying to out-think that issue!
[11:41] <Severs> TJ- i have been, at least #ubuntu, is #linux on freenode as well?
[11:44] <Luca_D> Hello, everybody. I was able to plug my external sound card MOTU UltraLite AVB on Ubuntu 20.04 5.4.0-33 and run it with Jack. The output works normally. Today I am trying the input. Settings look ok, but although the sound card shows a mic input, I am unable to record it/play it back on any software
[11:44] <quadrathoch2> Severs, it's ##linux not #linux ;)
[11:46] <blogten> !cookie | EriC^
[11:46] <blogten> gn
[11:47] <Luca_D> Here a quick view on my settings: https://imgur.com/a/GD2Rd20
[11:49] <Luca_D> Maybe I should contact some channel dedicated to sound on linux. Any idea of any channel dedicated to that purpose?
[11:55] <HaJones>  I get an authentication failure when using "su" command but I do not have any problems with sudo. can I have set different passwords for su and sudo or have I disabled su?
[11:55] <quadrathoch2> Luca_D, shouldn't ubuntu studio have some sort of contact point?
[11:55] <abtm_> HaJones, I find I have to do sudo su to get the root shell
[11:55] <quadrathoch2> HaJones, sudo takes the user password, su is the root password
[11:56] <quadrathoch2> and by default there is no root password ;)
[11:56] <Luca_D> quadrathoch2, yep they have #ubuntustudio channel. Should I contact them?
[11:57] <abtm_> and a blank root password cannot be processed in su :)
[11:57] <quadrathoch2> Luca_D, yes, they have created ubuntustudio specifically for sound and video editing. so they should know how to handle jack ;)
[11:57] <HaJones> quadrathoch2, abtm_ hahaha... yes sudo su works. :)
[11:57] <Luca_D> quadrathoch2 good thanks!
[11:57] <quadrathoch2> HaJones, if you want a root shell do 'sudo -i'
[11:59] <HaJones> quadrathoch2 thanks, sudo su keeps pwd, sudo -i moves pwd to root /root.
[11:59] <quadrathoch2> HaJones, yes
[12:01] <Neffscape> Hi people... i have a problem with snaps in ubuntu 20.04 LTS. Suddenly all my snaps show squares instead of fonts... including of course the snap store. Can you help me?
[12:01] <dengi> hate snaps
[12:01] <HaJones> quadrathoch2 :)
[12:02] <quadrathoch2> HaJones, if you want, you should read up on which sudo does which, as there are more to it ;) they all do something else
[12:02] <dengi> there more abstraction the more chances to malfunction
[12:02] <dengi> :P
[12:02] <quadrathoch2> Neffscape, did you edit maybe some permissions? sounds like it can't access your fonts
[12:02] <quadrathoch2> but just guessing
[12:03] <Neffscape> @quadrathoch2 the last thing I did was installing AppImage Launcher
[12:04] <quadrathoch2> Neffscape, weird that shouldn't edit something in that regard
[12:04] <Neffscape> quadrathoch2 I did nothing weird, actually
[12:05] <quadrathoch2> Neffscape, did you try to reinstall snap-store for example? maybe that fixes it?
[12:06] <Neffscape> quadrathoch2 actually no. I can try that... but maybe I should reinstall snapd as well
[12:06] <quadrathoch2> Neffscape, yeah could also help
[12:07] <BluesKaj> 'Morning all
[12:08] <Neffscape> quadrathoch2 just did it... nothing happened
[12:08] <ioria> Neffscape, you can also check if this applies to you : https://askubuntu.com/questions/1224125/font-characters-displayed-as-squares-in-ubuntu-18-04
[12:09] <Neffscape> Thank you @ioria, I'm reading
[12:16] <HaJones> quadrathoch2 ok.
[12:21] <Neffscape> @ioria thank you mate, that post solved my problem
[12:21] <ioria> Neffscape, good job
[12:22] <Neffscape> @ioria thank you very very much :)
[12:22] <ioria> Neffscape, no prob
[13:09] <idles> Hi guys, I'm having a little trouble while installing. I'm trying to install on an 5K Retina iMac. I've made a bootable USB, load it upon startup, however, my wireless keyboard and mouse do not respond upon the first installation screen (the one that asks if you want to try or install). any ideas?
[13:16] <PETURBG> hi i have laptop with wifi card and ethernet card. So i want share wifi internet to ethernet and from theer put switch that give connection to 2 more computers. This: https://bgzashtita.es/upload/2648c95f187eff879a53c9890338a1a8d74210e6/20dm7ayaQx4egPf4JRpOOiZS3aoWBW0LJ5Cks197/20200609_082349.jpg
[13:16] <leftyfb> idles: pretty sure your mouse and keyboard are bluetooth. You're going to need a wired mouse and/or keyboard in order to get them paired
[13:16] <idles> I feared that would be the answer, thank you!
[13:17] <Severs> if its the magic keyboard, you should be able to plug it in if you have the right cord and it should work... if its a magic mouse... not so much
[13:19] <tommy``> hi, do you know which is the folder for the icons in the traybar? https://i.stack.imgur.com/EL8UD.jpg i have kvirc without icon
[13:19] <EriC^> PETURBG: i know that if you go to ethernet and in the edit connection switch auto dhcp to > share to other computers, it should get the connection from the wifi, not sure about the part with the switch and stuff as i dont know much about this topic though
[13:21] <PETURBG> EriC^ thank you. i was all night in the kitchen try do it. but the answer if i remember i try it and it didn;t work.
[13:21] <PETURBG> when i run it has connection to switch all two computer are ping... if i change to static ip ping work in router and ping dont work in switch
[13:22] <EriC^> PETURBG: the guys in ##networking might be able to help more if nobody here joins in
[13:22] <PETURBG> EriC^  thank
[13:23] <EriC^> no problem
[13:25] <sruli> have a weird issue on a friends ubuntu 18.04, sometimes the time/date changes, I am thinking to log the time every minute so i can find the last real time before it changes, i also want to log the uptime, question is, is uptime a counter or does it rely on time/date?
[13:27] <quadrathoch2> sruli, is it a dual boot system?
[13:27] <sruli> quadrathoch2: yes it is
[13:27] <quadrathoch2> windows?, sruli (windows doesn't use UTC as the realtimeclock
[13:28] <oerheks> tons of guides online, to fix windows/ubuntu time differences..
[13:28] <sruli> quadrathoch2: it is windows, what can i do about this (if it is indeed windows thats playing with the time)
[13:28] <sruli> oh ok thanks
[13:28] <oerheks> http://ubuntuhandbook.org/index.php/2016/05/time-differences-ubuntu-1604-windows-10/
[13:28] <quadrathoch2> sruli, best way is to change windows to utc rtc
[13:29] <sruli> havnet used windows in a decade.. didnt know the issue might be from windows.. was baffled as to where to start.. thanks guys
[13:31] <sruli> my fiend tells me he hasnt booted windows in weeks, however the ate issue has happned as recent as yesterday, can it still be connected?
[13:33] <sruli> still does anyone know if uptime relies on date/time or a counter?
[13:36] <quadrathoch2> sruli, maybe see if the the clock gets synced should be 'timedatectl'
[13:55] <isene> Audio jack stopped working on upgrade from 19.10 to 20.04. There are some attempts out there to fix it - but none work for me (Dell XPS15) and none seem authoritative. What is the proven way to make the audio jack work as it did before 20.04?
[14:00] <Akuw> hi, i need to see grub when boot, but i cant, what key i have to press to see it?
[14:00] <Andrio> IIRC any key. Can the system actually boot though?
[14:01] <Andrio> Or any™ key
[14:02] <Akuw> any key?
[14:02] <ash_worksi> how do you terminate stdin to md5sum on alpine linux?
[14:02] <Akuw> no
[14:03] <Akuw> i press any key
[14:03] <Akuw> still cant see it
[14:03] <ash_worksi> (I know it's not an ubuntu question, but I feel like this is useful anytime I'm stuck)
[14:03] <ash_worksi> like, ^C doesn't do it
[14:03] <Andrio> Try ^D
[14:04] <A4L> Hello! I'm trying to use uuid.h, but after apt install uuid-dev and libuuid1 I am still geting undefined reference errors by gcc.
[14:04] <Andrio> Akuw, try holding Shift as it starts up
[14:05] <ash_worksi> Andrio: awesome; how did you know that?
[14:05] <Akuw> no working
[14:05] <Andrio> Akuw, does your system actually boot?
[14:06] <Andrio> ash_worksi, no idea; I've been using that for a while as a shortcut to end an SSH session, etc.
[14:06] <Akuw> good
[14:06] <Akuw> i can
[14:06] <Andrio> Akuw, might be worth looking at your Grub config file then
[14:06] <Andrio> /etc/defaults/grub
[14:06] <Akuw> i will reset password
[14:06] <yates> if i have a package name "xyz", how do i see if the package is installed on my system?
[14:06] <Akuw> first
[14:07] <Andrio> yates, apt list xys?
[14:07] <Andrio> xyz*
[14:08] <yates> so "apt list ..." lists _installed_ packages?
[14:09] <Andrio> Yes, but only those in the directory or installed via Apt. Not, for example, if you have a .deb file (use dpkg for that)
[14:09] <yates> right, ok thanks Andrio
[14:09] <oerheks> apt-cache policy <package-name>
[14:12] <fsociety[00]dat> is ubuntu "12.04" ESM getting updates?
[14:14] <oerheks> fsociety[00]dat, no. 12.04 esm is dead
[14:14] <fsociety[00]dat> oerheks, thanks
[14:14] <leftyfb> fsociety[00]dat: https://ubuntu.com/blog/introducing-ubuntu-12-04-esm-extended-security-maintenance
[14:14] <leftyfb> oerheks: no, 12.04 is part of ESM. But that is only through Canonical
[14:14] <fsociety[00]dat> thanks again all
[14:15] <ioria> A4L, that would be a library error : e.g.   g++ test.cpp -luuid
[14:16] <fsociety[00]dat> leftyfb, you mean I must pay for support?
[14:16] <leftyfb> fsociety[00]dat: you must have ESM support. You'll need to contact Canonical for more information on ESM.
[14:17] <leftyfb> !esm | fsociety[00]dat
[14:17] <yates> why is it that i can run an applicaiton that requires java-11, but "apt list java*" does not show any java 11 packages?
[14:17] <fsociety[00]dat> OK
[14:18] <iffraff> Hi, can I resize ( shrink ) my root volume which is lvm ( it says lvm2 pv) using gparted?
[14:18] <oerheks> yates, try openjdk something
[14:18] <leftyfb> yates: because you probably have openjdk installed, not any package with "java" in the name
[14:18] <yates> http://paste.ubuntu.com/p/hdh4DPbHgq/
[14:18] <leftyfb> iffraff: you should be using lvm tools to manage lvm volumes
[14:19] <A4L> ioria: On debian it worked out of the box. On ubuntu, the /usr/lib/libuuid.so didn't even get created.
[14:19] <ioria> A4L, /lib/x86_64-linux-gnu/libuuid.so.1   ?
[14:20] <yates> correction: http://paste.ubuntu.com/p/ym2cpyHqK6/
[14:20] <iffraff> leftyfb: can you suggest an lvm tool that is similar to gparted?
[14:20] <yates> is one of those equivalent to java11?
[14:20] <leftyfb> iffraff: https://www.digitalocean.com/community/tutorials/how-to-use-lvm-to-manage-storage-devices-on-ubuntu-18-04
[14:20] <oerheks> !find openjdk-11
[14:21] <leftyfb> yates: what is your issue exactly?
[14:21] <yates> oerheks: there is no openjdk on my path
[14:22] <yates> leftyfb: my issue is to find which package is providing java11
[14:22] <iffraff> leftyfb: interesting.  it's all cli, which is ok, I'm just a bit nervous.  Is LVM the best way to go for a laptop?  I mean the ship has sailed but I'm just wondering
[14:22] <leftyfb> yates: install the package named openjdk-11
[14:22] <A4L> ioria: you're right, the file was there. But the problem persists, with -luuid and gcc, my code compiles only on debian... But I did manage to `find | grep` both uuid.h and libuuid.so files.
[14:23] <yates> leftyfb: my java11 app runs, so there is already a java11 installed. i'm trying to find which one it is
[14:23] <leftyfb> iffraff: not a question to be answered here. Try #ubuntu-offtopic for advice/opinions on whether you should be running lvm on a laptop
[14:23] <ioria> A4L, ok
[14:23] <leftyfb> yates: why?
[14:25] <A4L> iodia: don't worry about it, I guess there are problems in my code, after trying a minimal example, it worked :facepalm:.
[14:25] <ioria> A4L, ah, ok
[14:26] <iffraff> leftyfb: thanks!
[14:27] <yates> leftyfb: because i'm writing an installation guide for the application and i want to specify the proper java11, not just willy-nilly something i think it should be
[14:28] <leftyfb> yates: ls -l /etc/alternatives/java
[14:28] <yates> oerheks: thanks - i see several results in "atp list *openjdk*" so it must be one of them
[14:28] <leftyfb> yates: where does that point to?
[14:28] <yates> java-11-openjdk-amd64/bin/java
[14:28] <yates> thanks leftyfb!
[14:28] <yates> thanks oerheks
[14:29] <leftyfb> yates: where did it point to?
[14:29] <leftyfb> ok, missed that
[14:29] <oerheks> sudo apt install openjdk-11-jdk
[14:29] <yates> i just told you
[14:29] <leftyfb> sorry
[14:29] <yates> np
[14:29] <leftyfb> yates: so the package you have installed is openjdk-11
[14:29] <leftyfb> or openjdk-11-jre
[14:30] <yates> the jdk for for building java apps (includes the compiler), but jre is sufficient for running the apps
[14:30] <yates> ?
[14:30] <yates> s/for for/is for/
[14:31] <oerheks> jdk includes jre, IIRC
[14:31] <yates> ok, that's good enough!
[14:43] <dengi> does lubuntu support live persistant usb?
[14:43] <dengi> will it boot?
[14:45] <EriC^> dengi: yes
[14:46] <dengi> I am using mkusb yet to boot fully
[14:46] <dengi> it keeps throwing some errors like bad sector or something
[14:46] <EriC^> !persistent | dengi
[14:49] <MikeRL> Anyone know how to change the DNS servers on 20.04? I have asked on the mate channel for the pi 4 install, but I can try via the command line as well.
[14:49] <dengi> ty
[14:49] <MikeRL> Link I've used for reference: https://www.dedunu.info/2020/05/24/ubuntu-20-04-server-change-dns-and-domain
[14:50] <EriC^> dengi: try following the official guide, if you run into any issues feel free to share in the channel for help, np
[14:53] <isene> Audio jack stopped working on upgrade from 19.10 to 20.04. There are some attempts out there to fix it - but none work for me (Dell XPS15) and none seem authoritative. What is the proven way to make the audio jack work as it did before 20.04?
[14:55] <ballison> i'm setting up mail relay on Ubuntu 18 and it's not working.  i use mailx over on my Amazon Linux servers, and wanted to try to use the same config here
[14:55] <ballison> so i installed bsd-mailx
[14:55] <ballison> and added my config to /etc/mail.rc
[14:55] <ballison> but it's not reading the "set smtp=smtp://smtp-relay.gmail.com:587
[14:56] <ballison> line
[14:58] <dengi> sudo usb-creator-gtk opens a gui dialog where no slider is present to set a persistant vol size
[14:58] <leftyfb> ballison: first, "ubuntu 18" is not a version of Ubuntu. Also, you might get better help from #ubuntu-server
[14:58] <dengi> persistent
[15:07] <dengi> EriC^
[15:17] <ForeverNoob[m]1> hello, what is the best way in Ubuntu 18.04 to change DNS settings via CLI?
[15:21] <ggmatth> Do you want to change the dnsservers youre using?
[15:22] <ForeverNoob[m]1> yes
[15:24] <odp> does this make sense to anyone? when i'm using my nvidia video card (GTX 660) in Ubuntu or Debian, i get random freezing of everything. the issue doesn't happen if i use onboard video. i suspected it was an issue with the video card, but it works in windows ok? furmark and other tests are ok
[15:24] <ggmatth> You need to add some config into youre netplan config
[15:25] <ggmatth> follow this config example and youre fine: https://linuxize.com/post/how-to-set-dns-nameservers-on-ubuntu-18-04/
[15:25] <ggmatth> edit this file: /etc/netplan/01-netcfg.yaml
[15:25] <ggmatth>   and add this  nameservers:
[15:25] <ggmatth>           addresses: [1.1.1.1, 1.0.0.1]
[15:26] <ggmatth> odp: wich drivers are you using?
[15:28] <rangergord> Can non-server Ubuntu easily switch to networkd instead of NetworkManager?
[15:29] <sei> suggest me cheap laptop for Ubuntu with good battery and SSD support ... coreboot preferred
[15:29] <artistsvoid> sei: refurbished thinkpad
[15:30] <artistsvoid> buy cheap on ebay, upgrade ram and ssd yourself, buy a completely intel based one, done
[15:30] <ForeverNoob[m]1> ggmatth: thanks, I'll check it out.
[15:30] <sei> @artistsvoid: thanks
[15:31] <EriC^> dengi: i think yumi and rufus also can make persistent usb's
[15:31] <EriC^> dengi: why do you want a persistent usb in particular? why not make a full install to the usb?
[15:32] <dengi> to run some binaries on it instead of vm
[15:32] <dengi> for extra security
[15:33] <rangergord> can Ubuntu desktop easily switch to using networkd instead of NetworkManager?
[15:35] <EriC^> dengi: why not make a vm with encryption and run them there?
[15:35] <ioria> rangergord, yes
[15:36] <dengi> EriC by security I mean to prevent binary escape from an vm
[15:36] <EriC^> dengi: oh i see
[15:37] <dengi> also the skeleton of iso - I need two partion, one bootable and one swap?
[15:38] <dengi> I have a live usb so hmm if I create one more partition how can I make it persistent and accessible from a live os?
[15:39] <EriC^> dengi: i'd do a normal install to the usb, it's far easier and you get more stuff too, able to update kernel, etc
[15:41] <dengi>  Edit the iso file to replace quiet splash with persistent. Yes, you can edit the binary iso file and replace 12 characters with 12 other characters and flash the output to the target device (usually a USB pendrive). sed can do it. Create a partition 'behind' the flashed copy of the edited iso file. fdisk can do it. Create an ext2 file system in this partition and put the label casper-rw on this partition. mkfs.ext2 can do it. Flush the
[15:41] <dengi> buffers. sync can do it.  :)
[15:41] <dengi> found howto :)
[15:47] <EriC^> dengi: interesting
[15:48] <odp> ggmatth: this is just with noveau. the system doesn't stay stable long enough for me to switch to nvidia
[15:51] <MikeRL> Anyone know about DNS server editing via the terminal? I figure'd I'd repost since it's been a while.
[15:52] <lordcirth> MikeRL, what do you need to do?
[15:52] <leftyfb> MikeRL: yes, that is a thing. Do you have a support question with details?
[15:52] <MikeRL> Dang someone had the same question, but for 18.04.
[15:52] <MikeRL> Let me check that first.
[15:52] <MikeRL> dns
[15:53] <MikeRL> Oops
[15:54] <MikeRL> That link, https://linuxize.com/post/how-to-set-dns-nameservers-on-ubuntu-18-04/ mentions IPv4 but not IPv6. I will post my question.
[15:54] <MikeRL> OG question was "Anyone know how to change the DNS servers on 20.04? I have asked on the mate channel for the pi 4 install, but I can try via the command line as well."
[15:54] <MikeRL> Reference URL I was following: https://www.dedunu.info/2020/05/24/ubuntu-20-04-server-change-dns-and-domain
[15:55] <leftyfb> MikeRL: Ubuntu does not have a DNS server installed by default. What is your exact issue/goal with ubuntu at the moment?
[15:55] <MikeRL> Note that as mentioned I'm on MATE and the DNS servers under System Settings are similar to GNOME 2.
[15:56] <leftyfb> oh, change which nameserver you are utilizing
[15:56] <MikeRL> To change my default DNS on the Pi to Cloudflare from my ISPs ones.
[15:56] <MikeRL> How to do that? I tried various methods and got confused a little.
[15:56] <leftyfb> MikeRL: Do you need to only set this on your 1 pi or why not set it on your router so all your clients use the same DNS server via dhcp?
[15:56] <ggmatth> MikeRL: if you replace 1.1.1.1 with 2606:4700:4700::1111 you should be fine
[15:56] <ggmatth> on the linuxize link
[15:57] <MikeRL> ggmatth, Can I use both IPv4 and IPv6 in there?
[15:57] <leftyfb> MikeRL: is there a specific reason you need to set an ipv6 DNS serveR?
[15:57] <leftyfb> nameserver*
[15:57] <MikeRL> My gateway had issues when I changed the DNS.
[15:57] <MikeRL> Does it matter?
[15:58] <leftyfb> MikeRL: you should change it on your router/gateway under DHCP settings, not for the gateway's networking settings
[15:58] <ggmatth> aslong you've got ipv6 capebilities your fine
[15:58] <leftyfb> MikeRL: using ipv6 will probably run into issues at some point
[15:59] <ggmatth> Or configure ipv6 adress first and ipv4 second
[15:59] <leftyfb> ggmatth: that's not how nameservers work
[15:59] <leftyfb> ggmatth: multiple nameserver settings is a random round robin. Not an order of priority
[16:00] <ggmatth> correct
[16:01] <MikeRL> There's nothing I can find under DHCP settings.
[16:02] <MikeRL> Is there a way to configure it on the device itself?
[16:02] <leftyfb> yes
[16:03] <leftyfb> MikeRL: since you're using a DE(desktop environment), it's best not to change these types of things via the command line
[16:04] <leftyfb> MikeRL: open the network settings
[16:04] <MikeRL> Yeah.
[16:05] <MikeRL> I can find it under System Settings > Advanced Networking Configuration > Click Wifi Network > Click cog wheel on bottom left > And then under IPV4 and IPV6 Settings tabs.
[16:05] <DarthFrog> Hi folks.  I have a question about Livepatch.  I have it installed on 3 machines already.  I wish to do a fresh install of 20.04 on one of them.  Do I have to de-register Livepatch on the initial system first or what do I have to do to get it running again on the the new install?
[16:06] <oerheks> DarthFrog, same as you did on your 3 machines?
[16:06] <leftyfb> MikeRL: ok, and there should be a "DNS" setting. Disable the "automatic" button and put your nameserver ip address in there
[16:06] <DarthFrog> oerheks: But won't that exceed the 3 permitted machine limitation?
[16:07] <MikeRL> https://imgur.com/a/bVWS5vo
[16:07] <leftyfb> ah
[16:07] <MikeRL> Remember it doesn't look like Gnome 3 but 2.
[16:07] <leftyfb> MikeRL: click the "Automatic(DHCP)" dropdown
[16:07] <MikeRL> Thanks.
[16:08] <oerheks> DarthFrog, maybe, but that should be solvable.. https://auth.livepatch.canonical.com/
[16:08] <MikeRL> Yeah. It's already set to that.
[16:08] <leftyfb> MikeRL: no, list me the options
[16:08] <leftyfb> I forget the name of it
[16:08] <MikeRL> OK.
[16:09] <DarthFrog> oerheks: Thanks.
[16:09] <leftyfb> MikeRL: "Addresses Only"
[16:09] <leftyfb> pick the one that ends in that
[16:09] <MikeRL> Options are "Automatic (DHCP), Automatic (DHCP) addresses only, Manual, Local-Link Only, Shared to other computers, and disabled"
[16:10] <MikeRL> Same for IPV6?
[16:10] <leftyfb> MikeRL: then your bottom options will change. Enter your nameserver(s)
[16:10] <leftyfb> MikeRL: IS your router giving your client an ipv4 ip address, ipv6 or both?
[16:10] <MikeRL> Under DNS Servers? Other boxes are search domains and DHCP client id.
[16:10] <leftyfb> MikeRL: if both, then just worry about ipv4. Do not worry about ipv6
[16:11] <leftyfb> MikeRL: just "DNS serverS"
[16:11] <MikeRL> Both. It is IPV6 capable and a year and a half old.
[16:11] <MikeRL> Thanks. Guess I just forgot the setting. Now to verify.
[16:11] <leftyfb> MikeRL: just worry about ipv4
[16:12] <leftyfb> MikeRL: you can verify with "nmcli device show|grep DNS"
[16:12] <leftyfb> MikeRL: though you might have to reconnect to the network for the changes to take
[16:13] <leftyfb> MikeRL: though you should really look into doing this all via DHCP and your router going forward
[16:15] <MikeRL> Uh oh.
[16:15] <MikeRL> The DNS servers from that terminal command are still ISP ones.
[16:16] <MikeRL> Haven't rebooted.
[16:16] <MikeRL> Can I restart the networking service? Will that fix it?
[16:16] <MikeRL> Oh nvm.
[16:17] <MikeRL> Now it's working.
[16:17] <MikeRL> Thanks for the help. I knew how to do this like ten years ago.
[16:18] <goddard> can you disable subtitles in video player?
[16:18] <goddard> how do you save it
[16:19] <oerheks> goddard, sure, unless they are captured in the moviestream
[16:19] <goddard> i am trying to play a movie but it says i cant because of the subtitles
[16:19] <goddard> i just want ti disable them
[16:20] <oerheks> On what videoplayer?
[16:20] <goddard> video player from gnome
[16:20] <goddard> their names are stupid
[16:20] <oerheks> all of them have a subtitle settings
[16:20] <goddard> oerheks: but what if you cant open the file?
[16:21] <oerheks> "trying to play a movie but it says i cant because of the subtitles"  explain please?
[16:21] <oerheks> screenshot?
[16:21] <goddard> PGS Subtitles decorder is required to play the file but not installed
[16:22] <goddard> i never want subtitles
[16:22] <goddard> even when i make a change to the language or subtitles "Videos" doesn't save it
[16:23] <oerheks> when i google on that error, https://askubuntu.com/questions/1142253/unable-to-play-file-no-pgs-subtitle-decoder-for-totem
[16:23] <goddard> sure but how to save the settings
[16:24] <oerheks> so, you found that annswer and installed the -ugly annd -bad stuff?
[16:25] <goddard> ya even though i dont care aobut subtitles i can still click cancel and it will play the video
[16:25] <goddard> but it never saves the settings
[16:25] <goddard> to the video file
[16:25] <goddard> is this just not a feature of gnome videos
[16:25] <Sven_vB> how can I use dpkg option --refuse-conflicts with aptitude, and how with apt?
[16:26] <oerheks> not sure any setting will be saved to a videofile...
[16:26] <oerheks> why would it?
[16:26] <goddard> why wouldn't your settings be saved?
[16:26] <goddard> like the language you want and subtitle setting
[16:27] <oerheks> goddard, if you had installed those plugins, you would not have this question.
[16:27] <Sven_vB> the idea is, if I accidentially try and install something that would have postfix as a dependency, uninstalling nullmailer is so bad an idea it shall not even be considered.
[16:27] <goddard> oerheks: Yes I would because I would still have to change the language and subtitle setting for each video
[16:29] <oerheks> .. sounds like a pirated movie :-D
[16:29] <oerheks> lolz
[16:29] <goddard> why is that?
[16:30] <oerheks> normal dvd/br does not behave lik that
[16:30] <oerheks> so, complaint to the spreader of that movie? or recode it.
[16:31] <carcamovski> hello everyone!, I have bought a FIFINE K669B microphone but it's not working on Ubuntu 20.04. I have posted the issue here: https://ubuntuforums.org/showthread.php?t=2445053 but I haven't receive any responde, has anyone had this same problem?
[16:32] <sarnold> carcamovski: is there anything in dmesg that looks like it might be related?
[16:33] <oerheks> carcamovski,  goto systemsettings > sound > input > select device?
[16:34] <metbsd> ubuntu installation halt on this laptop everytime
[16:34] <goddard> oerheks: I used mpv and it works properly
[16:34] <goddard> oerheks: i think the real problem is the lack of functionality from gnome videos
[16:35] <carcamovski> @sarnold yes, but the other questions haven't been answered as well
[16:36] <carcamovski> @oerheks I did that. But the mic does not get any signal. I mean, you cannot see the bar moving when you talk. Additionally, the microphone works well in Windows. And also works well in Ubuntu only when you boot the system without the mic connected, then if you connected when you log to Ubuntu, it works.
[16:37] <carcamovski> @oerheks but if you reboot with the mic connected, it does not work at all
[16:38] <StatelessCat> Hi :)
[16:41] <oerheks> carcamovski, is it connected to a usb3 port, blue?
[16:47] <sorcerer> any idea why my keyboard volume controls would randomly stop working?
[16:49] <Sven_vB> sorcerer, which Ubuntu version?
[16:49] <sorcerer> 20.04
[16:49] <sorcerer> it just started out of no where, not sure what happened
[16:50] <sorcerer> sound works, i can turn it up n down manually in the volume icon
[16:51] <Sven_vB> sorcerer, I haven't tried in focal, but in trusty with xfce I had the problem that the volume deamon locked onto the first soundcard that was there on boot time, and would always control that one, even when I disabled it to give priority to my USB speakers or bluetooth headphones.
[16:52] <Sven_vB> sorcerer, my workaround was to define system-wide hotkeys for a custom command to "amixer set CardNameHere 2dB+" / ???" 2dB-"
[16:52] <sorcerer> i wonder if because i installed xubuntu originally and apt-get'd the desktop for regular ubuntu plasma, if plasmas volume daemon is fighting xfce's
[16:52] <Sven_vB> sorcerer, is xfce's still installed?
[16:52] <joshh> that shouldn't happen, is it on the right sound output device?
[16:53] <sorcerer> probably cause i never removed it
[16:53] <sorcerer> yes it is
[16:53] <sorcerer> same one its been on, sound works
[16:53] <sorcerer> can manually change it from icon
[16:53] <sorcerer> just the keyboard keys dont work
[16:53] <Sven_vB> sorcerer, if they conflict with each other, the package deps should usually say so, and apt would remove the conflicting package.
[16:53] <joshh> ive had chrome steal my media keys from other apps, but not volume
[16:54] <Sven_vB> sorcerer, check in pavucontrol if the keys act on a wrong soundcard
[16:54] <joshh> volume keys have always worked for me, and you should be able to switch between desktops with no issues at all
[16:54] <sorcerer> Sven_vB: the reason i say that about conflicting tho, is because when 20.04 first came out and i install plasma ontop of xubuntu, i had double icons in taskbar, xfce + plasmas taskbar icons
[16:56] <sorcerer> im in pavucontrol what am i looking for
[16:57] <sorcerer> everything looks normal here
[16:59] <sorcerer> i bet if i reboot it'll fix itselfs
[16:59] <sorcerer> itself*
[16:59] <sorcerer> blah dont wanna reboot but oh well brb gonna see if it works
[17:01] <sorcerer> yup fixed it
[17:01] <sorcerer> wonder what it was
[17:09] <carcamovski> @oerheks nop, it's connected to a normal usb port
[17:11] <sorcerer> hey
[17:11] <sorcerer> something funny
[17:11] <sorcerer> before i rebooted i had that issue, and NO updates
[17:11] <sorcerer> now all of a sudden after reboot, i have updates
[17:12] <sorcerer> and its my pulse audio pack
[17:13] <oerheks> you lucky ..
[17:14] <oerheks> carcamovski, no idea then, if enabled usb device stops booting
[17:30] <carcamovski> oerheks what do you mean with that?
[17:31] <PETURBG> pistache
[17:31] <sarnold> PETURBG: if that's a password, you should pick better passwords :)
[17:40] <rangergord> What's the difference between http://cdimage.ubuntu.com/releases/18.04.4/release/ubuntu-18.04.4-server-amd64.iso you find on Ubuntu 18.04's page, and https://releases.ubuntu.com/18.04/ubuntu-18.04.4-live-server-amd64.iso  which you find on ubuntu.com's Older Releases -> Download page?
[17:40] <rangergord> basically server vs live-server
[17:41] <quadrathoch2> rangergord, server is the old debian installer, live-server is subiquity
[17:42] <rangergord> why are they separated/hidden depending on the page you're looking at? Which one does Canonical recommend? Live Server I take it?
[17:42] <leftyfb> correct
[17:42] <rangergord> some pages have live only, others have non-Live only
[17:43] <rangergord> OK thanks
[17:43] <quadrathoch2> rangergord, in 20.04 only live-server is still around (there is still a server one, but not sure how supported that is)
[17:44] <leftyfb> quadrathoch2: the ubiquity server is still around and still supported
[17:45] <quadrathoch2> oh didn't know that, as I can somehow remember there were some complaining about live-server having some issues with auto installs, but it was to late to fix or sth
[17:49] <rangergord> co-worker's telling me he couldn't install Live Server on an embedded device because it doesnt support  preseed/late_command.
[17:49] <tomreyn> leftyfb: "ubiquity server"? i assume you mean either "ubiquity (desktop)" or "subiquity (AKA live-server)" or "debian-installer (AKA alternative server)"?
[17:49] <rangergord> but Server worked fine
[17:50] <tomreyn> rangergord: that's correct, live-server uses a different unattended installation mechanism (which also allows for running custom commands post-installation).
[17:51] <rangergord> tomreyn, good to know for the future
[17:52] <tomreyn> https://discourse.ubuntu.com/t/please-review-design-for-automated-server-installs/11923
[17:53] <tomreyn> so you have "late-commands" there.
[17:58] <rangergord> tomreyn, that is an obnoxious website. I didn't even know browsers could let a webmaster hijack CTRL+F
[17:59] <tomreyn> rangergord: it's a discourse forum software installation. press ctrl-f twice to get the browser integrated search
[18:05] <kinghat> why do i still have to enter a password if i put this ad the end of my sudoers file? kinghat ALL=NOPASSWD: /usr/sbin/rtcwake
[18:09] <kinghat> at*
[18:16] <kur1j> I have a WD Mybook. It works completely fine under Windows. When I plug it into my Ubuntu 18.04 box it doesn't even get detected in dmesg or show up as a device at all. Any suggestions?
[18:17] <sarnold> if you watch journalctl -f when plugging it in, do you see anything?
[18:17] <sarnold> if you compare lsusb output before plugging it in and after plugging it in, do you see anythign change?
[18:17] <kur1j> journalctl -f shows nothing when I unplug and plug it in
[18:18] <oerheks> sudo fdisk -l # does it say exfat?
[18:18] <tomreyn> not sure this still applies but there was https://askubuntu.com/questions/116478/wd-external-hard-drive-not-detected
[18:19] <kur1j> sarnold: no change in lsusb either
[18:19] <kur1j> oerheks: can't even get to that part because it doesn't even show up as a device
[18:20] <oerheks> oke, see the url from tomreyn ..
[18:20] <oerheks> too good protected drive :-D
[18:48] <skyliner_369> https://paste.debian.net/1151232/ how's this bash script look?
[18:49] <oerheks> beauty contest on a debian pastebin?
[18:49] <lotuspsychje> lol
[18:50] <skyliner_369> making sure I'm not missing anything obvious
[18:50] <lotuspsychje> skyliner_369: maybe ##linux or #bash ?
[18:50] <skyliner_369> Bash.
[18:51] <skyliner_369> oh
[18:51] <skyliner_369> mis-read lol
[18:51] <sarnold> I think you'd do better to outsource the timing to cron or systemd timer units; replace the complicated directory handling with two lines: mkdir -p /path/to/whatrever ; cd /path/to/whatever ---  add 'set -e' and 'set -o pipefail' at the top
[18:52] <skyliner_369> well the trouble with cron is, my computer isn't on all the time
[18:52] <skyliner_369> so I'd set cron to run it every 15 min  >.>
[18:53] <skyliner_369> plus if it fails, it'd try again in 15 min
[18:53] <oerheks> make a proper systemd unit?
[18:55] <skyliner_369> I don't even know... systemd is... hmm...
[18:55] <skyliner_369> maybe I can cut out all the timing bs and just run it manually since, well, I don't wanna run it when minetest is open...
[19:14] <skyliner_369> does focal fossa still use the water-name file browser? something like nautious
[19:16] <skyliner_369> more accurately, is nautious still powering the desktop files/icons? notalis nautlis nautilis how do I spell it?
[19:20] <skyliner_369> ohhhhhh "fun" terminal is refusing to open. Ctrl+Alt+T is doing zilch
[19:20] <sarnold> skyliner_369: nautilus developers removed desktop icons https://www.omgubuntu.co.uk/2018/01/gnome-desktop-icons-removed-3-28
[19:20] <skyliner_369> right. so what's the alternate that focal fossa is going with?
[19:21] <diskin> I'm trying to configure a keyboard shortcut and the system is not accepting is. How to find out which application is using it?
[19:22] <sarnold> skyliner_369: take your pick https://ubuntu.com/download/flavours
[19:22] <Treskjeg> Anyone know of a good way to view 360 VR photos in Ubuntu? I'm looking for something that lets you pan across the photos in a spherical way much like it works on my Android phone or in HTML5 viewers.
[19:22] <skyliner_369> main focal fossa.
[19:22] <Atlenohen> hello
[19:22] <Atlenohen> Are there any risks upgrading from 19.10 to 20.04 ?
[19:23] <Atlenohen> Like how do the custom configs work, I mean, if programs changed a lot, how would it update the defaults, but keep my custom settings?
[19:23] <bparker> that's like asking if there is any risk going outside
[19:23] <oerheks> Atlenohen, no, but i would prepare a fresh iso on usb, and read the releasenotes
[19:23] <bparker> oerheks: demonstrably false
[19:23] <bparker> mine wouldn't even boot after upgrading
[19:24] <Atlenohen> Well IDK someone warned me so I'm not dillema whether I should reinstall or upgrade, I put 3 days of configs into this thing and don't want to redoit and the worst part was, it was like a week before 20.04 released.
[19:24] <Treskjeg> @Atlenohen that depends on how much you've customized your system. In my experience, upgrades normally overwrite all custom settings except in those cases where it asks you during the upgrade if that's what you want.
[19:24] <oerheks> Atlenohen, you asked this yesterday too...
[19:25] <Treskjeg> Overall, my upgrade experience was fine, but you'll want to make sure your screen doesn't go to sleep during the upgrade in case it asks you for input on something.
[19:25] <oerheks> grinn, there is no way to guarantee, so backup your precious files
[19:25] <Atlenohen> Well, thing is, I kinda forgot all I did, but I did firefox, ftpd, installed a ton of programs, configured desktop, power settings, and a few other stuff, I could save it all and migrate but it'll probably take a whole afternoon to get it right
[19:25] <Atlenohen> oerheks: I fell asleep
[19:26] <oerheks> good luck!
[19:26] <Atlenohen> Perhaps I could browse the stuff and remember what I setup, .dot folders are the program's config's right?
[19:26] <joshh> Atlenohen: ive upgraded 2 19.04 laptops and 1 18.04 server to focal, with zero issues and no lost settings (cinnamon on the laptops)
[19:26] <skyliner_369> The updater should disable the lock (sleep) screen
[19:26] <joshh> i would say back up and go for it
[19:26] <joshh> actually 2 18.04 servers
[19:27] <joshh> its fine
[19:27] <joshh> one of the laptops has been upgraded every 6 months since bionic with zero issues also
[19:27] <Atlenohen> You mean I backup and go with upgrade ... well yeah that's I guess the way, backup it all up no matter which way, indeed. I'm not a noob when it comes to Windows, but I look like one here. :(
[19:28] <joshh> you only need to worry about when major servers or desktop environments do incompatible config changes between versions, etc which is rare and you would generally know
[19:28] <joshh> and ubuntu docs usualy cover major gotchas
[19:28] <skyliner_369> Focal Fossa main seems a touch buggy. Disappearing desktop icons, and now terminal is refusing to open.
[19:29] <joshh> if you use the stock gnome setup there may be more or different issues than i had, but i'd be surprised if it was super widespread
[19:29] <Atlenohen> I actualy have Kubuntu tho
[19:29] <joshh> ive upgraded an insane amount of debian and ubuntu systems over the years though and don't think i've ever had a real problem
[19:29] <bparker> after a recent security update on 18.04, my iGPU decided to freeze after every login. upgrading to 20.04 fixed it for some reason
[19:29] <joshh> its probably fine, how much has kde changed in 6 months?
[19:30] <Atlenohen> First time I'm on KDE, after Mate and Cinnamon on LMint for many years so IDK
[19:30] <joshh> upgrading lts to lts desktops would be a bigger riskier upgrade, but not from 19.10
[19:30] <metbsd> hey why is ubuntu freezes when i install on lenovo legion y530 laptop
[19:30] <Atlenohen> KDE looks even more like windows, great!
[19:31] <metbsd> anyone know why?
[19:32] <bparker> metbsd: you need to be more vauge. can you you describe the problem using metaphors and interpretive dance?
[19:32] <Atlenohen> Well that's why upgrades in Windows are notoriously buggy, I mean, I never upgrade there, I even stopped updating (because it breaks and changes all the time everything, resets settings, introduces spying) so yeah this isn't to be surprising.
[19:32] <Atlenohen> Good thing I haven't done that much ...
[19:33] <joshh> most of linux upgrades are just newer versions of packages/programs that use the same configs and don't change THAT much, and then the distro-specific stuff that they do a good job of scripting, etc to be pretty reliable
[19:33] <joshh> that said i never had problems with updates in other OSs either, maybe im just lucky
[19:35] <ioria> Atlenohen, the do-release-upgrade does not touch home's files (where usually are custom configs); but if you have changed system wide configs, you'll be notified if you want to keep them
[19:35] <NoImNotNineVolt> arch updates regularly cause me downtime.
[19:41] <metbsd> ya i bootup cd, click install, select partition / at lvm xfs of volume group at /dev/sda2, swap at lvm swap, /boot at ext4 /dev/sda1, it starts to install, and when it gets to "almost finish up". it stops forever. mouse can move
[19:41] <metbsd> mouse can move
[19:42] <metbsd> ctrl-alt f12 don't work
[19:42] <metbsd> i don't know what else to tell you
[19:42] <metbsd> xubuntu, ubuntu
[19:42] <metbsd> lubuntu
[19:42] <metbsd> all the same
[19:42] <metbsd> md5 checked
[19:43] <joshh> always stops at same spot?  anything in dmesg or other logs?
[19:44] <metbsd> no
[19:45] <ioria> metbsd, try the automatic install (without lvm and stuff)
[19:45] <metbsd> it froze so
[19:45] <joshh> do other linux/unix os's work on the same laptop?
[19:45] <metbsd> i can't. there's window there
[19:46] <ioria> metbsd,  the automatic install fails  too ?
[19:47] <metbsd> i need windows so i can't risk that
[19:48] <joshh> does archwiki mention your laptop model?
[19:48] <metbsd> https://imgur.com/a/s1BqZjx
[19:49] <bparker> is this an EFI system?
[19:49] <metbsd> no it's not
[19:49] <metbsd> i use exactly same layout installed debian
[19:49] <joshh> similar kernel?
[19:49] <metbsd> linuxmint, manjaro
[19:50] <metbsd> for kernel im not sure if they are same
[19:50] <joshh> hmm, ok
[19:50] <joshh> weird issue then i guess
[19:52] <metbsd> i think the disk layout is ok because it works in other distro.
[19:52] <SanShi> Alter na lol alter ich scheiss mich an alter
[19:53] <metbsd> i have lvm2 installed, the lvm2 and systemd hook is in initcpio
[19:53] <oerheks> SanShi, wrong channel dude
[19:56] <metbsd> HOOKS=(base systemd udev autodetect modconf block sd-lvm2 filesystems keyboard fsck)
[19:56] <metbsd> it's in cpio conf
[19:58] <metbsd> maybe ubuntu didn't put those hooks?
[19:58] <metbsd> so it stops at making initramfs?
[19:59] <metbsd> let me try same layout on vms
[20:05] <oerheks> nice, Intel-microcode update version: 3.20200609.0ubuntu0.18.04.0
[20:09] <metbsd> looks like it works in vmware
[20:09] <metbsd> so it's firmware issue
[20:12] <kinghat> what is a benign command that needs permission that i can test to see if its also not working in my sudoers file?
[20:13] <kinghat> because i cant remove the privs from rtcwake for my user so ill test another command
[20:15] <leftyfb> kinghat: ls? vim?
[20:16] <oerheks> ALL=NOPASSWD: /usr/sbin/rtcwake  ... maybe a space after = ??
[20:18] <oerheks> hmm no
[20:19] <kinghat> ive tried many different combos like that. even ALL=(root) NOPASSWD:
[20:20] <kinghat> kinghat ALL=NOPASSWD: /bin/ls
[20:20] <kinghat> $ ls /lost+found
[20:20] <kinghat> ls: cannot access '/lost+found': No such file or directory
[20:20] <metbsd> so it's working
[20:20] <joshh> there's a way to list all your sudo perms but i can never remember and need the man page
[20:22] <kinghat> ls: cannot open directory '/root/': Permission denied
[20:23] <kinghat> im opening a new shell after saving the sudoers file as well to make sure.
[20:29] <kinghat> i thought i didnt need to use sudo anymore since i was setting the command to NOPASSWD. im dumb, carry on.
[20:30] <oerheks> oh
[20:32] <metbsd> https://pasteboard.co/JckY12e.jpg
[20:32] <metbsd> it stopped again
[20:32] <metbsd> there is error
[20:33] <metbsd> how do i check the log
[20:35] <metbsd> anything i can try?
[20:36] <sarnold> metbsd: those messages are standard gtk noise
[20:37] <metbsd> ok that sucks
[20:37] <sarnold> metbsd: afaict basically all gtk applications are constantly printing such warnings
[20:37] <sarnold> yes
[20:37] <metbsd> why does it stop
[20:37] <metbsd> i have no luck use ununtu
[20:38] <joshh> maybe you can try the console installer and debug easier that way
[20:38] <metbsd> how
[20:38] <oerheks> interesting you claim mint and manjaro works..
[20:38] <joshh> it's simpler to get a separate shell in it, etc
[20:39] <metbsd> yeah they work
[20:39] <metbsd> but arch takes too much effort to tweak
[20:39] <metbsd> manjaro is not as popular
[20:40] <joshh> manjaro looks pretty cool, but it seems like all the arch users hate it
[20:40] <joshh> kinda like how debian people used to bash ubuntu
[20:41] <joshh> if it could be a way to do rolling release with more stability and safer updates than arch, with just a short reasonable lag, that could be pretty awesome
[20:41] <joshh> but there may be various incompatibilities with the AUR and whatnot too
[20:41] <metbsd> linux mint installs too
[20:42] <metbsd> centos dont install
[20:42] <metbsd> cap key kept flashing
[20:42] <metbsd> how do i do console install
[20:44] <metbsd> ubuntu server?
[20:50] <tomreyn> metbsd: how much ram does this system have?
[20:51] <metbsd> 16g
[20:51] <tomreyn> okay that should be ebough ;)
[20:52] <tomreyn> it'll be hardware or firmware related then
[20:52] <metbsd> dling server live iso
[20:52] <metbsd> but i think it'll have same result
[20:52] <tomreyn> maybe keep dmesg -w running during installation
[20:53] <tomreyn> btw for xubuntu specific support there's #xubuntu
[20:53] <metbsd> open second console?
[20:53] <metbsd> ubuntu xubuntu lubuntu all the same. so i think it's a general ubuntu question?
[20:53] <metbsd> i tried them all
[20:54] <tomreyn> if they were the same they'd certainly be called the same, too?
[20:55] <metbsd> but same kernel same firmware?
[20:55] <metbsd> just different DE?
[20:55] <tomreyn> yes indeed.
[20:55] <tomreyn> the foundation is the same
[20:56] <geard> hello, i have a lenovo P53 i just installed Ubuntu on it and the touchpad isn't working, it was on the Windows that came with the laptop. The laptop is brand new if that matters
[20:59] <tomreyn> geard: which ubuntu did you install on it?
[21:00] <sarnold> geard: you could try installing firmware updaets with fwupdmgr update
[21:02] <tomreyn> https://download.lenovo.com/pccbbs/mobiles_pdf/lenovo_thinkpad_p53_p73_debian10_installation_v1.0.1.pdf suggests you may need to boot with kernel option "psmouse.elantech_smbus=0"
[21:02] <tomreyn> (page 7)
[21:03] <oerheks> yeah, reading that too https://scriptun.com/ubuntu/thinkpad-p53-with-ubuntu-19
[21:03] <tomreyn> (+ page 17 ff.)
[21:05] <tomreyn> !kernelparm
[21:20] <tomreyn> geard: so were you actually looking for an answer, or just asked to keep the channel entertained? :)
[21:24] <oerheks> crossposting, most likely
[21:24] <oerheks> abuse of volunteers :-P
[22:05] <ovrh> Hello! I'm helping a friend install Kubuntu on his machine alongside Windows, but we are having problems doing that. After setting up the partitions (/, /home and swap) and clicking continue, he gets an error saying "executing grub-install /dev/nvme0n1 failed. this is a fatal error"
[22:05] <ovrh> I've never seen anything like that before, so I'm not sure how to help him with that
[22:06] <ovrh> He's trying to install Ubuntu on the same drive where Windows is, and it seems like his disk partition table is MBR. So he had to make all logical partitions in order to be able to make more than just one
[22:07] <ovrh> This is what his disk layout looks like before getting the error: https://i.imgur.com/pQE4Da8.jpg
[22:08] <sarnold> ovrh: what choices do you have in that "device for boot loader installation" dropdown?
[22:08] <ovrh> The efi partition is there because trying to continue without one, the installer complains that things might break ("No EFI System Partition was found. This system will likely not be able to boot  successfully, and the installation process may fail. Please go ahead and add an EFI System PArtition, or continue at your own risk."
[22:08] <tomreyn> efi partition on an mbr partitioned disk?
[22:09] <ovrh> @sarnold, The nvme itself /nvme0n1, and all the partitions (p1 through the end)
[22:09] <ovrh> @tomreyn, Yeah, I don't understand it either
[22:10] <ovrh> I made him run `sudo parted -l` and it showed "Partition table: msdos"
[22:10] <tomreyn> ovrh: i would think it's not actually an mbr but gpt partitioned disk
[22:10] <ovrh> Here the whole output of parted -l https://i.imgur.com/n2ovYha.jpg
[22:11] <tomreyn> hmm ok
[22:11] <tomreyn> so did you boot the kubuntu installer in uefi mode, though?
[22:11] <ovrh> @tomreyn, me too, but parted disagrees. I'm starting to think it might be messed up with both?
[22:11] <jeremy31> I thought it was possible for Ubuntu to use msdos partitioning with UEFI
[22:12] <tomreyn> i'm not convinced that would work
[22:13] <ovrh> @tomreyn, Booted through a live usb stick as usual, so yes? I believe those can only be booted through UEFI; right?
[22:13] <tomreyn> ovrh: depends on the bios, usually it's either just bios boot mode or bio and uefi
[22:14] <ovrh> I checked, the option did say "UEFI: Sandisk, Partition 1"
[22:14] <tomreyn> so that's uefi boot mode
[22:14] <ovrh> Is that bad?
[22:14] <tomreyn> ovrh: to install windows and ubuntu side by side you definitely need to install both in the sasme boot mode.
[22:15] <jeremy31> ovrh: Looks like Windows was installed in BIOS mode
[22:15] <tomreyn> right
[22:15] <ovrh> Can windows 10 even be installed in bios mode?
[22:15] <tomreyn> not sure
[22:15] <jeremy31> ovrh: on msdos partitioning it can
[22:15] <ovrh> It is msdos partitioning :/
[22:16] <ovrh> So, all is lost? Or is there a way to boot kubuntu non in uefi mode?
[22:17] <jeremy31> ovrh: Eric would know how to switch it over, I think it involves installing grub-pc
[22:17] <tomreyn> the easiest way forward is probably to delete the kubuntu partitions, and install kubuntu again, just in bios mode
[22:17] <ovrh> @jeremy31, Running grub-install from the live also didn't work
[22:17] <ovrh> @tomreyn, And how'd I do that?
[22:17] <tomreyn> ovrh: that's mainboard firmware specific.
[22:18] <jeremy31> ovrh: you have to mount the partitions of the install and chroot into it
[22:18] <jeremy31> ovrh: otherwise you get cow errors
[22:18]  * tomreyn apt moo's
[22:18] <ovrh> Never done anything like that myself unfortunately :/
[22:18] <ovrh> @tomreyn, the installation of ubuntu is mainboard firmware specific?
[22:19] <tomreyn> ovrh: whether you boot a usb attached bootable device in uefi or bios mode is mainboard firmware (configuration) specific
[22:19] <ovrh> Oh!
[22:20] <tomreyn> that's assuming it can boot in either mode, is "hybrid", but this one will be.
[22:20] <jeremy31> ovrh: you should be able to boot the install in UEFI mode
[22:21] <tomreyn> ovrh: so if you want to tell us which hardware (mainboarD) you have there maybe we can hint on how to boot the usb attached storage in legacy bios mode
[22:21] <tomreyn> jeremy31: why boot the kubuntu install in uefi mode? apparently that is what ovrh did last time
[22:22] <jeremy31> tomreyn: easier to install grub-pc so kubuntu should boot in BIOS mode
[22:22] <tomreyn> jeremy31: oh you mean to convert the existing kubuntu installations' boot mode, ok
[22:23] <akik> ovrh: yes you can install win10 in bios mode
[22:24] <ovrh> @jeremy31, Isn't it booting in UEFI already by the look of it?
[22:24] <ovrh> @tomreyn, It's an asrock b450 steel legend
[22:26] <jeremy31> ovrh: The installed kubuntu should boot in UEFI, not sure about the USB
[22:26] <ovrh> @jeremy31, Oh okay. Right now it doesn't boot at all because it didn't get to have a bootloader
[22:27] <nickgaw> Hi, On four different wireless networks I get that the network is unreachable when trying to get to launchpad.net are there any known issues with getting there currently?
[22:29] <tomreyn> ovrh: on the bios configuration utility's "exit" tab (right-most), you should have a "USB: " boot option, this is legacy bios boot mode from the usb
[22:29] <Bashing-om> nickgaw: No issue here; Accessed https://answers.launchpad.net/ubuntu/+questions?field.search_text=&field.sort=RECENT_OWNER_ACTIVITY&field.sort-empty-marker=1&field.actions.search=Search&field.language=en&field.language-empty-marker=1&field.status=OPEN&field.status=NEEDSINFO&field.status=ANSWERED&field.status=SOLVED&field.status-empty-marker=1 .
[22:30] <ovrh> @jeremy31, So, my friend found this https://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow and he's apparently trying to go through it. Sounds like the thing you were mentioning?
[22:30] <ovrh> @tomreyn, And once that's configured as legacy?
[22:30] <rfm> nickgaw, no problem here (either ipv6 or ipv4)
[22:31] <oerheks> nickgaw, happens here too, F5 helps
[22:31] <oerheks> too busy servers
[22:31] <jeremy31> ovrh: what are the 2 partitions that are ext4?
[22:31] <tomreyn> ovrh: that's a one-time boot override, not a persistent configuration. you could boot the kubuntu installer in legacy bios mode this way, and install in that mode, so that both windows and (k)ubuntu will be installed in the same mode.
[22:31] <ovrh> jeremy31, From the image? one is / and one is /home
[22:32] <ovrh> tomreyn, And I don't need to worry about efi partition of manually setting up a boot partition?
[22:32] <nickgaw>  I was trying to rebuild the pop-os iso for my System76 laptop and got the error when it was trying to download packages.
[22:32] <nickgaw> It was not when browsing as if so I would have just refreshed the connection.
[22:33] <jeremy31> ovrh: you might need to search for convert UEFI install to BIOS and you don't have /dev/sda*
[22:33] <tomreyn> ovrh: no, grub would install to the mbr, and os-prober should identify the existing windows installation, so that both become bootablke
[22:33] <oerheks> pop-os issue ..
[22:33] <ovrh> jeremy31, He does have dev/sda, but that's an hdd with just data on it, no boot or anything
[22:33] <ovrh> tomreyn, Sounds pretty easy to try, worth a shot!
[22:35] <irreleph4nt> Hi. I was getting ready to install Ubuntu 20.04 on all my systems but then I found out Canonical is pushing snap ...
[22:35] <jeremy31> ovrh: looks like the install is on /dev/nvme0n1 and you will need to add the partition number of the root directory when mounting whether /dev/nvme0n1p6 or /dev/nvme0n1p7
[22:35] <oerheks> irreleph4nt, yes, snaps are great!
[22:35] <irreleph4nt> Assuming I will be using either Gnome or Budgie as a DE, can I compeletely remove snap and still use Ubuntu?
[22:35] <irreleph4nt> oerheks, no, they arenÄ't
[22:35] <oerheks> irreleph4nt, wanna remove snap? hop distro ..
[22:35] <geard> tomreyn: sorry, i was trying to type that from the laptop without a functional mouse. I am looking to see how to rectify the situation with the mouse not working
[22:36] <oerheks> no trolling here plese
[22:36] <digitalbot> When you all are writing code do you prefer to do it in an IDE or on txt file
[22:36] <ovrh> jeremy31, I'm not sure I understand that...
[22:36] <irreleph4nt> oerheks, I am serious. I love Ubuntu but have no reason to want snap. So I am asking: Can I still use Ubuntu 20.04 with snap removed
[22:36] <sarnold> sure
[22:37] <sarnold> you'll lose stuff but that's fine
[22:37] <irreleph4nt> sarnold, I read somewhere that gnome is shipped as a snap. I assume that's amongst the things I'll lose?
[22:37] <jeremy31> ovrh: /dev/sda1 will need to be replaced with the correct path to the install directory on the NVME drive, you will likely get errors if it isn't correct
[22:39] <ovrh> jeremy31, Oh you mean from the answer in the link! Yes, definitely
[22:39] <jeremy31> ovrh: I am sure EriC^ can do a better job explaining this
[22:39] <irreleph4nt> Is snap also forced on people in Ubuntu Server BTW? So far I have only read up on Ubuntu Desktop
[22:39] <quadrathoch2> irreleph4nt, no there is just a gnome library installed as a snap, so you wouldn't even lose gnome
[22:40] <quadrathoch2> irreleph4nt, nothing is forced, just remove it and be done if you don't want it
[22:40] <ovrh> irreleph4nt, I'm almost 100% sure that the whole DE does NOT come as a snap. GNOME System Monitor does tho
[22:40] <irreleph4nt> quadrathoch2, "nothing is forced" is a bit of a stretch here.
[22:40] <quadrathoch2> irreleph4nt, so what happens if you uninstall snapd? is it not removed?
[22:41] <tomreyn> geard: if you have neither a working mouse nor touchpad then your best approach is to switch to a TTY, and login there, and run   sudo nano /etc/default/grub    and make those changes, then run    sudo update-grub
[22:41] <irreleph4nt> quadrathoch2, it is. But as soon as you run "apt install <package like chromium>" again expecting APT to handle your stuff, snap is back on your system
[22:41] <ovrh> jeremy31, It's me, I'm sorry, I'm not particularly confident when it comes to grub related stuff. Broke it a few times before. And it doesn't help that I've never used chroot in my life
[22:42] <jeremy31> ovrh: might want to wait until EriC^ is active
[22:42] <quadrathoch2> irreleph4nt, for now chromium is the only package that is installed through snap *shrug* you are not forced to use chromium ;)
[22:42] <ovrh> jeremy31, Will do. Going to try the legacy usb suggestion by tomreyn in the meantime
[22:43] <oerheks> the problem is not chromium being a snap, but even debian developers have headaches packaging this software, and finding developers is pretty hard
[22:43] <irreleph4nt> quadrathoch2, emphasis on "for now". Canonical being Canonical things won't stay that way forl ong
[22:43] <oerheks> snap is like systemd, get used to it
[22:44] <quadrathoch2> irreleph4nt, complain to google for that, as they don't care about support for older dependencies.
[22:44] <ovrh> irreleph4nt, To be fair, have you seen the insanity that's the Chrome build system?
[22:44] <irreleph4nt> oerheks, no. whilst I am not a fanboy of systemd, at least it behaves sanely on anything that looks like it might be a server. Any of the components that don't or you don't like can easily be configured to stay inactive
[22:44] <quadrathoch2> and as there is no LTS release of chromium. tough luck I would say
[22:44] <irreleph4nt> with snap that's a different story entirely
[22:45] <ThatMotherMind> back again (tripelb nice) with 2 root processes that seem fishy. One is Plex Media Serv and the other Plex Script Hos  ---- plex is not installed. I have tried dpkg to make sure.
[22:45] <quadrathoch2> I never had snapd behaving bad. So which issues do you have irreleph4nt? maybe we can help
[22:45] <ThatMotherMind> the #plex dont seem to know either. IS THIS MALWARE. It RUNS AS ROOT.
[22:45] <quadrathoch2> ThatMotherMind, it could be
[22:46] <oerheks> it is plex' DRM stuff, lolz.
[22:46] <tomreyn> ThatMotherMind: or it could not be. hard to tell with so little info. is this ubuntu at all?
[22:47] <irreleph4nt> quadrathoch2, my problem is that packages are being converted to snaps, slowly taking away control of what is installed on a system from the user. Let alone the fact it bloats the system unnecessarily. Let alone the fact snaps update whenever they feel like it, restarting services and apps as they see fit
[22:47] <irreleph4nt> I was looking to unify my entire environment across desktops and servers by adopting 20.04. But snaps are a big no on any server used for offering services
[22:48] <ThatMotherMind> tomreyn, this is 20.04 with ubuntu tweaks making me a taskbar. )
[22:48] <oerheks> irreleph4nt, sounds like the rant on omgubuntu, mostly false claims.
[22:48] <tomreyn> ThatMotherMind: ...and formerly installed plex media server, which was later partially uninstalled?
[22:48] <quadrathoch2> irreleph4nt, theoretically, that's not misbehaving, that's by design (the updating and restarting of services). The quantity of snaps was decreased from 19.10 to 20.04 (preinstalled), with chromium being the only package being snap only.
[22:48] <irreleph4nt> oerheks, so can I disable automatic updates of snaps _completely?
[22:49] <ThatMotherMind> tomreyn, I did sudo dpkg --list "*plex*"  and the plex is not found
[22:49] <irreleph4nt> oerheks, can I stop snaps from bloating a directory on my home drive?
[22:49] <oerheks> updates can be scheduled.
[22:49] <irreleph4nt> oerheks, scheduling is not the same as disabling
[22:49] <ThatMotherMind> tomreyn, nothing in plex is supposed to run as root (per #plex) but what you say fits my mind.
[22:49] <oerheks> questions with 'bloat' i do not take seriously.
[22:49] <tomreyn> ThatMotherMind: i don't know how you installed it, or removed it, or whether it would be installed via apt. can't really help then.
[22:50] <irreleph4nt> oerheks, anything that ships libraries also available via a package manager is bloat
[22:50] <tomreyn> ThatMotherMind: unless you chose to run it as root, of course
[22:51] <ThatMotherMind> OK which of the Ask Ubuntu Forums is more likely to get to some programmers etc who might be interested? Or should I use git?  I think this is worth taking to another level. (not for me. I can reinstall.)
[22:51] <irreleph4nt> oerheks, let alone the fact that _every_ snap ships their own dependencies, irrespective of the fact you already have that on your system like 20 times
[22:51] <ThatMotherMind> tomreyn,  up a line
[22:51] <ovrh> irreleph4nt, Isn't that the whole point of having snaps in the first place? For sandboxing? Can't have sandboxing and share dependencies.
[22:53] <tomreyn> ThatMotherMind: i don't think i understand what you're asking exactly
[22:53] <irreleph4nt> ovrh, I agree. It's probably part of what's considered the design of snap. But why on a desktop system? Why not make it optional so those that _really_ want it can have it and everyone else can just go about their business?
[22:54] <tomreyn> !discuss | irreleph4nt
[22:54] <ovrh> irreleph4nt, Because people don't care about keeping their system up-to-date, and when something breaks because they haven't kept up, they blame the system and not themselves
[22:54] <irreleph4nt> what do we have a package manager for when we create a whole different ecosystem on the same machine with snap? How does that go together with the ethos of Linux, where users are in control over their machines?
[22:55] <irreleph4nt> tomreyn, I am sorry to have bothered you. I'll take this to a different channel then
[22:56] <tomreyn> irreleph4nt: thank you. :)
[23:01] <Kam> My ubuntu machine is having a lot of trouble. As in it won't boot to gui and if it does it gets stuck in the infinite login loop
[23:01] <Kam> What is the best way I can reinstall it?
[23:01] <Kam> I don't want to try fixing it, I've been trying for the last couple days and I don't really want to spend the time to continue fixing it
[23:03] <ThatMotherMind> how do I tell which snap applications I have installed? (yes I tried searching after a few links, decided to ask.)
[23:04] <sarnold> snap list
[23:05] <ThatMotherMind> ah ha https://forums.plex.tv/t/how-do-i-completly-remove-plex-media-server-and-all-its-application-data-config-files-etc-in-ubuntu/232542/4
[23:07] <quadrathoch2> so did it work ThatMotherMind?
[23:08] <tomreyn> Kam: ensure you have a current backup, then just do a fresh installation, and restore your data if needed.
[23:09] <tomreyn> Kam: you'll probably need some bootable installer on a usb stick or other media to install ubuntu, so make sure you have that ready, too.
[23:09] <ThatMotherMind> Thanks sarnold tomreyn I installed it through snap and I removed it. (observing top command, it looks successful) ++note, it was running as root. If this is not correct.. you have been insformed)
[23:10] <irreleph4nt> Kam, what tomreyn said is good advice IMO. Keep in mind too though that if you were to backup and then simply copy paste your entire home folder back into the new install, you might be recreating your login loop issue
[23:11] <irreleph4nt> emphasis on *might*
[23:12] <geard> tomreyn: ty
[23:12] <tomreyn> you're welcome
[23:19] <ovrh> tomreyn, Will the failied kubuntu installation have broken the windows bootloader as well?
[23:21] <quadrathoch2> ovrh, no it shouldn't
[23:21] <ovrh> That's what i thought, never happened to me.
[23:21] <tomreyn> ovrh: i assume not, but it's hard to tell. grub tried to install to the MBR, and that failed. but it's unclear whether it actually failed before or after trying to write there. my expectation in this situation would be that it did not actually try to write to the MBR.
[23:23] <ovrh> tomreyn, Also, wouldn't it have tried to install to the efi partition in this case?
[23:29] <blogten> hi, do you have suggestions re: swap partitions vs swap files?
[23:30] <tomreyn> ovrh: hmm, i'm not actually sure. the message you posted was this (which can point to the entire storage media, or to the MBR): "executing grub-install /dev/nvme0n1 failed."
[23:31] <ovrh> Oh right, that makes sense
[23:31] <tomreyn> blogten: swap files can provide more flexibility whereas swap partitions come with a layer less (no file system below it).
[23:33] <blogten> tomreyn : other than that, are there any practical gotchas?  any things that do not become evident until 5 years later?
[23:35] <blogten> tomreyn : here's one I can think of... when using swap partitions, make sure the swap is at least as large as main memory (because otherwise common cases of fork+exec will fail due to lack of swap)
[23:39] <tomreyn> blogten: size can matter whether it's stored on a file system or directly on a partition (or LVM LV), this should not make a difference when comparing the two.
[23:40] <blogten> tomreyn : other than the relative inflexibility of resizing the swap partition after the fact, yes
[23:42] <tomreyn> blogten: realistically, "as large as main memory" will only be needed if you do suspend-to-disk (hibernation) or are more worried about the system becoming unresponsive due to processes being killed than by disk i/o.
[23:44] <blogten> tomreyn : in the past I ran into the problem of having a large process spawn off a child process via fork+exec.  at the time, the system had 4gb of ram and 2gb of swap.  consequently, if a 3gb program tried to create a child process, it could not --- even if it was just to execute 'echo Hello world!' --- because fork required copying the entire
[23:44] <blogten> process in the first place, and there was not enough swap for that.
[23:45] <blogten> tomreyn : (and of course the copy can be made lazy so there's no actual copying of 3gb or whatever other size until it's actually modified and all that... however until exec kills the original process, there is a moment in time when memory usage can effectively double)
[23:47] <tomreyn> blogten: thanks for sharing your past experience.
[23:49] <blogten> tomreyn : do you have others like that?
[23:51] <tomreyn> blogten: no, not really. i try to match workload to physical RAM. and when this fails then i have an aggressive OOM killer and monitoring alerting me of the fact.
[23:52] <blogten> tomreyn : ok, thank you for considering the question.
[23:52] <tomreyn> i don't like killing disks and sending systems into states where they can't fork.
[23:53] <Jordan_U> blogten: EriC^: My best guess is that there are bugs in your video card's graphics card option rom or the interaction between the boot firmware and the option rom. I think that the graphics code is corrupting grub's memory, which can cause any number of errors at boot (and explains why so many things were happening that didn't "make sense").
[23:54] <blogten> Jordan_U there's strong evidence against that: on that box, Ubuntu 18 LTS had graphical grub and that install never, ever crashed, for any reason, in 7 years.
[23:54] <blogten> Jordan_U (of course that install started its life as Ubuntu 14)
[23:58] <Jordan_U> blogten: It may be that newer grub uses a little bit more RAM, or that there's only a small area of RAM that's getting corrupted and that by chance earlier versions of grub just never stored anything critical at those addresses. If it's not memory corruption of some sort, then I really can't explain the combination of the ELF Magic and syntax errors you were seeing before. Heck, it may even be a buffer
[23:58] <Jordan_U> overflow in grub that your hardware just happens to hit. I think I remember years ago building grub with memory canaries, and I'm seeing if we can do that for you. We'd probably just want to test self built grub from LiveUSBs since you now have a working system after so much trouble.