[00:00] when i install a new os [00:00] it's going to do this thing again [00:00] and i probably wont remember what steps i took [00:01] it's typical acer stuff, you have to set it in the bios to boot up [00:01] 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] why UEFI* [00:02] maybe you can only delete the entry from the bios? [00:02] no option for that [00:02] try again efibootmgr -B -b 0003 from the booted os [00:02] if i 'clear all boot settings' nothing changes [00:03] https://termbin.com/9xka [00:03] so the pciroot is some storage on the uefi [00:03] i deleted archlinux, restarting [00:04] and it sback [00:05] https://termbin.com/skb3 [00:05] 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] just keep in mind to go to the bios and set the priority to the new os [00:06] it might be some bug in their uefi, you can try updating the bios/uefi [00:07] sorry, got d/c === EriC^ is now known as EriC^^ [00:09] yeah there's no way to delete these entries lol [00:09] once they're made they're there for good [00:09] forever [00:09] unless i like.. flash it [00:10] 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] nm i actually just cleared the entries.. i just.. had to do it twice? [00:12] well that's good [00:14] o_O [00:14] all this frustration boils down to "delete it twice and then it'll go away"?? [00:14] i hate computers so much [00:14] 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] as every motherboard seems to have a different way to implement UEFI [00:15] yeah [00:16] 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] how do I hack with my ubuntu? [00:23] :D [00:24] lol [00:24] point your laptop at the nearest thing you want to hack [00:24] wrong channel user9d [00:24] and type really loudly and hard as fast as you can [00:24] soon you will see a big 'ACCESS GRANTED' on your screen [00:24] sweet [00:24] doesnt matter if it's a computer, a phone, a microwave, a bag of chips [00:24] works every time [00:25] I'm going to be so successful *tear* [00:25] Anyone know of a password manager that I can use in the terminal and have it work with my browser? [00:25] im actually doing it at you right now [00:25] Using KeypassXC at the moment but the auto fill on forms is hit or miss at best [00:26] https://www.passwordstore.org/ [00:35] Had anybody here updated to the new release Ubuntu 22 [00:36] 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] Any issues updating [00:37] 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] 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] I wish I'd made a netplan config for it before upgrading from 20.04 to 22.04 [00:38] Weird. I ran into an issue a few months ago when suddenly my network manager was erased [00:38] 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] I'll check into it arraybolt3 [00:39] 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". === Mibix is now known as oftomf [00:45] Damn DSL cuts out everytime the phone rings [00:45] Feels like I'm back to dial up. Lol [00:47] if you need to change your IP address, then call your phone [00:47] with a cellphone [00:48] that has minutes [00:48] What do you mean [00:48] uuuuuuh [00:48] lets please stay on topic here [00:48] this is an ubuntu support channel [00:48] Got it, my bad [00:48] I'll tell you in #ubuntu-offtopic Cyberhillbilly [00:49] Cyberhillbilly: don't mind user9d, he's just forgotten that this is #ubuntu and not #ubuntu-offtopic :) [00:51] Cyberhillbilly: You didn't do it :P [00:52] Ok [00:52] I'm new, getting my feet wet ;) [00:53] Mantisek: thank you [00:54] Cyberhillbilly: cool, welcome :) [00:59] Thanks [01:30] hello [01:30] hi [01:31] i new here [01:31] how are you lol [01:53] ? (can be ignored) [01:55] pong [02:32] 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] 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] dabbler: On the other hand, it could have been a hardware failure, possibly thermal. [02:34] 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] arraybolt3: Yeah, locking _after_ acceptin gthe password suggests a kernel panic. [02:34] Which, again, could be just about anything. [02:35] One incident is pretty hard to diagnose. [02:35] 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] Unfortunately logging is one of the first functions to fail in most crashes. === oftomf is now known as Mibix [02:47] dabbler: can you ssh in? does the numlock key work? [02:50] 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] 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] Not the first time I've left it running overnight and no thermal issues so far [02:56] sarnold: NumLock toggling works [02:57] okay, so *something* is alive a bit.. [02:57] 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] yeah, I think the desktop installer doesn't bring in ssh-server by default [02:58] maybe control+alt+backspace? I wonder if we disable that [02:59] sarnold I was just looking at gnome tweaks last night. That option was disabled and I left it that way, unfortunately. [03:00] I'll just restart. Fingers crossed for a mounted exfat haha [03:00] 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] !sysrq [03:00] In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key [03:01] hah yay Bashing-om :) [03:01] I couldn't remember which keys were still useful.. [03:04] Shoot. Didn't see that in time [03:05] so, how'd the filesystems handle it? :) [03:05] And I just remembered I installed gnome on top of ubuntu-server, so I might've been able to ssh in πŸ€¦β€β™‚οΈ [03:05] d'oh :) [03:11] 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] Still scanning. In the meantime… does NumLock working mean the kernel was still functional? [03:16] sarnold: well, it says it's clean, so I'm probably fine [03:20] Bashing-om: thanks! I'll have to remember that [03:23] dabbler: Times my system too locks up - I remember the sequence (rseirb) -raising skinny elephants is risky bussiness- all to well :( [03:35] Bashing-om: What's that a mnemonic for? [03:36] Oh, the sysrq codes [03:36] dabbler: the sysrq sequence for emergency re-boot. [03:38] I'm trying to unzip a file but get an error: "skipping: [filename] need PK compat. v5.1 (can do v4.6) [03:38] " while my unzip is ver 6.0-25ubuntu1 -- an suggestions? [03:40] Bashing-om: I think I understand the purpose of the rse…b, but not the ir in between. [03:41] Given the b that follows [03:42] And wouldn't you want to sync after sending sigterm? [03:43] 'resub', perhaps? [03:45] 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] 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] What better sigkill is there than a reboot? :P [03:49] dabbler: The goal is clean as possible. [03:50] 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] 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] 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] is there a way to make pkg-config recognize a manually installed Qt, not one from packages in the archive? [05:10] !pinning | noarb Like so ? [05:10] noarb Like so ?: pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto [05:14] 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] 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] alkisg: There must be some way to surmount that issue. Windows and macOS manage it when explorer or Finder crash [05:42] dabbler: sure, if you can pay 100 programmers for 10 years to reimplement all that, it's doable [05:42] Although a crashed explorer isn't the same as a crashed xorg [05:43] In Linux you can crash nautilus or caja without losing windows [06:11] 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] Found the setting here: https://askubuntu.com/questions/1403554/switch-workspace-on-dual-monitor-22-04 [06:17] Hello Ubuntu Enjoyers! [06:19] Hello Slayer of Sams :) [06:23] So what flavor of ubuntu does everyone prefer here? Or, what preferences do you mix and match? [06:45] On wayland, what's the equivalent of the "window manager process"? E.g. `pgrep mutter` or metacity, marco, xfwm4... [06:47] In other words, "fullscreen wine windows aren't fullscreened on wayland" => under which package would I report that? [06:55] 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] 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] 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] Reported it to https://gitlab.gnome.org/GNOME/metacity/-/issues/33 [07:13] Issue 33 in GNOME/metacity "Fullscreen wine windows are now cropped" [Opened] [08:10] 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? === dionysus70 is now known as dionysus69 === arraybolt3_ is now known as arraybolt3 [08:55] 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] that's a User Experience issue. [08:56] ty for your attention [08:58] oh they left [08:58] at least /pro is no longer 404 [09:03] they should urgently disable -proposed though ... you can only get that version from the test archive [09:04] (which you should never enable permanently) [09:05] i wonder if there are common installation ways that lead to -proposed being enabled [09:08] Habbie: nope, I just assume he enabled it in the software-properties gui [09:08] ack [09:08] yeah [09:08] i think we learned this week that that process needs more friction and text [09:08] no default install enables it [09:09] 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] didn't see that, but i believe you [09:11] 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] oh no [09:11] welp. one less person on linux xD === dionysus70 is now known as dionysus69 [09:20] Are there no netboot.tar.gz for ubuntu 22.04? Cant find it anywhere. [09:23] sultand: they were deprecated in 20.04 [09:23] so you cant pxe install 22.04 ? [09:24] sultand: i'm not sure how maas does it, maybe look into it [09:24] maas? [09:25] sultand: https://maas.io/ [09:25] it's a deployment system which uses pxe boot [09:27] 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] defiant: other question, why does it have to be a laptop in comparison to a phone? [09:27] murmel: because the circumstances require it [09:28] defiant: https://wiki.openstreetmap.org/wiki/Using_OpenStreetMap_offline [09:30] heh [09:30] "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] :) [09:31] seems like going oldschool [09:34] ty murmel. How does anyone else auto install ubuntu 22? [09:34] sultand: are we talking server or desktop? [09:35] server [09:35] min installation [09:36] !discuss [09:36] Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [09:36] maas or a autoinstall usb stick, where the ip gets populated in an ipam system for inventory and ansible [09:36] lets divide discussions with support issues please guys [09:36] cant be a usb stick. We install VMS [09:37] I think people are using the server.iso and cloud-init nowadays, I haven't used it though [09:37] let's go to -discuss [09:37] Have a look at https://netboot.xyz/ as well, it might support the latest ubuntu [09:38] "netbooting ubuntu" isn't a support question?! [09:38] im not a mod *shrug* [09:39] sultand: so why wouldn't maas fit then? [09:40] lotuspsychje: Pretty sure that asking for help auto-installing Ubuntu Server is a support question. [09:41] i was talking general arraybolt3[m] its a bit thin red line discussions, software reccomends etc [09:43] sultand, https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/14510 [09:43] ogra, I think that's the one that got deprecated and removed in 22.04 [09:44] 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] sultand, also https://discourse.ubuntu.com/t/automated-server-installs/16612 [09:46] images are at http://cdimage.ubuntu.com/netboot/jammy/ [09:46] ugh, yeah let's push a 1.4G iso to every machine (vm) that needs to be installed :/ [09:46] alkisg, yeah legacy is legacy πŸ˜‰ [09:48] murmel, if that concrns you, you can always use MAAS with the cloud images (they are 50MB or some such) [09:48] *concerns [09:48] ogra: that's why I use maas as much as possible, not always. (that's why the usb stick with autoinstall) [09:48] πŸ˜„ [09:49] 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] smells like a bug TBH [09:50] afaik no, as we are talking here about years being it like that [09:50] this is lovely BTW https://jimangel.io/posts/automate-ubuntu-22-04-lts-bare-metal/ [09:50] (i really love the drawings πŸ™‚ ) [09:50] 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] wow :) === jess is now known as jess-o-lantern === jess-o-lantern is now known as jess === popey1 is now known as popey [10:41] 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] https://pastebin.com/pbjZBRJc [10:42] difficulty is that it uses 'xcape' tool. If it was just setxkbmap and xmodmap, I know how to do it [10:46] purplealgae, have you tried "sudo dpkg-reconfigure keyboard-configuration" (which is the default way to configure keayboards in ubuntu) ? [10:52] ah I didn't know about that, thanks [10:52] doesn't look like it will be quite what I need, but always good to know whats available [10:55] sorry got disconnected. https://jimangel.io/posts/automate-ubuntu-22-04-lts-bare-metal/ this looks like it is a usb installer [10:56] https://discourse.ubuntu.com/t/automated-server-installs/16612 this is for ubuntu 20 [10:58] sultand, yes, the default changed in 20.04 ... most of the doc should still apply for 22.04 [10:59] purplealgae, it sets the options in /etc/default/keyboard ... you can edit that file by hand and add more as needed === popey7 is now known as popey [11:16] 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] It's not for me, it's for a new linux user friend of mine [11:16] 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] (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] Oh, wait, you just said... ok nevermind. [11:18] There is no more W10 on this computer (that's the point, by which I couldn't disable RTS anymore) [11:18] *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] lhp22, https://discourse.ubuntu.com/t/ubuntu-installation-on-computers-with-intel-r-rst-enabled/15347 [11:19] there are various solutions in that thread (towards the end) [11:20] lhp22: What computer is this? Maybe RST *can* be turned off and someone here can find the right setting to do so. [11:23] arraybolt3: I've tried so many keyboard combinations. The bios is InsydeH20 F.58 ; the laptop is HP Laptopt 17-by0xxx [11:24] ogra: ookay, it seems like an ocean but I look at [11:24] ogra: but it seems to me that this thread is for computer which has still a W installed [11:25] Maybe it's possible to flash bios from an arch system ? [11:26] lhp22: OK so you can't get into BIOS at all? [11:26] arraybolt3: i can, but not the advance options. I can't even disable secure boot [11:27] Yeah, it looks pretty extremely basic. [11:27] 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] arraybolt3: I keep in mind this solution, but I would like to avoid [11:30] I've just found it : https://help.ubuntu.com/community/Installation/MinimalCD [11:31] Or, other things : is there possible to launch the ubuntu installation key from the archlinux system ? [11:31] *key = usb drive [11:34] 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] (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] i try something with debootstrap [11:37] you could try an ubuntu base tarball .. [11:37] http://cdimage.ubuntu.com/ubuntu-base/releases/ [11:37] this is essentially a basic debootstrap based tarball [11:38] try to follow it : https://blog.domainmess.org/post/arch_ubuntu_install/ [11:38] ogra: but I keep it [11:40] 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] ogra: it's not my fault if the ubuntu installer has a problem with RST and not arch installer [11:41] 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] ogra: oh, i can do it from the live cd indeed [11:42] yeah πŸ™‚ [11:45] 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] that way you are at leas half way close to what an actual ubuntu install gives you ... [11:48] ogra: not sure to understand what you mean by "tarball" [11:49] lhp22, what i pointed you to above .. [11:49] lhp22, http://cdimage.ubuntu.com/ubuntu-base/releases/ [11:49] 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] grab a tarball from there [11:50] "Tarball" = "a bunch of files archived using `tar` and then compressed". [11:50] 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] ok. Sorry, was mistaken [11:51] http://cdimage.ubuntu.com/ubuntu-base/releases/22.04.1/release/ has the latest [11:51] (and thanks for help and patience) [11:51] You also will probably need to create and mount the EFI partition before you can get the system bootable. [11:51] his is what we are here for πŸ˜‰ [11:51] *this [11:52] 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] for the boot, I think I'll grub-mkconfig from arch side [11:53] eeek, dont [11:53] chroot in and install the GRUB package [11:53] From within Ubuntu [11:53] righ [11:53] t [11:53] Ah yes, need to install grub in ubuntu too, mb [11:53] dont use freign bootloaders for a distro [11:53] *foreign [11:54] At this point ? ok [11:54] (never did this level of black magic) [11:54] It's like an Arch install, Ubuntu style. [11:54] Yes, it's what I want, but without the wiki :'D [11:54] each distro has its own configuration, you dont want to use a grub.cfg created with arch tools for ubuntu [11:54] 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] if you know what you are doing you can merge your boot loader configuration [11:55] (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] rob0: I don't know what I'm doing enough [11:55] :) [11:56] I do it, and come back here [11:56] just chroot into the extracted tarball partition and use the normal grub-install and update-grub tools from ubuntu [11:56] using a separate grub is fine [11:56] (you might need to mount the EFI partition here though<) [11:58] ogra: I think the wiki for grub on arch give instructions that work for from ubuntu (grub-install and grub-mkconfig) [11:59] well, ubuntu does never use grub-mkconfig directly ... [11:59] grub-mkconfig works, but update-grub is more commonly used. [11:59] arraybolt3: don't know update-grub, i'll see [11:59] it also uses grub-shim as first stage loader and then chainloads other grub binaries [11:59] not sure arch even remotely does that [12:00] '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] *i'd [12:01] (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] ogra: i just have to "update-grub" instread of "grub-mkconfig -o grub.cfg" ? [12:09] 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] lhp22, right, it generated the input file to grub-mkconfig from various snippets [12:14] (and then calls grub-mkconfig in the end) [12:14] *generates [12:22] Hi all [12:31] ok, now, I'm chrooted with the efi partition mounted [12:31] (sorry, took time, needed to resetup an ubuntu key) [12:32] ogra: ^ [12:32] strange, that chroot env doesn't see my ethernet connection [12:32] (I'd pick up from here but I don't know what I'm doing exactly so) [12:32] lhp22: Oh that's easy to fix. You're in the chroot, right? [12:33] The problem is gamja disconnected me, so I lost our conversations >.<" [12:33] lhp22: If so, run "mv /etc/resolv.conf /etc/resolv.conf.bak". [12:33] arraybolt3: i'm in, yes [12:33] lhp22: Then exit the chroot, and run "cp /etc/resolv.conf /mnt/etc/resolv.conf". [12:33] lhp22: Then re-enter the chroot and you should be good to go. [12:33] (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] right, you want a temporary resolv.conf in place (remove it when you are done though !!!) [12:34] install "linux-generic" to get a kernel ... that should also call update-grub from its post-install script [12:35] the resolv.conf didn't work [12:35] you might also want to call grub-install with the right runes for your disk [12:35] can you ping 8.8.8.8 ? [12:35] from the no chroot yes [12:35] and from the chroot ? [12:35] from the chroot, no, ping isn't installed [12:35] heh [12:36] kay ... [12:36] but "apt update" fails [12:36] Can't fetch [12:36] yeah [12:36] What directories did you bind-mount into the chroot? [12:36] add "nameserver 8.8.8.8" as the only line to your /etc/resolv.conf [12:36] then see if it works [12:36] indeed, i've no resolv.conf file [12:36] else you are missing other stuff [12:36] 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] The full list is: [12:37] you can do that from the inside too [12:37] Ah yes, forgot the bindings [12:37] 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] mount -t proc proc /proc [12:37] That's probably the problem. [12:37] mount -t sysfs sys /sysfs [12:37] mount -t devtmpfs dev /dev [12:37] use these three commands inside the chroot [12:38] ogra: with the command givne byt arraybolt3 ? [12:38] lhp22: Use ogra's commands. [12:38] no, that is the same but from outside the chroot [12:39] use either or πŸ™‚ [12:39] (Just not both. :P) [12:39] well, both wont do harm either ... [12:39] virtual filesystems dont care if they are double mounted at the same place πŸ™‚ [12:40] (umount does care indeed, you'd need to unmount twice to) [12:40] arraybolt3's commands arn't enough, still no internet connexion [12:40] ogra: My head is spinning... [12:40] did you edit resolv.conf ? [12:40] (or create) [12:40] ... with the one line i gave above [12:42] ogra: got it ! [12:42] great πŸ™‚ [12:43] so apt update ... apt install linux-generic [12:43] linux-generic is a package for kernel ? [12:43] (probably also "apt install ubuntu-minimal ubuntu-standard" to get all the basic bity in place) [12:44] it is the metapackage for ubuntu kernels ... it pulls in all the other bits needed [12:44] I wanted to look for these commands, thanks for giving >.> [12:44] ogra: oh shit, what a spare [12:45] It's a powerfull package [12:45] ah YES. I see all what it installs [12:46] great [12:46] The "base" tarball was indeed basic [12:46] What does "--bind" option indeed ? [12:46] right, "just enugh to run apt" [12:47] And with apt, world is ours ! *insert an emoji* [12:47] --bind basically tells Linux "Here's where a directory is, make it also appear over here, too." [12:47] The "--bind" is just some magic to create a virtual equivalent ? [12:47] Ok >.> [12:47] So "mount --bind /dev /mnt/dev" makes /mnt/dev look like /dev. [12:48] I wanted to take time to learn how works chroot. So ... [12:48] The main following step : ubuntu-minimal, ubuntu-base and grub-update ? [12:49] grub-install before grub-update maybe [12:49] the kernel package install should already call update-grub [12:49] so you should have a working config after the install finished [12:50] So, If i like bets, I could reboot and see if I can boot ? [12:50] what you still need to do is grub-install with the correct target to install to your disk [12:50] Ok. That I know [12:51] okay ... well, install ubuntu-minimal and ubuntu-standard too ... hat will add all the missing pieces (i,e, the ping command πŸ™‚ ) [12:51] "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB" [12:51] yeah, it's on x) [12:52] 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] (In french indeed) [12:52] I have to do some stuff with the locale [12:53] ER [12:53] ogra: do linux-generic setup fstab ? [12:53] nope [12:54] you might want to do that as well [12:54] Ok, i'll do [12:54] make sure to use the UUID there [12:54] does locale-gen is arch specific ? [12:54] (the script) [12:55] no [12:55] Ok, so I can follow the locale setup of arch [12:55] for locales, edit /etc/default/locale [12:55] even : "the local locale setup" :p [12:55] then run "sudo update-locale" [12:56] (So don't use the Arch locale setup.) [12:56] (What I was thinking about) [12:56] later on, once you have the desktp installed, yu can use the GUI tool to install the langpacks fr french [12:56] When I'll get a bootable ubuntu, I'll become a newbie, never user this distro x) [12:57] OH [12:57] one of the "ubuntu-minimal/standard" sets up the time zone [12:59] 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] (but installer didn't want) [12:59] SO [12:59] After grub-install, i could theorically boot ? [13:01] hopefully πŸ™‚ [13:03] hm [13:03] what I've to put in /etc/default/locale ? [13:04] fr_FR.UTF-8 [13:05] It's written "File generated by update-locale" [13:05] This kind of file hasn't to be modified other than through update-locale, so ? [13:05] Or I dont care ? [13:06] sudo update-locale LANG="fr_FR.UTF-8" [13:06] try that one [13:07] It fails, and the message is as this locale isn't installed [13:08] sudo apt install locales [13:09] 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] (tough ubuntu-minimal or -standard should have installed it) [13:09] ravage: good point, I'll do it at the end [13:09] but ravage is right ... finish the critical bit first .. [13:09] ogra: yeah, I've ddg-ed the problem, and found it [13:09] and after you successfully booted move on with configuration [13:10] Have to do the fstab too [13:10] no ? [13:10] it surely helps [13:11] to find your UUID use the blkid command (it takes the partition as argument) [13:14] (oh shit, thanks, I was looking for it with "bluid" or some thing) [13:14] BUT [13:14] problem with grub [13:14] tell us [13:14] "grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doens't exist. Please specify --target or --directory." [13:14] But I've done [13:15] Command I've typed : "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB" [13:15] With UEFI part at /boot/efi [13:15] you need to give it the disk as last argument [13:15] like: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB /dev/sdaX [13:16] errr [13:16] like: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB /dev/sdX [13:16] where /dev/sdX is your disk (not the partition !!) [13:17] oh, and that modinfo.sh comes from the grub-efi-amd64-bin package ... make sure that is installed [13:18] that was my following point :some grub package exists that are not installed [13:18] grub2-common grub-pc grub-efi-amd64 [13:19] grub2-common and grub-efi-amd64 will be installed. [13:19] ogra: the disk isn't asked normally imo [13:19] 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] grub2-common was already installed [13:20] grub-efi-amd64 was lacking [13:20] And now it works [13:20] yay [13:20] the grub install [13:20] update-grub is necessary ? [13:21] that should have been run already ... but it wont do any harm to re-run it [13:22] I've some reminds of "mkinitcpio". Is it necessary ? [13:22] no, ubuntu uses update-initamfs (which might call mkinitcpi at some point in the backend though) [13:23] the kernel package should have done all this from its post installation scripts already [13:23] (calling update-grub, calling update-initramfs and so on) [13:27] ok [13:27] Is there a way to check "kindly" the fstab file ? [13:28] no through chroot I think [13:29] aaaaaand it's TIME [13:29] cat /etc/fstab | nc termbin.com 9999 [13:30] give us the url that returns and we can inspect [13:30] aaah, grub shows me her console <3 [13:31] and that doesn't boot :3 [13:31] go back to the chroot, try the grub install again but give it the disk as last arg πŸ™‚ [13:32] ok. *waiting for launching the live cd* [13:41] 2x3090 MSI + Linux/Ubuntu + nvidia-smi = 1 gpu detected. Can anyone help please? https://dpaste.org/H9Tc9 [13:44] 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] ogra: I try or I don't try to boot ? [13:47] 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] It fails [13:49] *Sigh.* OK, reboot, chroot, let's try to reconfigure it to use the removable media directory. [13:49] arraybolt3: ah, you think it's impossible to boot on this ubuntu on hard driv e? [13:50] lhp22: No, I think we're pretty close to done. [13:51] *launching the live cd* [13:51] 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] what's your next trick ? [13:52] (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] OK, but for now, the trick is this. You're in the chroot? [13:52] (The above trick isn't the next one to use, it's the final one I have in mind.) [13:52] I'll be. It launches [13:52] (Yeah, write my own config file is able, but never did it) [13:52] (And it's not quite simple) [13:53] 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] When it asks you "Force extra installation to the EFI removable media path?", tell it "Yes". [13:53] And then I'll try to reboot ? [13:53] Yep. [13:57] chrooted [13:58] 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] OK, dpkg-reconfigure grub-efi-amd64 [13:59] Can you pastebin it or screenshot it and upload it to Imgur? [13:59] I can write a command line, but it's right to be empty [13:59] 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] Or pastebin the full message and send the link to that. [14:01] https://pic.infini.fr/gallery#nflziV8x/OELKxagg.jpg [14:02] arraybolt3: ^ [14:03] 2x3090 MSI + Linux/Ubuntu + nvidia-smi = 1 gpu detected. Can anyone help please? https://dpaste.org/H9Tc9 [14:06] lhp22: Yep, OK. [14:07] i leave it empty ? [14:07] Correct. [14:08] 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] I can add or remove parameters [14:08] 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] how long you have to afk ? [14:11] arraybolt3: https://pic.infini.fr/gallery#1ECz1rx0/G0m4ErbF.jpg [14:11] Strange thing : it speaks about debian [14:11] and NVRAM and PXE [14:11] ogra: ^ [14:12] * arraybolt3 is back [14:12] Answer Yes. [14:12] (Ubuntu is based on Debian and reuses code as much as possible so I'm not surprised to see that.) [14:13] (Or at least, it reuses a lot of code.) [14:13] lhp22: ^ [14:13] next incoming [14:13] (it sounds like a joke) [14:14] arraybolt3: https://pic.infini.fr/gallery#FHuUaQdc/b47It5na.jpg [14:14] Do I want to install Grub ? [14:14] ?.? [14:15] lhp22: ...well I understand what it's saying but why is a mystery to me. [14:15] 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] I'm locked if I answer No [14:16] I stay on the same window [14:16] OK then answer Yes. [14:16] (GRUB has already been installed so it's probably fine.) [14:16] finished [14:17] Crud, that was it? [14:17] and it tells me it found my arch [14:17] Maybe it will pop up another window in a bit. [14:17] I try to reboot ? [14:17] No, that probably won't work. [14:17] * arraybolt3 has to afk again, sorry [14:19] np [14:20] OK back. [14:20] Alright, can you run "cd /boot/efi/EFI && ls | nc termbin.com 9999" and send the link? [14:21] (That command will output a link showing me the contents of a folder on the newly installed system.) [14:21] i'm stupid [14:22] I'vnt mounted the efi partition before the dpkg reconfigure [14:22] do i dpkg again ? [14:23] Yep. [14:24] nothing new [14:24] Except I didn't get the strange question with "you have grub uninstalled" but it makes sense now [14:24] 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] https://termbin.com/i9o4 [14:27] lhp22: Alright, can you do "ls BOOT | nc termbin.com 9999"? [14:28] https://termbin.com/hjjh [14:28] OK, and lastly, ls ubuntu | nc termbin.com 9999" [14:29] https://termbin.com/k02g [14:29] ?! ok that wasn't expected. [14:29] Ah xD [14:29] sudo apt install shim-signed [14:29] (If Secure Boot is enabled you'll need that.) [14:30] Ah, fuckee me. [14:30] Yes, as I can't remove the RST, I can't remove the secure boot [14:30] We all forgot it, it's not your fault. (Also, please avoid possibly offensive language in this chat) [14:31] (yes, sorry, it really escapes me) [14:31] Installed [14:31] OK, now do "sudo apt install efibootmgr" [14:31] already installed [14:31] Nice, OK "efibootmgr | nc termbin.com 9999" [14:31] The apt tells me there is some upgradable [14:32] Don't worry about that for now. [14:32] ok [14:32] boot goes on : https://termbin.com/c56y [14:33] what this strange order [14:33] lhp22: That looks like possibly part of our problem. [14:33] OK, "ls ubuntu | nc termbin.com 9999" [14:33] Why 2 EFI, and 1 Grub ? [14:33] you already have: https://termbin.com/k02g [14:34] Right but it should be different this time. [14:34] yes [14:34] indeed [14:34] That's the old one, I need the new one. [14:34] https://termbin.com/gy5tu [14:34] Alright! That looks much more normal. [14:34] I can termbin a tree if you want [14:35] Uh... ok so can you do "cat ubuntu/grub.cfg | nc termbin.com 9999"? [14:35] I think that's probably enough info for me to work on. [14:35] https://termbin.com/djxj [14:35] 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] Yes! Alright, this looks very hopeful. [14:35] Ok. May you explain a bit deeper ? [14:36] OK. one moment while I work out an efibootmgr command... [14:36] np, I wait [14:37] (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] (I hope that's not a bios that reinits the UEFI boot order ... I got one one time ...) [14:37] oh, ok [14:38] [At the end, I'll ask you if you have references to learn all of it, cause it hurt me some times] [14:39] 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] OK [14:39] All of the spaces, slashes, & signs, etc. are all important. [14:39] yeah, i've seen the "rm -rf" at the beginning xD [14:39] arraybolt3: I would suggest mv [14:40] leftyfb: That's a good idea, I didn't think of that. [14:40] instead of ? [14:40] "mv /boot/efi/EFI/BOOT /boot/efi/EFI/BOOTBAK && cp -r /boot/efi/EFI/ubuntu /boot/efi/EFI/BOOT" [14:40] (That way we don't destroy stuff that may end up being important later.) [14:41] done [14:42] 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] 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] 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] i saw it, i shut [14:43] ... ... ... [14:43] eelstrebor: show output of sudo apt-get update incl. warnings + error messages. [14:43] it ... works ... [14:43] (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] At least Grub sees Ubuntu and it seems booting correctly [14:43] \o/ [14:44] *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] :'D [14:44] except that I didn't create root passwd and user so ... xD [14:44] 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] Oh no LOL [14:44] I get a login prompt [14:45] Without errors [14:45] That's hopeful and good! OK, reboot, chroot, and let's make a user. [14:45] (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] arraybolt3: yeah, that I can do alone [14:45] Oh nice! Congrats! [14:46] arraybolt3: it's not the first Linux I get "fun" with. But the boot UU [14:46] eelstrebor: i concur [14:46] arraybolt3: but you're my god, and thanks, really [14:46] Eh, just a fellow Linux user happy to help others with my knowledge. Glad to be able to help out! [14:47] Last but not least : I come from a tiny ubuntu. Is there a quick way to get the usual ubuntu set up ? [14:47] (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] lhp22: sudo apt install ubuntu-desktop [14:47] tomreyn, https://pastebin.com/vwP0fGqP [14:47] That should take you from a DOS-like environment to the Ubuntu you've probably been using all this time. [14:48] 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] (If all goes according to plan, that is.) [14:48] 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] LOL wow. [14:49] I, to this date, still can't sign into WiFi using only CLI tools. [14:49] eelstrebor: this looks like bad connectivity or a restrictive network environment on your end. [14:49] I can do it with the GUI or with nmtui, but not with pure command-line stuff. [14:49] 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] arraybolt3: and user-friendly. [14:50] eelstrebor: more likely the latter - are you behind a corporate firewall restricting outbound traffic? [14:52] arraybolt3: I learnt with wpa-suppliant, and iwd is just ... a gui through cli =O [14:52] tomreyn, no. this is my home network - i'm using routers with dd-wrt firmware [14:52] 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] 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] ifm i turn off her vpn service then she has the problem also. [14:53] eelstrebor: can you show the tracepath (you can omit the first hops for privacy) [14:53] 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] (I'm using a mobile hotspot as my router.) [14:56] i may have found the problem - i was using QoS, when i turned it off the updates came in. [14:57] eelstrebor: Yeah, that sounds like it would do it. [14:57] why it would suddenly cause this problem i don't know [14:58] 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] ssh'ing from host to guest works fine, though [14:59] *not have any firewall installed [15:03] rdz: so sudo iptables -L is empty? [15:04] tomreyn: no, it is not, but port 22 isn't mentioned either [15:04] is "ssh" mentioned, though? [15:04] tomreyn: libvirt _does_ create indeed a bunch of rules [15:04] so you're using libvirt, that's good to know [15:06] 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] tomreyn: by ip.. and when testing other ports, i use the same ip [15:07] "nc -v -l -n -p 17990" opens a listening port inside the guest [15:07] 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] from the host i can "nc -v 192.168.122.150 22", but not "nc -v 192.168.122.150 17990" [15:08] (replace "PORT" by the very port numbers, so 22 or 17990) [15:08] "netstat -lnpt" in guest shows: "tcp 0 0 0.0.0.0:17992" [15:09] "ss" would be the more current netstat replacement, but i prefer lsof. [15:10] tomreyn: your lsof command does list both [15:10] turnserve 433 turnserver 16u IPv4 12489 0t0 UDP *:17992 [15:10] how, though? [15:10] udp, so connectionless [15:11] sorry, wrong line [15:11] turnserve 433 turnserver 32u IPv4 12037 0t0 TCP *:17992 (LISTEN) [15:11] it listens on both, but currently i am worried about TCP [15:11] i meant "stateless", but glad you got it. ;) [15:12] and ssh looks the same in regards to what it binds to? [15:13] yes: sshd 445 root 4u IPv6 12013 0t0 TCP *:ssh (LISTEN) [15:13] ipv6 vs ipv4 [15:13] i can connect to both inside the host.. [15:13] tomreyn: ah., didn't check that [15:14] but on my host the guest appears only with ipv4 address, from what i can tell [15:14] 192.168.122.150 [15:15] i can connect to both services from inside the guest [15:15] using nc -v (tcp) that is? [15:15] tomreyn: exactly [15:16] and here you really meant "guest"? i can connect to both inside the host.. [15:17] 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] tomreyn: oh, sorry.. i meant: i can connect to both services from inside the _guest_ (not host) [15:20] tomreyn: thanks for your time. i need to leave now. will check that later [15:21] 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] (or whether you do NAT) [15:22] 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] the guests use 'Virutal network "default": NAT' === EnchanterTim is now known as Linux [16:55] I downloaded the ubuntu source code from archive.ubuntu.com. How do I build this code? [16:59] anom, what exactly are you trying to do? Build Ubuntu completely from source only? [17:07] Yes, exactly that, build Ubuntu completely from source only. [17:08] samy1028 [17:13] some apps are really slow on my machine without any apparent reason [17:35] 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] Hi all. Why wouldn't chmod g+s on a directory be working? It seems it has no effect. [17:46] 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] aberrant: try #ubuntu-server, too (and make sure to ask the actual question there) [17:51] Fravialis: file system without unix-like ACLs [17:51] thanks. will do. [17:52] the actual question involves multiple lines of config, so I was hesitant. [17:52] aberrant: a pastebin or similar may come in handy there, [17:54] got it. Thanks. [18:10] hello [18:10] i have my apt crushs when ever i try to install something === jgee11 is now known as jgee1 [18:22] !paste | mrblink [18:22] mrblink: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [18:22] let's see your output of running the respective apt commands, including warnings and errors. [19:15] hey gus [19:15] guys [19:15] what could cause the problem after update or i don't know all wifi cards usb/pci are not working [19:16] i mean device is not ready [19:20] Milencho: try 'rfkill list' [19:20] 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] sybariten: you can't know that cause it depends on how many packages are going to be updated [19:21] Gotcha [19:22] EriC^^, tried evertying looks fine [19:22] 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] nothing is blocked [19:23] check current kernel, as a start [19:23] 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] i have restarted network manager few times [19:23] maybe you are a reboot behind [19:23] and WIFI ona VPS? [19:23] Milencho: is it a laptop that you can remove the battery of? [19:23] desktop [19:24] anykind of usb/pci wifi is ****** up [19:24] EriC^^: thats not gonna break stuff i suppose, if i ctrl-c ? [19:24] I realize lsb_release gives "no lsb modules available" [19:24] 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] EriC^^: gotcha thanks [19:25] sybariten: no problem [19:26] EriC^^, my kernel is 5.19.0-15 [19:26] oerheks: ^ [19:26] 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] is there any way that i can install mainline gui from deb packet in order to revert kernel [19:26] 5.19 .. is this the next 22.10? [19:26] yup i'm with 22.10 [19:27] because of newer driver for ax210 intel [19:27] sybariten: apt-get upgrade, on the commandline, decides what it needs to upgrade, then prompts you whether to proceed [19:27] oh then you are testing, join #next for support. === fenris_ is now known as fenris [19:27] #ubuntu-next [19:27] oerheks, it was working with 22.10 few weeks [19:27] not sure may be after security update. [19:28] something went wrong [19:28] 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] to group these issues, there is that seperate channel. [19:29] 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. === fenris_ is now known as fenris [19:30] Well, the latest minor revisions of packages. To bum major version numbers and increment kernel versions dist-upgrade [19:30] bum/bump [19:31] hey genii! Imagine seeing you here :-p [19:31] ic56: oh right. So upgrade is not the same as dist-upgrade i suppose. What is full-upgrade then? [19:32] dist-upgrade requires a reboot i imagine? [19:32] sybariten: it depends on what it installs, e.g if it installs a kernel you'd need to reboot [19:32] 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] i see [19:33] None of "upgrade", "full-upgrade", or "dist-upgrade" will upgrade to the next Ubuntu release. [19:33] They all simply update the packages on your machine, while remaining on your current release. [19:33] It's just OS updates. [19:33] 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] Upgrading to a new release of Ubuntu uses do-release-upgrade, which is much different and can be very scary. [19:34] 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] that they offer it? [19:37] maybe they're just lazy, at the bottom the copyright still says 2019 [19:37] sybariten: most likely it has to do with what they have installed. [19:38] 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] oerheks, i've reverted to 5.15 kernel and its same [19:38] so it's not because of the kernel guess i [19:39] 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] ic56: ah! That makes sense. Didn't know there was a limitaiton like that. Thank you [19:40] EriC^^: could very well be that their info isn't the most up to date, yes... [19:40] sybariten: you're welcome! [19:42] "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] 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] (Sometimes if phased updates work together just wrong, apt can try to uninstall your desktop environment and crud like that.) [19:43] ok! [19:43] its a headless machine but i get your point [19:44] 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] 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] update), however the updater may tell you when that needs to happen. [19:46] 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] (that was for ic56 ) [19:46] arraybolt3[m]: yeah ive definitely given this machine too little love [19:48] 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-0ubuntu0.20.04.0 all [upgradable from: 2021a-0ubuntu0.20.04] [19:50] 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] will almost certainly find problems. [19:52] 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] 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] true dat [19:54] 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] sybariten: ...these are the issues. Otherwise, apt-get upgrade will leave the system in a working state. [19:57] (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] 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] sybariten: arraybolt3[m] makes a good point. I'm describing things I have had to handle when migrating to a new release. [20:12] 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] arraybolt3[m]: apt list --installed |grep [20:13] arraybolt3[m]: or apt-cache policy [20:14] arraybol3[m]: I use "dpkg -l" [20:14] πŸ€¦β€β™‚οΈ 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] 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] dpkg --get-selections [20:14] apt-cache search . | grep -i "metapackage\|meta-package" [20:15] sybariten: in that case, apt-get upgrade away. You won't notice anything amiss. [20:16] genii: I /msg'd you. [20:17] 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] 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] filing for a SRU, you must have a reason for this, and packaging and testing teams handle this. [20:19] it is unusual, because bugfixes and patches are ported back anyway. [20:19] 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] 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] sybariten: they have people. and Ubuntu *is* a commercial organization. Companies pay them for support. [20:22] sybariten in all-volunteer distros, like Debian, such things are done as well -- by the volunteer staff. [20:22] ic56: ah okay so unlike ubuntu, debian "doesn't have" any economy really? [20:23] sybariten: correct. Though I think the project receives donations to pay for servers. [20:24] I see [20:25] Fun fact, Ubuntu is based on Debian, helps contribute to Debian, and relies heavily on Debian for a lot of our packages. === wbrawner_ is now known as wbrawner [20:56] 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] 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] remove the ~/.config/googlle* folders, and restart chrome [21:00] morganu: mv ~/.config/google-chrome ~/google-chrome-backup [21:00] and memtest result sounds bad. [21:00] BTW, I had only 32 tabs open. [21:01] not the number, but what tabs.. [21:01] oerheks, I have been complaining about the memtest since 2000 [21:01] when I started using this computer. [21:01] arraybolt3[m], the passwords are stored in my google account and not in chrome. FYI [21:03] (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] OK I will follow arraybolt3[m] leftyfb oerheks will follow your advice re chrome removal [21:05] oerheks, explain re what tabs - clearly YT tabs, even if never brought to focus, matter more. [21:06] oerheks, 7 of them are YT. one messenger one google voice, 3 mail, the rest "sites" [21:40] 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] 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] 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] xrandr: File system corrupted ? what shows ' fsck ' from the installer USB ? [23:27] fsck.ext2: Input/output error while trying to open /dev/sdc2 [23:27] Then it outputs a message that the superblock could not be read [23:29] RIP [23:29] so the drive is dead? [23:30] Ouch! ^^ Might try and spare off the bad superblock: http://ubuntuforums.org/showthread.php?t=2177756 . [23:30] xrandr: smartctl -x /dev/sdc might give you more information [23:31] xrandr: also check dmesg -- there might be errors logged there [23:31] Says a mandatory SMART command failed: exiting. To continue, add one or more -T permissiveoptions. [23:31] a dead SSD usually stays dead [23:31] 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] ok. [23:32] mandatory smart command failing, yikes :/ sounds bad [23:32] Thank you [23:32] I just cant fathom what could have caused it to die [23:32] Luckily IΒ  have backups, but still [23:33] thank you all. I'm gonna buy another drive. [23:48] 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] In a moment it will have 22.04 ((thank you community for making the upgrade so easy)) [23:51] and ethernet is speedy [23:57] 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] it (may take several hours)=20 to 22 [23:58] 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] 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] oh :(