/srv/irclogs.ubuntu.com/2021/03/07/#ubuntu.txt

tomreynHash: can work.00:01
HashOk. I did the thigns, minus the blacklisting part. My host is nvidia gpu, an guest will be nvidia gpu. enable iommu on my 5800x cpu00:02
Hashlet's reboot! :D00:02
tomreyni can't comment on nvidia, i don't have this problem.00:03
HashOk np00:21
Hashtomreyn: one more thing my friend, do I have to keep running `virtmanager' as 'sudo'00:22
Hashtomreyn: if not sudo,it doesn't connect. with sudo, it connects, but the GUI is styled differently showing that this is not running as my ubuntu user whose gui app config is dark. This shows windows which brigh controls, so diff gtk ui cofig, not mine00:23
HashIs there a group I can add my user to so that I don't have to run it as sudo?00:23
tomreynprobably libvirtd00:25
Hash4(adm),6(disk),24(cdrom),27(sudo),30(dip),46(plugdev),108(kvm),121(lpadmin),131(lxd),132(sambashare),138(libvirt)00:26
Hashlibvirt or libvirtd? I am already a part of libvirt00:26
Hashand /etc/group has no libvirtd group, no 'd'00:26
Hashonly libvirt00:26
Hashok I rebooted. Works now00:27
tomreyni think this changed from 18.04 LTS to 20.04 LTS00:27
Hashwish there was a way to load group id without relogging00:28
tomreyni'm using 18.04 LTS00:28
HashI see. I am on 20.04 desktop00:28
HashQeustion about virtmanager: I want to add 2 /disk/by-id in them. Do you know how?00:28
HashOr outside the scope of this channel?00:29
HashAlso, what's the channel for virt manager, if there is one00:29
tomreyni wouldn't know whether there is a chanel for virt-manager or libvirt. alis probably knows.00:30
tomreyn!alis00:30
ubottuAlis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http"00:30
=== Napsterbater is now known as Guest4716
=== Napsterbater_ is now known as Napsterbater
=== qassim_ is now known as qassim
tomreyni suggest you experiement a little and search the web for your answers and come back her eonly if you can't find them on your own.00:30
HashI do alway00:31
tomreynso what have you tried so far about "add 2 /disk/by-id"?00:31
HashTo add them in to the place, but there are 2 places, so I am confused on which one00:32
Hashyou can double click qmeu/kvm line in virt manager, an box opens up, and you +, add type physical disk, auto format, sorce path is /disk by id, and uncheck build pool cuz data already exists on them.00:33
HashI am the documentation of virt mnager open too and reading00:33
HashBut just cofused abou this00:33
Hashcuz you can also add that in when making a vm00:34
Hashso which one, or either, or both?00:34
Hashhttps://bpa.st/D4XA I need to add this disk, but I see many -part in the /dev/disk/by id00:36
Hashhttps://bpa.st/UKDQ This is the message I Get00:38
HashWhen I try to add /dev/sda or /dev/disk/by sda's disk id. Either way gives me this error.00:38
HashThis is a GPT disk, which is bootable by virtualbox and bare metal as windows 1000:39
Hashso the disk/data are fine.00:39
HashThis is the disk I need to add. This is the entire disk which is used only dedicated to vm as disk passthrough00:40
HashI need that. I get it in vmware/vbox, but this is giving error if you know anything00:41
tomreynHash: try a web search for    libvirt assign physical disk to guest00:41
tomreynmaybe add ubuntu 20.0400:41
=== Napsterbater_ is now known as Napsterbater
HashOk00:44
tomreynhttps://serverfault.com/questions/261703/kvm-guest-using-physical-sata-disk looks like a good enough answer, and so is https://www.reddit.com/r/VFIO/comments/5qw8rh/passing_an_entire_hard_drive_to_a_windows_10_vm/00:44
HashI mean I can add anotehr ntfs drive, bu ot this one.00:44
HashOh you have to do it AFTER you create the vm.00:44
HashI was doing in the main virt manager storage tab before creating the vm00:45
tomreynhttps://askubuntu.com/questions/144894/add-physical-disk-to-kvm-virtual-machine here, the second answer discusses how to do it with the virsh CLI00:45
HashThanks, I found similar too. Will try things gain00:45
Hashagain*00:45
tomreynyou can use the virt-manager 'new vm' wizard and select pxe booting to create a new VM without having to assign storage.00:47
=== Napsterbater is now known as Guest27573
=== Napsterbater_ is now known as Napsterbater
tomreynNapsterbater: could you try making this a little less noisy, please?00:51
Hashgreat success01:12
Hashnow add pci.01:12
tomreynyou might be disappointed in the end when you realize the guest OS will not want to run due to hardware changes (try ##windows for details)01:18
imiif I run apt-upgrade -y will dpkg-reconfigure be able to to terminal input? I'm struggling with this since a while01:19
tomreynimi: "will dpkg-reconfigure be able to to terminal input" does not seem to be a properly formatted question. can you rephrase it?01:23
imiif I run apt upgrade -y will dpkg-reconfigure be able to receive terminal input?01:24
HashHello01:25
Hashtomreyn: worst come to worst I can reinstall. No real data on threI care abou01:25
Hashalso, https://wiki.ubuntu.com/UEFI/OVMF I am trying to turn on eufi booting for the vm i can't find the optino01:25
Hashther is no firmware option I can see01:25
NapsterbaterI would love to but due to the fact my ISP refuses to replace an A/C unit in the headend the OLT is overheating and casuing disruptions in my service.01:25
oerheks-y is abbreviated --yes is synonym to --assume-yes, while --force-yes , output will be the same, or do you see something different, imi ?01:25
tomreynimi: yes, but it probably won't ask questions then, what are you trying to achieve?01:26
HashChange the Firmware Option from BIOS to EUFI. (If it's not available do a systemctl restart libvirtd)01:26
HashI did that restart, but I don't see a firmware option anywhere01:27
imiI have a script which gives me errors like this: dpkg-preconfigure: unable to re-open stdin:  debconf: unable to initialize frontend: Readline01:27
imiI'm trying to figure out why01:27
imithis isn't a headles noninteractive script01:27
imisupposed to be interactive but somehow it doesn't work interactively01:28
imimaybe it's because the -y maybe it isn't... can't tell01:28
oerheksnobody can tell without the actual script and full output and/or errors01:29
tomreynHash: in virt-manager's 'new vm' GUI, the firmware option is only configurable if you tick the check box to "edit configuration before installing" (or similar)01:31
tomreyn*GUI wizard01:31
imican apt-get upgrade work in screen fine?01:37
HashI think I did01:37
tomreynimi: which ubuntu release are you asking about?01:38
imi20.1001:38
tomreynsudo, it can.01:39
HashOh I see.01:39
HashHow this works.01:39
HashOkkkay01:39
HashThanks!01:39
tomreynimi: i meant: sure, it can.01:39
imiok thanks01:39
HashI am using /dev/sda and /dev/sdc as dedicated virtual disk raw drives. Is there a way to make sure the host system can NEVER mount these?01:49
HashIs there a way to declare some devices unmountable?01:49
HashFor example, dolphin fine manager click on device etc.01:49
iminoauto in fstab?01:52
imiset fstype as none while you're there01:52
Hashok hang on01:53
Hashwhile I'm doing that, https://i.imgur.com/pYD217A.png from this list, which one seems like I should add to my vm for sound? I want to add my sound device, and it seems I can.01:53
Hashjust don't know which one01:53
Hash# /boot/efi was on /dev/sda1 during installation01:54
HashUUID=C2FB-7871  /boot/efi       vfat    umask=0077      0       101:54
HashAlso, do you know what this means?01:54
HashThe /sda and /sdc are not in my fstab at all.01:54
HashSo do I add them to explicity make them not mountable? or how does that work.01:55
imiyes, nowadays fstab lists by uuid01:55
imirun blkid first01:55
Hashone sec01:55
imiso that you can figure out what uuid means which drive. you might want to delete the entries for sda and sdc if there's any01:56
Hashthe uuid for /dev/sdc and /dev/sda are not found in fstab.01:56
HashThat's what I'm asking01:56
imigood01:56
HashSo if they are not in there anyway they can't be mounted?01:56
HashThey show up in file managers in kde nd gnome01:57
Hashif I click, it will mount it to /media01:57
HashI want to rpeven thtat system wide in every app01:57
HashMake sure the dedicated devices for vm are not usable anywhere by the host system01:57
imithe idea behind uuids insead of /dev/sd* in fstab is that you don't really care about in which order your drives got recognized, you only care about to use the same partition as rootfs etc no matter whether it's sda* or sdb* this time01:58
HashI understand01:58
Hashthanks01:58
HashAs for the sound question, pci host device into vm, any idea?01:58
imitry lspci, dmesg01:59
imialso I'm looking up a command for you01:59
imiarecord --list-devices02:00
imimaybe these help02:00
imifor the block devices you might want to do something like /dev/sdc none none noauto 0 102:03
imiin fstab02:03
imithat's my best guess02:04
imibut you can go ahead and experiment on a disposable vm/snapshot first just to be sure :)02:04
QuaruptedHello, I setup Ubuntu on my RasPi4 as a desktop but now I really only use as a server over SSH/FTP is there an easy way to convert it to a more server build? Removing all the Xorg stuff, Gnome, etc?02:08
imiHash: have you seen starship matisse hd audio controller on the bottom of the list on your screenshot?02:09
imiok afk, good luck02:11
QuaruptedHmm not very active here anymore, is there like a Discord now or something?02:12
imiQuarupted: maybe you can get a packagelist for the server flavour02:13
imibut I don't expect it to be an easy transition02:13
imianyhow I'm still afk02:13
QuaruptedI was thinking I could just uninstall Gnome but I would love to get all the other GUI dependent crap that comes with desktop as well.02:13
Quaruptedimi: Thanks.02:14
van777Quarupted: reinstall. just choose server.02:14
imithere might be an x related package which pull every other gui app as dependency02:14
QuaruptedI am thinking it may just be easier to install a server build and start over at this point. Just move my data over somewhere else for now and flash the SD to a server build.02:14
imixorg or whatever02:14
imi+1 for reinstall02:15
imianyhow I'm still afk, lol02:15
QuaruptedI can't believe the cost to performace ya get on these lil single board computers as lil servers now a days02:15
MaikQuarupted: just download the server image for the pi and reflash your sd-card02:17
Maikremoving all the stuff is just nonesense02:18
van777Quarupted: there are Android tv boxes with Amlogic processor, twice cheaper than rPI4, still play 4k youtube with no problem! Cost to performance is still better.02:19
QuaruptedMaik: Yes an obvious option but I was trying to convert so I didnt have to backup all my configs and move all my data.02:19
QuaruptedBut sems there is no simple way to do it.02:19
Quaruptedvan777: Yes but I like the offical build of Ubuntu and the support it comes with for Pi402:20
QuaruptedThe other ARM builds dont work as well and arent as supported.02:20
van777i've been stuck on ARM with "selenium chromedriver". Only 64bit version worked as expeced.02:23
QuaruptedWhy is the channel so dead? A few years ago this place was always crazy busy.. is there a discord or is it just a slow night or something?02:27
ptahQuarupted, maybe irc is an old program02:27
QuaruptedYeah it is but I love it.02:28
ptahi used it in 1997 first and efnet is dead02:28
QuaruptedYeah I used in 90's first as well when I was just a Teen. QuakeNet and EFnet02:28
QuaruptedF for our lost networks and dying chat protocol.02:29
ptah:)02:29
QuaruptedI will use it til it dies though. I have all these irssi shortcuts memorized forever.02:29
ptahi noticed whoever uses linux doesnt use irc02:29
QuaruptedWhich is so weird since Linux and IRC used to go together like PBnJ02:30
van777right. cuz irc feels great in terminal02:30
QuaruptedYes BitchX and IRSSI for life :p02:31
van777weechat for life here02:31
QuaruptedMaybe someone can write a port of IRSSI for Discords protocol. I'd very much like this.02:31
QuaruptedAww weechat, I think that usese perl for its scripting right?02:32
tomreynsorry to intervene, but this is really just meant to be a support channel. we have #ubuntu-offtopic for social chat, and #ubuntu-discuss for discussion on ubuntu (which is not support Q&A)02:32
tomreynyou're invited to either02:32
QuaruptedSorry tomreyn :)02:32
ptah#networking has more users then #ubuntu02:32
ptah:)02:32
ptah125002:32
van777perl and python and ruby in weechat02:32
QuaruptedWell I am off to reconfigure this Pi with a server build, thx everyone. IRC for life :)02:33
van777;)02:34
ptahcya02:34
van777j #networking02:34
jess##networking02:34
=== zbenjamin is now known as Guest6151
=== zbenjamin_ is now known as zbenjamin
maxFlexGuestI have used the apt command to install KDE Plasma on my Ubuntu Linux QEMU guest. However, when I log in to KDE Plasma, I run into dialogs saying that KDE Plasma is unable to start.02:39
maxFlexGuestKDE is unable to start because there is no write access to the $HOME directory.02:40
maxFlexGuestDo you have any advice on how to fix the "no write access to $HOME directory" issue? I am unable to start KDE Plasma on my QEMu guest system running Ubuntu.02:42
maxFlexGuestSorry for the mention about KDE. I know that I have installed KDE Plasma, and not KDE.02:42
* van777 shrugs02:43
tomreynmaxFlexGuest: you could try asking this in #kubuntu02:43
tomreynmaxFlexGuest: what's reporting that it lacks write access to $HOME, though?02:43
tomreynit should not matter that you're running this in a VM.02:43
ptahmaxFlexGuest, chmod or did u edit .bashrc?02:43
tomreyn(unless it's about graphics acceleration)02:44
maxFlexGuestI am actually using Ubuntu Studio, not Kubuntu, and my KDE Plasma installation on top of Xfce is reporting a lack of write access to $HOME I was able to type in my password, and once I typed the correct password in the Plasma login manager, the desktop wasn't able to work properly.02:45
maxFlexGuestHowever, my Xfce is working properly.02:46
van777isn't it or XFCE or KDE Plasma? Not both at the same time02:49
maxFlexGuestIf my KDE Plasma installation is reporting a lack of write access to $HOME, then do I need to reboot my system into the disro recovery mode?02:49
maxFlexGuestI am not running both Xfce and KDE Plasma at the same time. I am only running KDE Plasma right now, and this is the desktop environment reporting lack tf write access to $HOME.02:50
maxFlexGuestI have seen dialogs on KDE Plasma telling me specifically that the desktop environment (DE) is not working properly, and then KDE Plasma said that the interface could not start.02:51
tomreynand you did a web search n this, yet?02:51
ptahmaxFlexGuest, sounds like you need to go as root and chmod or edit .bashrc02:52
ptahtry grub recovery02:53
maxFlexGuestDoes this mean that I need to log in as root or as Xfce?02:53
maxFlexGuestWhat do I need to chmod or chown?02:54
tomreynyou defnitely don't want to start your grpahical desktop as root, no02:54
ptahtomreyn, i mean the grub recovery02:55
ptahi had a similar problem i fixed02:55
ptahbut not kde02:56
ptahgnome02:56
maxFlexGuest What part of the GRUB recovery?02:57
xMopxhow can i put my root filesystem into read-only mode while booted normally? I want to simulate the error state when a filesystem error happens.02:58
xMopx-o remount,ro doesn't work02:58
xMopxan unfortunately difficult request to google for, most people want to go the other direction, lol02:59
tomreynxMopx: probably because files are open with write locks. switching to ro is going to cause file system inconsistencies in this situation.02:59
xMopxtomreyn: that's fine, that's what I want to simulate or trigger03:00
maxFlexGuestThe KDE Plasma cursor reminds me of KDE Plasma, but I don't know if the DE selection is actually preventing me from selecting Ubuntu Studio Session/Xfce Session instead of KDE Plasma.03:02
tomreynxMopx: you can use the sysrq03:02
maxFlexGuestIf I have logged on through the KDE Plasma login interface, will the cursor change for XFCE?03:03
xMopxtomreyn: nice! that works03:05
maxFlexGuestI am unsure which desktop environment I am currently using. I might be using the Xfce desktop environment (or at least trying to); Is KDE Plasma flawed?03:12
maxFlexGuestI seriously believe that the Xfce window manager is being used for KDE Plasma in my case.03:13
Bashing-omMaxMeranda: ' echo $DESKTOP_SESSION " " $XDG_CURRENT_DESKTOP ' .03:16
ptahgnome for me :)03:20
angryjenkinsHi! anyone know var i'd use to display processor name in conky, if possible?03:22
=== MrPocketz is now known as MrPockets
=== Napsterbater_ is now known as Napsterbater
JohnDoe_71Rusany chance fix it to ubuntu soon? https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/191587004:04
ubottuLaunchpad bug 1915870 in mesa (Ubuntu) "gnome-shell/gnome-session-check-accelerated-gl-helper crashed with SIGSEGV in cso_destroy_context() [r300_dri.so]" [High,Triaged]04:04
pytorchMy ubuntu 20.04 machine hangs during boot: https://ibb.co/FB5RQTb - when I press enter a few times, it boots then. any ideas on how to debug this? dmesg seems empty of errors.04:13
sabocatNew to snaps. I'm getting ERROR: .PermissionError: [Errno 13] Permission denied: './docker-compose.yml'  when I try to start a docker container.04:21
Bashing-ompytorch: How does "ifupdown" play into this ?- as that is old networking conventions that netplan replaced.04:25
Bashing-om!netplan | pytorch04:26
ubottupytorch: Netplan is a network configuration abstraction renderer which uses YAML descriptions of a network to work with either a NetworkManager or Systemd-networkd "renderer". More information at https://netplan.io/04:26
pytorchBashing-om: I've no clue what is hanging this machine. I did upgrade from 18.04 to 20.04. - something there perhaps04:34
pytorchBashing-om: Once I press enter, and login, it takes some time before the machine becomes ssh-able04:37
Bashing-ompytorch: Maybe look at ' systemd-analyze blame ' and the boot log: ' journalctl -b -0 ' (shows messages from the current boot).04:37
pytorchsystemd-analyze blame04:38
pytorch5min 12.854s cloud-init-local.service04:38
pytorch 5min 2.159s cloud-config.service04:38
pytorch1min 30.221s nginx.service04:38
Bashing-om!paste | pytorch04:39
ubottupytorch: For posting multi-line texts into the channel, please use https://paste.ubuntu.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.04:39
pytorchBashing-om: I think you found my issue - cloud-init-local? cloud-config?04:39
Bashing-ompytorch: Could be - of what use are they to this install ?04:49
pytorchIt's a digital ocean vm - not sure - perhaps DO uses them?04:50
sabocatI'm getting ERROR: for plex  Cannot start service plex: error while creating mount source path '/storagepool/media/tv': mkdir /storagepool: read-only file system.04:53
pytorchBashing-om: https://www.digitalocean.com/community/questions/after-upgrading-to-20-04-lts-network-now-takes-2-minutes-to-start-because-of-cloud-init04:53
sabocatAnyone have exp with docker as a snap?04:53
Bashing-ompytorch: Sorry - but out of my spere of knowledge, perhaps others here can shed some light. I do need to go; good hunting :D04:53
pytorchsabocat: why use snap ? install using the regular method?04:53
pytorchBashing-om: thanks for the help.04:54
sabocatpytorch, it came installed with Ubuntu Server 20.0404:54
pytorchsabocat: Time to uninstall it?05:02
sabocatmaybe?05:03
pytorchsabocat: https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-04/05:03
sabocatpytorch, thanks. looking like the way to go05:06
sabocatDisabled the snap, installed docker via recommendation (https://docs.docker.com/engine/install/ubuntu/) now getting can't connect to docker daemon, even tho docker is running05:30
sabocatnm, reboot fixed05:35
pytorchsabocat: congratulations :)05:40
Rockwoodrockwood@cyberia:/var/www$ sudo rm -f  criminalimpulse06:39
Rockwoodrm: cannot remove 'criminalimpulse': Is a directory06:39
Rockwoodwhy its not deleting06:39
Rockwoodit is directory06:40
EriC^^rm -r criminalimpulse06:41
EriC^^you need -r with dirs06:41
RockwoodEriC^^, ty06:46
EriC^^np Rockwood06:48
nullbytesI am running one process with -20 nice and many other processes with 19 nice. However, the -20 nice process still seems to be slowed down by the other processes. Is there a way to give it even higher priority so that nothing can slow it down?07:43
ordosHi all, hope everyone's well. I've recently upgrade to Ubuntu 20.04 (from 18.04) and my Thinkpad USB keyboard with trackpoint no longer works completely. All the keys work great but the little red trackpoint and the associated mouse buttons on the bottom have stopped working. Any idea how I can fix this? I've tried googling but haven't found anything concrete yet. Will keep trying. Thanks.09:19
lotuspsychjeordos: wich kernel are you currently on?09:21
ordoslotuspsychje, heya, thanks, how can I check that/09:21
lotuspsychjeuname -a09:21
ordosLinux Socrates 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux09:21
lotuspsychjeordos: could you pastebin your dmesg please?09:22
ordoslotuspsychje, there's quite a lot (!) of output here, anything in particular I can focus on?09:23
lotuspsychjeplease share the whole thing ordos so volunteers can take a look in there09:24
ordoslotuspsychje, ok here you go09:27
ordoshttps://pastebin.com/vNPVxE5T09:27
lotuspsychjetnx ordos lemme have a look09:27
ordosthank you09:27
lotuspsychjeordos: can you check if you have other kernels in your list you could test?09:28
ordoslotuspsychje, sure, although I have no idea how to do that09:28
ordos(looking over this dmesg output, it seems to be identifying the Thinkpad USB keyboard with Trackpoint just fine)09:29
lotuspsychjeordos: $ dpkg --list | grep linux-image09:29
ordosCan I paste 3 lines is that permitted?09:30
lotuspsychjeordos: you can type what you see09:30
Swift110-mobileSup09:32
ordosFirst line: linux-image-5.8.0-43-generic               5.8.0-43.49~20.04.1, second line: linux-image-5.8.0-44-generic               5.8.0-44.50~20.04.1, third line: linux-image-generic-hwe-20.04              5.8.0.44.50~20.04.3009:32
lotuspsychjetnx ordos09:32
lotuspsychjeordos: could you check sudo lshw -C video to see if nvidia driver loaded correctly?09:33
ordoslotuspsychje, it looks like it did (next to product and vendor it correctly identifies the card)09:34
lotuspsychjeordos: at bottom should list driver=...here09:34
ordosdriver=nvidia09:34
lotuspsychjeok good09:34
lotuspsychjeordos: can you test a new user add real quick, see if your trackpoint works there09:35
lotuspsychjeto rule out its user related09:35
ordosok sure one sec09:35
Swift110-mobileSup09:36
ordos(did you find anything suspicious in the dmesg output by the way?)09:36
lotuspsychje!ask | Swift110-mobile09:36
ubottuSwift110-mobile: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience09:36
lotuspsychjeordos: not right away no09:36
ordos(just trying to learn as I go along)09:36
Swift110-mobileLol good idea ordos09:37
lotuspsychjeordos: working on your new user?09:46
ordoslotuspsychje, it doesn't seem to be helping09:47
ordosI've tried it twice09:47
lotuspsychjeallrighty09:47
lotuspsychjeso lets assume this is a kernel bug perhaps09:48
lotuspsychjeordos: it worked on your 18.04 just fine right?09:48
ordosI just want to test my keyboard on my 18.04 laptop quick, to rule out hardware error09:48
ordosYeah works perfectly there. And yup worked on 18.04 on this same PC before I installed 20.0409:49
ordos(I installed with USB installer after downloading ISO - erased the disk for a fresh start - ie: it wasn't an upgrade but rather a fresh install - if that makes a difference)09:49
lotuspsychjeordos: did it work at setup level?09:50
ordoslotuspsychje, darn that's a good question, I'm not sure (I also have a separate mouse which I use most of the time, I only use the tracking on rare occassions like scrolling etc.)09:51
ordosI can't remember, sorry09:51
lotuspsychjeok lets try something, reboot and enter grub then pick ubuntu(recovery) and pick an earlier kernel for test09:51
lotuspsychjehold shift to enter grub at boot09:51
lotuspsychjethis way we will see if the setup kernel from vanilla iso makes a difference or not09:52
lotuspsychjeordos: perhaps 5.8.0-43-generic09:55
ordosI was about to ask09:55
ordoshaha ok brb09:55
lotuspsychjegood luck09:55
ordosthanks09:55
lotuspsychjewb ordos10:09
ordoslotuspsychje, ok it's working now! I used different kernel as suggested and it worked. Then I rebooted back into default kernel - and for some reason it now works here too. I also got a popup asking me to confirm the names of my home directly folders because I'd changed my language from English US to English UK - perhaps that had something to do with it?10:09
ordos*home directory10:10
lotuspsychjeubuntu magic lol10:10
ordosHey man I'll take what I can get10:10
ordosBut yes it's working great now10:10
lotuspsychjenice one ordos glad you made it10:10
ordoslotuspsychje, thanks for all your assistance I really appreciate it10:10
lotuspsychjeno problem ; )10:10
ordosDo you guys use karma system in here?10:10
ordoslotuspsychje++10:10
ordosNo I guess not10:11
ordosAnyway, thank you :)10:11
lotuspsychjeyou can give me a !cookie ordos10:11
ordos!cookie10:11
ubottuWow! You're such a great helper, you deserve a cookie!10:11
lotuspsychjethats the only irc karma we collect :p10:11
ordos!cookie lotuspsychje10:11
lotuspsychjetnx10:11
ordoshaha awesome10:11
ordosCheers :)10:12
billybigriggeranyone have a suggestion for a good free syslog server that can handle more than 5 incoming logs?11:05
lotuspsychjebillybigrigger: did not test myself, but could fluent-bit snap be any use for your case?11:21
thyriaenHiho, i am using the default file browser in Ubuntu-gnome - i would like to add someething to my context menu ( a script where a file should be passed as stdin to my script when i rightclick on it and select it ) where can i configure my context menu entries ?11:59
pcatineanHello everyone, can someone help me sync my chromium install with my google account? It seems I just cannot find the login feature anymore12:51
roryIsn't that a Google Chrome feature, so not part of the open source Chromium browser, pcatinean ?12:56
roryOh OK bad luck https://www.omgubuntu.co.uk/2021/01/chromium-sync-google-api-removed12:56
pcatineanI'm just reading now, since March 15 that will be the case12:56
pcatineanoh well....12:56
pcatineanyeah...12:56
pcatineanbummer12:56
maxFlexGuestThis is my first time using KDE Plasma. Is slow performance normal for the first boot? Will future boots perform faster?12:56
maxFlexGuestI am aware that my KDE Plasma may be slower than my Xfce.12:57
lotuspsychje!discuss | maxFlexGuest12:59
ubottumaxFlexGuest: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!12:59
BluesKajHi folks13:02
=== akem is now known as ChewbakaJones
ordosHi all, in Ubuntu 20.04, under Settings > Privacy > File History & Rubbish Bin... there is an option to automatically empty the bin and "Delete temporary files" - which temporary files is this referring to? Is it just the /tmp folder? Or is it something else? It's a little vague. Thanks :)13:28
lotuspsychjeordos: try stacer or bleachbit to cleanup your system more profound13:29
Maikbleachbit isn't recommended if you don't know what to do or how tp use it13:30
Maikhttps://easylinuxtipsproject.blogspot.com/p/clean-ubuntu.html13:31
Maiklotuspsychje: ^13:31
lotuspsychjenever had issues with it Maik even with full options enabled13:32
Maikstill people tend to mess up their system with it13:33
jeremy31Maik: I don't have a lot of faith in the guy that maintains that website13:34
Maiki only use autoremove and that's it, never heared of clean a linux system anyway. It's a windows thing imho, that's where it comes from13:35
Maikit's just in our minds we NEED to do that13:36
romoHey guys, I'm trying to figure out how to properly prepare a Xubuntu 20.04 VirtualBox Guest to instal Guest Additions (from Oracle CD-Image). there are guides suggesting to install linux-headers-$(uname -r) while some go by linux-headers-generic. are those completely interchangeable or are there benefits of using one over the other?13:53
roryif you install linux-headers-$(uname -r) it will only install the headers for the current kernel version so when the kernel upgrades you'd have to do it again13:56
roryromo, afaik you can just install "linux-headers" package and be done forever13:56
rorylinux-headers-generic sorry13:56
romorory: thank you very much. I was majorly confused by that question about kernel version changes (among other things). in that case I'll, go with the linux-headers-generic package and be done. wuhu14:01
vimartWhen installing an xclip with apt install I get en error: You don't have enough free space in /var/cache/apt/archives/ , I've done sudo apt autoclean and autoremove also clean in addition even change the size of /var and still same error.14:01
rory"uname -r" is a command that shows current kernel version, so linux-headers-$(uname -r) is the same as if you manually typed it14:01
roryromo, yeah do it. works for me.14:01
roryvimart, Can you share the output of "sudo df -h" command on https://paste.ubuntu.com please?14:02
vimartrory: sure, just an min. Thx14:03
roryThis command shows devices, mount points and free disk space14:04
vimartrory: the paste>> https://paste.ubuntu.com/p/8RB6nytB7Q/14:06
roryvimart, because /var is on another partition that's quite small, it has just filled up with space - if there's nothing else to delete in /var/cache/apt/ then perhaps your /var/log directory has some big files which could be deleted14:06
roryvimart, if you run this command it will show you the files, largest at the top: ls -lhS /var/log14:07
roryvimart, if you are not sure, you can share the output of that command and I can advise.14:08
rorye.g. if you don't care about old log files you can safely delete all the old ones in there, that end with .1 or .gz14:08
roryWhen you said "even change the size of /var" did you resize the partition? Did you remember to also grow the filesystem to use the new space using resize2fs command?14:10
EriC^^vimart: try 'sudo du -xsh /var/* | sort -h' it should show which dirs are taking the biggest space, likely there's a log file going out of hand with constant errors14:13
vimartrory: I got resized /var and made it bigger so so far problem solved14:13
roryThere's no reason to have /var on a separate partition at all to be honest14:14
vimartbut I'll do what you said to check what takes so much14:14
EriC^^vimart: 10gb is pretty huge for /var tbh, it sounds like you have another problem going on14:14
vimartrory: bad habit14:14
roryI bet it's just full of logs14:14
cbreakis ubuntu 20.10 supposed to turn off my screen after some time? Because all it does is turn it black, and show just the mouse cursor, still making it suck power.14:15
vimartEriC^^: I think I know what's is. Few months ago I fall asleep and Laptop fell so system is notifying about errors on a disk14:15
rorycbreak, that's probably a screensaver "blank screen" rather than power setting, check that first14:16
cbreakindeed it is. I'd have expected the screen to properly power down14:17
rorythey're separate things, there is a power option to shut off the monitor too14:17
cbreaksince the setting is inside the "Power" settings tab14:17
UblxI already searched for how to create a bootable clone of my internal harddisk to an external one of the same size. But because the answers were several years old, I would be happy to have a confirmation if it is right: 1. Boot USB Live stick to keep both harddisks unused 2. use 'dd if=/dev/sda of=/dev/sdb bs=4096 conv=sync,noerror' --- Anything else to avoid or do?14:17
UblxOf course, it's a Ubuntu system.14:18
cbreakUblx: maybe change the partition / filesystem GUIDs afterwards to avoid confusion.14:18
cbreakor partition the destination first and only copy the partition data14:19
jeremy31Ublx: I normally use a Clonezilla ISO14:19
rorycbreak, "blank screen" is just a screensaver, it doesn't power down the monitor, the option to power down the monitor is in System Settings -> Brightness & Lock14:19
cbreakrory: that's.... weird14:19
cbreaknot in "Power"?14:19
=== Grldfrdom_ is now known as Grldfrdom
cbreaklet's try14:19
rorymaybe in power actually. but principle is the same. it's not a screensaver14:19
=== Grldfrdom is now known as Grldfrdom_
vimartrory: I used gparted to resize did knew I need to do yet resize2fs14:20
vimartBTW rory : https://paste.ubuntu.com/p/4BrSp6bq9X/14:20
cbreakseems screen power down is not in power but in privacy14:20
cbreakwhat were they thinking? :(14:21
cbreakprivacy > screen lock > automatic screen lock delay14:21
cbreak-> screen turns off is set14:21
cbreakdoesn't work though14:21
roryOK vimart , go into /var/lib and run "du -h", find the large directory, keep going into it and running the same command to find what is going on14:22
roryvimart, you could also install "baobab" a graphical disk usage analyzer14:22
roryI have to go now.14:25
cbreak`xset dpms force off` does turn off the screen, but somehow the automatism in ubuntu doesn't14:25
vimartseem like /var/lib/snapd/snaps/var/lib/snapd/snaps take 6G14:29
vimartI guess those files .snap are not essential now and I can remove them?14:30
cjokewhat package is netplan part of ?14:36
cbreakdpkg-query -S /usr/sbin/netplan -> netplan.io: /usr/sbin/netplan14:37
cjokethanks, I did not have that package installed.14:38
EriC^^Ublx: i'd use bs=10M or so so that it goes quicker, also be sure to run the "sync" command after dd finishes and also use "status=progress" in the dd command to show progress14:38
EriC^^dd if=/dev/sda of=/dev/sdb bs=10M status=progress conv=sync,noerror14:38
cbreakI wouldn't DD the whole disk, just partitions14:39
cbreakor you might have to change the UUIDs of all the things14:39
EriC^^same thing, the uuid is part of the fs and not the partition14:40
EriC^^but that's right, if you plan to use the OS with both hdd connected you need to change the uuids and fstab entries so stuff dont get mixed up14:41
cbreakit's also part of the partition table14:41
smacktalkso my ubuntu 18 laptop stopped responding and wouldn't boot about 6 months ago, so upgraded to 20.04. It worked for about 3 months without issues then same thing, suddenly wouldn't boot.  I repaired the mbr and was able to boot, but networking didn't work and lot's of problems so had to completly reinstall.  It gives me a little warning before it crashed both times, my mouse started jumping around and acting hinkey.  Anyone else experiencing like14:41
smacktalksymptoms?14:41
cbreak(with guid partition table format :P)14:42
EriC^^:P14:44
cbreak(one's the partition UUID, the other's the filesystem UUID, even free space has a partition UUID, and file systems have different opinions on what a FS UUID is.)14:44
cbreaklsblk -o NAME,LABEL,PARTUUID,UUID14:45
EriC^^fstab uses the fs uuid, which he'll have to change anyways whether he copies the partition or whole disk, partuuid only comes into play with the uefi loading the efi file14:45
cbreakhmm... you can't use the partition uuid for that?14:46
cbreakI'm mostly using ZFS, so partition UUIDs is what I see most14:47
cbreaksince I use /dev/disk/by-partuuid14:47
ordosHi all :) I'd like to create a "shortcut" (a "Favourites" icon on my taskbar if that makes sense), that when clicked, opens up my File navigator at a specific folder (in this case, my second SSD). Not sure how to best do this? I found a solution online involving creating a file in .local/share/applications/ - which executes Nautilus - is this the right track?14:49
cbreakit's annoying that who ever did that decided to put both the wwn stuff and the proper IDs into by-id14:49
EriC^^ordos: that sounds like a good idea14:49
EriC^^cbreak: aha, didnt think of zfs, never used it and i guess it's now mainstream in 20.0414:50
ordosI should clarify - when I've navigated to (and opened) the drive via the File navigator manually, it creates a little "SSD" icon in the task bar. I was hoping to replicate that, so that it's always there.14:50
EriC^^ordos: you could make some .desktop file that runs a tiny script that sees if it's mounted and opens nautilus, or mounts it using gvfs-mount and then opens nautilus14:51
EriC^^gvfs-mount would mount it as if you clicked on it in the file manager, under /media/user/...14:52
ordosEriC^^, ok great thanks. This seems to do what you suggest - https://askubuntu.com/questions/235805/how-to-add-drive-partition-icon-to-the-launcher - although it's a few years old it would still be the right way with 20.04?14:52
ordosEriC^^, ok that makes sense, thanks.14:52
ordosHow come it doesn't remain mounted though? It's a little nvme ssd - the same as my primary / boot drive14:53
EriC^^ordos: you could add it to automount on startup if you want, run "Disks" utility and choose the partition and click on the little gear for settings, you can add stuff to it14:54
EriC^^basically it adds it to /etc/fstab14:55
ordosEriC^^, ok super, thanks14:55
EriC^^ordos: no problem14:55
ZennHello guys15:23
ZennI'm attempting to run this in startup application but not able to do so15:23
Zennnothing happens15:23
Zennhttps://github.com/hexvalid/Linux-CapsLock-Delay-Fixer15:23
Zennhttps://imgur.com/boKbqcu15:24
Zennmaybe someone can guide me thank you15:24
roryZenn, if you copy and paste the command from that "Command" into a terminal, does it work OK?15:25
Zenn bash -ic "sh bootstrap.sh" ?15:25
rorythe entire thing.15:26
Zennwhat entire thing?15:26
pasizjust like it's run in startup15:26
rory"...elay-Fixer-master/bootstrap.sh" is all I can see15:26
rorybut whatever is the full content of that box in your screenshot15:26
ZennI mean I run it on terminal it works fine15:26
Zennnope it does not rory15:26
roryWhat happens when you run it in a terminal? Do you get any output?15:27
roryI mean when you run the exact command you're specifying in that startup box15:27
Zennmostly yes15:27
pasizMy capslock doesn't have any delay15:28
roryhelp me help you, please, zenn15:28
rorywhat happens when you run the exact command in a terminal, does it do what you expect? We have to be sure that part works first15:28
ZennI do it the old fashion way15:28
pasizwhat is old fashion way?15:28
roryMy point is: On startup, the precise command you put into that box will be executed. So, what happens when you run that precise command yourself manually?15:29
rorycharacter-for-character the same command15:29
oerhekson startup or after login? make a proper systemd unit?15:29
pasizMy keytronic ergoforce in ps2 port does not have any delay. Is there some keyboards that have15:29
roryThat shouldn't be necessary, if we can debug what is going wrong here15:30
Zennhttps://imgur.com/ZrhfQYt15:30
Zennhere15:30
Zennthis is way I do it15:30
roryThat's not the same command Zenn15:30
Zennbut I want use the startup to do it15:30
Zennso what do I have to do o.o15:30
roryIn your original screenshot I see the words "...elay-Fixer-master/bootstrap.sh"15:30
Zennyes15:30
roryCopy the contents of that text box and paste it into a terminal15:30
roryIn your latest screenshot I don't see any "...-Fixer-master" - it's not the same command.15:31
Zennwell it wont work o.o but I have to point to the directory right if not wont execute15:31
rory"It won't work" what do you see??15:31
Zennquestion is how do I do in Startup Application15:31
roryCan you just humor me15:31
pasizso your path is most preferably wrong in startup15:31
roryThe command you put in the "Command" field of the startup application needs to work, by itsself, in a terminal, from any directory15:32
Zennsorry I meant I want do that what I did in terminal in startup so it runs automatically15:32
Zennwell how do I do that ?15:32
pasizwow, what a tooth pulling15:32
roryCould you share the contents of that field anyway? I can't see it all in the first screenshot15:32
rory"...elay-Fixer-master/bootstrap.sh" what is the full command?15:32
pasiz:)15:33
Zennhttps://imgur.com/N9rMpc115:34
oerhekswhy an image?..15:34
roryThanks Zenn. So please copy that full command and run it in a terminal15:34
pasizdo you have +x on permissions15:34
ZennI ran it in terminal it works15:34
pasizlike chmod a+x THAT FILE15:34
ZennI want to do the same in startup15:34
roryOK thanks Zenn. Try wrapping it in "bash -c" so your startup command will read: bash -c "/home/mann..../bootstrap.sh"15:35
roryI'm not going to type out the whole thing15:35
EriC^^Zenn: did you add the command to the startup apps? and if you only used the filename, did you chmod +x it?15:35
Zennoh15:35
Zennlet me try15:36
pasizsometimes reading the fine manual is best way before debugging hardly...15:36
rorylooks like I picked the wrong week to quit sniffing glue15:36
pasizabsolutelu... is UHU still top brands15:36
zennthanks rory it works15:37
zenn:)15:37
zennsorry for the confusion eariler15:37
zenn<pasiz> My capslock doesn't have any delay15:37
roryyay15:38
zennit is a imfamous bug15:38
zennsomething to do with xorg server15:38
pasizi cannot replicate that on ubuntu nor debian hosts15:38
zennhttps://www.reddit.com/r/Ubuntu/comments/9lo5if/is_there_a_solution_for_caps_lock_delay_yet/15:38
zennread it up15:38
oerhekszenn, likely it does not affect all users?15:39
oerheksme neither15:39
zennwell no idea are you guys on AMD?15:39
pasizreddit thread with no cause doesn't help to fix anything15:39
zennhttps://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/137690315:40
ubottuLaunchpad bug 1376903 in xorg-server (Ubuntu) "Caps lock delay" [Low,Confirmed]15:40
zennhttps://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1376903/comments/515:40
zennread about it15:40
oerhekszenn, yes, you showed me that old bugreport earlier.15:40
zennI would like to note that this bug is still being overlooked by the community.15:40
zennIt has been overlooked15:40
oerhekshave fun with your fix!15:40
zennit is fine, I was hoping it gets fixed soon15:41
pasizor people learn why there is shift key on keyboard15:41
zennThe reason why I got away from Windows is to get Away from the Ugly updates that BSOD my PC15:41
zennwell I a type writer so it wont work if I type too fast.15:41
pasizi think you are now15:42
zennpasiz, And please don't give me the 'SHIFT' key argument. I have used CAPS LOCK for all my life and considering I am able to type from 110~180 WPM with the CAPS LOCK, I do not think it's a fair argument as some people are faster with CAPS LOCK rather than SHIFT key.15:42
zennwell I think it is a nice issue to be fixed15:42
zennthe Caps lock Supposed to be work as AaAaAaAaAaAa each time you press it and not AAaaAAaa15:43
zenncheck the code out in xorg server you will understand why I said it as such15:43
pasizi think it depends on keyboard, my mechanical keytronic doesn't have that kind of sympton in new xorg15:44
pasizso it affects only on usb or bluetooth keyboards15:44
oerhekspasiz, +115:44
zennhttps://patchwork.freedesktop.org/patch/6691/15:45
zennAccepted, archived15:45
zennwell yeah so something has to be done right15:45
zennnot everyone owns a machanical keyboard15:45
zennhttps://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Switching_state_immediately_when_Caps_Lock_is_pressed15:46
zennthere tons of report about this issue and it always go unanswer15:46
pasizI bought these on middle 90's15:47
zennhttps://gitlab.freedesktop.org/xorg/xserver/-/issues/31215:47
pasizkeytronic MPR II15:47
pasiz;)15:47
zennwell hope someone flags it out to the developer team15:47
zennor someone really look into it15:47
pasizmy logitech office connect broke today morning, so need to change to old and good keytronic ;)15:48
zennThere is an already reviewed patch that adds the missing support for nolock/nounlock to xkbcomp:15:48
zennhttp://patchwork.freedesktop.org/patch/20376/15:48
zennSupport for output (libxkbfile and xserver) is in these patches, which also have already been reviewed:15:48
zennhttp://patchwork.freedesktop.org/patch/203777/15:48
zennhttp://patchwork.freedesktop.org/patch/20380/15:48
zennI hope these patchen can be merged.15:48
pasizi hope there is no fast pasting15:48
zennwell15:49
zennI mean there are patches that was done but no one commited it15:50
zennno idea why15:50
zennand what it is here until today and no one fixed it at all, all there is a patch15:50
pasizif patch is not conducting coding standards or constructed badly, that wouldn't be merged15:50
zennwell maybe15:53
zennbut I really hope it is fixed in future ubuntu updates15:53
zennokay so what is snap store ?16:04
zennis it same as Ubuntu Software16:05
zennsorry I have returned back to Ubuntu after sometime16:05
oerhekssnaps are available through softwarecenter too, snaps are published on snapcraft.io16:06
zennis it merged with Ubuntu Software?16:07
oerhekswhy don't you take a look first?16:08
oerhekstype firefox, and you get 2 instances16:08
Khaoticany idea why ubuntu doesnt constantly use my primary DNS server?16:08
oerheksif buzy, it grabs the 2nd dns??16:09
Khaoticyeah but it never goes back to the primary DNS16:09
Khaoticright now it's using my trimary DNS server16:09
KhaoticI am trying to get it to only use my pihole16:09
oerheksoh, i am not into pihole issues.16:11
WeeDowlist16:15
tomreynWeeDow: hi, do you have an ubuntu support question?16:16
scrotehello.16:19
scroteI need postgresql-11.10 to support a legacy app but the repo supplies on postgresql-12.  Where can I get the version I need ?16:20
=== Napsterbater is now known as Guest24912
=== Napsterbater_ is now known as Napsterbater
oerhekspostgresql-11.10 .. maybe the postgresql repo gives 11.10 ? https://computingforgeeks.com/install-postgresql-11-on-ubuntu-linux/16:27
scroteoerheks:  thanks.  I'll check that out.16:32
scrotewhat package is pgdg in?16:42
ioriascrote,  what you mean ? that's not a command16:45
ioriascrote,  pgdg = PostgreSQL Global Development Group16:45
scroteoh ok16:47
tomreynscrote: postgresql's docuemntation on using this repository (which is not part of ubuntu, so we can't support software installed from it here) is at https://wiki.postgresql.org/wiki/Apt16:56
scroteyep thanks.16:56
Ublxcbreak: what do you mean by changing GUIDs? what's the reason? and do you have a good source for a howto?16:58
Ublxjeremy31: found Clonezilla, too, but isn't dd the better solution? you've good success with clonezilla?16:59
jeremy31Ublx: clonezilla likely uses dd but it does show the device name and model of the HDD so you should be less likely to make a mistake17:00
UblxEriC^^: I do not use both. I will just test the clone instead of the internal disk if it works right and then I will change the internal disk.17:01
Ublxjeremy31: okay, I understand. I will recheck it.17:02
UblxAlso, I'll read about cbreak s thoughts because maybe there will be any need to use both ... but I do not know yet about it ... maybe I could get any tips/links/..17:03
cbreakUblx: don't remember how to do it, but basically, UUIDs should be unique. If you copy your partition table via dd, it won't be unique17:12
cbreakif you copy the filesystem with dd, then the FS won't have its own ID either17:12
cbreakI'd just not bother finding out, and create a new partition table from scratch17:12
cbreakand then copy the FS into that later17:13
=== Yorick_ is now known as Yorick
=== Yorick is now known as Guest36715
=== gazby_ is now known as gazby
=== _ikke_ is now known as ikke
Ublxthanks for your words and help cbreak!17:34
robertparkerxI want to move to leaseweb. They have a server with 2x 1tb SATA hdd. Is there a way I can make it so it is 2tb in /17:47
robertparkerxor even my host right now has the same17:49
oerheksask leaseweb support?17:49
oerheksmaybe you can, with dedicated hosting, i would standard think not.17:50
robertparkerxany vps hosting support will not help me17:52
robertparkerxI just thought I would ask ubuntu since it was my prefer OS17:52
robertparkerxSorry17:52
tomreynrobertparkerx: you can actually create a raid-0 out of these two disks when installing ubuntu18:12
tomreynthat way you can have have ~1.8 TB capaity at /18:13
tomreynbut RAID-0 increases your chances of data loss compared to a single disk.18:13
robertparkerxdang18:17
frostschutzrobertparkerx, possible with LVM or a multi-volume filesystem like zfs, btrfs18:17
tomreynalso mdadm18:17
robertparkerxstill higher chance for data loss?18:17
frostschutzif it's a dedicated server with two drives, you're kind of supposed to do raid-1. if you don't, you risk data loss. your hoster won't help you either way, you are supposed to use backups18:18
oerheksdoes leaseweb offer a control panel?18:20
frostschutzyou need backups even with raid-118:20
PeGaSuShello guys. I'm having a bit of an issue. I had to run Boot Repair and I'm getting the following error: GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.18:36
PeGaSuSAlternatively, you can retry after activating the [Separate /boot/efi partition:] option.18:36
PeGaSuSany ideas?18:37
EriC^^PeGaSuS: it means you're trying to boot in legacy mode but with GPT, so you need a bios-boot partition to put grub there18:37
EriC^^PeGaSuS: can you run 'sudo parted -ls | nc termbin.com 9999' and paste the link here18:37
PeGaSuSEriC^^: right away18:38
PeGaSuSEriC^^: https://termbin.com/triy18:39
EriC^^PeGaSuS: it looks like there's an efi partition, try 'sudo efibootmgr -v | nc termbin.com 9999'18:40
PeGaSuSEriC^^: https://termbin.com/p65d18:41
PeGaSuSbtw, before I forget, I have two additional OS's on an external HDD18:42
EriC^^PeGaSuS: it looks good, the 2nd entry is the ubuntu one, let's make sure the PARTUUID's match and the file exists18:42
PeGaSuSbut it isn't attached now18:42
EriC^^PeGaSuS: type "sudo blkid /dev/mmcblk1p1"18:42
EriC^^confirm that PARTUUID is 1a114e42-f32f-4fc2-984c-39902bd870c018:43
PeGaSuS/dev/mmcblk1p1: LABEL="SYSTEM" UUID="7CFF-5DFF" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1a114e42-f32f-4fc2-984c-39902bd870c0"18:43
PeGaSuSit matches18:43
EriC^^ok that looks good, type 'sudo mount /dev/mmcblk1p1 /mnt && ls -lR /mnt | nc termbin.com 9999'18:43
PeGaSuSmy internet is being stupid today. it didn't even finished to "upload" the file18:48
PeGaSuSI mean, the output18:48
EriC^^PeGaSuS: hmm, try "ls -l /mnt/efi/ubuntu/shimx64.efi"18:49
PeGaSuSoutput of previous command: https://termbin.com/8r6618:50
EriC^^PeGaSuS: all looks good, what's happening when you turn the pc on with UEFI mode enabled?18:51
PeGaSuSthat's what I find weird. the BIOS boot shows UEFI and even the USB label has UEFI along the USB label name and such18:52
EriC^^PeGaSuS: is csm legacy set to off?18:52
PeGaSuSI did "update-grub" on my "main os" and on start I land on a black screen with "grub>"18:53
EriC^^you definitely do have uefi support from the motherboard, but it could be set to boot in legacy mode by default18:53
PeGaSuSdefault boot mode is UEFI iirc18:53
EriC^^PeGaSuS: aha, which OS do you want to be doing the booting/showing grub?18:54
PeGaSuSEriC^^: I believe it's the one on /dev/mmcblk1p518:55
PeGaSuSUbuntu 20.04. that's the one I want as main OS18:55
PeGaSuSI have installed Linux Mint in an external HDD, booted into my "main os", did "update-grub" and got stuck18:56
EriC^^what happens when you boot without the external hdd's?18:56
PeGaSuSI am booting w/o the HDD18:57
PeGaSuSwhen I got stuck18:57
EriC^^PeGaSuS: type 'sudo umount /mnt && sudo mount /dev/mmcblk1p5 /mnt'18:58
PeGaSuSdone18:59
EriC^^PeGaSuS: if it's showing grub> and not grub rescue> it means it was able to find the /boot dir on p5 to load the modules and other stuff, so that's good, but for some reason it's not displaying the menu18:59
EriC^^PeGaSuS: type "ls -l /mnt/boot/grub/grub.cfg"18:59
PeGaSuSEriC^^: -r--r--r-- 1 root root 8964 Mar  7 18:13 /mnt/boot/grub/grub.cfg19:00
EriC^^that looks right, type "for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done"19:00
PeGaSuSdone19:01
EriC^^PeGaSuS: sudo chroot /mnt19:01
PeGaSuSdone19:01
EriC^^PeGaSuS: mount -a19:02
PeGaSuSdone19:02
EriC^^PeGaSuS: type 'cat /boot/efi/efi/ubuntu/grub.cfg | nc termbin.com 9999'19:02
EriC^^that tells it where the modules are and to load the menu19:03
PeGaSuSEriC^^: https://termbin.com/j85919:03
EriC^^that looks odd since it's expecting hd0,msdos2 , you'd expect it to use hd0,gpt519:04
EriC^^PeGaSuS: what does 'blkid /dev/mmcblk1p5' give?19:04
EriC^^it's looking for ebbc5f48-b761-41bb-b229-025a81230c07 in the config as the root fs uuid19:05
PeGaSuS/dev/mmcblk1p5: UUID="5e8fa412-bd9b-415d-9556-4e0e98599388" TYPE="ext4" PARTUUID="d5966385-99b4-47b8-be19-c1426bc8c1b0"19:05
EriC^^aha, type 'grub-install'19:05
PeGaSuSdone, no errors19:06
EriC^^PeGaSuS: update-grub19:06
PeGaSuSEriC^^: done, with this output: https://termbin.com/0xjl119:07
EriC^^looks good, try 'cat /boot/efi/efi/ubuntu/grub.cfg | nc termbin.com 9999' again19:09
PeGaSuSEriC^^: https://termbin.com/n6ov19:09
EriC^^PeGaSuS: seems it changed the uuid, even though it's missing hd0,gpt5 i think it should suffice19:10
EriC^^PeGaSuS: type 'exit' then try rebooting and see how it goes19:11
PeGaSuSright away. I'll be right back to give feedback19:11
EriC^^alright19:11
PeGaSuSEriC^^: so far so good. I'm in my main OS.19:14
EriC^^PeGaSuS: great!19:15
PeGaSuSEriC^^: could you just give me a "cheat" list of the commands to fix this kinda of issue if it arises again?19:15
EriC^^PeGaSuS: basically everything from the mount /dev/.... til the end19:16
PeGaSuSright. I'll join them all and save them on a github gist19:17
EriC^^PeGaSuS: if you ever find the need, ive written a bunch of guides on booting issues here https://pchelp.youtubextras.com/topics/how-to-setup-a-chroot19:17
PeGaSuSI'll bookmark it. thanks again for all the help :D19:18
PeGaSuSyou guys are just awesome19:18
EriC^^PeGaSuS: no problem :D19:18
PeGaSuSbtw, this might seem odd, but any ideas why the WiFi might be so slow on my laptop? I mean, Netflix/YouTube on it sometimes lags19:20
EriC^^PeGaSuS: maybe there's a better driver for it, or some issue that might show up in 'dmesg'19:21
EriC^^you could try 'dmesg -w' in a terminal and see if anything shows up when it lags19:22
PeGaSuSthis is my actual dmesg output: https://termbin.com/h2kg19:24
EriC^^it's a usb wifi?19:24
Maxt3rHi, just installed Ubuntu 20.04 on my laptop, i missed the full disk encrypt. But do Ubuntu encrypt my home by default, cant find any info on this subject, really excited for this install though :D19:25
PeGaSuSEriC^^: no. its one of those silly notebooks(?), with 64Gb eMMC storage19:26
EriC^^PeGaSuS: til now it looks ok, no reconnects or anything, 'sudo ubuntu-drivers devices' might list any recommended drivers19:26
EriC^^aha19:26
PeGaSuSbasically a bity trashy but works so far for my needs, such as irc and text editing19:27
PeGaSuS'sudo ubuntu-drivers devices' gave blank output19:27
EriC^^Maxt3r: no, by default it doesn't encrypt your home dir19:28
EriC^^PeGaSuS: what does 'lshw -c network | nc termbin.com 9999' give?19:28
Maxt3rEriC^^: k :)19:28
EriC^^:)19:29
PeGaSuSEriC^^: https://termbin.com/6vaw19:29
PeGaSuSso, it seems a usb wifi hack lol19:30
=== j is now known as jess
EriC^^yeah :D19:31
jeremy31About the only alternative is https://github.com/lwfinger/rtl8723bu19:31
EriC^^maybe a newer kernel or something might have better support for it?19:31
EriC^^this seems interesting PeGaSuS https://askubuntu.com/questions/1117439/slow-wi-fi-connection19:31
jeremy31EriC^^: problem is that there is no antenna select parameter in rtl8xxxu19:33
PeGaSuSwell, RIP19:33
jeremy31PeGaSuS: The lwfinger module should be better than rtl8xxxu19:34
PeGaSuSfun fact is that when I use my android phone to do tethering, connection is waaay faster19:34
jeremy31PeGaSuS: see if this helps>  sudo iwconfig wlxd4d2d61d4352 power off19:35
jeremy31Power management might be causing some issues19:36
PeGaSuSError for wireless request "Set Power Management" (8B2C) : SET failed on device wlxd4d2d61d4352 ; Operation not supported.19:36
EriC^^PeGaSuS: see the thread for some options, it's worth a shot19:37
jeremy31PeGaSuS: See if power management is on in results>  iwconfig19:37
PeGaSuSjeremy31: power management is off19:37
jeremy31PeGaSuS: try the lwfinger driver on github, you will have to blacklist rtl8xxxu19:38
jeremy31The dmesg showed that Secure Boot is disabled19:38
PeGaSuSjeremy31: just follow the instructions, blacklist rtl8xxxu and reboot?19:40
jeremy31PeGaSuS: for testing, I would just clone, cd rtl8723bu, then try "make" and "sudo make install".  Then do a "make clean" blacklist rtl8xxxu and reboot19:42
jeremy31PeGaSuS: See the part about changing Makefile to get rid of concurrent mode19:42
PeGaSuSgotcha19:43
PeGaSuSjeremy31: I assume i still have to 'sudo modprobe -v 8723bu'?19:58
jeremy31PeGaSuS: I would just reboot if you have rtl8xxxu blacklisted19:58
PeGaSuSI get no wifi19:59
jeremy31check in terminal> lsmod | grep cfg19:59
PeGaSuSI had to enable rtl8xxxu so I could connect to wifi20:00
jeremy31PeGaSuS: try>  sudo depmod -a20:01
jeremy31Then it should work on reboot20:01
PeGaSuSnow I'm using rtl8xxxu. so, make, make install, sudo depmod -a, blacklist rtl8xxxu, rebbot?20:02
jeremy31PeGaSuS: just run the sudo depmod -a   then reboot20:02
PeGaSuSbut I need to blacklist rtl8xxxu again, right?20:02
jeremy31PeGaSuS: you shouldn't it you put the blacklist in /etc/modprobe.d/20:03
PeGaSuSI've done so. but i had to remove the file in order to reboot to have wifi again or i'd not be here20:03
PeGaSuSbrb20:04
jeremy31PeGaSuS: Redo the blacklist, then sudo depmod -a, reboot.  You could have just done sudo modprobe rtl8xxxu to load it even with the blacklist20:04
PeGaSuSjeremy31: with rtl8xxxu blacklisted I have no wifi connection whatsover20:09
PeGaSuSI'll take a look into the thread pointed by EriC^^20:10
cbreakI hope 21.04 will support Ryzen 5800X properly20:11
jeremy31PeGaSuS: did you check to see if 8723bu was loaded?20:12
cjokewhats the apt for uninstall just the package and not the dependencies?20:21
=== tnewman4 is now known as tnewman
PeGaSuSjeremy31: it was loaded and I even redone the steps 3 times more. it doesn't work for me. I have no wifi with 8723bu and 'modprobe rtl8xxxu' doesn't bring wifi on again20:25
Maikcjoke: what does google tell you?20:25
jeremy31PeGaSuS: should check>  dmesg | grep 872320:25
Maikcjoke: probably: sudo dpkg -r --force-depends <package_name>20:26
Maikhttps://techpiezo.com/linux/remove-a-package-without-removing-its-dependencies-in-ubuntu/20:26
cjokethanks20:26
Maikyw20:28
PeGaSuSjeremy31: this is all I could find after the reboot to enable rtl8xxxu:https://paste.ubuntu.com/p/Xbp6V9pk96/20:28
jeremy31PeGaSuS:  The 8723bu is loading but no reason why it isn't working20:32
PeGaSuSyeah, I know it's weird20:32
jeremy31PeGaSuS: can you reboot with rtl8xxxu blacklisted and do>  dmesg > dmesg.txt  Then get connected and paste the dmesg.txt file to paste.ubuntu.com20:33
PeGaSuSjeremy31: sure. brb20:35
PeGaSuSjeremy31: https://paste.ubuntu.com/p/vK3N3JGYt5/20:48
PeGaSuSsorry, I had to go afk for a bit20:48
PeGaSuSs/had/have/20:48
jeremy31I would cd rtl8723bu and sudo make uninstall  The dmesg isn't showing any errors20:52
jeremy31PeGaSuS: after that if you want to try one more thing, go into the Makefile, line 36 change CONFIG_POWER_SAVING = y to CONFIG_POWER_SAVING = n then try the make and sudo make install, blacklist rtl8xxxu and reboot20:54
jeremy31PeGaSuS: I did a fork or lwfingers driver 2 years ago and the only changes made were https://github.com/jeremyb31/rtl8723bu/commit/59f5eea1e925fb96b42bd208c5d002e3a513b941#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb5220:59
PeGaSuSjeremy31: I'm on my phone now. even with that change, I still have no WiFi21:02
jeremy31PeGaSuS: I am out of guesses, might have to stick with rtl8xxxu21:03
PeGaSuSthanks anyway21:05
tostedhow to automaticaly create a usb ubuntu disk from debian?21:30
tostednetinst in usb stick!21:31
isapgswellhow to control fans macbook air ubuntu 20.0422:19
isapgswell?22:19
m1-curious2isapgswell, you gotta undervolt your cpu. the only thing that ever worked for me22:30
m1-curious2isapgswell, https://wiki.archlinux.org/index.php/Undervolting_CPU22:31
sybaritenspeaking in very very broad recommendations, what are the things to remember when doing an upgrade of distributions?23:19
cbreakhave backups? :)23:19
sybaritenThis is on a remote VPS, and i won't need to do much myself to start/run the very upgrade, i believe, that's probabvly just a menu choice in the companys admin web console23:19
sybaritenyeah but is that the homedir only or anything else?23:20
Bashing-omsybariten: revert back to as close to default as possible.23:21
sybaritenBashing-om: hmmm.... what does that mean?23:21
tomreynsybariten: removing packages and package versions installed from 3rd party repositories and other 3rd party software.23:24
tomreynapt policy, ppa-purge and apt-forktracer can help there23:24
sybaritentomreyn: oh .... i know nothing about this. Hmm. What's the idea of removing them?23:26
tomreynhaving a supported system state before you start a release upgrade, so that the release upgrade own't run into an unresolvable dependencies situation23:27
sybaritenAha!23:32
sybaritenAnd you say there are tools that can help me deduce a bit, what comes from a third party, if it was ages since i installed stuff and have forgotten23:33
tomreynyes, this sums it up23:35
sybaritenOK... good, thanks people!23:39

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