[00:08] <z1trus> oerheks: I think issue is in nvme. It overheat in idle up to 60 degrees, for example in openSUSE, but in ubuntu It barely warm - like about 38-40 celsius degree.  I can't find NVME related patches, specific only for ubuntu kernel, as well as kernel modules or firmware. Everything the same at first (and second, and third) sight.
[00:10] <sarnold> z1trus: nvme has some specific power handling stuff https://wiki.archlinux.org/title/Solid_state_drive/NVMe#Troubleshooting
[00:11] <sarnold> z1trus: some devices have bugs, so there's a table of device ids in the kernel and what levels of power management support are available..
[00:11] <sarnold> z1trus: try reading those settings from the various operating systems?
[00:14] <Tripknotix2> hi you guys, im  back at trying to create a solana contract, WSL failed due to there not being some x file for cross platform. so i am going to get virtual machine software, is there a recommended preference for ubuntu?
[00:19] <tomreyn> Tripknotix2: not really, no. just something that creates an environment which is similar enough to a supported hardware platform, and provides the minimum requirements.
[00:20] <sarnold> Tripknotix2: the usual tool is libvirt
[00:20] <sarnold> Tripknotix2: most folks use virt-manager to configure it
[00:20] <z1trus> sarnold: Yes. Archwiki is a good start point in troubleshooting journey. It's first place, where I run everytime. And everything from it article are the same between ubuntu and other distros.... except nvme drive temperature.
[00:21] <tomreyn> i assume that what Tripknotix2 said about WSL means they are running Windows on the host, which i think rules out libvirt (as well as high performance)
[00:21] <z1trus> So I think I should try to feed ubuntu kernel to openSUSE. I hope I return to this channel with success story soon or late :)
[00:25] <rob0> You just manually install the kernel and modules .deb packages, make an initrd if needed, then configure your boot loader to point to the Ubuntu kernel and the OpenSUSE root fs.
[00:31] <Tripknotix2> tomreyn, yes sir, on windows
[00:41] <Gerowen> Troubleshooting a Pihole for somebody else.  It's running Ubuntu server (upgraded from 20.04 to 22.04, but issues existed prior to the upgrade). multipathd seems to be sitting in the background using about 25MB of RAM.  Is this normal?  Trying to troubleshoot why the pihole-FTL service keeps using up tons of RAM and eventually crashing.  I have another PiHole running Raspbian that doesn't even have multipath installed.
[00:41] <Gerowen> I'm really just trying to figure out what is different between my PiHole (the one working fine) and this other one I'm working on.
[00:49] <Tripknotix2> i tried installing virtual box and it gave an error saying that the feature i am tryign to use is on a network resource that is unavailable ... saying that and older version of virtual box cannot be removed and to contact my technical group -_-''
[00:49] <Tripknotix2> they left for the day 20minutes ago
[00:49] <Tripknotix2> i forgot we used to use virtual box for something else in the past, and i couldnt uninstall so i just deleted the files for the program heh
[00:49] <Tripknotix2> go figure tha twould bite me in the ass 1 day
[00:51] <sarnold> Gerowen: probably an rpi doesn't need multipathd, I suggest taking the quickest / easiest way to stop that -- whether that's purging the package or configuring systemctl to not start it, etc
[00:51] <sarnold> Tripknotix2: hah yeah, you can't mix/match vbox and libvirt
[00:53] <rob0> And really what you have is a Windows question, "What virtual machine software can run Ubuntu?"  Any.
[00:54] <sarnold> oh! I thought it was the other way around, hah.
[00:55] <sarnold> I guess I never really think of running windows as a thing..
[00:56] <Tripknotix2> so of my free options for Windows 10 Pro, i can do Hyper-V or QEMU ... which one is better?
[00:56] <Tripknotix2> windows 10 pro as host
[00:56] <sarnold> is qemu even an option there? sorry, I assumed you were using ubuntu and wanting a way to virtualize windows :) heh
[00:56] <Tripknotix2> ubuntu as guest
[00:56] <sarnold> my guesses are hyper-v, vbox, wsl
[00:56] <Tripknotix2> cant use vbox till tomorrow,  wsl failed
[00:56] <Tripknotix2> due to missing x file for cross platform
[00:57] <Tripknotix2> u know i didnt try upgrading my wsl to wsl 2
[00:57] <Tripknotix2> but i totally closed the app and im not sure if i can repickup wher ei left off heh thats how new i am to it
[00:57] <Tripknotix2> i mean dang might as well try it
[00:57] <sarnold> I hear wsl and wsl 2 are fairly different, that's worth a shot
[01:03] <Tripknotix2> ah it automatically set it to 2 by default, it even said it in the instructions but i missed it
[01:09] <Mags0001> Hello!
[01:09] <Mags0001> I have opened a Radio Lo Fi on Youtube open 24/7, if you like to relax with good music, you are welcome.
[01:09] <Mags0001> https://youtu.be/vinLJdF9dOs
[01:14] <Gerowen> sarnold: I'm not sure it's multipath, I tried to remove it and it tried to remove the transitional package "ubuntu-server".  Nothing else important looking was marked, but I don't think multipath is the culprit, it's just one thing that's different between the two, but you can see in this screenshot that on the left, his is using several hundred megs of RAM, and mine on the right isn't.  We've got about the same number
[01:14] <Gerowen> of domains in our databases, but he's got like 19 pages of address he manually added and I don't, so that could be it.  https://marcusandash.net/index.php/s/SXtqS75ciWL8Q3M
[01:16] <sarnold> Gerowen: if it's actually a server you probably don't need colord running; if it doesn't have printers it probably doesn't need cupsd, etc
[01:17] <Gerowen> Yeah it's just a headless Ubuntu pi I set up for him, but apparently he went behind me after I set it up initially and installed KDE, Gnome, Unity, Teamviewer and all kinds of stuff.
[01:17] <Gerowen> I spent the whole first day removing crap.
[01:18] <Gerowen> He hooked it up to a monitor for a brief period and I guess wanted a GUI on it to play with it, he didn't understand that four A53 CPU cores and 1GB of RAM were not going to be a pleasant experience with any modern DE.
[01:19] <sarnold> I haven't seen a gui on my rpi3b+.. but I was reasonably impressed with running 12.04 LTS on a pandaboard ES nine years ago
[01:19] <sarnold> I wouldn't choose it today, nor did I choose it then :) but it sure worked better than I expected
[01:23] <tomreyn> if most ram goes to the pihole-FTL process (on the one system only), it should be a good idea to inspect this more closely.
[01:25] <sarnold> oh, the system on the left doesn't have any swap either, that'll mean it has less freedom in how memory is used
[01:30] <Tripknotix2> the error is very similiar, https://pastebin.com/JX8JabCN
[01:33] <sarnold> ahhhhhhhhh, this one. try the 'real vm' stuff :)
[01:34] <sarnold> sorry, I forgot this context over the weekend :(
[01:34] <Gerowen> sarnold: Think I figured it out; it was the 19 pages of domains he manually added to his blacklist.  Made a backup then removed all those, RAM usage of the pihole-FTL service went from 437MB to 7MB.  I suspected that might be the culprit because I told him that 99% of those domains he added looked like things that were already on existing ad lists.
[01:34] <sarnold> Gerowen: aha!
[01:36] <Gerowen> RAM usage is still higher than Raspbian running very similar services, so I'm going to keep poking around for remnants of stuff he installed that it no longer needs to trim it down as much as possible, but I think I got it manageable where it won't crash after a couple hours of running at least.
[01:47] <Tripknotix2> sarnold, i will try that then , tnx
[01:47] <sarnold> Tripknotix2: good luck :)
[01:47] <Tripknotix2> so hyper-v is better than QEMU?
[01:48] <sarnold> well, "qemu" can mean a lot of things, and "better" is of course always difficult :)
[01:48] <sarnold> qemu is usually just a cpu emulator, which is amazing, but it's also pretty slow
[01:48] <sarnold> on linux, qemu is often paired with kvm to use hardware virtualization support from the processor to go pretty quick, very nearly native speed
[01:48] <sarnold> and that's a pretty awesome combination. entire industries are built on that.
[01:49] <sarnold> qemu on its own probably does run on windows and probably can give you a 'real linux', but it might be insanelyslow if windows doesn't make it possible for it to use the hardware virtualization functions to go fast
[01:49] <edlou> theres a few people on reddit defending you guys
[01:49] <sarnold> hyper-v almost certainly has to be able to use those functions
[01:56] <Aarch64debian> baduntu
[01:57] <Unit193> Aarch64debian: We went over this, this is an Ubuntu support channel.  If you do not have an Ubuntu support question, please seek out another channel.
[03:11] <Maximalist> can you configure your system to encrypt when the laptop is shut? Similar to veracrypt
[03:15] <jhutchins> Seems like it wouldn't be too hard, just dump the decryption.  The data should be constantly encrypted, only decrypted on demand/use, so just make the decrypted data transient.
[03:24] <Maximalist> jhutchins: im speaking of full disk
[03:24] <Maximalist> would that still be the solution?
[04:36] <humanBird> ubuntu does not come with a ssh server installed by default?
[04:36] <humanBird> sudo: /etc/init.d/ssh: command not found
[04:38] <genii> The client but not server is inatalled by default. To install the client, package is openssh-server
[04:39] <genii> You might also want to use systemctl instead of the legacy sysvinit method to check it status or start/stop/reload it
[06:35] <pagios>  morning guys, i am looking for a solution like microsoft SCCM but for linux, something opensource that provides some nice features. I know about ansible but that needs lot of work to get it working in an env and customize it. Do you recomend any other  tools ? Goal is to centrally patch and monitor my linux servers AND GET some visibiliy on what packages are installed, what needs to be installed, give permissiosn to certain users etc.
[07:29] <dubiousness> pagios: Do you mean like spacewalk?
[07:43] <pagios> Spacewalk project has been discontinued on May 31 2020.
[11:07] <pagios> can i at the GRUB BOOT LEVEL, get an ip address and SSH for example ?
[11:18] <rob0> uh, why?  I'd think not.  Maybe PXE booting can get you an IP stack, and grub can get you to PXE.
[11:22] <pagios> ok so what i want to acihive is: i boot from usb, get a minimal OS, that allows me to fetch ISO files from the internet, once downloaded, i need to dynamically load the ISO and boot from them
[11:25] <rob0> yep, PXE is one way, or just make an initrd on USB
[11:26] <rob0> something like tomsrtbt (if it still exists) would be a good start
[11:29] <pagios> rob0: if i make an initrd on usb , can i at that stage get ip, download iso and then load the iso to boot a given os? windows/linux etc ?
[11:29] <csm3105> hi guys, one question, it seems that my network card has died and reading in forums the solution they propose is to reinstall ubuntu on top of the existing one, do you see it viable?
[11:30] <csm3105> In the case of having to reinstall ubuntu...what is the best way to do it? like this https://itsfoss.com/reinstall-ubuntu/ ?
[11:32] <rob0> pagios: typically an initrd will be an intermediate step between the boot loader and Linux.  In your case I think you'd just go to a script that downloads and boots the ISO image.  I'm not sure of the details, how to do that.
[11:33] <rob0> You might want to look at isolinux for that, maybe not grub.
[11:33] <rob0> csm3105: reinstalling for failed hardware still leaves you with failed hardware.
[11:34] <pagios> rob0: i would like to take control of the booting process of that pc, for example boot into clamav OS to clean viruses, boot into clonezilla to maek a clone etc, and for that i need to be able to reserve ssh to my box
[11:34] <pagios> before the OS loads
[11:34] <rob0> csm3105: and if the hardware is not failed, but the driver had a problem, reinstalling is silly.
[11:35] <csm3105> rob0, I know, but in windows the network card works perfectly and with the ubuntu live too
[11:36] <csm3105> and I have already tried to install the drivers and still not work
[11:36] <rob0> Then you'd want to find out what went wrong with the network.  It might have nothing to do with the NIC and driver.
[11:37] <pagios> rob0:  i need to be able to remotely control a pc when it boots via usb. For example, when you pluyg a usb, you get to the boot prompt where you can load ISOs or whatever. at this stage i want to be able to dynamically get Isos for example (clamAV OS to boot and clean viruses remotely) or clonezilla to remotely backup data etc, so each is an iso and i need to load them dynamically via my remote session which should be at boot level before a g
[11:37] <pagios> iven iso is loaded
[11:37] <pagios> sorry double paste
[11:38] <rob0> I suggested maybe running isolinux boot loader from the initrd.  Again, I have not done it and do not know details.
[11:40] <csm3105> rob0, but why with a USB live doesn't give any failure?
[11:44] <csm3105> rob0, Well never mind, I will continue to research, thank you very much for your support :)
[11:45] <rob0> possibly the network was properly configured with the live USB
[11:45] <rob0> yw
[11:47] <rob0> pagios: I bet Arch wiki would have some good information on isolinux.  And isolinux docs, too.
[12:33] <BluesKaj> Hi all
[12:54] <zaggynl> pagios: let me know when you find such a thing, I've been looking too
[13:46] <trafficjam> any git pros here?
[13:48] <leftyfb> trafficjam: I bet someone in #git could help you
[13:51] <trafficjam> good idea, thanks
[14:44] <Waynes> I am trying to use the ssh_command option of sshfs, but I get the error message "bash: -s: command not found" after entering my password for the following command: sshfs -odebug : -o ssh_command='ssh myuser@myhost'
[14:44] <node1> Hello what does it meant https://paste.debian.net/plain/1236002
[14:44] <node1> I'm trying to install Ubuntu on /dev/sda and it looks it taking lot of time
[14:45] <leftyfb> Waynes: why are you trying to run ssh after ssh'ing to a host?
[14:45] <node1> installer taking lot of time, and a pop up message appears and says "efi file system is corrupted"
[14:47] <Waynes> leftyfb: I think there is either a misunderstanding of sshfs on my side or maybe you misread the first sshfs as ssh?
[14:48] <leftyfb> Waynes: can you please explain without mentioning "ssh" or "sshfs" what it is you are trying to accomplish?
[14:48] <leftyfb> Waynes: "I'm trying to connect to a remote server and do ..... "
[14:53] <kyle__> node1: it means the filesystem check failed.
[14:54] <kyle__> node1: the -N says it's not actually going to run, just showing you what problems it cound.  But umm.... did you actually install on /dev/sda?  Usually you want to put it on a partition, like /dev/sda1.
[14:54] <node1> Then how to resolve it?
[14:55] <Waynes> leftyfb: I want to mount a directory on a remote remote server (twice remote bcause the server can only be connected to through another server). I can ssh into the remote server like "ssh user1@server1 -t ssh user2@server2". Now I want to pass this ssh command to sshfs, but it fails to connect. So I simplified the problem as far as possible. As it turns out, passing just "ssh myuser@myhost" to sshfs via ssh_command already fails.
[14:55] <kyle__> Lets start with why you're running fsck -N /dev/sda.  Did you install and it failed, is this in the middle of an installation, or was this you preparing for a new installation?
[14:56] <oerheks> node1, you got help in #debian with your debian issue
[14:57] <oerheks> please do not crosspost, thanks
[14:57] <node1> Currently i have problem with Ubuntu. As i'm unable to install it.
[15:02] <leftyfb> Waynes: create an entry in your .ssh/config for the server1 and add "ProxyJump server2"   then you can just run "sshfs server2:/path/to/mnt /mnt"
[15:03] <rob0> (and it sounds painful)
[15:03] <rob0> sshfs direct is slow enough, another hop will hurt
[15:05] <leftyfb> this is what they want
[15:06] <kyle__> node1: run fdisk -l, pastebin it.  If this is indeed an ubuntu problem.
[15:08] <node1> kyle__https://pastebin.com/raw/wH8ebARX
[15:08] <Waynes> leftyfb: setting that up and cleaning up after sounds much more involved than simply passing the correct command to sshfs (whatever it might be)
[15:08] <leftyfb> Waynes: it's literally 2 lines in a config
[15:10] <Waynes> leftyfb: I still have to set it up and clean it up, so its a bunch of commands every day
[15:11] <leftyfb> Waynes: sshfs -o ssh_command='ssh -J server1' server2:/path/to/mount /mnt/
[15:13] <kyle__> node1: when you install ubuntu, tell it to use all of /dev/sda, and use the default partitioning.
[15:14] <Waynes> leftyfb: that worked, thanks!
[15:14] <kyle__> node1: There are ways of using a whole disk with no partition, but that's advanced enough you won't get help with it.
[15:15] <node1> I did but it saying     The ext4 file system creation in partition #1 of SCSI1 (0,0,0) (sda) failed.
[15:16] <leftyfb> node1: open a terminal and run "dmesg"   do you see any drive or i/o errors?
[15:17] <node1> https://pastebin.com/raw/xgL4qqhq
[15:18] <leftyfb> heh
[15:18] <leftyfb> node1: is this a usb drive?
[15:18] <leftyfb> node1: either way, that drive is toast
[15:18] <node1> Yes i'm trying to install from bootable USB drive
[15:19] <leftyfb> buy a new one
[15:19] <leftyfb> I don't see what all the interest is lately in installing ubuntu TO usb drives
[15:20] <node1> But with the same USB drive i have booted this linux Ubuntu
[15:20] <leftyfb> node1: it's a bad drive
[15:20] <node1> How do you confirm that
[15:20] <node1> ?
[15:21] <leftyfb> https://pastebin.com/raw/xgL4qqhq
[15:21] <node1> leftyfb Which is the bad drive? My laptop hard disk or pendrive ?
[15:21] <ogra> leftyfb, well, its only a medium error ... could be worse, could be a high error 😛
[15:22] <leftyfb> sda
[15:22] <node1> sda is mine laptop ssd
[15:22] <leftyfb> node1: good, so now you know what you need to replace
[15:22] <ogra> node1, the dirve that tells you that is is a broken medium is very likely gone south ... or at least close to do this
[15:23] <node1> I have no money to replace SSD :
[15:23] <node1> :(
[15:23] <node1> My computing END here.
[15:23] <leftyfb> node1: try contacting the vendor, see if they can help you get it replaced
[15:24] <node1> Nops lenevo does not support  this laptop model :(
[15:24] <leftyfb> node1: vendor of the SSD
[15:25] <leftyfb> node1: nothing else can be done. It's a hardware malfunction, sorry
[15:25] <node1> ok
[15:25] <node1> Thank you.
[15:26]  * ogra wishes back the old times where everyone had a rotary disk and you could actually hear it fail due to the permanent *clack* *clack* *clack* sounds ... that made things easier 🙂
[15:27] <kyle__> Eeeee.  Poor node1.  Just hopped back from a work task and saw that paste.
[15:29] <jhutchins> kyle__: Actually, single partition (+swap) is recommended for new users.  They usually don't know where their data will build up and will run out of space on a partitioned system.
[15:29] <jhutchins> kyle__: There are no tricks to using that policy.
[15:29] <kyle__> jhutchins: Yeah.  Actually that's becomming the norm with cloud instances as well.
[15:29] <Waynes> jhutchins: can confirm, ran out of space and had to reinstall
[15:30] <jhutchins> Partitioning just means that the space you need will be on the wrong partition.
[15:30] <kyle__> jhutchins: use whole disk, let it decide is still the default with the installer, right?
[15:30] <jhutchins> kyle__: I'm not sure what the installer defaults to, I am in the habit of bypassing the defaults and making a single partition manually.
[15:30] <ogra> yeah
[15:31] <ogra> jhutchins, i think +swap was dropped around 21.04 ... should just be a swapfile nowadays
[15:34] <zen_coder> how can I keep my remote ssh session running, while I logout? Its a console session
[15:34] <ogra> use screen
[15:34] <ogra> or tmux
[15:37] <Neo517> hi
[15:37] <kyle__> zen_coder: if you work with a team, check what they use.  Most people who use one are strongly tied to whichever they use... going with the group will make yoru life easier.
[15:38] <kyle__> (also screen >>>>> tmux :P )
[15:39] <leftyfb> kyle__: lets not
[15:39] <ogra> vim >>> gnome !
[15:39] <kyle__> Hehe
[15:40] <kyle__> leftyfb: Yeah.  Hence me saying check what your group is using.  Nothing ruins productivty more than arguing over which one is better.
[15:47] <zen_coder> kyle__: there is not team
[15:48] <kyle__> zen_coder: Then it's a tossup.  Look at the cheat-sheets, see which one makes more sense to you.
[16:26] <wid> ahsdfhahsdfha
[16:39] <abivado> quassel bug test  rw?
[16:39] <abivado> ok !
[16:46] <leftyfb> abivado: test failed
[16:49] <abivado> leftyfb: what is wrong
[16:49] <jhutchins> Weather Channel is back.
[16:49] <leftyfb> abivado: using an ubuntu support channel to test your IRC client
[16:50] <abivado> ubuntu bug!
[19:05] <Anarchos> how to update with apt ?
[19:06] <Mathisen> sudo apt update && sudo apt upgrade
[19:06] <Anarchos> E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
[19:06] <leftyfb> Anarchos: it tells you how to fix the problem
[19:06] <Maik> Anarchos: run that line:    sudo dpkg --configure -a
[19:07] <Anarchos> dpkg: erreur: analyse du fichier « /var/lib/dpkg/updates/0000 » vers la ligne 1:  saut de ligne dans le nom de champ «  »
[19:07] <Anarchos> which means : newline in the field name " "
[19:08] <leftyfb> Anarchos: please pastebin the entire thing in English
[19:08] <leftyfb> !fr | Anarchos
[19:08] <Anarchos> dpkg : error : analysis of file "var/lib/dpkg/updates/0000 " around line 1 : new line in the field name " "
[19:09] <Anarchos> when i cat this file, it appears to be a binary one
[19:09] <leftyfb> Anarchos: ( cat /etc/os-release ; uname -a ; sudo apt update ; sudo dpkg --configure -a ) | nc termbin.com 9999     # please run this and make sure the output is in English
[19:12] <Anarchos> https://termbin.com/yvtr (the last line reads : read of packages lists)
[19:13] <sarnold> Anarchos: check dmesg output, I wonder if you have corrupted disks
[19:14] <leftyfb> Anarchos: ( sudo dpkg --configure -a 2>&1 ) | nc termbin.com 9999
[19:18] <Anarchos> leftyfb https://termbin.com/xs6l but it is the same error i translated before about dpkg : newline in field name " "
[19:18] <Anarchos> sarnold indeed i had to run a fschk some days ago
[19:19] <Anarchos> sarnold but i see nothing in dmesg. what should i look for ?
[19:19] <sarnold> Anarchos: block device errors quite often have a lot of { } marks in them
[19:19] <sarnold> Anarchos: but there's a lot more indicators of disk problems than just that
[19:20] <leftyfb> Anarchos: sudo rm /var/lib/dpkg/updates/0000 && sudo dpkg --configure -a
[19:22] <Anarchos> leftyfb thanks, i was not sure if i could delete those 00xx files
[19:24] <Anarchos> sarnold leftyfb thanks you were very helpful for a total newbie on ubuntu !
[20:08]  * extor used the experimental ZFS option during a fresh install of Ubuntu 20.04. After booting up and adding a small SSD drive(which shows up as /dev/sdb) and creating a swap partition on /dev/sdb1 it was time to edit fstab to add the new swap partition. Except that fstab has no mention of a swap partition mapping get /dev/sda5 shows up as a swap partition. 
[20:29] <alkisg> mkswap -L swap /dev/sdb1, and then put this in fstab: LABEL=swap	none		swap	sw		0	0
[20:31] <zai100x200> hello, I'm trying to boot ubuntu server after installation for the first time
[20:32] <zai100x200> but instead of login prompt, ubuntu is trying to start network jobs and they take indefinitely to start
[20:32] <leftyfb> zai100x200: it should time out after 5 minutes
[20:32] <zai100x200> this is well known and old bug but I'm surprised that it is still there
[20:32] <zai100x200> leftyfb I was waiting for 30 minutes and gave up
[20:33] <zai100x200> is there a way to disable this?
[20:33] <zai100x200> I was trying to go to single user more, but this shit is still trying to start
[20:33] <zai100x200> I should have donated money when they were pitching money to hire a hitman to kill that idiot systemd author lenard
[20:33] <leftyfb> zai100x200: please don't
[20:34] <en11gma> when ubuntu 22.04 goes live april 21st is it going to be supported in here? it is an LTS right?
[20:34] <zai100x200> leftyfb sorry I had to take this off the chest
[20:34] <en11gma> when i google it, it only says a "Future" release
[20:34] <leftyfb> en11gma: yes
[20:34] <en11gma> cool
[20:34] <leftyfb> zai100x200: not here
[20:35] <leftyfb> zai100x200: if you are still seeing it hanging on network starting, then you are not in single user mode
[20:36] <en11gma> i looked up some of the features of 22.04 and didnt notice alot of difference from 20.04 but i thought i heard it was better with the tpm/secure boot and something to do with gpu's but i cant find anything on either
[20:36] <leftyfb> !next | en11gma
[20:37] <zai100x200> leftyfb can you please remind me how do I get to single user mode on latest ubuntu lts
[20:38] <leftyfb> zai100x200: https://www.linuxtechi.com/boot-ubuntu-20-04-rescue-emergency-mode/   2nd result on google for "ubuntu 20.04 single user mode"
[20:40] <zai100x200> leftyfb thank you thank you thank you
[20:44] <en11gma> is there a way to take a running ubuntu 20.04 system installed to an inernal drive sata/nvme m.2 and make a bootable iso to put on usb stick?
[20:44] <en11gma> and the gpu drivers will work upon boot up
[20:45] <en11gma> just as if it were booting from an internal drive?
[20:45]  * leftyfb sigh
[20:45] <en11gma> and disable any updates so nothing can ruin it
[20:46] <en11gma> i havent seen a guide or package that does this automatically in all the years ive messed with linux. i mean im sure there is someway to do it but has it been simplified yet?
[20:47] <en11gma> the package should be included in the original live usb package so you can install to drive and also back that drive up to a live usb stick iso
[20:48] <en11gma> so the process would take two usb sticks (one with ubuntu 20.04 live usb iso) and a drive to do a full install and then the backup usb stick to write the image
[20:48] <en11gma> of the full drive install
[20:49] <en11gma> gparted option maybe
[20:49] <alkisg> How's that different from just copying the installation to the stick? You want a "live mode"?
[20:49] <alkisg> Then it's just a matter of applying an overlay at initrd-bottom, a couple of lines...
[20:51] <en11gma> yea but does that make it a squash file system like the original 20.04 live usb iso?
[20:52] <en11gma> and to copy the live installitation to the stick you have to be in some enviroment so thats why i said the original live usb stick
[20:52] <alkisg> Then just run mksquashfs. Or look at ltsp.org, it supports both the mksquashfs and the overlay parts.
[20:52] <en11gma> to copy the hard drive full install to the blank usb stick
[20:53] <alkisg> You can copy the hard drive to the stick without a second stick
[20:53] <en11gma> from a running ubuntu enviroment?
[20:53] <alkisg> Sure
[20:53] <leftyfb> en11gma: can I ask, what's the use case of this usb stick with ubuntu on it? I just don't get the appeal
[20:53] <en11gma> i wasnt sure if all files would be accessable
[20:54] <alkisg> mount --bind / /mnt; mksqushfs /mnt... then transfer the squashfs to the stick and make a loopback grub entry
[20:54] <en11gma> i like to use this limesdr-mini usb 3.0 device and it works better when it dont use the noveu driver. the binary driver will also work better with cuda / opencl
[20:56] <en11gma> if that single command was an option on the ubuntu live usb device i bet millions of ppl would do the full install to the drive and then configure it how they wanted and instantly make a new usb iso of it that was bootable off usb stick
[20:56] <extor> ok alkisg I did a swapon /dev/sdb1 after doing a swapoff on /dev/sda5 and then I went into fdisk and changed the type of /dev/sda5 to a win32FAT. Swapon did enable swap for me but what puzzles me is how ubuntu knew that sda5 was a swap partition without it being listed in /etc/fstab
[20:57] <extor> Mostly and academic question at this point
[20:58] <oerheks> generally booting off usb stick is horible slow
[20:58] <zai100x200> now udev start is blocking my boot, how fucking sad that linux is 2022 is worse than it was 20 years ago when I first used it
[20:58] <leftyfb> !language | zai100x200
[20:58] <rdr> extor: i think it's somewhat smart and will automagically detect swap partitions
[20:58] <zai100x200> so many people complained about systemd, that it is not suitable for humans, why not just stay with what worked for centuries, old good system V scripts
[20:59] <rdr> 22.04 set up a swapfile for me instead of a swap partition
[20:59] <leftyfb> zai100x200: would you like help with something?
[20:59] <extor> ok in that case as long as I labeled /sdb1 as 82 and relabled /dev/sda5 I should be ok
[20:59] <zai100x200> leftyfb yes, can you please recommend any good linux distro?
[20:59] <rdr> zai100x200: lol, most people here use Ubuntu ;)
[21:00] <extor> Well I needed a swap partition and needed on an ssd partition because I have just 8GB RAM on a VM hence a fast swap would do me good
[21:00] <zai100x200> I asked good distro*
[21:00] <leftyfb> zai100x200: we can only help with Ubuntu support questions here. If you want help with other distros, try their respective channel or try /join #linux
[21:00] <extor> Since SSD is almost as fast as RAM supposedly
[21:00] <oerheks> zai100x200, learn howto install ubuntu server right.
[21:00] <rdr> extor: ssd is quite fast, but not as fast as RAM which is not as fast as L1/2/3 cache
[21:01] <Anarchos> now that my ubuntu installation is finished, how to get rid of the graphics layer , and keep it as a pure distant ssh server ?
[21:01] <alkisg> extor: if you ran swapon /dev/sdb1, you told it where to find the swap, there was no /etc/fstab or autodetection involved...
[21:02] <rdr> Anarchos: it would be better to install Ubuntu Server, but you could just disable GDM, unless you need to remove packages for more disk space
[21:02] <extor> Yes of course, but I was not sure whether it would be persistant after a reboot
[21:02] <leftyfb> Anarchos: why did you install the desktop release if you wanted the server?
[21:02] <oerheks> Anarchos, do not turn on the screen :-D
[21:02] <Anarchos> leftyfb i wanted the gui to tweak its paramater, install a masquerade gateway etc.
[21:02] <c_89> I have a simple microphone for PC (TRS jack), how can I check on gnu/linux that the female mic jack of the PC is also of the TRS type?
[21:02] <Anarchos> because at first , it was not on network
[21:02] <leftyfb> Anarchos: the GUI in no way helps with that
[21:03] <leftyfb> Anarchos: regardless: sudo systemctl set-default multi-user
[21:03] <rdr> c_89: the TRS is the larger big brother of 3.5mm right? I don't know a lot of computers with that
[21:04] <rdr> but if it is 3.5mm and fits, you can check with the sound settings whether the microphone is picking up noise
[21:05] <zen_coder> Is there a portable prebuild package of gcc, which I can download?
[21:05] <c_89> rdr it looks like this: https://m.media-amazon.com/images/I/412dLyEPV3L._AC_SX522_.jpg
[21:05] <leftyfb> zen_coder: sudo apt install gcc
[21:06] <rdr> c_89: how big is the plug?  is it the same as what we used to see on phones?
[21:06] <c_89> rdr yes 3.5 mm
[21:06] <leftyfb> zen_coder: we can only support ubuntu packages here. If you'd like to use other packages, you'll need to search for and seek support for those elsewhere
[21:08] <Anarchos> leftyfb isn't it sudo systemctl set-default multi-user.target ?
[21:08] <leftyfb> Anarchos: yes, sorry. That is usually implied when using systemctl
[21:08] <oerheks> systemctl set-default graphical.target to go back to GUI
[21:08] <c_89> Uploaded file: https://uploads.kiwiirc.com/files/a92f9fddd6ee353cf04530bf5afe3a83/audio_test_01.wav
[21:09] <c_89> rdr I have this noise problem
[21:09] <rdr> one sec gotta install lua
[21:09] <rdr> you can try lowering the volume, try recording a bit of speaking
[21:10] <rdr> there should be a sweet spot where noise isn't picked up but your speaking is
[21:10] <rdr> some programs have a button you press to speak, others use voice detection
[21:10] <Anarchos> leftyfb thanks, i will try tomorrow. I have a rather old machine, not much ram, so i hope it will starts faster in text mode :)
[21:11] <c_89> rdr I have read some guides that it could be that the microphone is mono but pulseaudio maps it as stereo, but first I would like to verify that the microphone connector and the mic connector of the PC are compatible with each other
[21:11] <rdr> oh, i'm not too sure about it.  I have a similar microphone and have never worried about that
[21:12] <rdr> as long as I can yell at people i'm playing steam games with, it's fine :)
[21:13] <c_89> I know this useful program but I would like to solve the problem at the source: https://github.com/lawl/NoiseTorch
[21:23] <noarb> what's the recommended way to run a script on startup for all users? Should systemd be used over crontab reboot? Trying to make an iptables adjustment for a docker network shim: https://stackoverflow.com/q/44048915
[21:24] <leftyfb> noarb: if it's a set of iptables rules, you can put that script in /etc/networkd-dispatcher/routable.d/
[21:27] <noarb> leftyfb: cool, thanks. just what I was looking for
[21:33] <genii> I think /etc/rc.local still also works
[21:34] <Jeremy31> genii:  might have to enable the systemd service for rc.local
[21:35] <jhutchins> !rclocal
[21:35] <jhutchins> Useless bot.
[21:36] <genii> Jeremy31: It runs all the old sysvinit scripts ( and upstart ones also)
[21:38] <tomreyn> jhutchins: you're welcome to contribute in e.g. #ubuntu-bots
[21:38] <jhutchins> tomreyn: Yeah, I have a list, but I also have a life.
[21:39] <genii> heh
[21:39] <tomreyn> i believe this to also apply to those who contributed so far.
[22:09] <arooni> how do i get just the usb mount points
[22:09] <arooni> i.e. a usb hard drive that i inserted
[22:10] <arooni> mount has a bunch fo details on snaps etc
[22:12] <leftyfb> arooni: try lsblk -o +type -e7
[22:12] <leftyfb> or add in -f if you FSTYPE as well
[22:13] <leftyfb> arooni: try lsblk -o +type -e7 -f
[22:13] <arooni> lsblk is the magic command
[22:13] <arooni> got it all figured out with that;  hleped to remove some of the noise
[22:13] <arooni> thanks!
[22:53] <D_____D> Hi guys
[23:15] <wr> on snap when i get "cannot find signatures with metadata for snap" what can be done?
[23:19] <wr> ok --dangerous option
[23:20] <wr> after i run it i get "error: This revision of snapwas published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk.", if run on a Debian what could go bad?
[23:21] <leftyfb> wr: what version of ubuntu are you running?
[23:21] <wr> leftyfb, debian this case latest :)
[23:21] <leftyfb> wr: ty #debian or #snappy
[23:22] <wr> leftyfb, but they left only a snap file
[23:22] <sarnold> probably #snappy, I suspect #debian folks won't know as much
[23:22] <wr> leftyfb, sarnold they don't yes
[23:59] <morganu> is there a way I can close chrome "normally" (so it saves the state) and it will open up all the same tabs when restarted?
[23:59] <morganu> 20.04