/srv/irclogs.ubuntu.com/2022/09/29/#ubuntu.txt

Mantisekwhen i install a new os00:00
Mantisekit's going to do this thing again00:00
Mantisekand i probably wont remember what steps i took00:00
EriC^^it's typical acer stuff, you have to set it in the bios to boot up00:01
Mantisekso 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 it00:01
Mantisekwhy UEFI*00:01
EriC^^maybe you can only delete the entry from the bios?00:02
Mantisekno option for that00:02
EriC^^try again efibootmgr -B -b 0003 from the booted os00:02
Mantisekif i 'clear all boot settings' nothing changes00:02
Mantisekhttps://termbin.com/9xka00:03
Mantisekso the pciroot is some storage on the uefi00:03
Mantiseki deleted archlinux, restarting00:03
Mantisekand it sback00:04
Mantisekhttps://termbin.com/skb300: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 it00:05
EriC^^just keep in mind to go to the bios and set the priority to the new os00:05
EriC^^it might be some bug in their uefi, you can try updating the bios/uefi00:06
EriC^sorry, got d/c00:07
=== EriC^ is now known as EriC^^
Mantisekyeah there's no way to delete these entries lol00:09
Mantisekonce they're made they're there for good00:09
Mantisekforever00:09
Mantisekunless i like.. flash it00:09
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 fixed00:10
Mantiseknm i actually just cleared the entries.. i just.. had to do it twice?00:11
EriC^^well that's good00:12
sarnoldo_O00:14
sarnoldall this frustration boils down to "delete it twice and then it'll go away"??00:14
sarnoldi hate computers so much00:14
Mantisekit's just UEFI, exists in its own special little realm and touches stuff I don't think it should, makes it a pain to troubleshoot00:14
Mantisekas every motherboard seems to have a different way to implement UEFI00:15
EriC^^yeah00:15
Mantisekits like trying to keep your room clean but your neighbor uses an extendable gadget arm to reach through your window to knock your vase over00:16
user9dhow do I hack with my ubuntu?00:23
EriC^^:D00:23
Mantiseklol00:24
Mantisekpoint your laptop at the nearest thing you want to hack00:24
EriC^^wrong channel user9d00:24
Mantisekand type really loudly and hard as fast as you can00:24
Mantiseksoon you will see a big 'ACCESS GRANTED' on your screen00:24
user9dsweet00:24
Mantisekdoesnt matter if it's a computer, a phone, a microwave, a bag of chips00:24
Mantisekworks every time00:24
user9dI'm going to be so successful *tear*00:25
xipperAnyone know of a password manager that I can use in the terminal and have it work with my browser?00:25
Mantisekim actually doing it at you right now00:25
xipperUsing KeypassXC at the moment but the auto fill on forms is hit or miss at best00:25
Mantisekhttps://www.passwordstore.org/00:26
CyberhillbillyHad anybody here updated to the new release Ubuntu 2200:35
arraybolt3A bunch of us are using Ubuntu 22.04 (though I clean-installed all of mine, I don't do do-release-upgrades.)00:36
CyberhillbillyAny issues updating00:36
sarnoldone of my systems from 18.04 times had an /etc/network/interfaces, and I lost connectivity to it after I rebooted into 22.0400:37
arraybolt3So 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
sarnoldI wish I'd made a netplan config for it before upgrading from 20.04 to 22.0400:37
CyberhillbillyWeird. I ran into an issue a few months ago when suddenly my network manager was erased00:38
arraybolt3As 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-them00:38
CyberhillbillyI'll check into it arraybolt300:38
arraybolt3That'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:39
=== Mibix is now known as oftomf
CyberhillbillyDamn DSL cuts out everytime the phone rings00:45
CyberhillbillyFeels like I'm back to dial up. Lol00:45
user9dif you need to change your IP address, then call your phone00:47
user9dwith a cellphone00:47
user9dthat has minutes00:48
CyberhillbillyWhat do you mean00:48
user9duuuuuuh00:48
leftyfblets please stay on topic here00:48
leftyfbthis is an ubuntu support channel00:48
CyberhillbillyGot it, my bad00:48
user9dI'll tell you in #ubuntu-offtopic Cyberhillbilly00:48
sarnoldCyberhillbilly: don't mind user9d, he's just forgotten that this is #ubuntu and not #ubuntu-offtopic :)00:49
arraybolt3Cyberhillbilly: You didn't do it :P00:51
CyberhillbillyOk00:52
CyberhillbillyI'm new, getting my feet wet ;)00:52
xipperMantisek: thank you00:53
sarnoldCyberhillbilly: cool, welcome :)00:54
CyberhillbillyThanks00:59
dikdikhello01:30
sarnoldhi01:30
dikdiki new here01:31
dikdikhow are you lol01:31
guiverc_t?   (can be ignored)01:53
sarnoldpong01:55
dabblerI 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:32
jhutchinsdabbler: 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
jhutchinsdabbler: On the other hand, it could have been a hardware failure, possibly thermal.02:33
arraybolt3If you can't switch to a TTY, your system might be thrashing due to low memory, or the kernel might have panicked.02:34
jhutchinsarraybolt3: Yeah, locking _after_ acceptin gthe password suggests a kernel panic.02:34
jhutchinsWhich, again, could be just about anything.02:34
jhutchinsOne incident is pretty hard to diagnose.02:35
arraybolt3Either 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
jhutchinsUnfortunately logging is one of the first functions to fail in most crashes.02:35
=== oftomf is now known as Mibix
sarnolddabbler: can you ssh in? does the numlock key work?02:47
dabblerarraybolt3: 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:50
dabblerWhat 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 two02:54
dabblerNot the first time I've left it running overnight and no thermal issues so far02:55
dabblersarnold: NumLock toggling works02:56
sarnoldokay, so *something* is alive a bit..02:57
dabblerI'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
sarnoldyeah, I think the desktop installer doesn't bring in ssh-server by default02:57
sarnoldmaybe control+alt+backspace? I wonder if we disable that02:58
dabblersarnold I was just looking at gnome tweaks last night. That option was disabled and I left it that way, unfortunately.02:59
dabblerI'll just restart. Fingers crossed for a mounted exfat haha03:00
sarnoldthere'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!sysrq03:00
ubottuIn 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_key03:00
sarnoldhah yay Bashing-om :)03:01
sarnoldI couldn't remember which keys were still useful..03:01
dabblerShoot. Didn't see that in time03:04
sarnoldso, how'd the filesystems handle it? :)03:05
dabblerAnd I just remembered I installed gnome on top of ubuntu-server, so I might've been able to ssh in 🤦‍♂️03:05
sarnoldd'oh :)03:05
dabblerThere's nothing irreplaceable and important on it, but it would save some me redoing the copying I left it doing last night03:11
dabblerStill scanning. In the meantime… does NumLock working mean the kernel was still functional?03:14
dabblersarnold: well, it says it's clean, so I'm probably fine03:16
dabblerBashing-om: thanks! I'll have to remember that03:20
Bashing-omdabbler: Times my system too locks up - I remember the sequence (rseirb) -raising skinny elephants is risky bussiness- all to well :(03:23
dabblerBashing-om: What's that a mnemonic for?03:35
dabblerOh, the sysrq codes03:36
Bashing-omdabbler: the sysrq sequence for emergency re-boot.03:36
NautilusI'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:38
dabblerBashing-om: I think I understand the purpose of the rse…b, but not the ir in between.03:40
dabblerGiven the b that follows03:41
dabblerAnd wouldn't you want to sync after sending sigterm?03:42
dabbler'resub', perhaps?03:43
guivercdabbler, 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 execution03:45
Bashing-omdabbler: From the horse's mouth: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/sysrq.rst :D03:45
dabblerWhat better sigkill is there than a reboot? :P03:48
Bashing-omdabbler: The goal is clean as possible.03:49
Nautiluswhat 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:50
dabblerBashing-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.03:54
Bashing-omdabbler: 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.04:09
noarbis there a way to make pkg-config recognize a manually installed Qt, not one from packages in the archive?05:07
Bashing-om!pinning | noarb Like so ?05:10
ubottunoarb Like so ?: pinning is an advanced feature that APT can use to prefer particular packages over others. See https://help.ubuntu.com/community/PinningHowto05:10
dabblerIs 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:14
alkisgdabbler: because it involves handles and pointers to a lot of resources that won't get the same handle/address the next time xorg will run05:33
dabbleralkisg: There must be some way to surmount that issue. Windows and macOS manage it when explorer or Finder crash05:42
alkisgdabbler: sure, if you can pay 100 programmers for 10 years to reimplement all that, it's doable05:42
alkisgAlthough a crashed explorer isn't the same as a crashed xorg05:42
alkisgIn Linux you can crash nautilus or caja without losing windows05:43
hermanoRunning 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:11
hermanoFound the setting here: https://askubuntu.com/questions/1403554/switch-workspace-on-dual-monitor-22-0406:16
SamSlayerHello Ubuntu Enjoyers!06:17
alkisgHello Slayer of Sams :)06:19
SamSlayerSo what flavor of ubuntu does everyone prefer here? Or, what preferences do you mix and match?06:23
alkisgOn wayland, what's the equivalent of the "window manager process"? E.g. `pgrep mutter` or metacity, marco, xfwm4...06:45
alkisgIn other words, "fullscreen wine windows aren't fullscreened on wayland" => under which package would I report that?06:47
geirhaI'd say wine. And if it turns out to be a wayland issue, the wine devs will know what to report to wayland06:55
alkisggeirha: it works properly with openbox and xfwm4, but not with the window managers that were derived from metacity06:56
* alkisg checks if it's gnome-shell nowadays...06:56
alkisgOuch 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:00
alkisgReported it to https://gitlab.gnome.org/GNOME/metacity/-/issues/3307:13
ubottuIssue 33 in GNOME/metacity "Fullscreen wine windows are now cropped" [Opened]07:13
KpuCkoHi 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:10
=== dionysus70 is now known as dionysus69
=== arraybolt3_ is now known as arraybolt3
aliveidk 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:55
alivethat's a User Experience issue.08:56
alivety for your attention08:56
Habbieoh they left08:58
Habbieat least /pro is no longer 40408:58
ograthey should urgently disable -proposed though ... you can only get that version from the test archive09:03
ogra(which you should never enable permanently)09:04
Habbiei wonder if there are common installation ways that lead to -proposed being enabled09:05
murmelHabbie: nope, I just assume he enabled it in the software-properties gui09:08
Habbieack09:08
ograyeah09:08
Habbiei think we learned this week that that process needs more friction and text09:08
ograno default install enables it09:08
murmelHabbie: 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 read09:09
Habbiedidn't see that, but i believe you09:10
murmelHabbie: i mean we are talking about the (now patched)  confirmation of "YES I want to remove all necessary packages for a gui"09:11
Habbieoh no09:11
murmelwelp. one less person on linux xD09:11
=== dionysus70 is now known as dionysus69
sultandAre there no netboot.tar.gz for ubuntu 22.04? Cant find it anywhere.09:20
murmelsultand: they were deprecated in 20.0409:23
sultandso you cant pxe install 22.04 ?09:23
murmelsultand: i'm not sure how maas does it, maybe look into it09:24
sultandmaas?09:24
murmelsultand: https://maas.io/09:25
murmelit's a deployment system which uses pxe boot09:25
defiantHey, 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
murmeldefiant: other question, why does it have to be a laptop in comparison to a phone?09:27
defiantmurmel: because the circumstances require it09:27
murmeldefiant: https://wiki.openstreetmap.org/wiki/Using_OpenStreetMap_offline09:28
defiantheh09: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:30
murmelseems like going oldschool09:31
sultandty murmel. How does anyone else auto install ubuntu 22?09:34
murmelsultand: are we talking server or desktop?09:34
sultandserver09:35
sultandmin installation09:35
lotuspsychje!discuss09:36
ubottuWant 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
murmelmaas or a autoinstall usb stick, where the ip gets populated in an ipam system for inventory and ansible09:36
lotuspsychjelets divide discussions with support issues please guys09:36
sultandcant be a usb stick. We install VMS09:36
alkisgI think people are using the server.iso and cloud-init nowadays, I haven't used it though09:37
murmellet's go to -discuss09:37
alkisgHave a look at https://netboot.xyz/ as well, it might support the latest ubuntu09:37
alkisg"netbooting ubuntu" isn't a support question?!09:38
murmelim not a mod *shrug*09:38
murmelsultand: so why wouldn't maas fit then?09:39
arraybolt3[m]lotuspsychje: Pretty sure that asking for help auto-installing Ubuntu Server is a support question.09:40
lotuspsychjei was talking general arraybolt3[m] its a bit thin red line discussions, software reccomends etc09:41
ograsultand, https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/1451009:43
alkisgogra, I think that's the one that got deprecated and removed in 22.0409:43
alkisgE.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
ograsultand, also https://discourse.ubuntu.com/t/automated-server-installs/1661209:44
ograimages are at http://cdimage.ubuntu.com/netboot/jammy/09:46
murmelugh, yeah let's push a 1.4G iso to every machine (vm) that needs to be installed :/09:46
ograalkisg, yeah legacy is legacy 😉09:46
ogramurmel, if that concrns you, you can always use MAAS with the cloud images (they are 50MB or some such)09:48
ogra*concerns09:48
murmelogra: that's why I use maas as much as possible, not always. (that's why the usb stick with autoinstall)09:48
ogra😄09:48
murmelogra: 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
ograsmells like a bug TBH09:49
murmelafaik no, as we are talking here about years being it like that09:50
ograthis is lovely BTW https://jimangel.io/posts/automate-ubuntu-22-04-lts-bare-metal/09:50
ogra(i really love the drawings 🙂 )09:50
murmelogra: 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:50
murmelwow :)09:51
=== jess is now known as jess-o-lantern
=== jess-o-lantern is now known as jess
=== popey1 is now known as popey
purplealgaeanyone know how to make this keyboard configuration persistent? I run from a VM, and when I disconnect and reconnect, the keyboard config will have reset10:41
purplealgaehttps://pastebin.com/pbjZBRJc10:41
purplealgaedifficulty is that it uses 'xcape' tool. If it was just setxkbmap and xmodmap, I know how to do it10:42
ograpurplealgae, have you tried "sudo dpkg-reconfigure keyboard-configuration" (which is the default way to configure keayboards in ubuntu) ?10:46
purplealgaeah I didn't know about that, thanks10:52
purplealgaedoesn't look like it will be quite what I need, but always good to know whats available10:52
sultandsorry got disconnected. https://jimangel.io/posts/automate-ubuntu-22-04-lts-bare-metal/ this looks like it is a usb installer10:55
sultandhttps://discourse.ubuntu.com/t/automated-server-installs/16612 this is for ubuntu 2010:56
ograsultand, yes, the default changed in 20.04 ... most of the doc should still apply for 22.0410:58
ograpurplealgae, it sets the options in /etc/default/keyboard ... you can edit that file by hand and add more as needed10:59
=== popey7 is now known as popey
lhp22Hello 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
lhp22It's not for me, it's for a new linux user friend of mine11:16
arraybolt3lhp22: Easiest solution would be to go into the BIOS and see if you can change the hard drive mode from RAID to AHCI.11:16
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
arraybolt3Oh, wait, you just said... ok nevermind.11:17
lhp22There 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
ogralhp22, https://discourse.ubuntu.com/t/ubuntu-installation-on-computers-with-intel-r-rst-enabled/1534711:18
ograthere are various solutions in that thread (towards the end)11:19
arraybolt3lhp22: What computer is this? Maybe RST *can* be turned off and someone here can find the right setting to do so.11:20
lhp22arraybolt3: I've tried so many keyboard combinations. The bios is InsydeH20 F.58 ; the laptop is HP Laptopt 17-by0xxx11:23
lhp22ogra: ookay, it seems like an ocean but I look at11:24
lhp22ogra: but it seems to me that this thread is for computer which has still a W installed11:24
lhp22Maybe it's possible to flash bios from an arch system ?11:25
arraybolt3lhp22: OK so you can't get into BIOS at all?11:26
lhp22arraybolt3: i can, but not the advance options. I can't even disable secure boot11:26
arraybolt3Yeah, it looks pretty extremely basic.11:27
arraybolt3Your best bet here may be to install Ubuntu onto an external USB flash drive if none of the solutions in there help.11:27
lhp22arraybolt3: I keep in mind this solution, but I would like to avoid11:29
lhp22I've just found it : https://help.ubuntu.com/community/Installation/MinimalCD11:30
lhp22Or, other things : is there possible to launch the ubuntu installation key from the archlinux system ?11:31
lhp22*key = usb drive11:31
ogralhp22, 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:34
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:35
lhp22i try something with debootstrap11:36
ograyou could try an ubuntu base tarball ..11:37
ograhttp://cdimage.ubuntu.com/ubuntu-base/releases/11:37
ograthis is essentially a basic debootstrap based tarball11:37
lhp22try to follow it : https://blog.domainmess.org/post/arch_ubuntu_install/11:38
lhp22ogra: but I keep it11:38
ogralhp22, 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 installer11:40
lhp22ogra: it's not my fault if the ubuntu installer has a problem with RST and not arch installer11:41
ogralhp22, 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 them11:41
lhp22ogra: oh, i can do it from the live cd indeed11:42
ograyeah 🙂11:42
ograand 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 all11:45
ograthat way you are at leas half way close to what an actual ubuntu install gives you ...11:46
lhp22ogra: not sure to understand what you mean by "tarball"11:48
ogralhp22, what i pointed you to above ..11:49
ogralhp22, http://cdimage.ubuntu.com/ubuntu-base/releases/11:49
arraybolt3lhp22: 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
ogragrab a tarball from there11:49
arraybolt3"Tarball" = "a bunch of files archived using `tar` and then compressed".11:50
ogralhp22, 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:50
lhp22ok. Sorry, was mistaken11:51
ograhttp://cdimage.ubuntu.com/ubuntu-base/releases/22.04.1/release/ has the latest11:51
lhp22(and thanks for help and patience)11:51
arraybolt3You also will probably need to create and mount the EFI partition before you can get the system bootable.11:51
ograhis is what we are here for 😉11:51
ogra*this11:51
arraybolt3So, 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
lhp22for the boot, I think I'll grub-mkconfig from arch side11:52
ograeeek, dont11:53
arraybolt3chroot in and install the GRUB package11:53
arraybolt3From within Ubuntu11:53
ograrigh11:53
ograt11:53
lhp22Ah yes, need to install grub in ubuntu too, mb11:53
ogradont use freign bootloaders for a distro11:53
ogra*foreign11:53
lhp22At this point ? ok11:54
lhp22(never did this level of black magic)11:54
arraybolt3It's like an Arch install, Ubuntu style.11:54
lhp22Yes, it's what I want, but without the wiki :'D11:54
ograeach distro has its own configuration, you dont want to use a grub.cfg created with arch tools for ubuntu11:54
arraybolt3A 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:54
rob0if you know what you are doing you can merge your boot loader configuration11: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
lhp22rob0: I don't know what I'm doing enough11:55
rob0:)11:55
lhp22I do it, and come back here11:56
ograjust chroot into the extracted tarball partition and use the normal grub-install and update-grub tools from ubuntu11:56
rob0using a separate grub is fine11:56
ogra(you might need to mount the EFI partition here though<)11:56
lhp22ogra: I think the wiki for grub on arch give instructions that work for from ubuntu (grub-install and grub-mkconfig)11:58
ograwell, ubuntu does never use grub-mkconfig directly ...11:59
arraybolt3grub-mkconfig works, but update-grub is more commonly used.11:59
lhp22arraybolt3: don't know update-grub, i'll see11:59
ograit also uses grub-shim as first stage loader and then chainloads other grub binaries11:59
ogranot sure arch even remotely does that11:59
ogra'D really follow the ubuntu processes and not mix and mesh with foreign distros ... this will surely cause issues further down the road12:00
ogra*i'd12:00
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:01
lhp22ogra: i just have to "update-grub" instread of "grub-mkconfig -o grub.cfg" ?12:08
lhp22Ok, 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:09
ogralhp22, right, it generated the input file to grub-mkconfig from various snippets12:13
ogra(and then calls grub-mkconfig in the end)12:14
ogra*generates12:14
BluesKajHi all12:22
lhp22ok, now, I'm chrooted with the efi partition mounted12:31
lhp22(sorry, took time, needed to resetup an ubuntu key)12:31
arraybolt3ogra: ^12:32
lhp22strange, that chroot env doesn't see my ethernet connection12:32
arraybolt3(I'd pick up from here but I don't know what I'm doing exactly so)12:32
arraybolt3lhp22: Oh that's easy to fix. You're in the chroot, right?12:32
lhp22The problem is gamja disconnected me, so I lost our conversations >.<"12:33
arraybolt3lhp22: If so, run "mv /etc/resolv.conf /etc/resolv.conf.bak".12:33
lhp22arraybolt3: i'm in, yes12:33
arraybolt3lhp22: Then exit the chroot, and run "cp /etc/resolv.conf /mnt/etc/resolv.conf".12:33
arraybolt3lhp22: 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
ograright, you want a temporary resolv.conf in place (remove it when you are done though !!!)12:33
ograinstall "linux-generic" to get a kernel ... that should also call update-grub from its post-install script12:34
lhp22the resolv.conf didn't work12:35
ograyou might also want to call grub-install with the right runes for your disk12:35
ogracan you ping 8.8.8.8 ?12:35
lhp22from the no chroot yes12:35
ograand from the chroot ?12:35
lhp22from the chroot, no, ping isn't installed12:35
ograheh12:35
ograkay ...12:36
lhp22but "apt update" fails12:36
lhp22Can't fetch12:36
ograyeah12:36
arraybolt3What directories did you bind-mount into the chroot?12:36
ograadd "nameserver 8.8.8.8" as the only line to your /etc/resolv.conf12:36
ograthen see if it works12:36
lhp22indeed, i've no resolv.conf file12:36
ograelse you are missing other stuff12:36
arraybolt3You're supposed to do something like "sudo mount --bind /proc /mnt/proc" and stuff like that from outside the chroot before chrooting.12:36
arraybolt3The full list is:12:36
ograyou can do that from the inside too12:37
lhp22Ah yes, forgot the bindings12:37
arraybolt3sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys && sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts12:37
ogramount -t proc proc /proc12:37
arraybolt3That's probably the problem.12:37
ogramount -t sysfs sys /sysfs12:37
ogramount -t devtmpfs dev /dev12:37
ogrause these three commands inside the chroot12:37
lhp22ogra: with the command givne byt arraybolt3 ?12:38
arraybolt3lhp22: Use ogra's commands.12:38
ograno, that is the same but from outside the chroot12:38
ogrause either or 🙂12:39
arraybolt3(Just not both. :P)12:39
ograwell, both wont do harm either ...12:39
ogravirtual filesystems dont care if they are double mounted at the same place 🙂12:39
ogra(umount does care indeed, you'd need to unmount twice to)12:40
lhp22arraybolt3's commands arn't enough, still no internet connexion12:40
arraybolt3ogra: My head is spinning...12:40
ogradid you edit resolv.conf ?12:40
ogra(or create)12:40
ogra... with the one line i gave above12:40
lhp22ogra: got it !12:42
ogragreat 🙂12:42
ograso apt update ... apt install linux-generic12:43
lhp22linux-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:43
ograit is the metapackage for ubuntu kernels ... it pulls in all the other bits needed12:44
lhp22I wanted to look for these commands, thanks for giving >.>12:44
lhp22ogra: oh shit, what a spare12:44
lhp22It's a powerfull package12:45
lhp22ah YES. I see all what it installs12:45
ogragreat12:46
lhp22The "base" tarball was indeed basic12:46
lhp22What does "--bind" option indeed ?12:46
ograright, "just enugh to run apt"12:46
lhp22And 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
lhp22The "--bind" is just some magic to create a virtual equivalent ?12:47
lhp22Ok >.>12:47
arraybolt3So "mount --bind /dev /mnt/dev" makes /mnt/dev look like /dev.12:47
lhp22I wanted to take time to learn how works chroot. So ...12:48
lhp22The main following step : ubuntu-minimal, ubuntu-base and grub-update ?12:48
lhp22grub-install before grub-update maybe12:49
ograthe kernel package install should already call update-grub12:49
ograso you should have a working config after the install finished12:49
lhp22So, If i like bets, I could reboot and see if I can boot ?12:50
ograwhat you still need to do is grub-install with the correct target to install to your disk12:50
lhp22Ok. That I know12:50
ograokay ... 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
lhp22yeah, it's on x)12:51
lhp22Stupid 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
lhp22I have to do some stuff with the locale12:52
lhp22ER12:53
lhp22ogra: do linux-generic setup fstab ?12:53
ogranope12:53
ograyou might want to do that as well12:54
lhp22Ok, i'll do12:54
ogramake sure to use the UUID there12:54
lhp22does locale-gen is arch specific ?12:54
lhp22(the script)12:54
ograno12:55
lhp22Ok, so I can follow the locale setup of arch12:55
ografor locales, edit /etc/default/locale12:55
lhp22even : "the local locale setup" :p12:55
ograthen run "sudo update-locale"12:55
arraybolt3(So don't use the Arch locale setup.)12:56
lhp22(What I was thinking about)12:56
ogralater on, once you have the desktp installed, yu can use the GUI tool to install the langpacks fr french12:56
lhp22When I'll get a bootable ubuntu, I'll become a newbie, never user this distro x)12:56
lhp22OH12:57
lhp22one of the "ubuntu-minimal/standard" sets up the time zone12:57
lhp22Do 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
lhp22SO12:59
lhp22After grub-install, i could theorically boot ?12:59
ograhopefully 🙂13:01
lhp22hm13:03
lhp22what I've to put in /etc/default/locale ?13:03
ografr_FR.UTF-813:04
lhp22It's written "File generated by update-locale"13:05
lhp22This kind of file hasn't to be modified other than through update-locale, so ?13:05
lhp22Or I dont care ?13:05
ograsudo update-locale LANG="fr_FR.UTF-8"13:06
ogratry that one13:06
lhp22It fails, and the message is as this locale isn't installed13:07
ograsudo apt install locales13:08
ravagei would worry about that after your system boots by itself or you will have to start translating error messages for us here anyway13:09
ogra(tough ubuntu-minimal or -standard should have installed it)13:09
lhp22ravage: good point, I'll do it at the end13:09
ograbut ravage is right ... finish the critical bit first ..13:09
lhp22ogra: yeah, I've ddg-ed the problem, and found it13:09
ograand after you successfully booted move on with configuration13:09
lhp22Have to do the fstab too13:10
lhp22no ?13:10
ograit surely helps13:10
ograto find your UUID use the blkid command (it takes the partition as argument)13:11
lhp22(oh shit, thanks, I was looking for it with "bluid" or some thing)13:14
lhp22BUT13:14
lhp22problem with grub13:14
ogratell us13:14
lhp22"grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doens't exist. Please specify --target or --directory."13:14
lhp22But I've done13:14
lhp22Command I've typed : "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB"13:15
lhp22With UEFI part at /boot/efi13:15
ograyou need to give it the disk as last argument13:15
ogralike: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB /dev/sdaX13:15
ograerrr13:16
ogralike: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB /dev/sdX13:16
ograwhere /dev/sdX is your disk (not the partition !!)13:16
ograoh, and that modinfo.sh comes from the grub-efi-amd64-bin package ... make sure that is installed13:17
lhp22that was my following point :some grub package exists that are not installed13:18
lhp22grub2-common grub-pc grub-efi-amd6413:18
lhp22grub2-common and grub-efi-amd64 will be installed.13:19
lhp22ogra: the disk isn't asked normally imo13:19
ograthis 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-common13:19
lhp22grub2-common was already installed13:20
lhp22grub-efi-amd64 was lacking13:20
lhp22And now it works13:20
ograyay13:20
lhp22the grub install13:20
lhp22update-grub is necessary ?13:20
ograthat should have been run already ... but it wont do any harm to re-run it13:21
lhp22I've some reminds of "mkinitcpio". Is it necessary ?13:22
ograno, ubuntu uses update-initamfs (which might call mkinitcpi at some point in the backend though)13:22
ograthe kernel package should have done all this from its post installation scripts already13:23
ogra(calling update-grub, calling update-initramfs and so on)13:23
lhp22ok13:27
lhp22Is there a way to check "kindly" the fstab file ?13:27
lhp22no through chroot I think13:28
lhp22aaaaaand it's TIME13:29
ogracat /etc/fstab | nc termbin.com 999913:29
ogragive us the url that returns and we can inspect13:30
lhp22aaah, grub shows me her console <313:30
lhp22and that doesn't boot :313:31
ogrago back to the chroot, try the grub install again but give it the disk as last arg 🙂13:31
lhp22ok. *waiting for launching the live cd*13:32
geosmile2x3090 MSI + Linux/Ubuntu + nvidia-smi = 1 gpu detected. Can anyone help please? https://dpaste.org/H9Tc913:41
lhp22ogra: 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:44
lhp22ogra: I try or I don't try to boot ?13:45
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:47
lhp22It fails13:48
arraybolt3*Sigh.* OK, reboot, chroot, let's try to reconfigure it to use the removable media directory.13:49
lhp22arraybolt3: ah, you think it's impossible to boot on this ubuntu on hard driv e?13:49
arraybolt3lhp22: No, I think we're pretty close to done.13:50
lhp22*launching the live cd*13:51
arraybolt3If 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:51
lhp22what'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
arraybolt3OK, 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
lhp22I'll be. It launches13:52
lhp22(Yeah, write my own config file is able, but never did it)13:52
lhp22(And it's not quite simple)13:52
arraybolt3Once 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
arraybolt3When it asks you "Force extra installation to the EFI removable media path?", tell it "Yes".13:53
lhp22And then I'll try to reboot ?13:53
arraybolt3Yep.13:53
lhp22chrooted13:57
lhp22I 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
arraybolt3OK, dpkg-reconfigure grub-efi-amd6413:58
arraybolt3Can you pastebin it or screenshot it and upload it to Imgur?13:59
lhp22I can write a command line, but it's right to be empty13:59
arraybolt3You 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.13:59
arraybolt3Or pastebin the full message and send the link to that.14:00
lhp22https://pic.infini.fr/gallery#nflziV8x/OELKxagg.jpg14:01
lhp22arraybolt3: ^14:02
geosmile2x3090 MSI + Linux/Ubuntu + nvidia-smi = 1 gpu detected. Can anyone help please? https://dpaste.org/H9Tc914:03
arraybolt3lhp22: Yep, OK.14:06
lhp22i leave it empty ?14:07
arraybolt3Correct.14:07
lhp22Next : "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
lhp22I can add or remove parameters14:08
arraybolt3Leave it default.14:08
* arraybolt3 has to go afk, ogra or anyone else can you pick up where I'm leaving off?14:09
lhp22how long you have to afk ?14:10
lhp22arraybolt3: https://pic.infini.fr/gallery#1ECz1rx0/G0m4ErbF.jpg14:11
lhp22Strange thing : it speaks about debian14:11
lhp22and NVRAM and PXE14:11
lhp22ogra: ^14:11
* arraybolt3 is back14:12
arraybolt3Answer 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:12
arraybolt3(Or at least, it reuses a lot of code.)14:13
arraybolt3lhp22: ^14:13
lhp22next incoming14:13
lhp22(it sounds like a joke)14:13
lhp22arraybolt3: https://pic.infini.fr/gallery#FHuUaQdc/b47It5na.jpg14:14
lhp22Do I want to install Grub ?14:14
lhp22?.?14:14
arraybolt3lhp22: ...well I understand what it's saying but why is a mystery to me.14:15
arraybolt3lhp22: 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:15
lhp22I'm locked if I answer No14:16
lhp22I stay on the same window14:16
arraybolt3OK then answer Yes.14:16
arraybolt3(GRUB has already been installed so it's probably fine.)14:16
lhp22finished14:16
arraybolt3Crud, that was it?14:17
lhp22and it tells me it found my arch14:17
arraybolt3Maybe it will pop up another window in a bit.14:17
lhp22I try to reboot ?14:17
arraybolt3No, that probably won't work.14:17
* arraybolt3 has to afk again, sorry14:17
lhp22np14:19
arraybolt3OK back.14:20
arraybolt3Alright, can you run "cd /boot/efi/EFI && ls | nc termbin.com 9999" and send the link?14:20
arraybolt3(That command will output a link showing me the contents of a folder on the newly installed system.)14:21
lhp22i'm stupid14:21
lhp22I'vnt mounted the efi partition before the dpkg reconfigure14:22
lhp22do i dpkg again ?14:22
arraybolt3Yep.14:23
lhp22nothing new14:24
lhp22Except I didn't get the strange question with "you have grub uninstalled" but it makes sense now14:24
arraybolt3Crud. Well, ok, run that "cd /boot/efi/EFI && ls | nc termbin.com 9999" command and let's see what's in there.14:24
lhp22https://termbin.com/i9o414:25
arraybolt3lhp22: Alright, can you do "ls BOOT | nc termbin.com 9999"?14:27
lhp22https://termbin.com/hjjh14:28
arraybolt3OK, and lastly, ls ubuntu | nc termbin.com 9999"14:28
lhp22https://termbin.com/k02g14:29
arraybolt3?! ok that wasn't expected.14:29
lhp22Ah xD14:29
arraybolt3sudo apt install shim-signed14:29
arraybolt3(If Secure Boot is enabled you'll need that.)14:29
lhp22Ah, fuckee me.14:30
lhp22Yes, as I can't remove the RST, I can't remove the secure boot14:30
arraybolt3We all forgot it, it's not your fault. (Also, please avoid possibly offensive language in this chat)14:30
lhp22(yes, sorry, it really escapes me)14:31
lhp22Installed14:31
arraybolt3OK, now do "sudo apt install efibootmgr"14:31
lhp22already installed14:31
arraybolt3Nice, OK "efibootmgr | nc termbin.com 9999"14:31
lhp22The apt tells me there is some upgradable14:31
arraybolt3Don't worry about that for now.14:32
lhp22ok14:32
lhp22boot goes on : https://termbin.com/c56y14:32
lhp22what this strange order14:33
arraybolt3lhp22: That looks like possibly part of our problem.14:33
arraybolt3OK, "ls ubuntu | nc termbin.com 9999"14:33
lhp22Why 2 EFI, and 1 Grub ?14:33
lhp22you already have: https://termbin.com/k02g14:33
arraybolt3Right but it should be different this time.14:34
lhp22yes14:34
lhp22indeed14:34
arraybolt3That's the old one, I need the new one.14:34
lhp22https://termbin.com/gy5tu14:34
arraybolt3Alright! That looks much more normal.14:34
lhp22I can termbin a tree if you want14:34
arraybolt3Uh... ok so can you do "cat ubuntu/grub.cfg | nc termbin.com 9999"?14:35
arraybolt3I think that's probably enough info for me to work on.14:35
lhp22https://termbin.com/djxj14:35
arraybolt3It 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
arraybolt3Yes! Alright, this looks very hopeful.14:35
lhp22Ok. May you explain a bit deeper ?14:35
arraybolt3OK. one moment while I work out an efibootmgr command...14:36
lhp22np, I wait14:36
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
lhp22oh, ok14:37
lhp22[At the end, I'll ask you if you have references to learn all of it, cause it hurt me some times]14:38
arraybolt3Yuck, 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
lhp22OK14:39
arraybolt3All of the spaces, slashes, & signs, etc. are all important.14:39
lhp22yeah, i've seen the "rm -rf" at the beginning xD14:39
leftyfbarraybolt3: I would suggest mv14:39
arraybolt3leftyfb: That's a good idea, I didn't think of that.14:40
lhp22instead 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:40
lhp22done14:41
arraybolt3OK, 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
eelstrebornow 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 packages14:42
tomreyngeosmile: 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
lhp22i saw it, i shut14:42
lhp22... ... ...14:43
tomreyneelstrebor: show output of   sudo apt-get update    incl. warnings + error messages.14:43
lhp22it ... 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
lhp22At least Grub sees Ubuntu and it seems booting correctly14:43
arraybolt3\o/14:43
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:'D14:44
lhp22except that I didn't create root passwd and user so ... xD14:44
eelstrebortomreyn, i did that via pastebin yesterday but i'll have to go into the irc log to find it again or do a new paste14:44
arraybolt3Oh no LOL14:44
lhp22I get a login prompt14:44
lhp22Without errors14:45
arraybolt3That'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
lhp22arraybolt3: yeah, that I can do alone14:45
arraybolt3Oh nice! Congrats!14:45
lhp22arraybolt3: it's not the first Linux I get "fun" with. But the boot UU14:46
tomreyneelstrebor: i concur14:46
lhp22arraybolt3: but you're my god, and thanks, really14:46
arraybolt3Eh, just a fellow Linux user happy to help others with my knowledge. Glad to be able to help out!14:46
lhp22Last 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
arraybolt3lhp22: sudo apt install ubuntu-desktop14:47
eelstrebortomreyn, https://pastebin.com/vwP0fGqP14:47
arraybolt3That should take you from a DOS-like environment to the Ubuntu you've probably been using all this time.14:47
arraybolt3Or 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
lhp22arraybolt3: 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 xD14:48
arraybolt3LOL wow.14:49
arraybolt3I, to this date, still can't sign into WiFi using only CLI tools.14:49
tomreyneelstrebor: this looks like bad connectivity or a restrictive network environment on your end.14:49
arraybolt3I can do it with the GUI or with nmtui, but not with pure command-line stuff.14:49
lhp22arraybolt3: let a try to iwd and iwctl. It's terribly simple now14:49
* arraybolt3 files that in the back of my brain for (hopefully) future recall14:50
lhp22arraybolt3: and user-friendly.14:50
tomreyneelstrebor: more likely the latter - are you behind a corporate firewall restricting outbound traffic?14:50
lhp22arraybolt3: I learnt with wpa-suppliant, and iwd is just ... a gui through cli =O14:52
eelstrebortomreyn, no. this is my home network - i'm using routers with dd-wrt firmware14:52
eelstrebortomreyn, my wife uses a vpn and the updates work fine there but i haven't a clue as to why it's a problem here14:52
arraybolt3lhp22: Ugh, wpa-supplicant was my nemesis. But this is somewhat off-topic for this channel, maybe #ubuntu-discuss would be a better location?14:52
eelstreborifm i turn off her vpn service then she has the problem also.14:53
tomreyneelstrebor: can you show the tracepath (you can omit the first hops for privacy)14:53
arraybolt3eelstrebor: 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:53
eelstrebori may have found the problem - i was using QoS, when i turned it off the updates came in.14:56
arraybolt3eelstrebor: Yeah, that sounds like it would do it.14:57
eelstreborwhy it would suddenly cause this problem i don't know14:57
rdzhey 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
rdzssh'ing from host to guest works fine, though14:58
rdz*not have any firewall installed14:59
tomreynrdz: so    sudo iptables -L   is empty?15:03
rdztomreyn: no, it is not, but port 22 isn't mentioned either15:04
tomreynis "ssh" mentioned, though?15:04
rdztomreyn: libvirt _does_ create indeed a bunch of rules15:04
tomreynso you're using libvirt, that's good to know15:04
tomreynwhen 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
rdztomreyn: by ip.. and when testing other ports, i use the same ip15:06
rdz"nc -v -l -n -p 17990" opens a listening port inside the guest15:07
tomreyndoes, 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
rdzfrom the host i can "nc -v 192.168.122.150 22", but not "nc -v 192.168.122.150 17990"15:07
tomreyn(replace "PORT" by the very port numbers, so 22 or 17990)15:08
rdz"netstat -lnpt" in guest shows: "tcp        0      0 0.0.0.0:17992"15:08
tomreyn"ss" would be the more current netstat replacement, but i prefer lsof.15:09
rdztomreyn: your lsof command does list both15:10
rdzturnserve 433 turnserver   16u  IPv4  12489      0t0  UDP *:1799215:10
tomreynhow, though?15:10
tomreynudp, so connectionless15:10
rdzsorry, wrong line15:11
rdzturnserve 433 turnserver   32u  IPv4  12037      0t0  TCP *:17992 (LISTEN)15:11
rdzit listens on both, but currently i am worried about TCP15:11
tomreyni meant "stateless", but glad you got it. ;)15:11
tomreynand ssh looks the same in regards to what it binds to?15:12
rdzyes: sshd    445  root    4u  IPv6  12013      0t0  TCP *:ssh (LISTEN)15:13
tomreynipv6 vs ipv415:13
rdzi can connect to both inside the host..15:13
rdztomreyn: ah., didn't check that15:13
rdzbut on my host the guest appears only with ipv4 address, from what i can tell15:14
rdz192.168.122.15015:14
rdzi can connect to both services from inside the guest15:15
tomreynusing    nc -v   (tcp) that is?15:15
rdztomreyn: exactly15:15
tomreynand here you really meant "guest"? <rdz> i can connect to both inside the host..15:16
rdzwhile not very familiar with what libvirt does re: netfilter rules, i am starting to believe it does stuff i don't see15:17
rdztomreyn: oh, sorry.. i meant: i can connect to both services from inside the _guest_ (not host)15:17
rdztomreyn: thanks for your time. i need to leave now. will check that later15:20
tomreynrdz: 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:21
tomreyn(or whether you do NAT)15:22
rdztomreyn: 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 behaves15:22
rdzthe guests use 'Virutal network "default": NAT'15:22
=== EnchanterTim is now known as Linux
anomI downloaded the ubuntu source code from archive.ubuntu.com. How do I build this code?16:55
samy1028anom, what exactly are you trying to do?  Build Ubuntu completely from source only?16:59
anomYes, exactly that, build Ubuntu completely from source only.17:07
anomsamy102817:08
imisome apps are really slow on my machine without any apparent reason17:13
ograimi, 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 technology17:35
FravialisHi all. Why wouldn't chmod g+s on a directory be working? It seems it has no effect.17:40
aberranthi 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:46
tomreynaberrant: try #ubuntu-server, too (and make sure to ask the actual question there)17:48
tomreynFravialis: file system without unix-like ACLs17:51
aberrantthanks. will do.17:51
aberrantthe actual question involves multiple lines of config, so I was hesitant.17:52
tomreynaberrant: a pastebin or similar may come in handy there,17:52
aberrantgot it. Thanks.17:54
mrblinkhello18:10
mrblinki have my apt crushs when ever i try to install something18:10
=== jgee11 is now known as jgee1
tomreyn!paste | mrblink18:22
ubottumrblink: 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
tomreynlet's see your output of running the respective apt commands, including warnings and errors.18:22
Milenchohey gus19:15
Milenchoguys19:15
Milenchowhat could cause the problem after update or i don't know all wifi cards usb/pci are not working19:15
Milenchoi mean device is not ready19:16
EriC^^Milencho: try 'rfkill list'19:20
sybaritenhow 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 VPS19:20
EriC^^sybariten: you can't know that cause it depends on how many packages are going to be updated19:21
sybaritenGotcha19:21
MilenchoEriC^^, tried evertying looks fine19:22
sybaritenOK 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
Milenchonothing is blocked19:22
oerhekscheck current kernel, as a start19: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 it19:23
Milenchoi have restarted network manager few times19:23
oerheksmaybe you are a reboot behind19:23
oerheksand WIFI ona  VPS?19:23
EriC^^Milencho: is it a laptop that you can remove the battery of?19:23
Milenchodesktop19:23
Milenchoanykind of usb/pci wifi is ****** up19:24
sybaritenEriC^^: thats not gonna break stuff i suppose, if i ctrl-c ?19:24
sybaritenI 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:24
sybaritenEriC^^: gotcha thanks19:25
EriC^^sybariten: no problem19:25
MilenchoEriC^^, my kernel is 5.19.0-1519:26
EriC^^oerheks: ^19:26
sybaritenOK, 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
Milenchois there any way that i can install mainline gui from deb packet in order to revert kernel19:26
oerheks5.19 .. is this the next 22.10?19:26
Milenchoyup i'm with 22.1019:26
Milenchobecause of newer driver for ax210 intel19:27
ic56sybariten: apt-get upgrade, on the commandline, decides what it needs to upgrade, then prompts you whether to proceed19:27
oerheksoh then you are testing, join #next for support.19:27
=== fenris_ is now known as fenris
oerheks#ubuntu-next19:27
Milenchooerheks, it was working with 22.10 few weeks19:27
Milenchonot sure may be after security update.19:27
Milenchosomething went wrong19:28
sybaritenic56: 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 check19:28
oerheksto group these issues, there is that seperate channel.19:28
ic56sybariten: 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:29
=== fenris_ is now known as fenris
geniiWell, the latest minor revisions of packages. To bum major version numbers and increment kernel versions dist-upgrade19:30
geniibum/bump19:30
ic56hey genii!  Imagine seeing you here :-p19:31
sybaritenic56: oh right. So upgrade is not the same as dist-upgrade i suppose. What is full-upgrade then?19:31
sybaritendist-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 reboot19:32
ic56sybariten: 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:32
sybariteni see19: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 kernels19:33
arraybolt3[m]Upgrading to a new release of Ubuntu uses do-release-upgrade, which is much different and can be very scary.19:33
sybaritenbut 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 write19:34
sybaritenthat they offer it?19:34
EriC^^maybe they're just lazy, at the bottom the copyright still says 201919:37
ic56sybariten: most likely it has to do with what they have installed.19:37
ic56sybariten: 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
Milenchooerheks, i've reverted to 5.15 kernel and its same19:38
Milenchoso it's not because of the kernel guess i19:38
geniiarraybolt3[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-upgrade19:39
sybaritenic56: ah! That makes sense. Didn't know there was a limitaiton like that. Thank you19:40
sybaritenEriC^^: could very well be that their info isn't the most up to date, yes...19:40
ic56sybariten: you're welcome!19:40
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:42
arraybolt3sybariten: 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
sybaritenok!19:43
sybaritenits a headless machine but i get your point19:43
ic56sybariten: 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:44
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 kernel19:46
arraybolt3[m]update), however the updater may tell you when that needs to happen.19:46
sybariteni have a very meager LAMP system running .... wechat... and emacs... thats all i can think of. Personal stuff on a rather slow machine19:46
sybariten(that was for ic56 )19:46
sybaritenarraybolt3[m]: yeah ive definitely given this machine too little love19:46
sybaritenturns 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:48
ic56sybariten: 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, you19:50
ic56will almost certainly find problems.19:50
sybaritenic56: mmm yeah i understand. I can't really remember having done a lot of changes that arent more of a user home dir type19:52
ic56sybariten: 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
sybaritentrue dat19:52
ic56sybariten: 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:54
ic56sybariten: ...these are the issues.  Otherwise, apt-get upgrade will leave the system in a working state.19:56
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:57
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:58
ic56sybariten: arraybolt3[m] makes a good point.  I'm describing things I have had to handle when migrating to a new release.19:59
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:12
leftyfbarraybolt3[m]: apt list --installed |grep <package_name>20:13
leftyfbarraybolt3[m]: or apt-cache policy <package_name>20:13
ic56arraybol3[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
sybaritenic56: 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 instance20:14
geniidpkg --get-selections20:14
oerheksapt-cache search . | grep -i "metapackage\|meta-package"20:14
ic56sybariten: in that case, apt-get upgrade away.  You won't notice anything amiss.20:15
ic56genii: I /msg'd you.20:16
sybaritenarraybolt3[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
sybaritenI 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 all20:17
oerheksfiling for a SRU, you must have a reason for this, and packaging and testing teams handle this.20:18
oerheksit is unusual, because bugfixes and patches are ported back anyway.20:19
rdztomreyn: 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:19
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:20
ic56sybariten: they have people.  and Ubuntu *is* a commercial organization.  Companies pay them for support.20:21
ic56sybariten in all-volunteer distros, like Debian, such things are done as well -- by the volunteer staff.20:22
sybaritenic56: ah okay so unlike ubuntu, debian "doesn't have" any economy really?20:22
ic56sybariten: correct.  Though I think the project receives donations to pay for servers.20:23
sybaritenI see20:24
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:25
=== wbrawner_ is now known as wbrawner
morganuI 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:56
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.20:59
oerheksremove the ~/.config/googlle* folders, and restart chrome21:00
leftyfbmorganu: mv ~/.config/google-chrome ~/google-chrome-backup21:00
oerheksand memtest result sounds bad.21:00
morganuBTW, I had only 32 tabs open.21:00
oerheksnot the number, but what tabs..21:01
morganuoerheks, I have been complaining about the memtest since 200021:01
morganuwhen I started using this computer.21:01
morganuarraybolt3[m], the passwords are stored in my google account and not in chrome. FYI21:01
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:03
morganuOK I will follow arraybolt3[m] leftyfb  oerheks will follow your advice re chrome removal21:04
morganuoerheks, explain re what tabs - clearly YT tabs, even if never brought to focus, matter more.21:05
morganuoerheks, 7 of them are YT. one messenger one google voice, 3 mail, the rest "sites"21:06
morganuoerheks 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.21:40
tomreynrdz: 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.22:59
xrandrHello. 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:24
Bashing-omxrandr: File system corrupted ? what shows ' fsck ' from the installer USB ?23:27
xrandrfsck.ext2: Input/output error while trying to open /dev/sdc223:27
xrandrThen it outputs a message that the superblock could not be read23:27
ravageRIP23:29
xrandrso the drive is dead?23:29
Bashing-omOuch! ^^ Might try and spare off the bad superblock: http://ubuntuforums.org/showthread.php?t=2177756 .23:30
sarnoldxrandr: smartctl -x /dev/sdc   might give you more information23:30
sarnoldxrandr: also check dmesg -- there might be errors logged there23:31
xrandrSays a mandatory SMART command failed: exiting. To continue, add one or more -T permissiveoptions.23:31
ravagea dead SSD usually stays dead23:31
sarnoldxrandr: IO errors can happen due to bad cables, bad power supply, bad SATA controller, bad motherboard, but *usually* it's dead or dying drive23:31
xrandrok.23:32
sarnoldmandatory smart command failing, yikes :/ sounds bad23:32
xrandrThank you23:32
xrandrI just cant fathom what could have caused it to die23:32
xrandrLuckily I  have backups, but still23:32
xrandrthank you all. I'm gonna buy another drive.23:33
morganuDifferent 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 8G23:48
morganuIn a moment it will have 22.04 ((thank you community for making the upgrade so easy))23:49
morganuand ethernet is speedy23:51
morganuOOPS 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. :(  Tx23:57
morganuit (may take several hours)=20 to 2223:57
sarnoldmorganu: sometimes you can hold down the alt key and click-and-drag in the middle of the window to place it somewhere else23:58
morganuI 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
sarnoldoh :(23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!