[00:00] <davido_> Checking.
[00:04] <davido_> With a new user the experience is the same.
[00:04] <fuzzypixelz> tomreyn: what if I just want to remove a package that has no PPA file in sources.d
[00:05] <TJ-> davido_: so looks to be a system-wide default then
[00:06] <tomreyn> fuzzypixelz: you apt remove / purge  (or dpkg -r / -P) it
[00:16] <fuzzypixelz> tomreyn: since I deleted the .list file in sources.d apt doesn't recognize it
[00:16] <sarnold> dpkg --purge will
[00:18] <davido_> Found the explanation and answer I was looking for: http://ubuntuhandbook.org/index.php/2020/01/remove-top-bar-application-menu-ubuntu-19-10-18-04/
[00:18] <davido_> Option 2 works for 20.10, for example.
[00:20] <sarnold> davido_: aha, cool
[00:20] <sarnold> davido_: not all extensions work well together, if you find sudden stability changes, remember this moment :)
[00:21] <davido_> This brings Ubuntu in line with what it documented as being the way forward starting in 18.10+, and with what vanilla Gnome is doing.
[00:21] <davido_> sarnold: Yes, I usually have to kill off a few extensions whenever I upgrade to new Ubuntu releases the bundle newer versions of Gnome. I've gotten used to that.
[00:22] <sarnold> davido_: aha, cool
[00:22] <sarnold> well, it's not *cool*, but it's good to know how to cope
[00:23] <davido_> Right. The normal route is (1) Upgrade Ubuntu. (2) Things start working in strange ways.  (4) Things get better again.
[00:26] <davido_> exit
[00:26] <davido_> (sorry)
[02:02] <Elw3> say, why is the a file "core" in / ? I dont think i ever saw that there.
[02:02] <Elw3> *there
[02:05] <sarnold> Elw3: that might happen if for some reason apport isn't in your /proc/sys/kernel/core_pattern any more, and a process crashes while in /
[02:07] <Elw3> So it is a crash report?
[02:08] <sarnold> well, coredump; you can learn more about the process and format in the core(5) manpage
[02:08] <sarnold> you could feed it to gdb to learn more about it
[02:09] <sarnold> depending upon when it was written, you may have some notes about it in your dmesg, too; it's often something like this:
[02:09] <sarnold> [5534396.857506] tmux: server[79373]: segfault at<PHONE_NUMBER>90 ip<PHONE_NUMBER>633490 sp 00007fffffffdda0 error 15
[02:10] <Elw3> I guess ill just delete it then, too much to work on anyway. Thanks for the info anyway.
[02:11] <sarnold> heh, makes sense
[04:17] <devnull__> hi guys id like to auto run vpn-thats all setup"openvpn"-will uncommenting the "AUTOSTART="all"" cause any problems for me am runnig 20.04.01 5.4.0-52-generic
[04:17] <raul782> Hey folks when trying to enter my passphrase for the OpenGPG secret key, my prompt goes out of the cli screen, and when typing it always puts the cursor to the beginning. I'm using zsh any ideas why this might happen?
[04:18] <devnull__> in the /etc/default/openvpn file
[04:21] <devnull__> brb
[05:12] <devilnull> hi all i have lost some information i would from a previous login to this channel any way to view conversation that has long passed (same nick user logged in)
[05:13] <devilnull> also with system service names (making your own) whats the difference between .service and .service.wants
[05:13] <devilnull> or .target.wants
[05:18] <devilnull> if there are are no commands to view logged in conversation is a bouncer my only recourse (it will always be logged in and will show posts from both when logged in or not?
[05:35] <devilnull> hello anyone?
[06:41] <varaindemian> I configured the ethernet port to work with pppoe and now it does't work with the cable from the router
[06:41] <varaindemian> any idea how I can reset the settings?
[06:41] <varaindemian> I am on 20.04
[06:46] <varaindemian> I only see network and vpn proxy in sdettings
[06:47] <varaindemian> no wired connection
[07:12] <pi0> i have a firestick, and ubuntu box, i would like to stream to vlc player from my ubuntu box
[07:13] <pi0> any recs on the best option for this
[07:19] <soxfoxrox> I upgraded my server to 20.04 and now when I "curl https://information.dk" I get an error saying "error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type". Googling says the problem probably has to do with better SSL security and information.dk supporting outdated TLS versions, but I can't find out what to change on my system to make it work again. Help would be appreciated.
[07:37] <MWM> Ive got a network issue that led me to check into /sys and notice that some directories were missing.  TO avoid reinstall I want to try copying these files from a working install to a usb key and back into the borked install. /sys is resisting. Any ideas?
[07:40] <ducasse> MWM: /sys is a pseudo-filesystem, not real files you can copy
[07:41] <ducasse> MWM: see the output of 'mount'
[07:42] <MWM> Ive copied the files I need and verified them on usb.  The borked install is pitching fits about pushing them however.
[07:43] <MWM> permission issues it says
[07:43] <ducasse> it doesn't make sense to copy them, stuff in /sys is system-specific
[07:44] <ducasse> just try a reboot
[07:44] <MWM> I understand that. I took the files from a working install (dual boot) on the same hardware.  While I know I could just reinstall.. this is more of an educational endevour
[07:45] <MWM> I kept the old install for forensic purposes only.
[07:47] <ducasse> you don't seem to understand what i'm saying, they aren't real files, only elements of the running system represented as such
[07:47] <ducasse> you're trying to copy memory
[07:48] <ducasse> if you reboot you should get a fresh sys
[07:49] <ducasse> sorry, /sys
[07:50] <MWM> well thank you for your help anyway. I just wanted to pull zxome wizardry to reair this install. There isnt an issue with reinstallion if need be. I think a power failure during upgrade killed the network or something
[07:51] <ducasse> MWM: can't you just reboot?
[07:51] <MWM> Since there was a difference in the /sys between working and non working installs I thought that might correct the issue
[07:51] <MWM> reboot does not correct the issue
[07:52] <ducasse> what is missing?
[07:53] <MWM> there are several directories missing from /sys/bus/i2c/drivers amongst others
[07:53] <ducasse> are those modules loaded?
[07:54] <ducasse> if they aren't, those would be missing
[07:55] <MWM> That is good to know.  I had thought that it worked the other way around... directory exists so module gets loaded
[07:55] <ducasse> no, the drivers create those 'files' as interfaces to the running driver
[07:56] <ducasse> check your dmesg for problems
[07:56] <MWM> well then I see that I am going about this backwards for one thing. Thanks for all the fish :D
[07:56] <ducasse> you're welcome :)
[08:39] <lotuspsychje> soxfoxrox: try #ubuntu-server if you like where more server experts gather
[08:45] <Xorg> guys how come I get unknown filesystem type 'efivarfs'.
[08:45] <Xorg> what package should I install
[08:45] <Xorg> this is on  mount
[08:45] <b247_eu> Hi everyone, please help with a vpn conn issue using charon-nm - networkmanager-strongswan (same conn is working when using ipsec up myconn but not when using #nm gui); have logs available if one can help me; Thank You
[08:48] <EriC^> Xorg: where exactly do you get this message?
[08:48] <Xorg> on mount
[08:48] <Xorg> mount: /mnt: unknown filesystem type 'efivarfs'.
[08:51] <EriC^> Xorg: what do you mean? are you typing a command?
[08:51] <Xorg> mount -t efivarfs firmware.img /mnt/
[08:51] <Xorg> i'm tryna mount a firmware
[08:54] <EriC^> Xorg: what happens if you just do 'mount firmware.img /mnt' ?
[08:57] <EriC^> Xorg: try 'sudo modprobe efivarfs'
[08:58] <Xorg> tried no luck
[09:03] <EriC^^> Xorg: i got disconnected, did you try modprobe?
[09:04] <Xorg> yep same thing
[09:05] <EriC^^> where did you get the mount command from?
[09:05] <ducasse> Xorg: try 'file firmware.img'
[09:05] <Xorg> dsl device
[09:05] <Xorg> its a binary
[09:05] <EriC^^> Xorg: and does 'grep efivarfs /proc/filesystems' list efivarfs ?
[09:05] <Xorg> my mount works fine on arch with -t efivarfs
[09:05] <Xorg> but not on ubuntu for some reason
[09:05] <EriC^^> Xorg: maybe you have to boot the session in uefi mode to get efivarfs loaded
[09:06] <Xorg> hmm
[09:06] <Xorg> weird
[09:06] <EriC^^> usually that's the case
[09:06] <EriC^^> you could boot a live usb in uefi mode if your install is in legacy mode
[09:11] <zetheroo> I just accidentally deleted the boot and extended partition on my laptop SSD using the Disks utility, but I haven't rebooted so it's still running ...
[09:11] <zetheroo> How can I undo it?
[09:13] <ducasse> zetheroo: have you got a backup of the partition table?
[09:14] <zetheroo> In Disks I see 769MB of Free Space (should be boot partition), and then 499GB LUKS on top and 499GB LVM2 PV
[09:14] <zetheroo>  ducasse: no
[09:14] <zetheroo> :(
[09:14] <EriC^^> zetheroo: can you paste 'sudo parted -ls | nc termbin.com 9999'
[09:14] <EriC^^> zetheroo: easy fix
[09:15] <zetheroo> https://termbin.com/iahw
[09:15] <zetheroo>  ducasse: ^
[09:15] <EriC^^> zetheroo: you deleted the whole partitions, not just boot
[09:16] <EriC^^> ah you mentioned extended, thought you just said boot
[09:16] <zetheroo>  EriC^^: yeah
[09:16] <EriC^^> zetheroo: sudo apt-get install testdisk
[09:16] <EriC^^> try 'sudo testdisk'
[09:18] <zetheroo> ok, do I select the first one? https://pastebin.ubuntu.com/p/Zfv27t4V6V/
[09:18] <EriC^^> yeah
[09:19] <zetheroo> 'partition table type' ...
[09:19] <EriC^^> intel
[09:19] <zetheroo> ok
[09:20] <zetheroo> Analyse? or another option?
[09:20] <EriC^^> yes analyse
[09:20] <zetheroo> https://pastebin.ubuntu.com/p/hqQT9DxzX5/
[09:21] <EriC^^> quick search
[09:21] <EriC^^> (press enter)
[09:21] <zetheroo> ah ok
[09:21] <zetheroo> Analyse cylinder count is ticking ...
[09:22] <zetheroo> 03% .... could take a while
[09:22] <EriC^^> zetheroo: has it listed the luks and boot partitions yet?
[09:23] <zetheroo>  Linux                    0  32 33    93  80 51    1497088
[09:23] <zetheroo>   Linux                   93 113 21    93 178 21       4096
[09:23] <zetheroo> https://pastebin.ubuntu.com/p/7fpmmxgffM/
[09:23] <EriC^^> give it some time
[09:24] <EriC^^> zetheroo: you mentioned luks in the disks utity still showing, can anything be done from there? any relevant info perhaps?
[09:27] <zetheroo> I can't seem to make the first partition a boot partition again
[09:27] <zetheroo> and I cannot seem to recreate the extended partition layer either
[09:27] <zetheroo> https://ibb.co/18Pz8xz
[09:27] <zetheroo> https://ibb.co/9qgjmSH
[09:27] <zetheroo> https://ibb.co/z7zWgh6
[09:32] <zetheroo> 78% ..
[09:33] <mgedmin> zetheroo: https://unix.stackexchange.com/questions/335690/recovering-partitioning-information-from-block-devices
[09:34] <zetheroo> for the boot partition, can't I just do something like sudo grub-install /dev/sda  ?
[09:35] <zetheroo> EriC^^: scan finished  https://pastebin.ubuntu.com/p/9TbrbTCmK2/
[09:37] <zetheroo> EriC^^: is the first one the boot partition?
[09:37] <SupaYoshi> Hi i've got a qustion about redis and mysql working together, i am new the redis. just got some basic questions; aka,i installed redis on a container and i have a mariadb server running on a virual machine...
[09:38] <SupaYoshi> how do you get to connect the two together?
[09:38] <SupaYoshi> i can't really seem to find a tutorial / explanation on how thus would work, just that redis can cache stuff so it's faster. I get that ;) but how do I get redis to talk to the sql server?
[09:39] <b247_eu> Please help with strongswan.conf, mainly networkmanager-strongswan mschapv2 support
[09:40] <EriC^^> zetheroo: try pressing 'p' over the partition to list its files
[09:40] <mgedmin> zetheroo: seriously, take the current partition boundaries from files in /sys rather than letting testdisk guess them, if you haven't rebooted yet
[09:41] <zetheroo> EriC^^: https://pastebin.ubuntu.com/p/6F3V5C4hwY/
[09:41] <mgedmin> SupaYoshi: it's not magic, the application that uses the database has to do the caching manually
[09:41] <SupaYoshi> mgedmin: ah okay ;) so right, the application needs both redis server and mysql server details if it
[09:41] <zetheroo> EriC^^: second partition https://pastebin.ubuntu.com/p/72VhP3JmPZ/
[09:42] <SupaYoshi> is capable of using redis at all
[09:43] <SupaYoshi> mgedmin, redis and mariadb on the same virtual machine, vs redis on a lxc container in proxmox and mariadb on a virtual machine.
[09:43] <SupaYoshi> thoughts?
[09:43] <EriC^^> zetheroo: the first one looks like the boot partition, the 2nd though is too small to be the luks, i'd recommend trying the script in the link mgedmin provided
[09:44] <EriC^^> zetheroo: copy & paste the print_partitions there and add the command, it should look like this format https://termbin.com/53ul
[09:44] <EriC^^> then try to chmod +x script.sh and running ./script.sh
[09:45] <zetheroo> ok
[09:46] <zetheroo> EriC^^: https://pastebin.ubuntu.com/p/8gFWCfJgJQ/
[09:47] <zetheroo> mgedmin: ^
[09:47] <zetheroo> or should I just copy all my data off and reinstall .... :/
[09:48] <EriC^^> zetheroo: the sector size in bytes is<PHONE_NUMBER>08 so that matches the disks output
[09:48] <EriC^^> so i'd guess that's the luks partition
[09:48] <zetheroo> ok
[09:52] <zetheroo> what now?
[09:53] <cxl> Hi all, how do I add this ppa to my repo list: https://launchpad.net/ubuntu/+source/borgmatic? I've tried sudo add-apt-repository ppa:ubuntu/borgmatic
[09:53] <cxl> but that didn't work
[09:54] <EriC^^> zetheroo: ok type 'sudo fdisk /dev/sda'
[09:54] <zetheroo> yep
[09:55] <EriC^^> zetheroo: the thing is the boot partition doesnt end right before the luks one, so im thinking its cause the luks is an extended one, but hopefully if we recreate the boot one and the extended etc itll all match up
[09:55] <zetheroo> https://pastebin.ubuntu.com/p/yqqNsQCG5r/
[09:55] <EriC^^> zetheroo: the boot one starts at sector 3233
[09:56] <zetheroo> is that the boot? ^
[09:56] <EriC^^> zetheroo: it looks like it, typically it's at sector 2048, but it doesnt add up with the start of the luks one though
[09:57] <EriC^^> it ends at 1503231 and luks starts at 1501184
[09:58] <EriC^^> the size matches though, 733MiB is 768mb
[09:58] <EriC^^> *768.something
[09:59] <zetheroo> ok, well I am copying all my data to an external disk to be safe
[09:59] <EriC^^> yeah i was about to suggest
[09:59] <zetheroo> 5hrs to go :P
[10:00] <EriC^^> zetheroo: after it's done, you can try to recreate the extended partition + luks one, and see how that goes, if that doesnt work we can try using the testdisk 3233 sector start for boot and recreate from there
[10:00] <EriC^^> zetheroo: how did the 2048sector boot pop up in fdisk? did you add it somehow or it was just there?
[10:01] <zetheroo> I pressed 'p' and it was there
[10:04] <EriC^^> zetheroo: aha, if you type 'sudo mount -o offset=$((2048 * 512)) /dev/sda /cdrom'
[10:04] <EriC^^> does 'ls /cdrom' list the boot partition?
[10:15] <zetheroo> EriC^^:  https://pastebin.ubuntu.com/p/bdXB8YGxz3/
[10:15] <zetheroo> EriC^^:  I gotta go out for a bit ... but will be back in about an hour
[10:18] <EriC^^> zetheroo: alright
[10:19] <tomreyn> cxl: it's not a PPA
[10:22] <tomreyn> ppa archiove urls start with ppa.launchpad.net. the urls which point to the web pages describing those PPAs contain "/+archive/".
[11:08] <ash_1> hi! I have installed ubuntu 20.04 on my hp envy x360..ryzen 5 with touchscreen. The touch is erratic. Can anyone help?
[11:08] <ash_1> or is there any way to disable touch screen?
[11:10] <tomreyn> second hit on a web search for "ubuntu disable touchscreen" is https://askubuntu.com/questions/1038248/how-to-disable-touchscreen-permanently-on-ubuntu-18-04/1038259
[11:29] <zetheroo> EriC^^: ok I'm back for an hour and then I got to go out again ... anything new for me to do?
[11:46] <ash_1> hello! i have installed Ubuntu 20.04 LTS on my hp envy x360 laptop (ryzen 5). I am facing freeze issue with my laptop. After using for some time, the laptop just frooze. Mouse pointer could move but no response.
[11:48] <ash_1> Can anyone please help? I had used other linux distros like Linux mint, fedora, lubuntu but I was facing same issue so, i switched to Ubuntu but, problem still persists.
[11:50] <ThinkT510> ash_1: you could test out a mainline kernel which would have more up-to-date divers to see if it is a driver issue
[11:50] <ThinkT510> !mainline
[11:52] <lotuspsychje> yeah good idea for ryzen machines ThinkT510 ash_1 higher kernels
[11:55] <ash_1> I am not a linux expert, just a developer. Before doing anything with kernel, may I know how can I detect if freeze issue is related to divers?
[11:56] <alekksander> hello. is there a reason why my ssd shows creation timestamp for files, while external doesn't? is there a way to have creation timestamp on external? i tried adding „crtime” to fstab, but no luck. external is ntfs, internal ext4 – is that a reason?
[11:57] <ThinkT510> ash_1: don't worry, installing a mainline kernel won't alter your current kernel. you can still boot the older one. by trying a newer kernel that is how you are testing if it is a driver issue.
[12:06] <ash_1> ThinkT510 which kernel version should I try? My laptop currently has `5.4.0-52-generic`.
[12:07] <lotuspsychje> ash_1: i would at least got for 5.6 and higher as a test
[12:07] <lotuspsychje> *go
[12:08] <ThinkT510> ash_1: depends how methodical you want to be. if you try the latest you can know if it is still a current issue if you face the same problem. or you could work your way up to the latest to try to track down when it was fixed (if it has been fixed)
[12:16] <ash_1> I want to try: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.9/amd64/. So do i need to install all 4? linux-headers-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb, linux-headers-5.9.0-050900_5.9.0-050900.202010112230_all.deb, linux-image-unsigned-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb, linux-modules-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb
[12:17] <signofzeta> hello everyone. i'm having a weird issue with apt.  for some reason, libodbc1 is being held back on my system.  is there any way to tell why that is?
[12:19] <ThinkT510> ash_1: yes, all 4 of them
[12:20] <ash_1> thanks!
[12:20] <lotuspsychje> ash_1: dont forget to sudo update-grub after you installed them
[12:21] <ash_1> ok! Thanks lotuspsychje!
[12:21] <lotuspsychje> signofzeta: do you have external ppa's added to your system? could you pastebin the whole apt output of what you are doing please?
[12:21] <signofzeta> lotuspsychje: i certainly do.  hold on
[12:22] <signofzeta> also, i just tried apt --with-new-pkgs upgrade to no effect
[12:22] <signofzeta> apt upgrade: https://termbin.com/29d8v
[12:23] <signofzeta> i'm on 20.04.1, by the way.  i'm getting prompts to upgrade to 20.10 (which i kind of want to do for the 5.5 kernel) but it's failing due to this.
[12:24] <lotuspsychje> signofzeta: and no external ppa's?
[12:24] <signofzeta> lotuspsychje: i have a ton of external ppa's.
[12:24] <signofzeta> is there a way to see which package has marked libodbc1?
[12:26] <lotuspsychje> signofzeta: well we cant support the external ppa's other then say to revert your system to vanilla ubuntu sources again and; sudo apt update && sudo apt full-upgrade before you actually upgrade to your next release
[12:27] <signofzeta> ok, that's fine. a lot of developers say something along the lines of "our latest versions aren't in Ubuntu, so add our PPA instead" (weechat, tor, microsoft, I'm looking at you)
[12:28] <signofzeta> unrelated back-to-basics question:  is apt just an alias for apt-get?  they seem to function identically, the best i can tell.
[12:29] <jeremy31> signofzeta: apt is improved, has progress bar
[12:30] <signofzeta> thanks, jeremy31 :-)
[12:38] <signofzeta> lotuspsychje: yup, it was Microsoft's PPA holding things back with libodbc1:i386.  Upgrading with --only-upgrade somehow cleared it.  I don't really need Microsoft Edge.  I mainly use that as my "work" web browser.
[12:41] <signofzeta> 1,586 packages will be upgraded, and 4 will be removed.  that sounds like it's time to go make breakfast (east coast USA over here).
[12:42] <EriC^^> zetheroo: still there? let me know once the copying is done
[13:04] <guiverc> signofzeta, fyi;  there are still some apt-get functions (rarely used) that mean it can't be removed (yet; why it still exists)
[13:06] <signofzeta> thank you, guiverc. thumbs-up emoji.
[13:21] <BluesKaj> Hi folks
[13:35] <efwe> hullo. i updated to Groovy Gorilla and now the command 'gpg' does not ask for a password any more. bevore there was this shiny UI popup asking for a password. unfortunately i never investigated which process that really was. so i have two questions: 1) has anybody else encountered such a behaviour? 2) what is the name of that 'password input UI with the []add to passwordmanager checkbox'?
[13:37] <tomreyn> just running "gpg" should never ask for a password
[13:38] <efwe> but gpg -d file should, right?
[13:38] <tomreyn> are you maybe mixing gpg up with something else?
[13:38] <mgedmin> efwe: did you check the 'save password in keyring' once?
[13:39] <efwe> tomreyn: no, i'm pretty sure i want to decrypt an encrypted file.
[13:39] <efwe> mgedmin: never.
[13:39] <mgedmin> efwe: the dialog is shown by gnome-shell, by request from gnome-keyring, which acts as the gpg agent
[13:39] <tomreyn> -d would ask for a password if the file was encrypted with --symmetric
[13:40] <mgedmin> efwe: do you have 'use-agent' in your ~/.gnupg/gpg.conf?
[13:40] <efwe> tomreyn: https://pastebin.com/TYFQ9CHP - this worked for the last couple of years.
[13:40] <efwe> mgedmin: i'll check.
[13:41] <mgedmin> for the record, when I sign git commits or debian packages in groovy, I get the gnome-shell passphrase dialog
[13:41] <efwe> mgedmin: gnome-shell passphrase dialog - that is missing right now.
[13:41] <efwe> mgedmin: thanks. that was the answer to question 2 i guess..
[13:42] <efwe> mgedmin: i do not have 'use-agent' in my gpg.conf.
[13:42] <mgedmin> what does gpg do?  fail?  ask in an ncurses window?  something else?
[13:43] <efwe> mgedmin: nothing. just blocks. 'strace' shows tha it is 'read'-ing.. but not at the console i invoke it.
[13:44] <tomreyn> gpg-agent has a --log-file option, can run in foreground with --no-detach, other pinentry programs can be specified with --pinentry-program
[13:46] <tomreyn> and there's --verbose to gpg
[13:48] <mgedmin> efwe: do you have /usr/bin/gnome-keyring-daemon running?
[13:52] <efwe> uh, uh even two... so thanks a lot for all the hints and pointers. i will have to investigate on my own and then i will tell you what i did wrong.
[13:53] <efwe> tomreyn: and i also have a gpg-agent already running. so i really have to dig a little bit deeper to see what i did wrong.
[13:53] <efwe> now i have to run for the daughter.. so really thanks a lot and see you later. :-)
[14:10] <spottyted> hi, i'm trying to install ubuntu on an old laptop. burnt 20.04 to dvd, booted from dvd and now no menus have come up, just a purple screen with a little keyboard type icon at the bottom with a white man in a little circle. it's been stuck on that for abotu 25 mins. the dvd spins around occasionally
[14:10] <spottyted> no response from keyboard or mouse, any ideas?
[14:12] <lotuspsychje> spottyted: did you skip the integrity test?
[14:14] <lotuspsychje> spottyted: by default it scans your install medium
[14:14] <tomreyn> also: how much ram? integrated graphics?
[14:16] <spottyted> 1gb ram, about 6 years old, integrated graphics. nothing special. it came with vista, had a dodgy copy of 7 on it, it's not powerful enough to run 10 (i upgraded but it was just too slow)
[14:16] <spottyted> the dvd doesn't spin around constantly as if it's scanning it, it idles most of the time
[14:17] <spottyted> when booting, i get asked "select cd boot type" which i assume 1 seems to boot, and then i get a black screen "isolinux 6.04 2019...." for about 1 min then the purple screen
[14:18] <lotuspsychje> spottyted: 1GB ram will be very narrow for ubuntu desktop with gnome, we wouldnt reccomend it try lubuntu/xubuntu or another lighter !flavours
[14:21] <spottyted> ah good suggestion, thanks
[14:22] <spottyted> i miss gnome 2 :)
[14:22] <lotuspsychje> spottyted: that can still be installed, its still a thing
[14:22] <spottyted> is there much of a difference between the two other than the window manager?
[14:23] <spottyted> yeah i know about mate and if i could get away with using linux daily, i'd probably rock mate!
[14:23] <tomreyn> minimum recommendation for ubuntu is 4 gb ram btw.
[14:24] <spottyted> well xubuntu is 2gb
[14:24] <spottyted> https://docs.lubuntu.net/ gives an interesting error
[14:24] <tomreyn> the official website is lubuntu.me
[14:24] <lotuspsychje> spottyted: no i meant gnome flashback can still be installed via the repos
[14:25] <spottyted> ah nice
[14:25] <mgedmin> efwe: I may have misled you by saying gnome-keyring-daemon acts as the GPG agent; that was true in the past but I'm not sure it still is
[14:26] <lotuspsychje> spottyted: but also not reccomended to use ubuntu-desktop as base for you, try it ontop a lubuntu or xubuntu or whatever you choice will be
[14:27] <mgedmin> I see I have gpg-agent running here, started by a systemd user unit
[14:28] <mgedmin> and it uses pinentry-gnome3 to ask for passphrases
[14:29] <mgedmin> ... maybe?
[14:29] <mgedmin> lol I don't remember how the dialog looks
[14:30] <efwe> mgedmin: thanks for the update. recently it was black and modal and not so big :-)
[14:30] <efwe> mgedmin: it had a password-input-field and that checkbox as far as i can remember.
[14:30] <mgedmin> efwe: do you have pinentry-gnome3 installed?
[14:31] <efwe> mgedmin: yep. 1.1.0
[14:31] <spottyted> what's the difference between desktop and alternate?
[14:32] <efwe> mgedmin: so the gpg-agent started by systemd should bring this up. i'll reboot and double check how this gpg-agent is running/configured.
[14:35] <efwe> mgedmin: is your gpg-agent started with '--supervised'? i guess so as it states it is meant for systemd usage.
[14:36] <mgedmin> ps $(pgrep gpg-agent) says yes
[14:37] <efwe> mgedmin: ok. after reboot it works again. pfff... sorry for bothering you all. 'hello IT, have you tried...' haha
[14:37] <mgedmin> yep, its pinentry showing the gui thing here
[14:37] <mgedmin> eh, rebooting erases all evidence of the cri^H^H^H bug
[14:38] <mgedmin> sometimes it pays to figure out why things broke
[14:38] <efwe> mgedmin: moment. but i did one change. now i really have the 'use-agent' config in the gpg.conf. hmm hmm.. yeah. i will invest a few minutes to really understand what happened.
[14:39] <mgedmin> if you understand how gpg works, I think you'll be the first person in the world to do so
[14:39] <mgedmin> maybe the second
[14:41] <efwe> mgedmin: hehe. to be honest i always treated the actual program as a black-box. always even when i used mutt 100 years ago and so on.
[14:41]  * mgedmin still uses mutt today, having tried and failed to find a better mail client
[14:42] <efwe> mgedmin: aaaand for this user-case which i would call 'my personal poor master-password programm' i really do not need the public-key infrastructure.
[14:42] <efwe> mgedmin: i learned about https://github.com/FiloSottile/age only a few days ago. this would be totally enough for my usecase i guess.
[15:17] <cybrNaut> Ubuntu/gnome requires *3* clicks to shutdown from the GUI.  That's a bit excessive, no?  CLI isn't much better since it needs a sudo & p/w.
[15:21] <lotuspsychje> cybrNaut: its fixed in 20.10
[15:22] <lotuspsychje> cybrNaut: bug #1900339
[15:25] <mgedmin> 'reboot' in CLI doesn't require sudo if you're the only logged in user
[15:29] <cybrNaut> lotuspsychje: cool.. glad to hear it
[15:30] <cybrNaut> mgedmin: thanks for the tip!
[15:30] <lotuspsychje> cybrNaut: thank you for your notice though
[17:24] <isapgswell> how optimize ubuntu without input lag?
[18:00] <bol> Hi
[18:01] <luna_> hi
[18:01] <bol> I have this issue with a USB mouse is removed and added again by UDEV and/or GDM.
[18:01] <bol> https://askubuntu.com/questions/1286301/ubuntu-20-04-1-lts-mouse-removed-and-added-intermittently
[18:02] <bol> I haven't got any traction on the site, so I thought asking here might prove more futile.
[18:03] <bol> I haven't found a way to resolve this issue, so this is the last resort before giving in and trying with a reinstall.
[18:22] <summonner> bol, sounds like an autosuspend on USB devices?
[18:43] <zetheroo> hey EriC^^ I am back ... copy of data is done
[18:51] <EriC^^> zetheroo: wb
[18:51] <EriC^^> zetheroo: type 'sudo cfdisk /dev/sda'
[18:51] <EriC^^> zetheroo: actualy run 'sudo fdisk /dev/sda'
[18:52] <zetheroo> ok
[18:52] <zetheroo> cfdisk looked pretty cool ;)
[18:52] <zetheroo> never heard of it before
[18:52] <zetheroo> I'm in fdisk now
[18:52] <EriC^^> yup its pretty neat
[18:53] <EriC^^> zetheroo: ok, press 'p' does it list the boot partition starting at 2048 sector
[18:53] <zetheroo> /dev/sda1        2048 1503231 1501184  733M 83 Linux
[18:53] <EriC^^> ok looks good, press 'n'
[18:53] <EriC^^> when it asks for type press 'e' for extended
[18:54] <EriC^^> then use default starting sector (keep it blank and press enter) and same for ending sector
[18:54] <zetheroo> k
[18:54] <zetheroo> Partition number (2-4, default 2):
[18:54] <EriC^^> press enter for default
[18:54] <zetheroo> First sector (1503232-976773167, default 1503232):
[18:55] <EriC^^> also default
[18:55] <zetheroo> k
[18:55] <zetheroo> Last sector, +/-sectors or +/-size{K,M,G,T,P} (1503232-976773167, default 976773167):
[18:56] <EriC^^> same, keep the default one
[18:56] <EriC^^> that should create an extended partition encompassing the whole remaining disk, hopefully it's right where the actual luks one is
[18:56] <zetheroo> Created a new partition 2 of type 'Extended' and of size 465 GiB.
[18:58] <EriC^^> ok, press 'n' again to create another partition, this time it should offer to make a logical one
[18:58] <zetheroo> https://pastebin.ubuntu.com/p/hH4QjBt67H/
[18:58] <EriC^^> looks good
[18:58] <zetheroo> https://pastebin.ubuntu.com/p/dXPGQRCjV5/
[18:59] <EriC^^> zetheroo: use the default one again
[19:00] <zetheroo> Last sector, +/-sectors or +/-size{K,M,G,T,P} (1505280-976773167, default 976773167):
[19:00] <EriC^^> also default, that way it uses the whole space
[19:00] <zetheroo> Created a new partition 5 of type 'Linux' and of size 465 GiB.
[19:01] <EriC^^> zetheroo: great, press 'w' to write the new partition table
[19:02] <zetheroo> https://pastebin.ubuntu.com/p/4kDzktmF9p/
[19:04] <EriC^^> zetheroo: ok, i guess we have to see what happens on the reboot, if incase it didnt add the logical partition and stuff do you have a live usb you could boot just to add them and see if it works after that?
[19:04] <zetheroo> I'll make one
[19:05] <EriC^^> zetheroo: alright, im curious what does 'sudo partprobe && sudo parted /dev/sda print' give?
[19:06] <zetheroo> Error: Partition(s) 1, 2, 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
[19:06] <EriC^^> alright, it sounds better i guess
[19:06] <EriC^^> zetheroo: anyways, give it a reboot, see what happens
[19:06] <bol> summonner: ok, not familiar with that. But it happens while the device is active, like when I'm playing a game.
[19:07] <zetheroo> ok thanks ;)
[19:07] <zetheroo> so grub doesn't need to be installed to the boot partition?
[19:08] <EriC^^> zetheroo: nope it should already be there
[19:08] <zetheroo> ok
[19:08] <EriC^^> zetheroo: no problem
[19:20] <mustmodify> can I combine something like `du -h` with `find . -name saw_*_dump*.sql.bz2` ?
[19:21] <mustmodify> to get a total size for all those files?
[19:22] <mgedmin> find -name 'saw_*_dump*.sql.bz2' -exec du -ch {} +
[19:28] <mustmodify> mgedmin: why are people switching away from | xargs to -exec? I see that frequently and it seems like it requires all those components to implement an API that was more elegantly handled the other way...
[19:28] <ash_1> Hi all! How may I know why my system frooze after a hard reboot?
[19:29] <mgedmin> mustmodify: -exec ... {} + is shorter to type and handles all filenames correctly without using -print0 | xargs -0
[19:31] <ash_1> I am facing frequent system freeze issue on my laptop (hp envy x360, ryzen 5). As suggested earlier, I changed my kernel version 5.9.6 and my system did not have issue for long time but, it has hanged once.
[19:42] <mustmodify> mgedmin: thanks, that helped me get through this process much more quickly.
[19:42] <mustmodify> I appreciate your help.
[20:00] <ash_1> anyone knows what does this mean and can it be cause of freezing the system? pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
[20:01] <bol> Reinstalled ubuntu and the issue with the mouse still persists :(((
[20:05] <zetheroo> EriC^^ : well that didn't work .. I am in a Live session but don't know what to do
[20:07] <mgedmin> zetheroo: can you mount the partitions and see files in them?
[20:08] <mgedmin> (just to be sure there's no problem _there_)
[20:08] <gordonjcp> bol: have you tried a different mouse?
[20:08] <mgedmin> zetheroo: also, how exactly did "didn't work" look like?
[20:08] <mgedmin> did you get the grub menu?  BIOS/UEFI error?  something else?
[20:11] <zetheroo> mgedmin: the ubuntu logo showed up with text saying something about trying to find crypt source and then it went to initramfs
[20:12] <zetheroo> and no, nothing is mounting
[20:14] <zetheroo> /dev/sda5 is 'unknown' .. it was LUKS
[20:15] <EriC^^> zetheroo: what's the output of 'sudo parted /dev/sda unit s print' ?
[20:15] <mgedmin> zetheroo: so grub is fine, but possibly the partition type of the LUKS partition is wrong
[20:16] <mgedmin> should be easy to fix!
[20:16] <skyliner_369> for some reason the software center isn't showing anything when browsing
[20:16] <skyliner_369> wait it's back
[20:17] <skyliner_369> nevermind it's not. single square with 3 dots in the middle
[20:17] <skyliner_369> nevermind it's just slow
[20:17] <zetheroo> EriC^^: https://pastebin.ubuntu.com/p/SV7pNDn7WW/
[20:18] <EriC^^> zetheroo: try sudo cryptsetup luksOpen /dev/sda5 sda5_crypt
[20:20] <zetheroo> Device /dev/sda5 is not a valid LUKS device.
[20:20] <bol> gordonjcp: yes. I've tried a cordless m705 which doesn't show the behaviour that my G400 is showing, but I don't want to use that mouse because it has worse DPI and response time.
[20:20] <EriC^^> maybe we're supposed to set the partition type to luks zetheroo ?
[20:21] <zetheroo> EriC^^: isn't it supposed to be LVM?
[20:22] <EriC^^> no i think its supposed to be luks
[20:22] <EriC^^> not sure really
[20:22] <zetheroo> comparing it to my other laptop which also has a LUKS partition there is an LVM2 PV
[20:23] <zetheroo> and then there is LUKS in that
[20:23] <zetheroo> Device: /dev/mapper/sda5_crypt
[20:24] <zetheroo> Contents: LVM2 Physical Volume (LVM2 001)
[20:24] <EriC^^> zetheroo: what does 'sudo fdisk -l' show for the code of the partition of sda5
[20:24] <EriC^^> sudo fdisk -l /dev/sda
[20:24] <zetheroo> /dev/sda5       1505280 976773167 975267888  465G 83 Linux
[20:25] <EriC^^> i mean on the other laptop that has the working luks
[20:25] <zetheroo> oh sorry
[20:25] <mgedmin> hmmm it's 83 on my laptop with luks
[20:26] <zetheroo> it's 83 as well
[20:26] <mgedmin> the lvm is inside the dm-crypt
[20:27] <zetheroo> it's 1. extended partition 2. LUKS 3. LVM PV
[20:28] <EriC^^> the lvm stuff isnt showing right now, right?
[20:29] <zetheroo> right
[20:29] <mgedmin> zetheroo: hey remember your pastebin from the other day?  https://pastebin.ubuntu.com/p/8gFWCfJgJQ/
[20:29] <mgedmin> before you rebooted, you recovered the partition location and size from /sys/block/* using that stackoverflow script
[20:29] <mgedmin> it says /dev/sda5 starts on sector 1501184
[20:29] <mgedmin> now you say you created a new /dev/sda5 that starts on sector 1505280?
[20:30] <mgedmin> this is why cryptsetup fails
[20:30] <mgedmin> delete the partition and create it again, in the right location
[20:30] <zetheroo> you referring to this? /dev/sda5       1505280 976773167 975267888  465G 83 Linux
[20:31] <EriC^^> there was a boot partition already in the table at 2048sector
[20:31] <mgedmin> I think so?
[20:31] <EriC^^> but it overlaps the starting sector of 1501184
[20:31] <mgedmin> then it's too big
[20:31] <mgedmin> figure out the filesystem size
[20:31] <EriC^^> let's try to shorten it and recreate the extended/logical so it matches the stuff from the script
[20:32] <mgedmin> shrink the boot partition to match the filesystem size
[20:32] <zetheroo> https://pastebin.ubuntu.com/p/GXMPQx82VK/
[20:32] <mgedmin> you didn't recover the boot partition extents before rebooting?
[20:32] <zetheroo> :
[20:33] <mgedmin> now, how does one figure out the size of a filesystem?  dumpe2fs?
[20:34] <zetheroo> do you use gparted to resize the partition?
[20:34] <EriC^^> no
[20:34] <mgedmin> https://askubuntu.com/questions/622489/how-to-find-the-size-of-a-filesystem
[20:34] <zetheroo> ok :/
[20:34] <EriC^^> zetheroo: this is where we need /boot to end 1497088sectors
[20:35] <EriC^^> if it ends there, the logical one of luks will be at 1501184, since it seems to take 4096sectors to make the whole extended one
[20:35] <EriC^^> that gives /boot around 765mb
[20:36] <zetheroo> ok, I don't know how to do that and I don't have any of the commands you sent me before
[20:36] <EriC^^> ok get the size of /boot just to make sure it fits
[20:37] <zetheroo> /dev/sda1  *       2048   1503231   1501184  733M 83 Linux
[20:37] <zetheroo> that?
[20:38] <EriC^^> no that's the partition, you want the fs
[20:38] <EriC^^> zetheroo: try sudo dumpe2fs -h /dev/sda1| grep '^Block'
[20:39] <zetheroo> https://pastebin.ubuntu.com/p/dFXK5m7yCf/
[20:42] <EriC^^> odd, that's 766.5mb
[20:43] <mgedmin> that's 748544 sectors
[20:44] <zetheroo> on my other laptop the boot partition (Ext2) is 511MB
[20:44] <EriC^^> i think something else is up, if you take the size from the screenshot of luks
[20:44] <mgedmin> no, sorry, 1K blocks
[20:44] <mgedmin> 1497088 sectors
[20:44] <EriC^^> here https://ibb.co/z7zWgh6
[20:45] <mgedmin> parted shows the partition size to be 1503231 sectors, which is larger than the filesystem inside it
[20:45] <zetheroo> I noticed as well that /dev/sda1 is Ext4 now instead of Ext2 like it was before
[20:45] <EriC^^> and divide by 512bytes to get the sectors, then you get the size of luks in sectors, if you take the parted sectors of the whole disk and subtract luks from it you get 1505280
[20:46] <EriC^^> which coincides with where it is right now
[20:46] <EriC^^> (<PHONE_NUMBER>56÷512 = 975267888, and 976773168−975267888 = 1505280 )
[20:47] <skyliner_369> okay installed apps in software center is blank for like 20 min
[20:48] <EriC^^> i mean, in the end it's just partitioning and stuff, we can save the current partition table, and then just remove /boot's partition and create luks at where the script said and see if you can do the cryptsetup command on it, zetheroo
[20:48] <EriC^^> if that doesn't seem to work then you still have the current partition table saved, in the end we're not touching any filesystems just the table
[20:49] <zetheroo>  EriC^^: I'm sorry I am not of much help .. it's a bit over my head :P
[20:49] <EriC^^> but i think 1505280 seems right, cause it matches with disk's output and since /boot was already there
[20:49] <EriC^^> but it's worth a try i guess
[20:50] <EriC^^> zetheroo: type 'sudo fdisk /dev/sda'
[20:50] <EriC^^> zetheroo: actually first,
[20:50] <EriC^^> type 'sudo dd if=/dev/sda of=/mymbr bs=512 count=1'
[20:51] <zetheroo> https://pastebin.ubuntu.com/p/HC8J3R4qp2/
[20:53] <EriC^^> zetheroo: ok, type 'sudo fdisk /dev/sda'
[20:53] <zetheroo> k
[20:53] <EriC^^> press 'd' to delete the partitions
[20:54] <EriC^^> remove them all one after another including the primary /boot one
[20:54] <zetheroo> Partition number (1,2,5, default 5):
[20:54] <zetheroo> ok
[20:54] <zetheroo> so delete 1, 2 and 5?
[20:54] <EriC^^> yup
[20:55] <zetheroo> https://pastebin.ubuntu.com/p/d2Kd65JWj5/
[20:56] <EriC^^> zetheroo: great, ok, type 'n'
[20:56] <zetheroo> k
[20:56] <EriC^^> starting sector 2048?
[20:56] <zetheroo> p or e?
[20:56] <EriC^^> p
[20:57] <zetheroo> Partition number (1-4, default 1):
[20:57] <EriC^^> default
[20:57] <zetheroo> First sector (2048-976773167, default 2048):
[20:57] <EriC^^> actually, let's just slap that sucker right in, shall we?
[20:58] <EriC^^> why do the boot, we just want to do a quick test anyways
[20:58] <EriC^^> zetheroo: use "1501184" as the starting sector
[20:58] <mgedmin> "1505280 seems right" but it doesn't, if /dev/sdb5 is to start at 1501184!
[20:58] <EriC^^> mgedmin: yeah but what if the script isnt right
[20:58] <zetheroo> so 1501184 ?
[20:59] <mgedmin> the script just echoe's numbers directly from the kernel, how can it be wrong?  but yeah, great idea to verify first
[20:59] <mgedmin> luks doesn't need to be in a logical partition, a primary will do
[20:59] <EriC^^> 1) /boot was already there, if we create after it the extended/logical naturally it hits 1505280, plus from the size from his screenshot if we subtract from the end of the disk it ends up starting at 1505280
[20:59] <EriC^^> zetheroo: yes
[20:59] <mgedmin> (didn't zetheroo re-create /boot with testdisk?)
[20:59] <EriC^^> no, he only looked at the files using 'p'
[21:00] <EriC^^> and it thought it started at sector 3233 too
[21:00] <EriC^^> /boot was already there
[21:00] <EriC^^> also if we use this 1501184, /boot is too small for its actual fs
[21:00] <zetheroo> Last sector, +/-sectors or +/-size{K,M,G,T,P} (1501184-976773167, default 976773167):
[21:00] <EriC^^> my money's on 1505280 + something else is amiss
[21:00] <EriC^^> zetheroo: hit enter for default
[21:01] <EriC^^> anyways i might be wrong, and it's worth a shot, so let's hope for the best
[21:01] <zetheroo> Created a new partition 1 of type 'Linux' and of size 465 GiB.
[21:01] <zetheroo> Partition #1 contains a crypto_LUKS signature.
[21:01] <zetheroo> Do you want to remove the signature? [Y]es/[N]o:
[21:01] <EriC^^> seems it *is* there :D
[21:02] <EriC^^> zetheroo: press "N" to leave the signature
[21:02] <EriC^^> we definitely want it there i'd guess :D
[21:02] <mgedmin> does anyone remember if luks puts the signature at the start or at the end?
[21:02] <zetheroo> ok https://pastebin.ubuntu.com/p/qdpMDS5pFH/
[21:03] <EriC^^> zetheroo: press 'w' to write it
[21:03] <EriC^^> mgedmin: i think at the start cause earlier zetheroo didn't mention that message and we also used the whole disk for it
[21:04] <mgedmin> at the start, woohoo, you found it!
[21:04] <mgedmin> also my faith in stackoverflow is shaken
[21:04] <EriC^^> how come?
[21:04] <mgedmin> 1501184 != 1505280
[21:05] <mgedmin> https://pastebin.ubuntu.com/p/8gFWCfJgJQ/ was wrong
[21:05] <EriC^^> yeah it doesnt make sense given the other stuff, but happy ending all good
[21:05] <zetheroo>  EriC^^:  ok done
[21:05] <EriC^^> mgedmin: no we actually used 1501184 this time
[21:05] <mgedmin> ah!
[21:05] <EriC^^> zetheroo: ok, did it quit fdisk?
[21:05] <zetheroo> yes
[21:05] <EriC^^> zetheroo: type 'sudo partprobe /dev/sda'
[21:05] <mgedmin> so how big did you make /dev/sda1?
[21:06] <mgedmin> so it's not overlapping
[21:06] <EriC^^> we didnt
[21:06] <zetheroo> done
[21:06] <zetheroo> no output
[21:06] <EriC^^> zetheroo: try sudo cryptsetup luksOpen /dev/sda1 sda5_crypt
[21:07] <zetheroo> Enter passphrase for /dev/sda1:
[21:07] <EriC^^> awesome
[21:07] <zetheroo> I guess that's my cue
[21:07] <zetheroo> should I enter my passphrase?
[21:07] <EriC^^> sure if you want, no harm
[21:08] <zetheroo> done
[21:08] <zetheroo> no output
[21:08] <EriC^^> hmm, it just occured to me, if we create boot a primary and leave the luks a primary it just might not overlap according to its fs size from that dump command
[21:08] <EriC^^> zetheroo: ok
[21:09] <EriC^^> /boot was 766509056bytes according to the dump command
[21:09] <EriC^^> which is 1497088sectors
[21:10] <EriC^^> if we dont use the extended stuff the boot partition would have 1499136sectors, so all good
[21:10] <mgedmin> so it ends at 1499136 which is before 1501184
[21:11] <mgedmin> there's a gap of 2048
[21:11] <EriC^^> yeah
[21:11] <mgedmin> enough space for the extended partition if you still want one
[21:11] <EriC^^> if it starts at 2048 it'll have 1499136 to enjoy
[21:11] <EriC^^> nah
[21:12] <EriC^^> 2048+1499136+4096 (for the extended) it'll end at 1505280 again
[21:13] <EriC^^> let's just leave both as primary since everything is happy that way
[21:13] <EriC^^> sorry 1 sec
[21:14] <mgedmin> extended should't neet 4096 bytes?  let me check...
[21:14] <EriC^^> sorry its 2048 + 1497088 + 4096 = 1503232
[21:14] <EriC^^> alright
[21:14] <EriC^^> i used this to get the 4096 https://pastebin.ubuntu.com/p/SV7pNDn7WW/
[21:15] <EriC^^> 1505280−1501184 = 4096
[21:15] <mgedmin> an extended partition needs 2 sectors?
[21:16] <mgedmin> https://termbin.com/nvzd
[21:16] <EriC^^> dunno the /boot ended at 1505280 and the logical started at 1501184, we used the default values when creating them
[21:16] <mgedmin> (that was my sfdisk -l /dev/sda)
[21:17] <EriC^^> i think i screwed the calc using size instead of end
[21:17] <mgedmin> well fdisk/parted is supposed to align partition starts to larger units (like 1 MB) so they will align with SSD erase block sizes etc
[21:17] <EriC^^> yeah i did, seems it only needed 2048
[21:18] <mgedmin> 2048 is a thousand times too many :)
[21:18] <mgedmin> maybe /boot was a little bigger than we computed?
[21:19] <mgedmin> or maybe I'm getting lost between the units
[21:19] <mgedmin> 2 sectors is the _size_ of the extended partition, but there's a 2047 sector gap between the end of my /dev/sda1 and the start of /dev/sda2
[21:20] <mgedmin> so about the same
[21:20] <mgedmin> also my /boot is tiny
[21:21] <EriC^^> our luks sector was 1501184 i think we end make /boot end at 1501184 - 2049 = 1499135 we should be good
[21:21] <EriC^^> *i think if we make /boot end at...
[21:22] <EriC^^> seems to all add up, must have been that way out of the box i guess
[21:23] <EriC^^> zetheroo: mgedmin shall we make boot 2048 -> 1499135 ?
[21:23] <zetheroo> I'll go with whatever you both advise :)
[21:24] <EriC^^> it seems that if boot is 1499135 it'll add 2049 and the logical partition will be at 1501184 where we want it *shrug*
[21:26] <EriC^^> zetheroo: alright type 'sudo fdisk /dev/sda'
[21:26] <zetheroo> k
[21:26] <EriC^^> zetheroo: press 'd' again to delete the primary luks partition we made earlier
[21:26] <zetheroo> Partition 1 has been deleted.
[21:27] <EriC^^> zetheroo: ok, press 'n' to create a new one
[21:27] <EriC^^> choose 'p' for primary, starting sector 2048 default
[21:27] <zetheroo> partition number 1?
[21:27] <EriC^^> yup
[21:28] <zetheroo> First sector (2048-976773167, default 2048):
[21:28] <zetheroo> going with default?
[21:28] <EriC^^> yeah
[21:28] <zetheroo> Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-976773167, default 976773167):
[21:29] <EriC^^> zetheroo: type in 1499135
[21:29] <zetheroo> Created a new partition 1 of type 'Linux' and of size 731 MiB.
[21:29] <zetheroo> Partition #1 contains a ext4 signature.
[21:29] <zetheroo> Do you want to remove the signature? [Y]es/[N]o:
[21:29] <EriC^^> zetheroo: choose no
[21:29] <zetheroo> ok
[21:30] <zetheroo> back to fdisk prompt
[21:30] <EriC^^> zetheroo: ok, press 'n' again, this time choose extended
[21:30] <zetheroo> ok
[21:30] <zetheroo> partition number 2?
[21:30] <EriC^^> yes
[21:30] <zetheroo> First sector (1499136-976773167, default 1499136):
[21:31] <EriC^^> keep default
[21:31] <zetheroo> k
[21:31] <zetheroo> Last sector, +/-sectors or +/-size{K,M,G,T,P} (1499136-976773167, default 976773167):
[21:31] <EriC^^> also default
[21:31] <zetheroo> Created a new partition 2 of type 'Extended' and of size 465 GiB.
[21:32] <zetheroo> back to fdisk prompt
[21:32] <EriC^^> alright, press 'n' again
[21:32] <zetheroo> All space for primary partitions is in use.
[21:32] <zetheroo> Adding logical partition 5
[21:32] <zetheroo> First sector (1501184-976773167, default 1501184):
[21:32] <EriC^^> keep default
[21:32] <zetheroo> Last sector, +/-sectors or +/-size{K,M,G,T,P} (1501184-976773167, default 976773167):
[21:32] <EriC^^> also default
[21:33] <zetheroo> Created a new partition 5 of type 'Linux' and of size 465 GiB.
[21:33] <zetheroo> Partition #5 contains a crypto_LUKS signature.
[21:33] <zetheroo> Do you want to remove the signature? [Y]es/[N]o:
[21:33] <EriC^^> no
[21:33] <zetheroo> ok, back to fdisk prompt
[21:33] <EriC^^> ok press 'w' to write it
[21:34] <EriC^^> then type 'sudo partprobe /dev/sda' at the command prompt
[21:34] <zetheroo> https://pastebin.ubuntu.com/p/KhbhWZ9npW/
[21:34] <zetheroo> is this because I entered the LUKS passphrase before?
[21:35] <EriC^^> yeah i think so
[21:35] <EriC^^> how did the sudo partprobe /dev/sda  command go?
[21:35] <zetheroo> I didn't do it yet
[21:35] <EriC^^> i think we're good though, as it said this before but it still wrote everything
[21:35] <zetheroo> ubuntu@ubuntu:~$ sudo partprobe /dev/sda
[21:35] <zetheroo> Error: Partition(s) 1, 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
[21:36] <EriC^^> zetheroo: ok, try just 'sudo parted /dev/sda print' does it have /boot, extended, logical?
[21:37] <zetheroo> https://pastebin.ubuntu.com/p/qZ2bfzyFHy/
[21:37] <zetheroo> why no boot flags?
[21:38] <EriC^^> yeah we should add that in case the bios wants it
[21:38] <EriC^^> linux really doesnt need it but some bios could be picky
[21:38] <zetheroo> hmm ok
[21:38] <EriC^^> zetheroo: first though, try sudo mount /dev/sda1 /mnt && ls /mnt
[21:38] <EriC^^> does it list the contents of the /boot partition?
[21:38] <zetheroo> mount: /mnt: unknown filesystem type 'crypto_LUKS'.
[21:39] <zetheroo> can I undo the passphrase action from before?
[21:39] <EriC^^> ah i think it still has the old partition table then
[21:39] <EriC^^> ok
[21:39] <EriC^^> zetheroo: try to reboot, see how it goes
[21:39] <zetheroo> hehe ... gulp ... ok
[21:39] <EriC^^> zetheroo: or 1 sec lets add the boot flat first?
[21:39] <zetheroo> be back soon ... hopefully from the booted systems ;)
[21:39] <EriC^^> *flag
[21:39] <zetheroo> ah ok
[21:40] <EriC^^> type 'sudo cfdisk /dev/sda'
[21:40] <zetheroo> k
[21:41] <EriC^^> zetheroo: highlight the boot partition, and at the bottom go to 'bootable' and press on it
[21:41] <zetheroo> and sda1 is the boot partition, right?
[21:41] <EriC^^> yeah
[21:41] <zetheroo> ok done
[21:41] <EriC^^> go to "write"
[21:42] <zetheroo>                        The partition table has been altered.
[21:42] <zetheroo> Quit?
[21:42] <EriC^^> awesome, quit cfdisk then try to reboot
[21:42] <zetheroo> ok
[21:42] <zetheroo> be back soon ....
[21:45] <zetheroo> EriC^^: That worked!! :D
[21:46] <EriC^^> zetheroo: any luck?
[21:47] <zetheroo> EriC^^: yes, all good!! Can't believe it! :D
[21:47] <EriC^^> zetheroo: awesome!
[21:47] <EriC^^> :D
[21:47] <zetheroo> I thought for sure I was going to have to install from scratch OMG
[21:47] <zetheroo> Thank you sooo much!!
[21:48] <zetheroo> Can I send you some Bier money? :P
[21:48] <EriC^^> no problem
[21:49] <EriC^^> no need enjoy buddy
[21:49] <zetheroo> amazing the stuff you guys know and how you can figure this stuff out
[21:50] <zetheroo> I always thought that once a partition is deleted that that meant good bye data
[21:50] <EriC^^> yup same here
[21:51] <EriC^^> it's pretty awesome that it's not like that
[21:51] <zetheroo> I'll say
[21:51] <mgedmin> well it's been educational!
[21:51] <zetheroo>  mgedmin: hey, thanks a ton for your help too!
[21:52] <mgedmin> here's an old historical story that was an inspiration to me: https://www.ee.ryerson.ca/~elf/hack/recovery.html
[21:52] <zetheroo> I was expecting you guys to give up at any moment and just tell me it was hopeless
[21:52]  * mgedmin once did a dd if=/dev/zero of=/dev/sda1 intending to wipe a USB disk, but wiped his /root
[21:52]  * mgedmin managed to recover
[21:53] <mgedmin> uh /, not /root
[21:53]  * mgedmin had a second machine with the same ubuntu version and same partition scheme, so he could copy the contents of / using tar over ssh
[21:53] <EriC^^> yikes
[21:54] <mgedmin> luckily /usr, /var, /home, /tmp were on separate partitions
[21:54] <zetheroo> sheesh
[21:54] <mgedmin> this was around the time linux drivers were updated so IDE hard disks switched from /dev/hda to /dev/sda naming
[21:54] <mgedmin> which is why I made the mistake
[21:56] <mgedmin> anyway one day you'll be the one helping other people recover!
[21:58] <gordonjcp> mgedmin: I have done dd if=/dev/hda | ssh <host> dd of=/dev/hda
[21:58] <gordonjcp> mgedmin: this is as hairy and terrifying as it looks at first glance, yes
[22:00] <gordonjcp> note to the channel - never ever do that, unless you're at a stage where stupid and dangerous things are the only recourse left to you
[22:01] <mgedmin> I'm too impatient to wait while dd copies all the unused blocks, so I usually use tar -c /foo -xdev -cf - | ssh tar -C /foo -xf -
[22:01] <mgedmin> but I wonder if that would work today with all the extended attributes and stuff
[22:01] <mgedmin> (also -xdev is not a tar option, I forgot the tar option)
[22:02] <mgedmin> https://xkcd.com/1168/
[22:59] <onio> Hi I am trying to create a symlink for my logitech c920 webcam using udev rule. When camera is plug in it shows up as /dev/video2 and /dev/vide3
[23:01] <onio> issuing sudo udevadm info /dev/videox shows that they are identical with the exception of the index and one entry showing as "E: ID_V4L_CAPABILITIES=:capture:" while the
[23:01] <onio> other one shows E: ID_V4L_CAPABILITIES=:
[23:02] <onio> what command can I put in the udev rule to help create a symlink?
[23:03] <onio> I tried ATTRS{ID_V4L_CAPABILITIES}==":capture:" and it does not work
[23:04] <onio> I have also tried ENV{ID_V4L_CAPABILITIES}==":capture:"
[23:07] <wolfzrat> hello is there a chat channel for ubuntu?
[23:11] <onio> wolfzrat, this is the chat channel for ubuntu
[23:11] <Guest3901> there's also #ubuntu-discuss and #ubuntu-offtopic - maybe that's what you're looking for
[23:11] <wolfzrat> ok great thank you for confirming that, I just realized i was not in ubunt-help lol
[23:14] <wolfzrat> You know that was what  was looking for (Ubuntu-offtopic) lol
[23:18] <Emrys> so i was watching YouTube and the sound was crackling and then full system crash, any ideas why> firefox and discord were the only apps running. (16gbs RAM)
[23:22] <wolfzrat> did you try to see if it happened again
[23:22] <Emrys> i just rebooted and everything is fine now, after 10hr up time it did that
[23:23] <wolfzrat> is it a desktop of laptop
[23:23] <Emrys> PC
[23:25] <wolfzrat> hmm keep an eye on and make sure that the pc is not congested wit h dust, that can cause the machine to do things like that, amoung other things
[23:25] <Emrys> ill get the air duster out i suppose
[23:27] <wolfzrat> OK, you can always come back and we can see what else we can do to assist you and troubleshoot the problem :)
[23:37] <onio> can anyone here help with udev rules?
[23:38] <onio> looking for how to filter for ID_V4L_CAPABILITIES


[16:19] <SwitchDK> la
[16:25] <SwitchDK> terrible sorry, i was in the wrong chat window :(
[16:25] <SwitchDK> terribly* even (what a day)


[03:46] <ianorlin> hey MrBIOS
[03:46] <MrBIOS> o/
[03:46] <ianorlin> where are you know
[03:46] <ianorlin> I am at upscale
[03:51] <ianorlin> I am not quite sure who you are not at irc
[03:52] <ianorlin> mrbios who are you ?
[03:53] <MrBIOS> ianorlin: I’m not on site at the conference center anymore, and am just an interested community member
[03:53] <ianorlin> ah I know I don't like how that happens
[03:53] <ianorlin> coming tommrowo?
[03:54] <MrBIOS> I’m staying at a dump a few miles from the conference center because I screwed up ;)
[03:54] <MrBIOS> yeah I’ll be there tomorrow morning
[03:54] <ianorlin> only a few miles
[03:54] <ianorlin> lucky I have to go home all the way to torrance
[03:54] <MrBIOS> at least it’s cheap…not that I’m paying
[03:55] <MrBIOS> I flew down from San Jose
[03:55] <MrBIOS> how is upscale?
[03:55] <ianorlin> good
[03:55] <ianorlin> what session did you go to at ubucon any otf the unconfernce
[04:11] <MrBIOS> ianorlin: I wasn’t at any of the unconferences, sadly.
[04:11] <MrBIOS> I was there this morning for the first part of the plenary
[04:17] <ianorlin> ah ok you weren't in mine about how it seems lots of wiki stuff is frgamented
[04:18] <ianorlin> also this might be better in ubuntu-us-ca if you are part of that team
[04:18] <ianorlin> would really like more lubuntu people in there
[05:16] <MrBIOS> ianorlin:  I have the same complaint
[05:16] <MrBIOS> it’s a problem in a lot of internal corporate wikis too
[05:16] <MrBIOS> same problem where I work
[05:17] <MrBIOS> ianorlin: I am not, but I can always join
[16:09] <phillw> Hi, anyone else running xenial with the 4.4 kernel?
[16:26] <wxl> i'd appreciate it if someone could chekc bug 1537334 in non-xenial versions and other flavors
[19:24] <MrBIOS> re


[07:33] <jk^> hi all
[07:33] <jk^> http://ftp.uni-kl.de/pub/linux/ubuntu-dvd/xubuntu/releases/16.04/release/
[07:55] <jk^> have i to download from link 32 bit upward or downward?
[07:55] <jk^> in the page?
[07:56] <jk^> why are they two link for each system?
[08:00] <krytarik> jk^: Point releases - just pick the latest one.
[08:02] <djcomputerguy> Hello, i have recently installed xubuntu on a machine of mine, connected up the rest of my monitors, but could not set the main display to the one i wanted. I installed some updates to the OS and rebooted and now USB is completely out, my mouse and keyboard are no longer detected.
[08:02] <djcomputerguy> I am running version 16.04 64 bit
[08:02] <jk^> 32-bit PC (i386) desktop image
[08:02] <jk^>     For almost all PCs. This includes most machines with Intel/AMD/etc type processors and almost all computers that run Microsoft Windows, as well as newer Apple Macintosh systems based on Intel processors.
[08:02] <jk^> 32-bit PC (i386) desktop image
[08:02] <jk^>     For almost all PCs. This includes most machines with Intel/AMD/etc type processors and almost all computers that run Microsoft Windows, as well as newer Apple Macintosh systems based on Intel processors.
[08:02] <jk^> the same
[08:03] <jk^> how to choose?
[08:03] <jk^> krytarik, the release is 16.04.3
[08:03] <krytarik> The links are different tho.
[08:05] <jk^> which are the differences?
[08:06] <krytarik> 16.04 is the initial release, 16.04.3 is the latest point release.
[08:06] <jk^> http://ftp.uni-kl.de/pub/linux/ubuntu-dvd/xubuntu/releases/16.04/release/xubuntu-16.04.3-desktop-i386.iso
[08:06] <jk^> http://ftp.uni-kl.de/pub/linux/ubuntu-dvd/xubuntu/releases/16.04/release/xubuntu-16.04-desktop-i386.iso
[08:06] <jk^> i don't understand why in the same page there two sections with more than one link
[08:06] <jk^> it seems they are diffrent choices
[08:06] <krytarik> For the same reason.
[08:07] <jk^> which reason?
[08:44] <fiet> I have an issue with acpi powerdown and reboot on xubuntu 16.04 with a Dell Inspiron. Other distro on the same machine does not give any problems. Already tried acpi=force and so on in GRUB. Any suggestions?
[08:45] <fiet> Funny thing: I have another Dell Inspiron, same type, but with sempron cpu instead of Athlon X2, and that one is rebooting and shutting down fine. So that might be a pointer...


 Sup
[07:10] <lordievader> Good morning
[07:40] <nano> If I already have an EFI installation that created Windows when installing, should I do another different EFI installation to install Kubuntu?
[07:52] <nano> The EFI partition that created Windows 10 has 260 Mb and I think it is 100% occupied
[07:53] <nano> Si ya tengo una instalación EFI que creó Windows durante la instalación, ¿debería hacer otra instalación EFI diferente para instalar Kubuntu?
[08:11] <nano> If I already have an EFI installation that created Windows when installing, should I do another different EFI installation to install Kubuntu?
[08:31] <lordievader> My /boot (efi partition) was also created by windows (IIRC), its 256M, which is more than enough for me. Still has 166M free.
[08:31] <lordievader> The laptop runs Gentoo and Windows 10.
[10:30] <nano> Hi
[10:30] <nano> Hi
[10:30] <nano> If I already have an EFI installation that created Windows when installing, should I do another different EFI installation to install Kubuntu?
[10:42] <lordievader> nano: My /boot (efi partition) was also created by windows (IIRC), its 256M, which is more than enough for me. Still has 166M free.
[10:42] <lordievader> The laptop runs Gentoo and Windows 10.
[10:45] <nano> Thank you lordievader for your response, if I install the Grub on the EFI created by Windows, won't it damage that EFI? ...
[10:47] <lordievader> It shouldn't . Grub, unlike the Windows bootloaded, acknowledges other operating systems.
[10:54] <nano> 329/5000
[10:54] <nano> My EFI partition made by the installation of Windows is 260 Mb, the Windows disk manager tells me that I have 100% available, it is something I do not understand if there is the EFI information.
[10:54] <nano> I have read somethMy EFI partition made by the installation of Windows is 260 Mb, the WiMy EFI partition made by the installation of Windows is 260 Mb
[10:55] <nano> the Windows disk manager tells me that I have 100% available, it is something I do not understand if there is the EFI information.
[10:56] <nano> I have read something considerable about this on the web but I don't have a clear answer. I just don't want to ruin the Windows installation
[10:58] <lordievader> Have you made a backup?
[10:58] <nano> Nop
[10:59] <nano> I already had Kubuntu installed on the same machine, but I didn't have Windows installed, install windows and all this came
[10:59] <nano> I had no problem with EFI before installing windows
[11:01] <nano> And my only doubt is where I install Grub, I think it must be in the EFI partition that I create Windows but I'm not quite sure
[11:01] <lordievader> "All this came" what are you referring to?
[11:02] <lordievader> In any case make a backup before messing with these kind of things.
[11:03] <lordievader> After that I'd boot up a live cd/usb and reinstall grub from there.
[11:03] <nano> What I was doing was installing the GRUB where the Kubuntu installer indicated it to me, in nvme0n1, when Windows was installed I did the same, but GRUB did not appear, I entered Windows directly
[11:04] <nano> The EFI partition is in nvme0np1
[11:05] <nano> The first partition
[11:06] <lordievader> Windows installs its own bootloader, which doesn't show other OSes.
[11:06] <lordievader> Which is why you typically want to install Windows first, Linux (etc) second.
[11:07] <nano> And the Kubuntu manual installer applies the default GRUB installation in nvme0n1
[11:09] <nano> Sorry to repeat the question again. Should I install GRUB on the EFU partition made by Wundows ?. If I do not ruin the Windows startup ?
[11:10] <nano> I have seen turorials where they create an EFI partition for Linux but I have read that there should only be a single EFI partition on the system and not two
[11:11] <lordievader> Yes. There should be only one EFI partition, it is shared among OS-es. If 260M is not enough for you (highly doubt it) you could resize it.
[11:17] <nano> The truth is I have no idea how much is enough for EFI, I have seen that some of them restart from 200 Mb to 1 Gb. I do not know what size the information stored in Windows EFI is
[11:17] <nano> I am afraid that when installing there the grub overwrites data and I wrecked the Windows EFI boot, what I'm tired of starting from scratch to operating systems is a lot of work
[11:18] <lordievader> How much are you using now?
[11:22] <nano> The EFI partition is 260 GB and tells me that it has 100% available space, and I don't understand that
[11:22] <nano> if there is 100% available space, where is the EFI information? If there is EFI information there I should indicate 90%. 80%, 60% of available space but not 100% of available space
[11:23] <lordievader> 260 GB? GB?
[11:23] <nano> Sorry 260 Mb
[11:23] <lordievader> Are you in a linux environment right now? Could you pastebin the output of `df -h`?
[11:23] <BluesKaj> Hi all
[11:23] <nano> Nop Im on windows
[11:23] <lordievader> Afternoon BluesKaj
[11:24] <BluesKaj> hi lordievader
[11:24] <lordievader> nano: In that case a screenshot of the disk usage (under, what is it, right click -> properties)
[11:27] <nano> The EFI partition in Windows Disk management does not allow me to execute any option with right click
[11:27] <nano> not even properties
[11:30] <lordievader> Do you have an option of booting a live-usb?
[11:31] <nano> Yep
[11:31] <lordievader> (Stupid Windows, esp is fat32 anyways)
[17:06] <paul2495> hi guys new to kubuntu obviously i need a little help i have downloaded the following from oracle website tar:/home/paul/Downloads/jdk-7u79-linux-i586.tar.gz how ever i am not sure how to install it i have extracted it to a folder on my desktop called JDK. i have had a look on google but i am still none the wiser any one give me a hand please
[17:09] <OerHeks> openjdk/oracle jdk version 7 is dead, only 8 and 11 are current supported ( openjdk)
[17:09] <OerHeks> https://packages.ubuntu.com/search?keywords=openjdk
[17:11] <paul2495> oerheks i start uni and the software they are using they have said to download the version i have put up thats the only reason i am asking for help
[19:01] <jpjacobs> Hi! I've got a funny problem: after upgrading from 18.10 to 19.04, the KDE login screen freezes, unless, just after grub, I press F12, to show the text logs scrolling by, after which a normal login works
[19:02] <jpjacobs> Anybody an idea how to resolve this? (I've got a intel/nvidia hybrid gpu, previously set up with bumblebee etc)
[20:27] <jubo2> A fresh Kubuntu started asking for a password for kdewallet, without me ever setting it or doing anything (afaik) to alter the system so that it would ask for a password
[21:18] <keithzg> Huh, didn't actually notice until now that 19.04 doesn't actually detect any audio device here for my computer at work. That's . . . unfortunate.


[02:45] <Omnifrog> call me a conspiracy theorist but this whole Boston thing looks fabricated
[02:56] <Juzzy> nah
[03:00] <Omnifrog> case in point http://myepb.net/?inc=1
[03:01] <Omnifrog> how is that picture even possible ?
[03:02] <wrst> Omnifrog: that pic looks a little strange the light doesn't seem to match up from the background to the cops
[03:02] <Omnifrog> I know!
[03:03] <wrst> but that doesn't necessarily mean its a govt conspiracy :)
[03:03] <Omnifrog> I see this over and over
[03:03] <Omnifrog> I'm not saying it is a government conspiracy
[03:04] <Omnifrog> but it looks very well produced in a very short amount of time
[03:04] <wrst> won't argue with that or that everything has a political motive behind it
[03:06] <Omnifrog> here is another http://www.slate.com/articles/news_and_politics/photography/2013/04/boston_marathon_boming_standoff_photos_of_dzhokhar_tsarnaev_from_watertown.html
[03:20] <Omnifrog> when is the last time they told an entire local region to stay in their homes and for business' to stay closed so they could catch one guy?
[03:20] <Omnifrog> and then they catch him
[03:21] <Omnifrog> I dont remember that ever happening
[03:22] <wrst> me either
[03:22] <wrst> I really get that they wanted to catch him
[03:22] <wrst> but seems extreme
[03:23] <Omnifrog> the pictures coming out of this event have an unusually high production value
[03:23] <Omnifrog> I dunno
[03:25] <Omnifrog> something bother me about this
[03:25] <Omnifrog> bothers
[03:26] <Omnifrog> I've doubted event like this before
[03:29] <wrst> a lot more tools to do that than say in 2001 also
[04:06] <Omnifrog> teacher leave them kids alone


[16:47] <drab> hi, maybe this is a better channel than -devel for this question, lemme try
[16:47] <drab> I'm trying to preseed all my installations and would love to be able to have a preseed common file imported by others. I'm pulling my main preseed file via url over http. There is a preseed/include string but that doesn't seem to be able to fetch from http, or I'm doing it wrong