[00:00] <Mantisek> when i install a new os
[00:00] <Mantisek> it's going to do this thing again
[00:00] <Mantisek> and i probably wont remember what steps i took
[00:01] <EriC^^> it's typical acer stuff, you have to set it in the bios to boot up
[00:01] <Mantisek> so i want to figure out what UEFI is overwriting boot entries (Which i still dont think you believe me is actually happening for some reason) so I can correct it
[00:01] <Mantisek> why UEFI*
[00:02] <EriC^^> maybe you can only delete the entry from the bios?
[00:02] <Mantisek> no option for that
[00:02] <EriC^^> try again efibootmgr -B -b 0003 from the booted os
[00:02] <Mantisek> if i 'clear all boot settings' nothing changes
[00:03] <Mantisek> https://termbin.com/9xka
[00:03] <Mantisek> so the pciroot is some storage on the uefi
[00:03] <Mantisek> i deleted archlinux, restarting
[00:04] <Mantisek> and it sback
[00:05] <Mantisek> https://termbin.com/skb3
[00:05] <EriC^^> ultimately the not deleting stuff doesnt matter, even if you were able to delete it, probably when you install another os, acer's going to want you to add it
[00:05] <EriC^^> just keep in mind to go to the bios and set the priority to the new os
[00:06] <EriC^^> it might be some bug in their uefi, you can try updating the bios/uefi
[00:07] <EriC^> sorry, got d/c
[00:09] <Mantisek> yeah there's no way to delete these entries lol
[00:09] <Mantisek> once they're made they're there for good
[00:09] <Mantisek> forever
[00:09] <Mantisek> unless i like.. flash it
[00:10] <EriC^^> not a big deal honestly, uefi can handle a ton of entries, but if you really want to fix it, probably a uefi update might have the bug fixed
[00:11] <Mantisek> nm i actually just cleared the entries.. i just.. had to do it twice?
[00:12] <EriC^^> well that's good
[00:14] <sarnold> o_O
[00:14] <sarnold> all this frustration boils down to "delete it twice and then it'll go away"??
[00:14] <sarnold> i hate computers so much
[00:14] <Mantisek> it's just UEFI, exists in its own special little realm and touches stuff I don't think it should, makes it a pain to troubleshoot
[00:15] <Mantisek> as every motherboard seems to have a different way to implement UEFI
[00:15] <EriC^^> yeah
[00:16] <Mantisek> its like trying to keep your room clean but your neighbor uses an extendable gadget arm to reach through your window to knock your vase over
[00:23] <user9d> how do I hack with my ubuntu?
[00:23] <EriC^^> :D
[00:24] <Mantisek> lol
[00:24] <Mantisek> point your laptop at the nearest thing you want to hack
[00:24] <EriC^^> wrong channel user9d
[00:24] <Mantisek> and type really loudly and hard as fast as you can
[00:24] <Mantisek> soon you will see a big 'ACCESS GRANTED' on your screen
[00:24] <user9d> sweet
[00:24] <Mantisek> doesnt matter if it's a computer, a phone, a microwave, a bag of chips
[00:24] <Mantisek> works every time
[00:25] <user9d> I'm going to be so successful *tear*
[00:25] <xipper> Anyone know of a password manager that I can use in the terminal and have it work with my browser?
[00:25] <Mantisek> im actually doing it at you right now
[00:25] <xipper> Using KeypassXC at the moment but the auto fill on forms is hit or miss at best
[00:26] <Mantisek> https://www.passwordstore.org/
[00:35] <Cyberhillbilly> Had anybody here updated to the new release Ubuntu 22
[00:36] <arraybolt3> A bunch of us are using Ubuntu 22.04 (though I clean-installed all of mine, I don't do do-release-upgrades.)
[00:36] <Cyberhillbilly> Any issues updating
[00:37] <sarnold> one of my systems from 18.04 times had an /etc/network/interfaces, and I lost connectivity to it after I rebooted into 22.04
[00:37] <arraybolt3> So far it's been working with very minimal flaws for me (those minimal flaws being a couple of random crashes and some small software incompatibilities, that I can remember).
[00:37] <sarnold> I wish I'd made a netplan config for it before upgrading from 20.04 to 22.04
[00:38] <Cyberhillbilly> Weird. I ran into an issue a few months ago when suddenly my network manager was erased
[00:38] <arraybolt3> As far as running "sudo apt update && sudo apt full-upgrade", a lot of us have gotten tripped up on phased updates, see https://askubuntu.com/questions/1431940/what-are-phased-updates-and-why-does-ubuntu-use-them
[00:38] <Cyberhillbilly> I'll check into it arraybolt3
[00:39] <arraybolt3> That's more of a problem with understanding what's happenning than it is a proplem with the system itself, but it's caused the most frequently asked question around here, that being "why are packages held back in apt".
[00:45] <Cyberhillbilly> Damn DSL cuts out everytime the phone rings
[00:45] <Cyberhillbilly> Feels like I'm back to dial up. Lol
[00:47] <user9d> if you need to change your IP address, then call your phone
[00:47] <user9d> with a cellphone
[00:48] <user9d> that has minutes
[00:48] <Cyberhillbilly> What do you mean
[00:48] <user9d> uuuuuuh
[00:48] <leftyfb> lets please stay on topic here
[00:48] <leftyfb> this is an ubuntu support channel
[00:48] <Cyberhillbilly> Got it, my bad
[00:48] <user9d> I'll tell you in #ubuntu-offtopic Cyberhillbilly
[00:49] <sarnold> Cyberhillbilly: don't mind user9d, he's just forgotten that this is #ubuntu and not #ubuntu-offtopic :)
[00:51] <arraybolt3> Cyberhillbilly: You didn't do it :P
[00:52] <Cyberhillbilly> Ok
[00:52] <Cyberhillbilly> I'm new, getting my feet wet ;)
[00:53] <xipper> Mantisek: thank you
[00:54] <sarnold> Cyberhillbilly: cool, welcome :)
[00:59] <Cyberhillbilly> Thanks
[01:30] <dikdik> hello
[01:30] <sarnold> hi
[01:31] <dikdik> i new here
[01:31] <dikdik> how are you lol
[01:53] <guiverc_t> ?   (can be ignored)
[01:55] <sarnold> pong
[02:32] <dabbler> I just came back to my locked Ubuntu gnome session, typed my password, and the machine became completely unresponsive upon pressing enter. Can't switch to a tty and unresponsive to ctrl-alt-delete. Anything else I should try before restarting and checking the logs?
[02:33] <jhutchins> dabbler: Without knowing what was running when you locked it, it's hard to guess what might have failed.  Something might have been waiting for input.
[02:33] <jhutchins> dabbler: On the other hand, it could have been a hardware failure, possibly thermal.
[02:34] <arraybolt3> If you can't switch to a TTY, your system might be thrashing due to low memory, or the kernel might have panicked.
[02:34] <jhutchins> arraybolt3: Yeah, locking _after_ acceptin gthe password suggests a kernel panic.
[02:34] <jhutchins> Which, again, could be just about anything.
[02:35] <jhutchins> One incident is pretty hard to diagnose.
[02:35] <arraybolt3> Either way, a restart is probably the fastest short-term solution. Sadly, if it is a kernel panic, the logs will probably not tell us what happened, but it's worth looking anyway.
[02:35] <jhutchins> Unfortunately logging is one of the first functions to fail in most crashes.
[02:47] <sarnold> dabbler: can you ssh in? does the numlock key work?
[02:50] <dabbler> arraybolt3: unless something unprecedented started running and sprung a leak, I doubt it was low RAM. 16 G in the machine, with little left running.
[02:54] <dabbler> What was running, as far as I can remember: a generally idle VirtualBox VM with 4 G of the RAM, Brave with a few open tabs (all but one would've been suspended by now), a byobu window doing nothing, and a nautilus window or two
[02:55] <dabbler> Not the first time I've left it running overnight and no thermal issues so far
[02:56] <dabbler> sarnold: NumLock toggling works
[02:57] <sarnold> okay, so *something* is alive a bit..
[02:57] <dabbler> I'm not sure whether I can ssh in. I haven't touched ssh server config yet since installing ubuntu. IIRC that means it's disabled, right?
[02:57] <sarnold> yeah, I think the desktop installer doesn't bring in ssh-server by default
[02:58] <sarnold> maybe control+alt+backspace? I wonder if we disable that
[02:59] <dabbler> sarnold I was just looking at gnome tweaks last night. That option was disabled and I left it that way, unfortunately.
[03:00] <dabbler> I'll just restart. Fingers crossed for a mounted exfat haha
[03:00] <sarnold> there's also a sysrq key that can kill processes, sync the disk, unmount the filesystems, but I don't know if we've disabled that, too :)
[03:00] <Bashing-om> !sysrq
[03:01] <sarnold> hah yay Bashing-om :)
[03:01] <sarnold> I couldn't remember which keys were still useful..
[03:04] <dabbler> Shoot. Didn't see that in time
[03:05] <sarnold> so, how'd the filesystems handle it? :)
[03:05] <dabbler> And I just remembered I installed gnome on top of ubuntu-server, so I might've been able to ssh in 🤦♂
[03:05] <sarnold> d'oh :)
[03:11] <dabbler> There's nothing irreplaceable and important on it, but it would save some me redoing the copying I left it doing last night
[03:14] <dabbler> Still scanning. In the meantime… does NumLock working mean the kernel was still functional?
[03:16] <dabbler> sarnold: well, it says it's clean, so I'm probably fine
[03:20] <dabbler> Bashing-om: thanks! I'll have to remember that
[03:23] <Bashing-om> dabbler: Times my system too locks up - I remember the sequence (rseirb) -raising skinny elephants is risky bussiness- all to well :(
[03:35] <dabbler> Bashing-om: What's that a mnemonic for?
[03:36] <dabbler> Oh, the sysrq codes
[03:36] <Bashing-om> dabbler: the sysrq sequence for emergency re-boot.
[03:38] <Nautilus> I'm trying to unzip a file but get an error: "skipping: [filename]  need PK compat. v5.1 (can do v4.6)
[03:38] <Nautilus> " while my unzip is ver 6.0-25ubuntu1  -- an suggestions?
[03:40] <dabbler> Bashing-om: I think I understand the purpose of the rse…b, but not the ir in between.
[03:41] <dabbler> Given the b that follows
[03:42] <dabbler> And wouldn't you want to sync after sending sigterm?
[03:43] <dabbler> 'resub', perhaps?
[03:45] <guiverc> dabbler, if you don't remember, quick search of "magic sysrq" (on phone etc) usually finds wikipedia result for reminder of options.. I use REISUB myself, same as bashing-om's choice; just slightly different order of execution
[03:45] <Bashing-om> dabbler: From the horse's mouth: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/sysrq.rst :D
[03:48] <dabbler> What better sigkill is there than a reboot? :P
[03:49] <Bashing-om> dabbler: The goal is clean as possible.
[03:50] <Nautilus> what does it mean to have a PK compatible v5.1? Do I need a different version of unzip (like PKunzip I remember from Windows)?
[03:54] <dabbler> Bashing-om: Understood and agreed. So I understand the SIGTERM, in case processes want to write data from RAM to disk when they exit. (That's why I was surprised the sync didn't follow it.) My understanding of SIGKILL, though, was that it was no cleaner than a reboot as far as that process's chance to do anything.
[04:09] <Bashing-om> dabbler: You may well be correct in that respect; modern journaled file systems - however, the sysrq sequence unmounts, terminates, kills and flushes. Even in some cases where the 3 fingered salute is not effective.
[05:07] <noarb> is there a way to make pkg-config recognize a manually installed Qt, not one from packages in the archive?
[05:10] <Bashing-om> !pinning | noarb Like so ?
[05:14] <dabbler> Is there a way to keep x-server crashes from killing my open programs? Why can't their processes continue, to be "reattached" so-to-speak to the next desktop environment of the same user?
[05:33] <alkisg> dabbler: because it involves handles and pointers to a lot of resources that won't get the same handle/address the next time xorg will run
[05:42] <dabbler> alkisg: There must be some way to surmount that issue. Windows and macOS manage it when explorer or Finder crash
[05:42] <alkisg> dabbler: sure, if you can pay 100 programmers for 10 years to reimplement all that, it's doable
[05:42] <alkisg> Although a crashed explorer isn't the same as a crashed xorg
[05:43] <alkisg> In Linux you can crash nautilus or caja without losing windows
[06:11] <hermano> Running ubuntu 22.04. Have 3 monitors. Each time I change virtual desktop I have noticed that only the center monitor actually swaps, the other 2 monitors are within the exact same first content, despite of how many times I swap. This prevents for a real split of work. Can this be fixed in some way?
[06:16] <hermano> Found the setting here: https://askubuntu.com/questions/1403554/switch-workspace-on-dual-monitor-22-04
[06:17] <SamSlayer> Hello Ubuntu Enjoyers!
[06:19] <alkisg> Hello Slayer of Sams :)
[06:23] <SamSlayer> So what flavor of ubuntu does everyone prefer here? Or, what preferences do you mix and match?
[06:45] <alkisg> On wayland, what's the equivalent of the "window manager process"? E.g. `pgrep mutter` or metacity, marco, xfwm4...
[06:47] <alkisg> In other words, "fullscreen wine windows aren't fullscreened on wayland" => under which package would I report that?
[06:55] <geirha> I'd say wine. And if it turns out to be a wayland issue, the wine devs will know what to report to wayland
[06:56] <alkisg> geirha: it works properly with openbox and xfwm4, but not with the window managers that were derived from metacity
[06:56]  * alkisg checks if it's gnome-shell nowadays...
[07:00] <alkisg> Ouch it seems like they bundle the window manager in gnome-shell along with other tasks, so it can't be replaced by other window managers anymore (for easier testing)
[07:13] <alkisg> Reported it to https://gitlab.gnome.org/GNOME/metacity/-/issues/33
[08:10] <KpuCko> Hi there, I use snap to get some fresh applications on my distro. All good except the fact, some of the popup windows simply does not appear. Have someone of you faced such an issue?
[08:55] <alive> idk if any canonical employees lurk in here but y'all need to not put the horse before the cart. I just did an apt dist-upgrade on a pretty basic install of 22.04 desktop and git an extremely cryptinc message about "Ubuntu Pro" and "esm-apps". "Learn more about Ubuntu Pro at https://ubuntu.com/pro" leads you to a webpage with "coming soon".
[08:56] <alive> that's a User Experience issue.
[08:56] <alive> ty for your attention
[08:58] <Habbie> oh they left
[08:58] <Habbie> at least /pro is no longer 404
[09:03] <ogra> they should urgently disable -proposed though ... you can only get that version from the test archive
[09:04] <ogra> (which you should never enable permanently)
[09:05] <Habbie> i wonder if there are common installation ways that lead to -proposed being enabled
[09:08] <murmel> Habbie: nope, I just assume he enabled it in the software-properties gui
[09:08] <Habbie> ack
[09:08] <ogra> yeah
[09:08] <Habbie> i think we learned this week that that process needs more friction and text
[09:08] <ogra> no default install enables it
[09:09] <murmel> Habbie: well, as long as people don't read, nothing really helps. I mean just look at Linus (LTT) destroying his pop install, because he can't read
[09:10] <Habbie> didn't see that, but i believe you
[09:11] <murmel> Habbie: i mean we are talking about the (now patched)  confirmation of "YES I want to remove all necessary packages for a gui"
[09:11] <Habbie> oh no
[09:11] <murmel> welp. one less person on linux xD
[09:20] <sultand> Are there no netboot.tar.gz for ubuntu 22.04? Cant find it anywhere.
[09:23] <murmel> sultand: they were deprecated in 20.04
[09:23] <sultand> so you cant pxe install 22.04 ?
[09:24] <murmel> sultand: i'm not sure how maas does it, maybe look into it
[09:24] <sultand> maas?
[09:25] <murmel> sultand: https://maas.io/
[09:25] <murmel> it's a deployment system which uses pxe boot
[09:27] <defiant> Hey, not specifically ubuntu related, but still... Could anyone recommend me a linux program for offline map and GPS? Like if you're driving in a car with a USB GPS dongle and a laptop (yes, a laptop, not Garmin or mobile phone), but no internet connection, you can see your location on a map?
[09:27] <murmel> defiant: other question, why does it have to be a laptop in comparison to a phone?
[09:27] <defiant> murmel: because the circumstances require it
[09:28] <murmel> defiant: https://wiki.openstreetmap.org/wiki/Using_OpenStreetMap_offline
[09:30] <defiant> heh
[09:30] <defiant> "The most basic way to use OpenStreetMap offline is to export an image or PDF of an area and optionally print it out."
[09:30] <murmel> :)
[09:31] <murmel> seems like going oldschool
[09:34] <sultand> ty murmel. How does anyone else auto install ubuntu 22?
[09:34] <murmel> sultand: are we talking server or desktop?
[09:35] <sultand> server
[09:35] <sultand> min installation
[09:36] <lotuspsychje> !discuss
[09:36] <murmel> maas or a autoinstall usb stick, where the ip gets populated in an ipam system for inventory and ansible
[09:36] <lotuspsychje> lets divide discussions with support issues please guys
[09:36] <sultand> cant be a usb stick. We install VMS
[09:37] <alkisg> I think people are using the server.iso and cloud-init nowadays, I haven't used it though
[09:37] <murmel> let's go to -discuss
[09:37] <alkisg> Have a look at https://netboot.xyz/ as well, it might support the latest ubuntu
[09:38] <alkisg> "netbooting ubuntu" isn't a support question?!
[09:38] <murmel> im not a mod *shrug*
[09:39] <murmel> sultand: so why wouldn't maas fit then?
[09:40] <arraybolt3[m]> lotuspsychje: Pretty sure that asking for help auto-installing Ubuntu Server is a support question.
[09:41] <lotuspsychje> i was talking general arraybolt3[m] its a bit thin red line discussions, software reccomends etc
[09:43] <ogra> sultand, https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/14510
[09:43] <alkisg> ogra, I think that's the one that got deprecated and removed in 22.04
[09:44] <alkisg> E.g. http://archive.ubuntu.com/ubuntu/dists/jammy/main/installer-amd64/current/legacy-images/netboot/pxelinux.0 doesn't exist (replaced focal with jammy from the how-to URL)
[09:44] <ogra> sultand, also https://discourse.ubuntu.com/t/automated-server-installs/16612
[09:46] <ogra> images are at http://cdimage.ubuntu.com/netboot/jammy/
[09:46] <murmel> ugh, yeah let's push a 1.4G iso to every machine (vm) that needs to be installed :/
[09:46] <ogra> alkisg, yeah legacy is legacy 😉
[09:48] <ogra> murmel, if that concrns you, you can always use MAAS with the cloud images (they are 50MB or some such)
[09:48] <ogra> *concerns
[09:48] <murmel> ogra: that's why I use maas as much as possible, not always. (that's why the usb stick with autoinstall)
[09:48] <ogra> 😄
[09:49] <murmel> ogra: only annoying part is that the machine has to be booted like 3 times to get to a system (as it actually turns it off, in comparison to reboot)
[09:49] <ogra> smells like a bug TBH
[09:50] <murmel> afaik no, as we are talking here about years being it like that
[09:50] <ogra> this is lovely BTW https://jimangel.io/posts/automate-ubuntu-22-04-lts-bare-metal/
[09:50] <ogra> (i really love the drawings 🙂 )
[09:50] <murmel> ogra: what I really don't understand, the first time it puts the new machine in an inventory, and turns off, then the next boot it inventories it again (plus does something else, can't remember)
[09:51] <murmel> wow :)
[10:41] <purplealgae> anyone know how to make this keyboard configuration persistent? I run from a VM, and when I disconnect and reconnect, the keyboard config will have reset
[10:41] <purplealgae> https://pastebin.com/pbjZBRJc
[10:42] <purplealgae> difficulty is that it uses 'xcape' tool. If it was just setxkbmap and xmodmap, I know how to do it
[10:46] <ogra> purplealgae, have you tried "sudo dpkg-reconfigure keyboard-configuration" (which is the default way to configure keayboards in ubuntu) ?
[10:52] <purplealgae> ah I didn't know about that, thanks
[10:52] <purplealgae> doesn't look like it will be quite what I need, but always good to know whats available
[10:55] <sultand> sorry got disconnected. https://jimangel.io/posts/automate-ubuntu-22-04-lts-bare-metal/ this looks like it is a usb installer
[10:56] <sultand> https://discourse.ubuntu.com/t/automated-server-installs/16612 this is for ubuntu 20
[10:58] <ogra> sultand, yes, the default changed in 20.04 ... most of the doc should still apply for 22.04
[10:59] <ogra> purplealgae, it sets the options in /etc/default/keyboard ... you can edit that file by hand and add more as needed
[11:16] <lhp22> Hello there ! I've a problem for installing Ubuntu. I'm blocked by a "RTS" problem. And I can't disable it by the BIOS. To check if I can install a linux system, I've used my tiny arch key, installed a tiny arch : i can boot on it. Is there a way to install ubuntu from this arch ?
[11:16] <lhp22> It's not for me, it's for a new linux user friend of mine
[11:16] <arraybolt3> lhp22: Easiest solution would be to go into the BIOS and see if you can change the hard drive mode from RAID to AHCI.
[11:17] <arraybolt3> (Note that this will render any existing installation of Windows on the drive unbootable, so if you're going for dual-boot, don't do that.)
[11:17] <arraybolt3> Oh, wait, you just said... ok nevermind.
[11:18] <lhp22> There is no more W10 on this computer (that's the point, by which I couldn't disable RTS anymore)
[11:18] <arraybolt3> *Sigh.* Sadly you're not the first person to run into this. Arch, for some reason, is able to install to these kinds of systems in some instances, while Ubuntu might not be able to install in the same instances. If you stick around, someone else might know some tricks to make it work, but you may be stuck having to install Arch, or possibly install Ubuntu in a virtual machine.
[11:18] <ogra> lhp22, https://discourse.ubuntu.com/t/ubuntu-installation-on-computers-with-intel-r-rst-enabled/15347
[11:19] <ogra> there are various solutions in that thread (towards the end)
[11:20] <arraybolt3> lhp22: What computer is this? Maybe RST *can* be turned off and someone here can find the right setting to do so.
[11:23] <lhp22> arraybolt3: I've tried so many keyboard combinations. The bios is InsydeH20 F.58 ; the laptop is HP Laptopt 17-by0xxx
[11:24] <lhp22> ogra: ookay, it seems like an ocean but I look at
[11:24] <lhp22> ogra: but it seems to me that this thread is for computer which has still a W installed
[11:25] <lhp22> Maybe it's possible to flash bios from an arch system ?
[11:26] <arraybolt3> lhp22: OK so you can't get into BIOS at all?
[11:26] <lhp22> arraybolt3: i can, but not the advance options. I can't even disable secure boot
[11:27] <arraybolt3> Yeah, it looks pretty extremely basic.
[11:27] <arraybolt3> Your best bet here may be to install Ubuntu onto an external USB flash drive if none of the solutions in there help.
[11:29] <lhp22> arraybolt3: I keep in mind this solution, but I would like to avoid
[11:30] <lhp22> I've just found it : https://help.ubuntu.com/community/Installation/MinimalCD
[11:31] <lhp22> Or, other things : is there possible to launch the ubuntu installation key from the archlinux system ?
[11:31] <lhp22> *key = usb drive
[11:34] <ogra> lhp22, the mini.iso has never been a supported ubuntu install method (it was a by-product of building other stuff, installing with it gets you a debian-configured install that uses ubuntu packages ... i.e. an unsupportable frankenstein system)
[11:35] <ogra> (though since it is gone completely nowadays thats a moot point i guess ... just dont waste time searching for it, it does not exist anymore)
[11:36] <lhp22> i try something with debootstrap
[11:37] <ogra> you could try an ubuntu base tarball ..
[11:37] <ogra> http://cdimage.ubuntu.com/ubuntu-base/releases/
[11:37] <ogra> this is essentially a basic debootstrap based tarball
[11:38] <lhp22> try to follow it : https://blog.domainmess.org/post/arch_ubuntu_install/
[11:38] <lhp22> ogra: but I keep it
[11:40] <ogra> lhp22, that articles is utter nonsense ... if you cn boot an arch USB key to call debootsrap t install to the internal drive. you can do the very same with the ubuntu installer
[11:41] <lhp22> ogra: it's not my fault if the ubuntu installer has a problem with RST and not arch installer
[11:41] <ogra> lhp22, well, that guy is using a USB key with arch on it to boot the HW to then call debootstrap ... thais is nonsense as you can do the same from an ubuntu USB key and actually et the *right* tools ... not some arch version of them
[11:42] <lhp22> ogra: oh, i can do it from the live cd indeed
[11:42] <ogra> yeah 🙂
[11:45] <ogra> and when using an ubuntu usb key, you can just wget the base tarball and extract it to te partiton on the internal disk ... no need for debootstrap at all
[11:46] <ogra> that way you are at leas half way close to what an actual ubuntu install gives you ...
[11:48] <lhp22> ogra: not sure to understand what you mean by "tarball"
[11:49] <ogra> lhp22, what i pointed you to above ..
[11:49] <ogra> lhp22, http://cdimage.ubuntu.com/ubuntu-base/releases/
[11:49] <arraybolt3> lhp22: It's basically a compressed archive containing a minimal "core" of Ubuntu. You can mount stuff into folders in it, then chroot in and install extra packages on top of it, which should hopefully give you a working Ubuntu system.
[11:49] <ogra> grab a tarball from there
[11:50] <arraybolt3> "Tarball" = "a bunch of files archived using `tar` and then compressed".
[11:50] <ogra> lhp22, boot a usb ubuntu ... use wget to download the tarball, partition the internal disk, mount your future rootfs to /mnt and extract the tarball to /mnt ...
[11:51] <lhp22> ok. Sorry, was mistaken
[11:51] <ogra> http://cdimage.ubuntu.com/ubuntu-base/releases/22.04.1/release/ has the latest
[11:51] <lhp22> (and thanks for help and patience)
[11:51] <arraybolt3> You also will probably need to create and mount the EFI partition before you can get the system bootable.
[11:51] <ogra> his is what we are here for 😉
[11:51] <ogra> *this
[11:52] <arraybolt3> So, like, mount the rootfs to /mnt, extract the tarball to /mnt, then do "mkdir -p /mnt/boot/efi", mount the EFI system partition to /mnt/boot/efi, and then continue from there.
[11:52] <lhp22> for the boot, I think I'll grub-mkconfig from arch side
[11:53] <ogra> eeek, dont
[11:53] <arraybolt3> chroot in and install the GRUB package
[11:53] <arraybolt3> From within Ubuntu
[11:53] <ogra> righ
[11:53] <ogra> t
[11:53] <lhp22> Ah yes, need to install grub in ubuntu too, mb
[11:53] <ogra> dont use freign bootloaders for a distro
[11:53] <ogra> *foreign
[11:54] <lhp22> At this point ? ok
[11:54] <lhp22> (never did this level of black magic)
[11:54] <arraybolt3> It's like an Arch install, Ubuntu style.
[11:54] <lhp22> Yes, it's what I want, but without the wiki :'D
[11:54] <ogra> each distro has its own configuration, you dont want to use a grub.cfg created with arch tools for ubuntu
[11:54] <arraybolt3> A lot of what you'll be doing will feel similar to an Arch installation. But you can do everything from the Ubuntu live USB.
[11:55] <rob0> if you know what you are doing you can merge your boot loader configuration
[11:55] <ogra> (packages and upgrade scripts expect certain things in the config that migth make i.e. your kernel updates fail if they are not there)
[11:55] <lhp22> rob0: I don't know what I'm doing enough
[11:55] <rob0> :)
[11:56] <lhp22> I do it, and come back here
[11:56] <ogra> just chroot into the extracted tarball partition and use the normal grub-install and update-grub tools from ubuntu
[11:56] <rob0> using a separate grub is fine
[11:56] <ogra> (you might need to mount the EFI partition here though<)
[11:58] <lhp22> ogra: I think the wiki for grub on arch give instructions that work for from ubuntu (grub-install and grub-mkconfig)
[11:59] <ogra> well, ubuntu does never use grub-mkconfig directly ...
[11:59] <arraybolt3> grub-mkconfig works, but update-grub is more commonly used.
[11:59] <lhp22> arraybolt3: don't know update-grub, i'll see
[11:59] <ogra> it also uses grub-shim as first stage loader and then chainloads other grub binaries
[11:59] <ogra> not sure arch even remotely does that
[12:00] <ogra> 'D really follow the ubuntu processes and not mix and mesh with foreign distros ... this will surely cause issues further down the road
[12:00] <ogra> *i'd
[12:01] <ogra> (especially update-gub is used by a bunch of packages, so yu want to make sure it is set up properly and works to not make these packages fail on update or install)
[12:08] <lhp22> ogra: i just have to "update-grub" instread of "grub-mkconfig -o grub.cfg" ?
[12:09] <lhp22> Ok, I've rtfmed myself, and find "update-grub is a stub for running grub-mkconfig -o /boot/grub/grub.cfg to generate a grub2 config file". Ok. x)
[12:13] <ogra> lhp22, right, it generated the input file to grub-mkconfig from various snippets
[12:14] <ogra> (and then calls grub-mkconfig in the end)
[12:14] <ogra> *generates
[12:22] <BluesKaj> Hi all
[12:31] <lhp22> ok, now, I'm chrooted with the efi partition mounted
[12:31] <lhp22> (sorry, took time, needed to resetup an ubuntu key)
[12:32] <arraybolt3> ogra: ^
[12:32] <lhp22> strange, that chroot env doesn't see my ethernet connection
[12:32] <arraybolt3> (I'd pick up from here but I don't know what I'm doing exactly so)
[12:32] <arraybolt3> lhp22: Oh that's easy to fix. You're in the chroot, right?
[12:33] <lhp22> The problem is gamja disconnected me, so I lost our conversations >.<"
[12:33] <arraybolt3> lhp22: If so, run "mv /etc/resolv.conf /etc/resolv.conf.bak".
[12:33] <lhp22> arraybolt3: i'm in, yes
[12:33] <arraybolt3> lhp22: Then exit the chroot, and run "cp /etc/resolv.conf /mnt/etc/resolv.conf".
[12:33] <arraybolt3> lhp22: Then re-enter the chroot and you should be good to go.
[12:33] <arraybolt3> (Note that this is a hacky way of doing this, and we'll need to undo this later using the resolv.conf.bak file.)
[12:33] <ogra> right, you want a temporary resolv.conf in place (remove it when you are done though !!!)
[12:34] <ogra> install "linux-generic" to get a kernel ... that should also call update-grub from its post-install script
[12:35] <lhp22> the resolv.conf didn't work
[12:35] <ogra> you might also want to call grub-install with the right runes for your disk
[12:35] <ogra> can you ping <IP_ADDRESS> ?
[12:35] <lhp22> from the no chroot yes
[12:35] <ogra> and from the chroot ?
[12:35] <lhp22> from the chroot, no, ping isn't installed
[12:35] <ogra> heh
[12:36] <ogra> kay ...
[12:36] <lhp22> but "apt update" fails
[12:36] <lhp22> Can't fetch
[12:36] <ogra> yeah
[12:36] <arraybolt3> What directories did you bind-mount into the chroot?
[12:36] <ogra> add "nameserver <IP_ADDRESS>" as the only line to your /etc/resolv.conf
[12:36] <ogra> then see if it works
[12:36] <lhp22> indeed, i've no resolv.conf file
[12:36] <ogra> else you are missing other stuff
[12:36] <arraybolt3> You're supposed to do something like "sudo mount --bind /proc /mnt/proc" and stuff like that from outside the chroot before chrooting.
[12:36] <arraybolt3> The full list is:
[12:37] <ogra> you can do that from the inside too
[12:37] <lhp22> Ah yes, forgot the bindings
[12:37] <arraybolt3> sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys && sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts
[12:37] <ogra> mount -t proc proc /proc
[12:37] <arraybolt3> That's probably the problem.
[12:37] <ogra> mount -t sysfs sys /sysfs
[12:37] <ogra> mount -t devtmpfs dev /dev
[12:37] <ogra> use these three commands inside the chroot
[12:38] <lhp22> ogra: with the command givne byt arraybolt3 ?
[12:38] <arraybolt3> lhp22: Use ogra's commands.
[12:38] <ogra> no, that is the same but from outside the chroot
[12:39] <ogra> use either or 🙂
[12:39] <arraybolt3> (Just not both. :P)
[12:39] <ogra> well, both wont do harm either ...
[12:39] <ogra> virtual filesystems dont care if they are double mounted at the same place 🙂
[12:40] <ogra> (umount does care indeed, you'd need to unmount twice to)
[12:40] <lhp22> arraybolt3's commands arn't enough, still no internet connexion
[12:40] <arraybolt3> ogra: My head is spinning...
[12:40] <ogra> did you edit resolv.conf ?
[12:40] <ogra> (or create)
[12:40] <ogra> ... with the one line i gave above
[12:42] <lhp22> ogra: got it !
[12:42] <ogra> great 🙂
[12:43] <ogra> so apt update ... apt install linux-generic
[12:43] <lhp22> linux-generic is a package for kernel ?
[12:43] <ogra> (probably also "apt install ubuntu-minimal ubuntu-standard" to get all the basic bity in place)
[12:44] <ogra> it is the metapackage for ubuntu kernels ... it pulls in all the other bits needed
[12:44] <lhp22> I wanted to look for these commands, thanks for giving >.>
[12:44] <lhp22> ogra: oh shit, what a spare
[12:45] <lhp22> It's a powerfull package
[12:45] <lhp22> ah YES. I see all what it installs
[12:46] <ogra> great
[12:46] <lhp22> The "base" tarball was indeed basic
[12:46] <lhp22> What does "--bind" option indeed ?
[12:46] <ogra> right, "just enugh to run apt"
[12:47] <lhp22> And with apt, world is ours ! *insert an emoji*
[12:47] <arraybolt3> --bind basically tells Linux "Here's where a directory is, make it also appear over here, too."
[12:47] <lhp22> The "--bind" is just some magic to create a virtual equivalent ?
[12:47] <lhp22> Ok >.>
[12:47] <arraybolt3> So "mount --bind /dev /mnt/dev" makes /mnt/dev look like /dev.
[12:48] <lhp22> I wanted to take time to learn how works chroot. So ...
[12:48] <lhp22> The main following step : ubuntu-minimal, ubuntu-base and grub-update ?
[12:49] <lhp22> grub-install before grub-update maybe
[12:49] <ogra> the kernel package install should already call update-grub
[12:49] <ogra> so you should have a working config after the install finished
[12:50] <lhp22> So, If i like bets, I could reboot and see if I can boot ?
[12:50] <ogra> what you still need to do is grub-install with the correct target to install to your disk
[12:50] <lhp22> Ok. That I know
[12:51] <ogra> okay ... well, install ubuntu-minimal and ubuntu-standard too ... hat will add all the missing pieces (i,e, the ping command 🙂 )
[12:51] <lhp22> "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB"
[12:51] <lhp22> yeah, it's on x)
[12:52] <lhp22> Stupid question : never ever understood how language is handled by linux distros. What do I have to do to set up it properly ?
[12:52] <lhp22> (In french indeed)
[12:52] <lhp22> I have to do some stuff with the locale
[12:53] <lhp22> ER
[12:53] <lhp22> ogra: do linux-generic setup fstab ?
[12:53] <ogra> nope
[12:54] <ogra> you might want to do that as well
[12:54] <lhp22> Ok, i'll do
[12:54] <ogra> make sure to use the UUID there
[12:54] <lhp22> does locale-gen is arch specific ?
[12:54] <lhp22> (the script)
[12:55] <ogra> no
[12:55] <lhp22> Ok, so I can follow the locale setup of arch
[12:55] <ogra> for locales, edit /etc/default/locale
[12:55] <lhp22> even : "the local locale setup" :p
[12:55] <ogra> then run "sudo update-locale"
[12:56] <arraybolt3> (So don't use the Arch locale setup.)
[12:56] <lhp22> (What I was thinking about)
[12:56] <ogra> later on, once you have the desktp installed, yu can use the GUI tool to install the langpacks fr french
[12:56] <lhp22> When I'll get a bootable ubuntu, I'll become a newbie, never user this distro x)
[12:57] <lhp22> OH
[12:57] <lhp22> one of the "ubuntu-minimal/standard" sets up the time zone
[12:59] <lhp22> Do you want a joke ? The RTS problem is not theorically one. Only my SSD is RTS, my big HDD is AHCI. So I could use it x)
[12:59] <lhp22> (but installer didn't want)
[12:59] <lhp22> SO
[12:59] <lhp22> After grub-install, i could theorically boot ?
[13:01] <ogra> hopefully 🙂
[13:03] <lhp22> hm
[13:03] <lhp22> what I've to put in /etc/default/locale ?
[13:04] <ogra> fr_FR.UTF-8
[13:05] <lhp22> It's written "File generated by update-locale"
[13:05] <lhp22> This kind of file hasn't to be modified other than through update-locale, so ?
[13:05] <lhp22> Or I dont care ?
[13:06] <ogra> sudo update-locale LANG="fr_FR.UTF-8"
[13:06] <ogra> try that one
[13:07] <lhp22> It fails, and the message is as this locale isn't installed
[13:08] <ogra> sudo apt install locales
[13:09] <ravage> i would worry about that after your system boots by itself or you will have to start translating error messages for us here anyway
[13:09] <ogra> (tough ubuntu-minimal or -standard should have installed it)
[13:09] <lhp22> ravage: good point, I'll do it at the end
[13:09] <ogra> but ravage is right ... finish the critical bit first ..
[13:09] <lhp22> ogra: yeah, I've ddg-ed the problem, and found it
[13:09] <ogra> and after you successfully booted move on with configuration
[13:10] <lhp22> Have to do the fstab too
[13:10] <lhp22> no ?
[13:10] <ogra> it surely helps
[13:11] <ogra> to find your UUID use the blkid command (it takes the partition as argument)
[13:14] <lhp22> (oh shit, thanks, I was looking for it with "bluid" or some thing)
[13:14] <lhp22> BUT
[13:14] <lhp22> problem with grub
[13:14] <ogra> tell us
[13:14] <lhp22> "grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doens't exist. Please specify --target or --directory."
[13:14] <lhp22> But I've done
[13:15] <lhp22> Command I've typed : "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB"
[13:15] <lhp22> With UEFI part at /boot/efi
[13:15] <ogra> you need to give it the disk as last argument
[13:15] <ogra> like: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB /dev/sdaX
[13:16] <ogra> errr
[13:16] <ogra> like: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB /dev/sdX
[13:16] <ogra> where /dev/sdX is your disk (not the partition !!)
[13:17] <ogra> oh, and that modinfo.sh comes from the grub-efi-amd64-bin package ... make sure that is installed
[13:18] <lhp22> that was my following point :some grub package exists that are not installed
[13:18] <lhp22> grub2-common grub-pc grub-efi-amd64
[13:19] <lhp22> grub2-common and grub-efi-amd64 will be installed.
[13:19] <lhp22> ogra: the disk isn't asked normally imo
[13:19] <ogra> this is what my laptop has installed: grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
[13:20] <lhp22> grub2-common was already installed
[13:20] <lhp22> grub-efi-amd64 was lacking
[13:20] <lhp22> And now it works
[13:20] <ogra> yay
[13:20] <lhp22> the grub install
[13:20] <lhp22> update-grub is necessary ?
[13:21] <ogra> that should have been run already ... but it wont do any harm to re-run it
[13:22] <lhp22> I've some reminds of "mkinitcpio". Is it necessary ?
[13:22] <ogra> no, ubuntu uses update-initamfs (which might call mkinitcpi at some point in the backend though)
[13:23] <ogra> the kernel package should have done all this from its post installation scripts already
[13:23] <ogra> (calling update-grub, calling update-initramfs and so on)
[13:27] <lhp22> ok
[13:27] <lhp22> Is there a way to check "kindly" the fstab file ?
[13:28] <lhp22> no through chroot I think
[13:29] <lhp22> aaaaaand it's TIME
[13:29] <ogra> cat /etc/fstab | nc termbin.com 9999
[13:30] <ogra> give us the url that returns and we can inspect
[13:30] <lhp22> aaah, grub shows me her console <3
[13:31] <lhp22> and that doesn't boot :3
[13:31] <ogra> go back to the chroot, try the grub install again but give it the disk as last arg 🙂
[13:32] <lhp22> ok. *waiting for launching the live cd*
[13:41] <geosmile> 2x3090 MSI + Linux/Ubuntu + nvidia-smi = 1 gpu detected. Can anyone help please? https://dpaste.org/H9Tc9
[13:44] <lhp22> ogra: I take "warning: EFI variables cannot be set on this system // you will have ot complete the GRUB setup manually. // Installation finished. No error reported"
[13:45] <lhp22> ogra: I try or I don't try to boot ?
[13:47] <arraybolt3[m]> lhp22: If you got a GRUB screen last time, you might be OK. I'd try to boot, if it fails, there's workarounds.
[13:48] <lhp22> It fails
[13:49] <arraybolt3> *Sigh.* OK, reboot, chroot, let's try to reconfigure it to use the removable media directory.
[13:49] <lhp22> arraybolt3: ah, you think it's impossible to boot on this ubuntu on hard driv e?
[13:50] <arraybolt3> lhp22: No, I think we're pretty close to done.
[13:51] <lhp22> *launching the live cd*
[13:51] <arraybolt3> If you can get a GRUB terminal, and you can have Ubuntu's files on the disk, there's likely hope. If this next workaround fails, there's one last desparate hack that I've used a couple of times with good success - it's tricky but functional.
[13:52] <lhp22> what's your next trick ?
[13:52] <arraybolt3> (In the event I'm not around later on, the desperate hack is to write your own grub.cfg and place it under /boot/efi/EFI/boot/grub/grub.cfg or wherever else the grub.cfg can go in the EFI partition.)
[13:52] <arraybolt3> OK, but for now, the trick is this. You're in the chroot?
[13:52] <arraybolt3> (The above trick isn't the next one to use, it's the final one I have in mind.)
[13:52] <lhp22> I'll be. It launches
[13:52] <lhp22> (Yeah, write my own config file is able, but never did it)
[13:52] <lhp22> (And it's not quite simple)
[13:53] <arraybolt3> Once in the chroot and with all the necessary mounts and bind mounts set up, the command to run is "dpkg-reconfigure grub-efi-amd64".
[13:53] <arraybolt3> When it asks you "Force extra installation to the EFI removable media path?", tell it "Yes".
[13:53] <lhp22> And then I'll try to reboot ?
[13:53] <arraybolt3> Yep.
[13:57] <lhp22> chrooted
[13:58] <lhp22> I get a windows with : "The following Linux command line was extracted from /etc/default/grub or the 'kopt' parameter in GRUB Legacy's menu list. [...]"
[13:58] <arraybolt3> OK, dpkg-reconfigure grub-efi-amd64
[13:59] <arraybolt3> Can you pastebin it or screenshot it and upload it to Imgur?
[13:59] <lhp22> I can write a command line, but it's right to be empty
[13:59] <arraybolt3> You should be able to progress through the screens with whatever looks right until you reach that one screen I named. If anything's confusing, screenshot it, upload it to Imgur, then send the link and we can look at it.
[14:00] <arraybolt3> Or pastebin the full message and send the link to that.
[14:01] <lhp22> https://pic.infini.fr/gallery#nflziV8x/OELKxagg.jpg
[14:02] <lhp22> arraybolt3: ^
[14:03] <geosmile> 2x3090 MSI + Linux/Ubuntu + nvidia-smi = 1 gpu detected. Can anyone help please? https://dpaste.org/H9Tc9
[14:06] <arraybolt3> lhp22: Yep, OK.
[14:07] <lhp22> i leave it empty ?
[14:07] <arraybolt3> Correct.
[14:08] <lhp22> Next : "The following string willl be used as Linux parameters for the default menu entry but not for the recovery mode. Linux default command line :" [quiet splash]
[14:08] <lhp22> I can add or remove parameters
[14:08] <arraybolt3> Leave it default.
[14:09]  * arraybolt3 has to go afk, ogra or anyone else can you pick up where I'm leaving off?
[14:10] <lhp22> how long you have to afk ?
[14:11] <lhp22> arraybolt3: https://pic.infini.fr/gallery#1ECz1rx0/G0m4ErbF.jpg
[14:11] <lhp22> Strange thing : it speaks about debian
[14:11] <lhp22> and NVRAM and PXE
[14:11] <lhp22> ogra: ^
[14:12]  * arraybolt3 is back
[14:12] <arraybolt3> Answer Yes.
[14:12] <arraybolt3> (Ubuntu is based on Debian and reuses code as much as possible so I'm not surprised to see that.)
[14:13] <arraybolt3> (Or at least, it reuses a lot of code.)
[14:13] <arraybolt3> lhp22: ^
[14:13] <lhp22> next incoming
[14:13] <lhp22> (it sounds like a joke)
[14:14] <lhp22> arraybolt3: https://pic.infini.fr/gallery#FHuUaQdc/b47It5na.jpg
[14:14] <lhp22> Do I want to install Grub ?
[14:14] <lhp22> ?.?
[14:15] <arraybolt3> lhp22: ...well I understand what it's saying but why is a mystery to me.
[14:15] <arraybolt3> lhp22: Try answering "No", if it kicks you out, restart the procedure answering the same thing to all the questions, but answer "Yes" at this screen the second time around.
[14:16] <lhp22> I'm locked if I answer No
[14:16] <lhp22> I stay on the same window
[14:16] <arraybolt3> OK then answer Yes.
[14:16] <arraybolt3> (GRUB has already been installed so it's probably fine.)
[14:16] <lhp22> finished
[14:17] <arraybolt3> Crud, that was it?
[14:17] <lhp22> and it tells me it found my arch
[14:17] <arraybolt3> Maybe it will pop up another window in a bit.
[14:17] <lhp22> I try to reboot ?
[14:17] <arraybolt3> No, that probably won't work.
[14:17]  * arraybolt3 has to afk again, sorry
[14:19] <lhp22> np
[14:20] <arraybolt3> OK back.
[14:20] <arraybolt3> Alright, can you run "cd /boot/efi/EFI && ls | nc termbin.com 9999" and send the link?
[14:21] <arraybolt3> (That command will output a link showing me the contents of a folder on the newly installed system.)
[14:21] <lhp22> i'm stupid
[14:22] <lhp22> I'vnt mounted the efi partition before the dpkg reconfigure
[14:22] <lhp22> do i dpkg again ?
[14:23] <arraybolt3> Yep.
[14:24] <lhp22> nothing new
[14:24] <lhp22> Except I didn't get the strange question with "you have grub uninstalled" but it makes sense now
[14:24] <arraybolt3> Crud. Well, ok, run that "cd /boot/efi/EFI && ls | nc termbin.com 9999" command and let's see what's in there.
[14:25] <lhp22> https://termbin.com/i9o4
[14:27] <arraybolt3> lhp22: Alright, can you do "ls BOOT | nc termbin.com 9999"?
[14:28] <lhp22> https://termbin.com/hjjh
[14:28] <arraybolt3> OK, and lastly, ls ubuntu | nc termbin.com 9999"
[14:29] <lhp22> https://termbin.com/k02g
[14:29] <arraybolt3> ?! ok that wasn't expected.
[14:29] <lhp22> Ah xD
[14:29] <arraybolt3> sudo apt install shim-signed
[14:29] <arraybolt3> (If Secure Boot is enabled you'll need that.)
[14:30] <lhp22> Ah, fuckee me.
[14:30] <lhp22> Yes, as I can't remove the RST, I can't remove the secure boot
[14:30] <arraybolt3> We all forgot it, it's not your fault. (Also, please avoid possibly offensive language in this chat)
[14:31] <lhp22> (yes, sorry, it really escapes me)
[14:31] <lhp22> Installed
[14:31] <arraybolt3> OK, now do "sudo apt install efibootmgr"
[14:31] <lhp22> already installed
[14:31] <arraybolt3> Nice, OK "efibootmgr | nc termbin.com 9999"
[14:31] <lhp22> The apt tells me there is some upgradable
[14:32] <arraybolt3> Don't worry about that for now.
[14:32] <lhp22> ok
[14:32] <lhp22> boot goes on : https://termbin.com/c56y
[14:33] <lhp22> what this strange order
[14:33] <arraybolt3> lhp22: That looks like possibly part of our problem.
[14:33] <arraybolt3> OK, "ls ubuntu | nc termbin.com 9999"
[14:33] <lhp22> Why 2 EFI, and 1 Grub ?
[14:33] <lhp22> you already have: https://termbin.com/k02g
[14:34] <arraybolt3> Right but it should be different this time.
[14:34] <lhp22> yes
[14:34] <lhp22> indeed
[14:34] <arraybolt3> That's the old one, I need the new one.
[14:34] <lhp22> https://termbin.com/gy5tu
[14:34] <arraybolt3> Alright! That looks much more normal.
[14:34] <lhp22> I can termbin a tree if you want
[14:35] <arraybolt3> Uh... ok so can you do "cat ubuntu/grub.cfg | nc termbin.com 9999"?
[14:35] <arraybolt3> I think that's probably enough info for me to work on.
[14:35] <lhp22> https://termbin.com/djxj
[14:35] <arraybolt3> It looks like everything is all set up except for the EFI boot variables, and some efibootmgr tricks should (hopefully) let us fix that.
[14:35] <arraybolt3> Yes! Alright, this looks very hopeful.
[14:35] <lhp22> Ok. May you explain a bit deeper ?
[14:36] <arraybolt3> OK. one moment while I work out an efibootmgr command...
[14:36] <lhp22> np, I wait
[14:37] <arraybolt3> (The EFI system partition has multiple folders, one for each OS that can be booted, plus a special removable media directory marked BOOT. Currently it looks like the system is set to boot from the BOOT folder, whereas we need it to boot from the ubuntu folder, using the shimx64.efi binary. All of the files look right for this to work, so now we just need to set the EFI to boot from the right path and we should be done.)
[14:37] <lhp22> (I hope that's not a bios that reinits the UEFI boot order ... I got one one time ...)
[14:37] <lhp22> oh, ok
[14:38] <lhp22> [At the end, I'll ask you if you have references to learn all of it, cause it hurt me some times]
[14:39] <arraybolt3> Yuck, this may be trickier than I thought. Let's just try "rm -rf /boot/efi/EFI/BOOT && cp -r /boot/efi/EFI/ubuntu /boot/efi/EFI/BOOT", be VERY CAREFUL not to make typos here or else we could accidentally nuke things)
[14:39] <lhp22> OK
[14:39] <arraybolt3> All of the spaces, slashes, & signs, etc. are all important.
[14:39] <lhp22> yeah, i've seen the "rm -rf" at the beginning xD
[14:39] <leftyfb> arraybolt3: I would suggest mv
[14:40] <arraybolt3> leftyfb: That's a good idea, I didn't think of that.
[14:40] <lhp22> instead of ?
[14:40] <arraybolt3> "mv /boot/efi/EFI/BOOT /boot/efi/EFI/BOOTBAK && cp -r /boot/efi/EFI/ubuntu /boot/efi/EFI/BOOT"
[14:40] <arraybolt3> (That way we don't destroy stuff that may end up being important later.)
[14:41] <lhp22> done
[14:42] <arraybolt3> OK, now do "ls /boot/efi/EFI/BOOT" and make sure you see shimx64.efi in there, if so, reboot and let's see what happens.
[14:42] <eelstrebor> now all of my pc's won't update with apt-get - seems to be a dns issue even though i can connect to irc and i can surf the net - drill and tracepath doesn't show any network issues but i still can't update the packages
[14:42] <tomreyn> geosmile: not enough info: what is a "3090 MSI"? Which Ubuntu release is this, which kernel version? is the mainboard actually capable of powering multiple discrete GPUs?
[14:42] <lhp22> i saw it, i shut
[14:43] <lhp22> ... ... ...
[14:43] <tomreyn> eelstrebor: show output of   sudo apt-get update    incl. warnings + error messages.
[14:43] <lhp22> it ... works ...
[14:43] <arraybolt3> (As for references for learning this stuff, most of it is learning fundamental Linux commands (rm, ls, mv, cat, nc, etc., you can use the "man" command to look up documentation on a command and the "apropos" command to find commands). I also spent a few long and sad days stuck in "info grub" trying to get a very finicky EFI system running.
[14:43] <lhp22> At least Grub sees Ubuntu and it seems booting correctly
[14:43] <arraybolt3> \o/
[14:44] <arraybolt3> *If* it drops you to an initramfs, it's OK, we'll work with it from there, but hopefully you should get a desktop.
[14:44] <lhp22> :'D
[14:44] <lhp22> except that I didn't create root passwd and user so ... xD
[14:44] <eelstrebor> tomreyn, i did that via pastebin yesterday but i'll have to go into the irc log to find it again or do a new paste
[14:44] <arraybolt3> Oh no LOL
[14:44] <lhp22> I get a login prompt
[14:45] <lhp22> Without errors
[14:45] <arraybolt3> That's hopeful and good! OK, reboot, chroot, and let's make a user.
[14:45] <arraybolt3> (Someone in here might know this part, this is where my knowledge gets fuzzy, so I probably should step away and let someone else take over so I don't give bad advice.)
[14:45] <lhp22> arraybolt3: yeah, that I can do alone
[14:45] <arraybolt3> Oh nice! Congrats!
[14:46] <lhp22> arraybolt3: it's not the first Linux I get "fun" with. But the boot UU
[14:46] <tomreyn> eelstrebor: i concur
[14:46] <lhp22> arraybolt3: but you're my god, and thanks, really
[14:46] <arraybolt3> Eh, just a fellow Linux user happy to help others with my knowledge. Glad to be able to help out!
[14:47] <lhp22> Last but not least : I come from a tiny ubuntu. Is there a quick way to get the usual ubuntu set up ?
[14:47] <arraybolt3> (You should have seen me figuring out this stuff the first time. Trust me, I am *not* a god in this area, it was just difficult enough that it burned into my memory :P)
[14:47] <arraybolt3> lhp22: sudo apt install ubuntu-desktop
[14:47] <eelstrebor> tomreyn, https://pastebin.com/vwP0fGqP
[14:47] <arraybolt3> That should take you from a DOS-like environment to the Ubuntu you've probably been using all this time.
[14:48] <arraybolt3> Or if you use Xubuntu, sudo apt install xubuntu-desktop, for Lubuntu, sudo apt install lubuntu-desktop, etc. Whatever flavor you want, pick now, and that's what this will transform into.
[14:48] <arraybolt3> (If all goes according to plan, that is.)
[14:48] <lhp22> arraybolt3: writen. Thanks. And yeah, I know that sort of stuff. First time I had to install arch was on a laptop whichi booted only on an arch key and without rj45 port, so I had to learn how to wifi. One afternoon. You know where to look for at least after it xD
[14:49] <arraybolt3> LOL wow.
[14:49] <arraybolt3> I, to this date, still can't sign into WiFi using only CLI tools.
[14:49] <tomreyn> eelstrebor: this looks like bad connectivity or a restrictive network environment on your end.
[14:49] <arraybolt3> I can do it with the GUI or with nmtui, but not with pure command-line stuff.
[14:49] <lhp22> arraybolt3: let a try to iwd and iwctl. It's terribly simple now
[14:50]  * arraybolt3 files that in the back of my brain for (hopefully) future recall
[14:50] <lhp22> arraybolt3: and user-friendly.
[14:50] <tomreyn> eelstrebor: more likely the latter - are you behind a corporate firewall restricting outbound traffic?
[14:52] <lhp22> arraybolt3: I learnt with wpa-suppliant, and iwd is just ... a gui through cli =O
[14:52] <eelstrebor> tomreyn, no. this is my home network - i'm using routers with dd-wrt firmware
[14:52] <eelstrebor> tomreyn, my wife uses a vpn and the updates work fine there but i haven't a clue as to why it's a problem here
[14:52] <arraybolt3> lhp22: Ugh, wpa-supplicant was my nemesis. But this is somewhat off-topic for this channel, maybe #ubuntu-discuss would be a better location?
[14:53] <eelstrebor> ifm i turn off her vpn service then she has the problem also.
[14:53] <tomreyn> eelstrebor: can you show the tracepath (you can omit the first hops for privacy)
[14:53] <arraybolt3> eelstrebor: I would consider checking your router's settings. My router one time restricted all Internet access (except for apt and Wikipedia) due to the APN settings - I changed them and everything fixed.
[14:53] <arraybolt3> (I'm using a mobile hotspot as my router.)
[14:56] <eelstrebor> i may have found the problem - i was using QoS, when i turned it off the updates came in.
[14:57] <arraybolt3> eelstrebor: Yeah, that sounds like it would do it.
[14:57] <eelstrebor> why it would suddenly cause this problem i don't know
[14:58] <rdz> hey all. i'm running some debian kvm guests on my ubuntu 22.04 box. I can't seem to access any other ports than 22 from the host. I thought this was working before I upgraded host from 20.04. i seem to have any firewall insstalled, neither on host nor on guest. what could be the culprit?
[14:58] <rdz> ssh'ing from host to guest works fine, though
[14:59] <rdz> *not have any firewall installed
[15:03] <tomreyn> rdz: so    sudo iptables -L   is empty?
[15:04] <rdz> tomreyn: no, it is not, but port 22 isn't mentioned either
[15:04] <tomreyn> is "ssh" mentioned, though?
[15:04] <rdz> tomreyn: libvirt _does_ create indeed a bunch of rules
[15:04] <tomreyn> so you're using libvirt, that's good to know
[15:06] <tomreyn> when you connect from the host to the guests via ssh, do you address the guests by ip address or hostname? and do you use the same ip address (or hostname) when you try to connect to other services exposed on them?
[15:06] <rdz> tomreyn: by ip.. and when testing other ports, i use the same ip
[15:07] <rdz> "nc -v -l -n -p 17990" opens a listening port inside the guest
[15:07] <tomreyn> does, on the guest,    sudo lsof -i :PORT     show the services binding to the same network interfaces / listening on the same ip  addresses for ssh (22) vs other services?
[15:07] <rdz> from the host i can "nc -v <IP_ADDRESS> 22", but not "nc -v <IP_ADDRESS> 17990"
[15:08] <tomreyn> (replace "PORT" by the very port numbers, so 22 or 17990)
[15:08] <rdz> "netstat -lnpt" in guest shows: "tcp        0      0 <IP_ADDRESS>:17992"
[15:09] <tomreyn> "ss" would be the more current netstat replacement, but i prefer lsof.
[15:10] <rdz> tomreyn: your lsof command does list both
[15:10] <rdz> turnserve 433 turnserver   16u  IPv4  12489      0t0  UDP *:17992
[15:10] <tomreyn> how, though?
[15:10] <tomreyn> udp, so connectionless
[15:11] <rdz> sorry, wrong line
[15:11] <rdz> turnserve 433 turnserver   32u  IPv4  12037      0t0  TCP *:17992 (LISTEN)
[15:11] <rdz> it listens on both, but currently i am worried about TCP
[15:11] <tomreyn> i meant "stateless", but glad you got it. ;)
[15:12] <tomreyn> and ssh looks the same in regards to what it binds to?
[15:13] <rdz> yes: sshd    445  root    4u  IPv6  12013      0t0  TCP *:ssh (LISTEN)
[15:13] <tomreyn> ipv6 vs ipv4
[15:13] <rdz> i can connect to both inside the host..
[15:13] <rdz> tomreyn: ah., didn't check that
[15:14] <rdz> but on my host the guest appears only with ipv4 address, from what i can tell
[15:14] <rdz> <IP_ADDRESS>
[15:15] <rdz> i can connect to both services from inside the guest
[15:15] <tomreyn> using    nc -v   (tcp) that is?
[15:15] <rdz> tomreyn: exactly
[15:16] <tomreyn> and here you really meant "guest"? <rdz> i can connect to both inside the host..
[15:17] <rdz> while not very familiar with what libvirt does re: netfilter rules, i am starting to believe it does stuff i don't see
[15:17] <rdz> tomreyn: oh, sorry.. i meant: i can connect to both services from inside the _guest_ (not host)
[15:20] <rdz> tomreyn: thanks for your time. i need to leave now. will check that later
[15:21] <tomreyn> rdz: you can check "ip route" and "bridge link" + "bridge fdb", optionally with -s, on the host later. it really depends on how you setup the bridging/routing of traffic to the guests.
[15:22] <tomreyn> (or whether you do NAT)
[15:22] <rdz> tomreyn: i'm using the default setup.. but i did create the machines when the host still was ubuntu 20.04.. i might create a new vm and see how this behaves
[15:22] <rdz> the guests use 'Virutal network "default": NAT'
[16:55] <anom> I downloaded the ubuntu source code from archive.ubuntu.com. How do I build this code?
[16:59] <samy1028> anom, what exactly are you trying to do?  Build Ubuntu completely from source only?
[17:07] <anom> Yes, exactly that, build Ubuntu completely from source only.
[17:08] <anom> samy1028
[17:13] <imi> some apps are really slow on my machine without any apparent reason
[17:35] <ogra> imi, if it is "some apps" it is lkely related to either the apps themselves or to something all of them use ... try finding out if they share some technology
[17:40] <Fravialis> Hi all. Why wouldn't chmod g+s on a directory be working? It seems it has no effect.
[17:46] <aberrant> hi all. Anyone an advanced rsyslog user? I'm having a hell of a time with my config and could use an extra set of eyes.
[17:48] <tomreyn> aberrant: try #ubuntu-server, too (and make sure to ask the actual question there)
[17:51] <tomreyn> Fravialis: file system without unix-like ACLs
[17:51] <aberrant> thanks. will do.
[17:52] <aberrant> the actual question involves multiple lines of config, so I was hesitant.
[17:52] <tomreyn> aberrant: a pastebin or similar may come in handy there,
[17:54] <aberrant> got it. Thanks.
[18:10] <mrblink> hello
[18:10] <mrblink> i have my apt crushs when ever i try to install something
[18:22] <tomreyn> !paste | mrblink
[18:22] <tomreyn> let's see your output of running the respective apt commands, including warnings and errors.
[19:15] <Milencho> hey gus
[19:15] <Milencho> guys
[19:15] <Milencho> what could cause the problem after update or i don't know all wifi cards usb/pci are not working
[19:16] <Milencho> i mean device is not ready
[19:20] <EriC^^> Milencho: try 'rfkill list'
[19:20] <sybariten> how long does a sudo apt-get upgrade typically take? I mean, just a ballpark idea. Is there any way to get an idea beforehand somehow? I have a slow VPS
[19:21] <EriC^^> sybariten: you can't know that cause it depends on how many packages are going to be updated
[19:21] <sybariten> Gotcha
[19:22] <Milencho> EriC^^, tried evertying looks fine
[19:22] <sybariten> OK lets go back one step. I suppose theres a way i can check (on a headless machine), _roughly_ how out of date my machine is?
[19:22] <Milencho> nothing is blocked
[19:23] <oerheks> check current kernel, as a start
[19:23] <EriC^^> sybariten: why dont you run sudo apt full-upgrade, and i think it might show the estimated time to finish, then you could ctrl+c it
[19:23] <Milencho> i have restarted network manager few times
[19:23] <oerheks> maybe you are a reboot behind
[19:23] <oerheks> and WIFI ona  VPS?
[19:23] <EriC^^> Milencho: is it a laptop that you can remove the battery of?
[19:23] <Milencho> desktop
[19:24] <Milencho> anykind of usb/pci wifi is ****** up
[19:24] <sybariten> EriC^^: thats not gonna break stuff i suppose, if i ctrl-c ?
[19:24] <sybariten> I realize lsb_release gives "no lsb modules available"
[19:24] <EriC^^> sybariten: nope, maybe also sudo apt -s full-upgrade might show the size of the download, (-s is just a dry run/simulate)
[19:25] <sybariten> EriC^^: gotcha thanks
[19:25] <EriC^^> sybariten: no problem
[19:26] <Milencho> EriC^^, my kernel is 5.19.0-15
[19:26] <EriC^^> oerheks: ^
[19:26] <sybariten> OK, so lsb release -a gives me  Description:    Ubuntu 20.04.2 LTS     If a course formally asks me to "upgrade to the latest version of the OS", is this true or false then?
[19:26] <Milencho> is there any way that i can install mainline gui from deb packet in order to revert kernel
[19:26] <oerheks> 5.19 .. is this the next 22.10?
[19:26] <Milencho> yup i'm with 22.10
[19:27] <Milencho> because of newer driver for ax210 intel
[19:27] <ic56> sybariten: apt-get upgrade, on the commandline, decides what it needs to upgrade, then prompts you whether to proceed
[19:27] <oerheks> oh then you are testing, join #next for support.
[19:27] <oerheks> #ubuntu-next
[19:27] <Milencho> oerheks, it was working with 22.10 few weeks
[19:27] <Milencho> not sure may be after security update.
[19:28] <Milencho> something went wrong
[19:28] <sybariten> ic56: hmm ok . I'm reading now that the current LTS version is actually 22.x ....  But i wonder if maybe my VPS wants to take care of these upgrades, sometimes they do. gotta check
[19:28] <oerheks> to group these issues, there is that seperate channel.
[19:29] <ic56> sybariten: apt-get upgrade gets you the latest versions of all packages in the release you have installed.  It doesn't switch you to a new release altogether.
[19:30] <genii> Well, the latest minor revisions of packages. To bum major version numbers and increment kernel versions dist-upgrade
[19:30] <genii> bum/bump
[19:31] <ic56> hey genii!  Imagine seeing you here :-p
[19:31] <sybariten> ic56: oh right. So upgrade is not the same as dist-upgrade i suppose. What is full-upgrade then?
[19:32] <sybariten> dist-upgrade requires a reboot i imagine?
[19:32] <EriC^^> sybariten: it depends on what it installs, e.g if it installs a kernel you'd need to reboot
[19:32] <ic56> sybariten: I don't know what full-upgrade is.  Never done dist-upgrade either.  I've always treated release changes as install-from-scratch deals.
[19:33] <sybariten> i see
[19:33] <arraybolt3[m]> None of "upgrade", "full-upgrade", or "dist-upgrade" will upgrade to the next Ubuntu release.
[19:33] <arraybolt3[m]> They all simply update the packages on your machine, while remaining on your current release.
[19:33] <arraybolt3[m]> It's just OS updates.
[19:33] <EriC^^> upgrade is similar to dist-upgrade, the difference is that with dist-upgrade it may remove or install packages to satisfy dependencies, e.g for installing / updating to new kernels
[19:33] <arraybolt3[m]> Upgrading to a new release of Ubuntu uses do-release-upgrade, which is much different and can be very scary.
[19:34] <sybariten> but if you look at this little list here... from a knowledgebase of a VPS company.  https://panel.cinfu.com/index.php/knowledgebase/3/What-operating-systems-can-be-installed-in-our-OpenVZ-VPS-Servers.html    why is it, essentially, that they mention a set number of ubuntu versions? And not 22 for instance? Could it be that hardware needs to be thouroughly tested for a release, before they can write
[19:34] <sybariten> that they offer it?
[19:37] <EriC^^> maybe they're just lazy, at the bottom the copyright still says 2019
[19:37] <ic56> sybariten: most likely it has to do with what they have installed.
[19:38] <ic56> sybariten: OpenVZ is a container technology.  For you to have a particular OS, the enclosing server must be running the same kernel.  So you can't install any random OS.
[19:38] <Milencho> oerheks, i've reverted to 5.15 kernel and its same
[19:38] <Milencho> so it's not because of the kernel guess i
[19:39] <genii> arraybolt3[m]: This is one way Ubuntu diverges from Debian, dist-upgrade in Debian can be used to go to the next OS release by just substituting the new name in sources.list, Ubuntu opts instead to have do-release-upgrade
[19:40] <sybariten> ic56: ah! That makes sense. Didn't know there was a limitaiton like that. Thank you
[19:40] <sybariten> EriC^^: could very well be that their info isn't the most up to date, yes...
[19:40] <ic56> sybariten: you're welcome!
[19:42] <sybariten> "249 packages can be upgraded. Run 'apt list --upgradable' to see them."  Is this a very high number, in general, for a running OS? Do people typically break stuff when they upgrade packages? Or is this something that by good practice i "should" do now ?
[19:43] <arraybolt3> sybariten: Just means you've probably left your systen un-upgraded for a bit. You should do it now, HOWEVER! Check the list of packages it says that it's going to remove (if there are any), and make sure it looks reasonable.
[19:43] <arraybolt3> (Sometimes if phased updates work together just wrong, apt can try to uninstall your desktop environment and crud like that.)
[19:43] <sybariten> ok!
[19:43] <sybariten> its a headless machine but i get your point
[19:44] <ic56> sybariten: 249 is middling high number.  As for breakage, for me, the biggest concern is whether the applications I use will get switched to new versions that don't cooperate with my configuration files.  If you have little in the way of customizations, then everything will just work.
[19:46] <arraybolt3[m]> sybariten: I would probably get in the habit of upgrading somewhat more frequently if you're seeing numbers like 249 packages - leaving packages without upgrades could leave security holes in your system - while Ubuntu is designed to auto-patch things like that, it still isn't a great idea to leave a system without updates. Also, if you're not using Livepatch, it's a good idea to reboot periodically (especially just after a kernel
[19:46] <arraybolt3[m]> update), however the updater may tell you when that needs to happen.
[19:46] <sybariten> i have a very meager LAMP system running .... wechat... and emacs... thats all i can think of. Personal stuff on a rather slow machine
[19:46] <sybariten> (that was for ic56 )
[19:46] <sybariten> arraybolt3[m]: yeah ive definitely given this machine too little love
[19:48] <sybariten> turns out i dont have great scrollback possibilities in my ssh/terminal, but could it be enough to grep -i for "remov" to see if anything would be removed?  Otherwise i only see lines like tzdata/focal-updates,focal-security 2022c-0ubuntu<IP_ADDRESS> all [upgradable from: 2021a-0ubuntu0.20.04]
[19:50] <ic56> sybariten: the question is not what you have running but what you've done with it.  What did you change in /etc/ ?  What scripts have you written that call installed things whose behaviour will change in the new version?  If you've done none of that, then you won't know the difference.  If, OTH, you spent a lot of time in /etc/apache2/ changing things, adding things, ... when you get the new version, you
[19:50] <ic56> will almost certainly find problems.
[19:52] <sybariten> ic56: mmm yeah i understand. I can't really remember having done a lot of changes that arent more of a user home dir type
[19:52] <ic56> sybariten: better than scrollback: divert apt-get upgrade's output to a file, then view it in your favourite editor or pager (eg less(1)).  Then, you can easily search with keystrokes you know best.
[19:52] <sybariten> true dat
[19:54] <ic56> sybariten: so, new version of Emacs... you ok with that?  Will all your add-ons be available for the new version?  Will the keystrokes you're accustomed to still work?
[19:56] <ic56> sybariten: ...these are the issues.  Otherwise, apt-get upgrade will leave the system in a working state.
[19:57] <arraybolt3[m]> (It should be noted that Ubuntu generally doesn't change the features of programs in this way - getting a package update pushed through requires a quite strict process called an SRU, and packages that changed major features in regression-causing ways like this would be more than likely to be rejected. Ubuntu backports bugfixes and security updates, but generally stays feature-compatible.)
[19:58] <arraybolt3[m]> So, the problem ic56 is describing is the very thing Ubuntu is designed to avoid. That's why people use a stable release rather than a rolling release like Arch (among other reasons, like Arch being nearly impossible to install unless you're a PhD...)
[19:59] <ic56> sybariten: arraybolt3[m] makes a good point.  I'm describing things I have had to handle when migrating to a new release.
[20:12] <arraybolt3[m]> How do I search the entire list of installed packages on my system, to see if a particular package is installed? I know I can do this with Synaptic, but I'd be interested in a command-line solution.
[20:13] <leftyfb> arraybolt3[m]: apt list --installed |grep <package_name>
[20:13] <leftyfb> arraybolt3[m]: or apt-cache policy <package_name>
[20:14] <ic56> arraybol3[m]: I use "dpkg -l"
[20:14] <arraybolt3[m]> 🤦♂ Of course. (I hate when I think something is tricky, ask for help, someone posts the solution, and I instantly remember it and am like "oh right of course, I knew that, man I must be tired.")
[20:14] <sybariten> ic56: yeeaaahhh you know... when it comes to emacs, unfortunately i never seem to become a power user. I am definitely beyond the treshold which makes emacs awkward or not to use, so i have some of the basics in my "instincts", which still makes it very useful, but I honestly suck at configuring it for instance
[20:14] <genii> dpkg --get-selections
[20:14] <oerheks> apt-cache search . | grep -i "metapackage\|meta-package"
[20:15] <ic56> sybariten: in that case, apt-get upgrade away.  You won't notice anything amiss.
[20:16] <ic56> genii: I /msg'd you.
[20:17] <sybariten> arraybolt3[m]: " getting a package update pushed through requires a quite strict process called an SRU"  - who actually deals with these things? Is it on the developers side, or is it on the side of ubuntu, i.e. do they have "people" that take care of these things? It sounds like a huge labour, somehow, with all the software being released ...
[20:17] <sybariten> I mean, it sounds like something that a commercial organization can deal with, and I dont know the economics of ubuntu, but it's free to DL after all
[20:18] <oerheks> filing for a SRU, you must have a reason for this, and packaging and testing teams handle this.
[20:19] <oerheks> it is unusual, because bugfixes and patches are ported back anyway.
[20:19] <rdz> tomreyn: re accessing ports of kvm guests on ubuntu host: i created a fresh vm from scratch and I don't have troubles connecting to any ports of the new vm. so maybe the culprit is in my "old" vms..
[20:20] <arraybolt3[m]> sybariten: It is people who deal with this. And yes, it takes a LOT of manpower. Thankfully Canonical is well-staffed and there's lots of volunteers to help out.
[20:21] <ic56> sybariten: they have people.  and Ubuntu *is* a commercial organization.  Companies pay them for support.
[20:22] <ic56> sybariten in all-volunteer distros, like Debian, such things are done as well -- by the volunteer staff.
[20:22] <sybariten> ic56: ah okay so unlike ubuntu, debian "doesn't have" any economy really?
[20:23] <ic56> sybariten: correct.  Though I think the project receives donations to pay for servers.
[20:24] <sybariten> I see
[20:25] <arraybolt3[m]> Fun fact, Ubuntu is based on Debian, helps contribute to Debian, and relies heavily on Debian for a lot of our packages.
[20:56] <morganu> I upgraded to 22.04 (9020 dell 8G) via the upgrade path and chrome is still jamming itself. How do I remove all hints and data of chrome from my system so I can have a totally fresh install of it. (but ff did the same thing back when it was 20.04 AND when I do the memtest86+ it jams in the first cycle but the dell tech test comes out fine) -- so any suggestions pals?
[20:59] <arraybolt3[m]> Back up your passwords saved in the browser and any other important data stashed in the browser itself, then "sudo apt purge google-chrome-stable" might do it.
[21:00] <oerheks> remove the ~/.config/googlle* folders, and restart chrome
[21:00] <leftyfb> morganu: mv ~/.config/google-chrome ~/google-chrome-backup
[21:00] <oerheks> and memtest result sounds bad.
[21:00] <morganu> BTW, I had only 32 tabs open.
[21:01] <oerheks> not the number, but what tabs..
[21:01] <morganu> oerheks, I have been complaining about the memtest since 2000
[21:01] <morganu> when I started using this computer.
[21:01] <morganu> arraybolt3[m], the passwords are stored in my google account and not in chrome. FYI
[21:03] <morganu> (not asking here, but I am going to start using an HP laptop again, hoping that 22.04 has a better radio controller than 18.04 when I stppped using it.
[21:04] <morganu> OK I will follow arraybolt3[m] leftyfb  oerheks will follow your advice re chrome removal
[21:05] <morganu> oerheks, explain re what tabs - clearly YT tabs, even if never brought to focus, matter more.
[21:06] <morganu> oerheks, 7 of them are YT. one messenger one google voice, 3 mail, the rest "sites"
[21:40] <morganu> oerheks I would be willing to keep the tabs-types of tabs- or what you say down to "some level" you specify to see if chrome still ties itself up. But I will read the NYT headline page and open a set of tabs before I read then all and close them.
[22:59] <tomreyn> rdz: nice. so now you just need to compare the new VM configuration to that of an old one, as well as the bridges created for / used by them, and you'll know what needs to be adjusted.
[23:24] <xrandr> Hello. I'm trying to find out of my hard drive crashed. It's a solid state drive, and it's /dev/sdc. fdisk keeps getting an input/output error on it. It was working up until yesterday, and I've done nothing out of my ordinary (web browsing, emailing, etc) that would have caused it. Any ideas?
[23:27] <Bashing-om> xrandr: File system corrupted ? what shows ' fsck ' from the installer USB ?
[23:27] <xrandr> fsck.ext2: Input/output error while trying to open /dev/sdc2
[23:27] <xrandr> Then it outputs a message that the superblock could not be read
[23:29] <ravage> RIP
[23:29] <xrandr> so the drive is dead?
[23:30] <Bashing-om> Ouch! ^^ Might try and spare off the bad superblock: http://ubuntuforums.org/showthread.php?t=2177756 .
[23:30] <sarnold> xrandr: smartctl -x /dev/sdc   might give you more information
[23:31] <sarnold> xrandr: also check dmesg -- there might be errors logged there
[23:31] <xrandr> Says a mandatory SMART command failed: exiting. To continue, add one or more -T permissiveoptions.
[23:31] <ravage> a dead SSD usually stays dead
[23:31] <sarnold> xrandr: IO errors can happen due to bad cables, bad power supply, bad SATA controller, bad motherboard, but *usually* it's dead or dying drive
[23:32] <xrandr> ok.
[23:32] <sarnold> mandatory smart command failing, yikes :/ sounds bad
[23:32] <xrandr> Thank you
[23:32] <xrandr> I just cant fathom what could have caused it to die
[23:32] <xrandr> Luckily I  have backups, but still
[23:33] <xrandr> thank you all. I'm gonna buy another drive.
[23:48] <morganu> Different Copmuter HP laptop. sometimes dialog boxes are too large for the screen and I dont know how to fix it. I think the system has the wrong information about the built-in monitor on it - HP laptop  Probook 455 G3 AMD 8G
[23:49] <morganu> In a moment it will have 22.04 ((thank you community for making the upgrade so easy))
[23:51] <morganu> and ethernet is speedy
[23:57] <morganu> OOPS I spoke too soon. On the desktop, 20 to 22 was easy. On the laptop, 18 to 20 was easy. BUT this is telling me that there is a lot of work to be done on the laptop and it could take several hours. ... ao I can repeat my dialog-box makes hexchat impossible because I cant get to the control corners problem - resolution hours away at best. :(  Tx
[23:57] <morganu> it (may take several hours)=20 to 22
[23:58] <sarnold> morganu: sometimes you can hold down the alt key and click-and-drag in the middle of the window to place it somewhere else
[23:59] <morganu> I havent been abole to do that on the desktop "for a long time" so I thought ubuntu gave that up.  I will try that after it finishes and reboots.
[23:59] <sarnold> oh :(


[02:10] <blackboxsw> minimal: waldi jchittum thx for discussion on the resize2fs breakage ubuntu saw on recent Lunar image updates GCP and Azure. it turns out 5.15 and 5.19 kernels were missing an upstream kernel patch which was reordering when checksums are being updated in the kernel, the upgrade to e2fsproges 1.47.0 exposed this issue with trying to re-run resize2fs  https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2003816. fixes in flight
[02:10] -ubottu:#cloud-init- Launchpad bug 2003816 in cloud-init (Ubuntu Jammy) "Regression in ext4 during online resize" [Undecided, New]
[02:11] <blackboxsw> and holmanb too :)
[02:12] <blackboxsw> not sure if we closed out status here of the debugging effort/triage/fix that canonical folks put into it.
[02:12] <blackboxsw> jchittum: we're dropping a bit in our roadmap for better warning awareness for cloud-init so folks don't have to egrep 'Traceback/WARNING' /var/log/cloud-init.log that should help
[02:13] <blackboxsw> *should help making warnings more conspicuous from testing
[10:48] <caribou> Hello, I have a user-oriented question : if a netplan (i.e. network v2) config is added to cloud-init's user-data, should it get merged into /etc/netplan/50-cloud-init.yaml ?
[10:54] <SDes91> Hi all, I am creating an image for raspberry pi 4 and have the respective cloud-init file in the partitions. I am using packer to make the image file and using ansible to provision the image using chroot before hand. I was curious whether there is a way to trigger cloud-init in the chroot stage so that the image is already ready when I put the
[10:54] <SDes91> image on the sd card and boot up the pi. In classic case, cloud-init will only configure itself when it detects it is first boot.
[10:57] <meena> caribou: I'm not sure User-data can have network configuration at all
[10:59] <meena> SDes91: what's cloud-init doing in this scenario that packer / Ansible can't, or that you feel is wasted work on the first boot?
[11:00] <SDes91> well certain things like user creation. I have `user-data` file which creates for me users. that I will use to add to the docker group etc. I am not sure if one can create users in chroot.
[11:01] <meena> sure you can
[11:01] <meena> but you can also use Ansible to do it
[11:03] <SDes91> I have been facing some errors when it comes to apt when I try to provision the image in chroot via ansible. so I backtraced and used simple bash scripts instead at the moment.
[11:04] <meena> yeah, so, with apt in chroot, you want to configure it such that it doesn't autostart services
[11:04] <meena> otherwise it gets nasty to clean up
[11:05] <meena> chroot is a pure Filesystem namespace, it *contains* nothing else. processes escape into the global namespace and it's hard to keep them apart from the system's processes
[11:14] <SDes91> I see. Would you happen to know within ansible apt module if there is a parameter that will not autostart services? I generally do `DEBIAN_FRONTEND=noninteractive` with shell scripts but I don't think that helps
[11:15] <SDes91> Ah maybe policy-rc.d might help
[11:17] <meena> yeah that one should be easy
[11:22] <SDes91> Also a related question to the network renderers for cloud-init. I am creating QEMU images for x86_64 ubuntu images and have placed the `network: version: 2 renderer: NetworkManager` into the respective /etc/netplan directory when emulating via qemu packer. The final image looks great but I cannot get network interfaces to show up in the virtual
[11:22] <SDes91> image (on Hyper-V after converting the qemu image).
[18:14] <blackboxsw> caribou: right network config can't be specified in user-data as user-data can't get processed  until after initial network config is consumed written from either the datasource metadata, the  filesystem @ /etc/cloud/cloud.cfg.d/* or kernel cmdline https://cloudinit.readthedocs.io/en/latest/reference/network-config.html#default-behaviour
[18:26] <blackboxsw> SDes91: just providing a supplemental /etc/netplan/10-perfer-networkmanager.yaml with ` network: version: 2 renderer: NetworkManager`  may not be enough because ubuntu images order cloud-init.service After=systemd-networkd-wait-online.service, but not After=NetworkManager-wait-online.service. Most ubuntu serve rimages aren't shipped with NetworkManager.service. So cloud-init.service starts up beore NetworkManager brings up nics.
[18:29] <blackboxsw> SDes91, if we are talking about manipulating custom Ubuntu desktop images with NetworkManager installed, then you'd likely need some sort of systemd Drop-in for cloud-init.service unit definition to allow two things, Adding an `After=NetworkManager.service` to the [Unit] defintion and dropping 'Before=sysinit.target`so that cloud-init can be ordered after NetworkManager.service (which is ordered After=dbus.servce sysinit.target)
[18:31] <blackboxsw> SDes91, I'm touching this same systemd NetworkManager ordering space currently in ubuntu's livecd-rootfs https://code.launchpad.net/~chad.smith/livecd-rootfs/+git/livecd-rootfs/+merge/439586 that will start getting reviews shortly