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

z1trusoerheks: 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:08
sarnoldz1trus: nvme has some specific power handling stuff https://wiki.archlinux.org/title/Solid_state_drive/NVMe#Troubleshooting00:10
sarnoldz1trus: 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
sarnoldz1trus: try reading those settings from the various operating systems?00:11
Tripknotix2hi 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:14
=== aaguhagegaooeg is now known as westor
=== B1773rm4n3 is now known as B1773rm4n
=== nook247 is now known as nook24
=== westor is now known as Guest847
tomreynTripknotix2: not really, no. just something that creates an environment which is similar enough to a supported hardware platform, and provides the minimum requirements.00:19
sarnoldTripknotix2: the usual tool is libvirt00:20
sarnoldTripknotix2: most folks use virt-manager to configure it00:20
z1trussarnold: 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:20
=== Koopz7 is now known as Koopz
tomreyni 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
z1trusSo 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:21
rob0You 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:25
Tripknotix2tomreyn, yes sir, on windows00:31
GerowenTroubleshooting 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
GerowenI'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:41
=== Starmina_ is now known as Starmina
Tripknotix2i 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
Tripknotix2they left for the day 20minutes ago00:49
Tripknotix2i 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 heh00:49
Tripknotix2go figure tha twould bite me in the ass 1 day00:49
sarnoldGerowen: 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, etc00:51
sarnoldTripknotix2: hah yeah, you can't mix/match vbox and libvirt00:51
rob0And really what you have is a Windows question, "What virtual machine software can run Ubuntu?"  Any.00:53
sarnoldoh! I thought it was the other way around, hah.00:54
sarnoldI guess I never really think of running windows as a thing..00:55
Tripknotix2so of my free options for Windows 10 Pro, i can do Hyper-V or QEMU ... which one is better?00:56
Tripknotix2windows 10 pro as host00:56
sarnoldis qemu even an option there? sorry, I assumed you were using ubuntu and wanting a way to virtualize windows :) heh00:56
Tripknotix2ubuntu as guest00:56
sarnoldmy guesses are hyper-v, vbox, wsl00:56
Tripknotix2cant use vbox till tomorrow,  wsl failed00:56
Tripknotix2due to missing x file for cross platform00:56
Tripknotix2u know i didnt try upgrading my wsl to wsl 200:57
Tripknotix2but i totally closed the app and im not sure if i can repickup wher ei left off heh thats how new i am to it00:57
Tripknotix2i mean dang might as well try it00:57
sarnoldI hear wsl and wsl 2 are fairly different, that's worth a shot00:57
Tripknotix2ah it automatically set it to 2 by default, it even said it in the instructions but i missed it01:03
Mags0001Hello!01:09
Mags0001I have opened a Radio Lo Fi on Youtube open 24/7, if you like to relax with good music, you are welcome.01:09
Mags0001https://youtu.be/vinLJdF9dOs01:09
Gerowensarnold: 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 number01:14
Gerowenof 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/SXtqS75ciWL8Q3M01:14
=== tomaw_ is now known as tomaw
sarnoldGerowen: 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, etc01:16
GerowenYeah 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
GerowenI spent the whole first day removing crap.01:17
GerowenHe 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:18
sarnoldI haven't seen a gui on my rpi3b+.. but I was reasonably impressed with running 12.04 LTS on a pandaboard ES nine years ago01:19
sarnoldI wouldn't choose it today, nor did I choose it then :) but it sure worked better than I expected01:19
tomreynif 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:23
sarnoldoh, the system on the left doesn't have any swap either, that'll mean it has less freedom in how memory is used01:25
Tripknotix2the error is very similiar, https://pastebin.com/JX8JabCN01:30
sarnoldahhhhhhhhh, this one. try the 'real vm' stuff :)01:33
sarnoldsorry, I forgot this context over the weekend :(01:34
Gerowensarnold: 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
sarnoldGerowen: aha!01:34
GerowenRAM 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:36
Tripknotix2sarnold, i will try that then , tnx01:47
sarnoldTripknotix2: good luck :)01:47
Tripknotix2so hyper-v is better than QEMU?01:47
sarnoldwell, "qemu" can mean a lot of things, and "better" is of course always difficult :)01:48
sarnoldqemu is usually just a cpu emulator, which is amazing, but it's also pretty slow01:48
sarnoldon linux, qemu is often paired with kvm to use hardware virtualization support from the processor to go pretty quick, very nearly native speed01:48
sarnoldand that's a pretty awesome combination. entire industries are built on that.01:48
sarnoldqemu 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 fast01:49
edloutheres a few people on reddit defending you guys01:49
sarnoldhyper-v almost certainly has to be able to use those functions01:49
Aarch64debianbaduntu01:56
Unit193Aarch64debian: We went over this, this is an Ubuntu support channel.  If you do not have an Ubuntu support question, please seek out another channel.01:57
Maximalistcan you configure your system to encrypt when the laptop is shut? Similar to veracrypt03:11
jhutchinsSeems 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:15
=== esv_ is now known as esv
Maximalistjhutchins: im speaking of full disk03:24
Maximalistwould that still be the solution?03:24
humanBirdubuntu does not come with a ssh server installed by default?04:36
humanBirdsudo: /etc/init.d/ssh: command not found04:36
geniiThe client but not server is inatalled by default. To install the client, package is openssh-server04:38
geniiYou might also want to use systemctl instead of the legacy sysvinit method to check it status or start/stop/reload it04:39
=== synapt is now known as nate
=== diskin is now known as Guest8712
=== diskin_ is now known as diskin
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.06:35
dubiousnesspagios: Do you mean like spacewalk?07:29
pagiosSpacewalk project has been discontinued on May 31 2020.07:43
=== diskin is now known as Guest5870
=== diskin_ is now known as diskin
=== ren0v0_ is now known as ren0v0
pagioscan i at the GRUB BOOT LEVEL, get an ip address and SSH for example ?11:07
=== littlepap is now known as litpapsManager
rob0uh, why?  I'd think not.  Maybe PXE booting can get you an IP stack, and grub can get you to PXE.11:18
=== litpapsManager is now known as littlepap
pagiosok 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 them11:22
rob0yep, PXE is one way, or just make an initrd on USB11:25
rob0something like tomsrtbt (if it still exists) would be a good start11:26
pagiosrob0: 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
csm3105hi 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:29
csm3105In the case of having to reinstall ubuntu...what is the best way to do it? like this https://itsfoss.com/reinstall-ubuntu/ ?11:30
rob0pagios: 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:32
rob0You might want to look at isolinux for that, maybe not grub.11:33
rob0csm3105: reinstalling for failed hardware still leaves you with failed hardware.11:33
pagiosrob0: 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 box11:34
pagiosbefore the OS loads11:34
rob0csm3105: and if the hardware is not failed, but the driver had a problem, reinstalling is silly.11:34
csm3105rob0, I know, but in windows the network card works perfectly and with the ubuntu live too11:35
csm3105and I have already tried to install the drivers and still not work11:36
rob0Then you'd want to find out what went wrong with the network.  It might have nothing to do with the NIC and driver.11:36
pagiosrob0:  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 g11:37
pagiosiven iso is loaded11:37
pagiossorry double paste11:37
rob0I suggested maybe running isolinux boot loader from the initrd.  Again, I have not done it and do not know details.11:38
csm3105rob0, but why with a USB live doesn't give any failure?11:40
csm3105rob0, Well never mind, I will continue to research, thank you very much for your support :)11:44
rob0possibly the network was properly configured with the live USB11:45
rob0yw11:45
rob0pagios: I bet Arch wiki would have some good information on isolinux.  And isolinux docs, too.11:47
=== st13g is now known as crisdel
BluesKajHi all12:33
=== DasherPack is now known as WikiDasher
zaggynlpagios: let me know when you find such a thing, I've been looking too12:54
=== DasherPack is now known as WikiDasher
trafficjamany git pros here?13:46
leftyfbtrafficjam: I bet someone in #git could help you13:48
trafficjamgood idea, thanks13:51
WaynesI 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
node1Hello what does it meant https://paste.debian.net/plain/123600214:44
node1I'm trying to install Ubuntu on /dev/sda and it looks it taking lot of time14:44
leftyfbWaynes: why are you trying to run ssh after ssh'ing to a host?14:45
node1installer taking lot of time, and a pop up message appears and says "efi file system is corrupted"14:45
Waynesleftyfb: I think there is either a misunderstanding of sshfs on my side or maybe you misread the first sshfs as ssh?14:47
leftyfbWaynes: can you please explain without mentioning "ssh" or "sshfs" what it is you are trying to accomplish?14:48
leftyfbWaynes: "I'm trying to connect to a remote server and do ..... "14:48
kyle__node1: it means the filesystem check failed.14:53
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
node1Then how to resolve it?14:54
Waynesleftyfb: 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:55
oerheksnode1, you got help in #debian with your debian issue14:56
oerheksplease do not crosspost, thanks14:57
node1Currently i have problem with Ubuntu. As i'm unable to install it.14:57
leftyfbWaynes: 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:02
rob0(and it sounds painful)15:03
rob0sshfs direct is slow enough, another hop will hurt15:03
leftyfbthis is what they want15:05
kyle__node1: run fdisk -l, pastebin it.  If this is indeed an ubuntu problem.15:06
node1kyle__https://pastebin.com/raw/wH8ebARX15:08
Waynesleftyfb: 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
leftyfbWaynes: it's literally 2 lines in a config15:08
Waynesleftyfb: I still have to set it up and clean it up, so its a bunch of commands every day15:10
leftyfbWaynes: sshfs -o ssh_command='ssh -J server1' server2:/path/to/mount /mnt/15:11
kyle__node1: when you install ubuntu, tell it to use all of /dev/sda, and use the default partitioning.15:13
Waynesleftyfb: 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:14
node1I did but it saying     The ext4 file system creation in partition #1 of SCSI1 (0,0,0) (sda) failed.15:15
leftyfbnode1: open a terminal and run "dmesg"   do you see any drive or i/o errors?15:16
node1https://pastebin.com/raw/xgL4qqhq15:17
leftyfbheh15:18
leftyfbnode1: is this a usb drive?15:18
leftyfbnode1: either way, that drive is toast15:18
node1Yes i'm trying to install from bootable USB drive15:18
leftyfbbuy a new one15:19
leftyfbI don't see what all the interest is lately in installing ubuntu TO usb drives15:19
node1But with the same USB drive i have booted this linux Ubuntu15:20
leftyfbnode1: it's a bad drive15:20
node1How do you confirm that15:20
node1?15:20
leftyfbhttps://pastebin.com/raw/xgL4qqhq15:21
node1leftyfb Which is the bad drive? My laptop hard disk or pendrive ?15:21
ograleftyfb, well, its only a medium error ... could be worse, could be a high error 😛15:21
leftyfbsda15:22
node1sda is mine laptop ssd15:22
leftyfbnode1: good, so now you know what you need to replace15:22
ogranode1, the dirve that tells you that is is a broken medium is very likely gone south ... or at least close to do this15:22
node1I have no money to replace SSD :15:23
node1:(15:23
node1My computing END here.15:23
leftyfbnode1: try contacting the vendor, see if they can help you get it replaced15:23
node1Nops lenevo does not support  this laptop model :(15:24
leftyfbnode1: vendor of the SSD15:24
leftyfbnode1: nothing else can be done. It's a hardware malfunction, sorry15:25
node1ok15:25
node1Thank you.15:25
* 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:26
kyle__Eeeee.  Poor node1.  Just hopped back from a work task and saw that paste.15:27
jhutchinskyle__: 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
jhutchinskyle__: 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
Waynesjhutchins: can confirm, ran out of space and had to reinstall15:29
jhutchinsPartitioning 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
jhutchinskyle__: 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
ograyeah15:30
ograjhutchins, i think +swap was dropped around 21.04 ... should just be a swapfile nowadays15:31
zen_coderhow can I keep my remote ssh session running, while I logout? Its a console session15:34
ogrause screen15:34
ograor tmux15:34
Neo517hi15: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:37
kyle__(also screen >>>>> tmux :P )15:38
leftyfbkyle__: lets not15:39
ogravim >>> gnome !15:39
kyle__Hehe15:39
kyle__leftyfb: Yeah.  Hence me saying check what your group is using.  Nothing ruins productivty more than arguing over which one is better.15:40
=== dionysus70 is now known as dionysus69
zen_coderkyle__: there is not team15:47
kyle__zen_coder: Then it's a tossup.  Look at the cheat-sheets, see which one makes more sense to you.15:48
widahsdfhahsdfha16:26
abivadoquassel bug test  rw?16:39
abivadook !16:39
leftyfbabivado: test failed16:46
abivadoleftyfb: what is wrong16:49
jhutchinsWeather Channel is back.16:49
leftyfbabivado: using an ubuntu support channel to test your IRC client16:49
abivadoubuntu bug!16:50
=== pah is now known as pa
=== five64333349634 is now known as five6433334963
Anarchoshow to update with apt ?19:05
Mathisensudo apt update && sudo apt upgrade19:06
AnarchosE: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.19:06
leftyfbAnarchos: it tells you how to fix the problem19:06
MaikAnarchos: run that line:    sudo dpkg --configure -a19:06
Anarchosdpkg: erreur: analyse du fichier « /var/lib/dpkg/updates/0000 » vers la ligne 1:  saut de ligne dans le nom de champ «  »19:07
Anarchoswhich means : newline in the field name " "19:07
leftyfbAnarchos: please pastebin the entire thing in English19:08
leftyfb!fr | Anarchos19:08
ubottuAnarchos: Nous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci.19:08
Anarchosdpkg : error : analysis of file "var/lib/dpkg/updates/0000 " around line 1 : new line in the field name " "19:08
Anarchoswhen i cat this file, it appears to be a binary one19:09
leftyfbAnarchos: ( 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 English19:09
Anarchoshttps://termbin.com/yvtr (the last line reads : read of packages lists)19:12
sarnoldAnarchos: check dmesg output, I wonder if you have corrupted disks19:13
leftyfbAnarchos: ( sudo dpkg --configure -a 2>&1 ) | nc termbin.com 999919:14
Anarchosleftyfb https://termbin.com/xs6l but it is the same error i translated before about dpkg : newline in field name " "19:18
Anarchossarnold indeed i had to run a fschk some days ago19:18
Anarchossarnold but i see nothing in dmesg. what should i look for ?19:19
sarnoldAnarchos: block device errors quite often have a lot of { } marks in them19:19
sarnoldAnarchos: but there's a lot more indicators of disk problems than just that19:19
leftyfbAnarchos: sudo rm /var/lib/dpkg/updates/0000 && sudo dpkg --configure -a19:20
Anarchosleftyfb thanks, i was not sure if i could delete those 00xx files19:22
Anarchossarnold leftyfb thanks you were very helpful for a total newbie on ubuntu !19:24
* 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:08
alkisgmkswap -L swap /dev/sdb1, and then put this in fstab: LABEL=swapnoneswapsw0020:29
zai100x200hello, I'm trying to boot ubuntu server after installation for the first time20:31
zai100x200but instead of login prompt, ubuntu is trying to start network jobs and they take indefinitely to start20:32
leftyfbzai100x200: it should time out after 5 minutes20:32
zai100x200this is well known and old bug but I'm surprised that it is still there20:32
zai100x200leftyfb I was waiting for 30 minutes and gave up20:32
zai100x200is there a way to disable this?20:33
zai100x200I was trying to go to single user more, but this shit is still trying to start20:33
zai100x200I should have donated money when they were pitching money to hire a hitman to kill that idiot systemd author lenard20:33
leftyfbzai100x200: please don't20:33
en11gmawhen ubuntu 22.04 goes live april 21st is it going to be supported in here? it is an LTS right?20:34
zai100x200leftyfb sorry I had to take this off the chest20:34
en11gmawhen i google it, it only says a "Future" release20:34
leftyfben11gma: yes20:34
en11gmacool20:34
leftyfbzai100x200: not here20:34
leftyfbzai100x200: if you are still seeing it hanging on network starting, then you are not in single user mode20:35
en11gmai 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 either20:36
leftyfb!next | en11gma20:36
ubottuen11gma: Jammy Jellyfish is the codename for Ubuntu 22.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality.20:36
zai100x200leftyfb can you please remind me how do I get to single user mode on latest ubuntu lts20:37
leftyfbzai100x200: https://www.linuxtechi.com/boot-ubuntu-20-04-rescue-emergency-mode/   2nd result on google for "ubuntu 20.04 single user mode"20:38
zai100x200leftyfb thank you thank you thank you20:40
en11gmais 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
en11gmaand the gpu drivers will work upon boot up20:44
en11gmajust as if it were booting from an internal drive?20:45
* leftyfb sigh20:45
en11gmaand disable any updates so nothing can ruin it20:45
en11gmai 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:46
en11gmathe 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 iso20:47
en11gmaso 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 image20:48
en11gmaof the full drive install20:48
en11gmagparted option maybe20:49
alkisgHow's that different from just copying the installation to the stick? You want a "live mode"?20:49
alkisgThen it's just a matter of applying an overlay at initrd-bottom, a couple of lines...20:49
en11gmayea but does that make it a squash file system like the original 20.04 live usb iso?20:51
en11gmaand to copy the live installitation to the stick you have to be in some enviroment so thats why i said the original live usb stick20:52
alkisgThen just run mksquashfs. Or look at ltsp.org, it supports both the mksquashfs and the overlay parts.20:52
en11gmato copy the hard drive full install to the blank usb stick20:52
alkisgYou can copy the hard drive to the stick without a second stick20:53
en11gmafrom a running ubuntu enviroment?20:53
alkisgSure20:53
leftyfben11gma: can I ask, what's the use case of this usb stick with ubuntu on it? I just don't get the appeal20:53
en11gmai wasnt sure if all files would be accessable20:53
alkisgmount --bind / /mnt; mksqushfs /mnt... then transfer the squashfs to the stick and make a loopback grub entry20:54
en11gmai 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 / opencl20:54
en11gmaif 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 stick20:56
extorok 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/fstab20:56
extorMostly and academic question at this point20:57
oerheksgenerally booting off usb stick is horible slow20:58
zai100x200now 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 it20:58
leftyfb!language | zai100x20020:58
ubottuzai100x200: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList20:58
rdrextor: i think it's somewhat smart and will automagically detect swap partitions20:58
zai100x200so 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 scripts20:58
rdr22.04 set up a swapfile for me instead of a swap partition20:59
leftyfbzai100x200: would you like help with something?20:59
extorok in that case as long as I labeled /sdb1 as 82 and relabled /dev/sda5 I should be ok20:59
zai100x200leftyfb yes, can you please recommend any good linux distro?20:59
rdrzai100x200: lol, most people here use Ubuntu ;)20:59
extorWell 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 good21:00
zai100x200I asked good distro*21:00
leftyfbzai100x200: we can only help with Ubuntu support questions here. If you want help with other distros, try their respective channel or try /join #linux21:00
extorSince SSD is almost as fast as RAM supposedly21:00
oerhekszai100x200, learn howto install ubuntu server right.21:00
rdrextor: ssd is quite fast, but not as fast as RAM which is not as fast as L1/2/3 cache21:00
Anarchosnow 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
alkisgextor: if you ran swapon /dev/sdb1, you told it where to find the swap, there was no /etc/fstab or autodetection involved...21:01
rdrAnarchos: it would be better to install Ubuntu Server, but you could just disable GDM, unless you need to remove packages for more disk space21:02
extorYes of course, but I was not sure whether it would be persistant after a reboot21:02
leftyfbAnarchos: why did you install the desktop release if you wanted the server?21:02
oerheksAnarchos, do not turn on the screen :-D21:02
Anarchosleftyfb i wanted the gui to tweak its paramater, install a masquerade gateway etc.21:02
c_89I 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
Anarchosbecause at first , it was not on network21:02
leftyfbAnarchos: the GUI in no way helps with that21:02
leftyfbAnarchos: regardless: sudo systemctl set-default multi-user21:03
rdrc_89: the TRS is the larger big brother of 3.5mm right? I don't know a lot of computers with that21:03
rdrbut if it is 3.5mm and fits, you can check with the sound settings whether the microphone is picking up noise21:04
zen_coderIs there a portable prebuild package of gcc, which I can download?21:05
c_89rdr it looks like this: https://m.media-amazon.com/images/I/412dLyEPV3L._AC_SX522_.jpg21:05
leftyfbzen_coder: sudo apt install gcc21:05
rdrc_89: how big is the plug?  is it the same as what we used to see on phones?21:06
c_89rdr yes 3.5 mm21:06
leftyfbzen_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 elsewhere21:06
Anarchosleftyfb isn't it sudo systemctl set-default multi-user.target ?21:08
leftyfbAnarchos: yes, sorry. That is usually implied when using systemctl21:08
oerhekssystemctl set-default graphical.target to go back to GUI21:08
c_89Uploaded file: https://uploads.kiwiirc.com/files/a92f9fddd6ee353cf04530bf5afe3a83/audio_test_01.wav21:08
c_89rdr I have this noise problem21:09
rdrone sec gotta install lua21:09
rdryou can try lowering the volume, try recording a bit of speaking21:09
rdrthere should be a sweet spot where noise isn't picked up but your speaking is21:10
rdrsome programs have a button you press to speak, others use voice detection21:10
Anarchosleftyfb 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:10
c_89rdr 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 other21:11
rdroh, i'm not too sure about it.  I have a similar microphone and have never worried about that21:11
rdras long as I can yell at people i'm playing steam games with, it's fine :)21:12
c_89I know this useful program but I would like to solve the problem at the source: https://github.com/lawl/NoiseTorch21:13
noarbwhat'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/4404891521:23
leftyfbnoarb: if it's a set of iptables rules, you can put that script in /etc/networkd-dispatcher/routable.d/21:24
noarbleftyfb: cool, thanks. just what I was looking for21:27
=== atol71 is now known as atol
geniiI think /etc/rc.local still also works21:33
Jeremy31genii:  might have to enable the systemd service for rc.local21:34
jhutchins!rclocal21:35
jhutchinsUseless bot.21:35
geniiJeremy31: It runs all the old sysvinit scripts ( and upstart ones also)21:36
tomreynjhutchins: you're welcome to contribute in e.g. #ubuntu-bots21:38
jhutchinstomreyn: Yeah, I have a list, but I also have a life.21:38
geniiheh21:39
tomreyni believe this to also apply to those who contributed so far.21:39
=== veemo is now known as manslaughter
=== diskin_ is now known as diskin
=== manslaughter is now known as veemanslaughter
=== veemanslaughter is now known as veemo
aroonihow do i get just the usb mount points22:09
aroonii.e. a usb hard drive that i inserted22:09
aroonimount has a bunch fo details on snaps etc22:10
leftyfbarooni: try lsblk -o +type -e722:12
leftyfbor add in -f if you FSTYPE as well22:12
leftyfbarooni: try lsblk -o +type -e7 -f22:13
aroonilsblk is the magic command22:13
aroonigot it all figured out with that;  hleped to remove some of the noise22:13
aroonithanks!22:13
=== Rahoul8 is now known as Rahoul
D_____DHi guys22:53
wron snap when i get "cannot find signatures with metadata for snap" what can be done?23:15
wrok --dangerous option23:19
wrafter 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:20
leftyfbwr: what version of ubuntu are you running?23:21
wrleftyfb, debian this case latest :)23:21
leftyfbwr: ty #debian or #snappy23:21
wrleftyfb, but they left only a snap file23:22
sarnoldprobably #snappy, I suspect #debian folks won't know as much23:22
wrleftyfb, sarnold they don't yes23:22
=== rl is now known as wr
morganuis 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
morganu20.0423:59

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