/srv/irclogs.ubuntu.com/2020/11/07/#ubuntu.txt

davido_Checking.00:00
davido_With a new user the experience is the same.00:04
fuzzypixelztomreyn: what if I just want to remove a package that has no PPA file in sources.d00:04
TJ-davido_: so looks to be a system-wide default then00:05
tomreynfuzzypixelz: you apt remove / purge  (or dpkg -r / -P) it00:06
=== Euph0ria is now known as FelixUnger
fuzzypixelztomreyn: since I deleted the .list file in sources.d apt doesn't recognize it00:16
sarnolddpkg --purge will00:16
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:18
=== FelixUnger is now known as Quincy
sarnolddavido_: aha, cool00:20
sarnolddavido_: not all extensions work well together, if you find sudden stability changes, remember this moment :)00:20
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:21
sarnolddavido_: aha, cool00:22
sarnoldwell, it's not *cool*, but it's good to know how to cope00:22
davido_Right. The normal route is (1) Upgrade Ubuntu. (2) Things start working in strange ways. (3) Kill off a few extensions. (4) Things get better again.00:23
davido_exit00:26
davido_(sorry)00:26
=== VileGent is now known as kk4ewt
=== johuck8 is now known as johuck
=== beaver is now known as naive`user
Elw3say, why is the a file "core" in / ? I dont think i ever saw that there.02:02
Elw3*there02:02
sarnoldElw3: 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:05
Elw3So it is a crash report?02:07
sarnoldwell, coredump; you can learn more about the process and format in the core(5) manpage02:08
sarnoldyou could feed it to gdb to learn more about it02:08
sarnolddepending 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 555555633490 ip 0000555555633490 sp 00007fffffffdda0 error 1502:09
=== johuck0 is now known as johuck
Elw3I guess ill just delete it then, too much to work on anyway. Thanks for the info anyway.02:10
sarnoldheh, makes sense02:11
=== ElectronFrost_ is now known as ElectronFrost
=== PowerTower_121 is now known as PowerTower_120
=== zbenjamin is now known as Guest50187
=== zbenjamin_ is now known as zbenjamin
=== Mrokii_ is now known as Mrokii
=== devnull_ is now known as Guest48141
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-generic04:17
raul782Hey 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:17
devnull__in the /etc/default/openvpn file04:18
devnull__brb04:21
devilnullhi 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:12
devilnullalso with system service names (making your own) whats the difference between .service and .service.wants05:13
devilnullor .target.wants05:13
devilnullif 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:18
devilnullhello anyone?05:35
=== devilnull is now known as pizza
=== pizza is now known as lapag
varaindemianI configured the ethernet port to work with pppoe and now it does't work with the cable from the router06:41
varaindemianany idea how I can reset the settings?06:41
varaindemianI am on 20.0406:41
varaindemianI only see network and vpn proxy in sdettings06:46
varaindemianno wired connection06:47
pi0i have a firestick, and ubuntu box, i would like to stream to vlc player from my ubuntu box07:12
pi0any recs on the best option for this07:13
soxfoxroxI 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:19
MWMIve 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:37
ducasseMWM: /sys is a pseudo-filesystem, not real files you can copy07:40
ducasseMWM: see the output of 'mount'07:41
MWMIve copied the files I need and verified them on usb.  The borked install is pitching fits about pushing them however.07:42
MWMpermission issues it says07:43
ducasseit doesn't make sense to copy them, stuff in /sys is system-specific07:43
ducassejust try a reboot07:44
MWMI 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 endevour07:44
MWMI kept the old install for forensic purposes only.07:45
ducasseyou don't seem to understand what i'm saying, they aren't real files, only elements of the running system represented as such07:47
ducasseyou're trying to copy memory07:47
ducasseif you reboot you should get a fresh sys07:48
ducassesorry, /sys07:49
MWMwell 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 something07:50
ducasseMWM: can't you just reboot?07:51
MWMSince there was a difference in the /sys between working and non working installs I thought that might correct the issue07:51
MWMreboot does not correct the issue07:51
ducassewhat is missing?07:52
MWMthere are several directories missing from /sys/bus/i2c/drivers amongst others07:53
ducasseare those modules loaded?07:53
ducasseif they aren't, those would be missing07:54
MWMThat is good to know.  I had thought that it worked the other way around... directory exists so module gets loaded07:55
ducasseno, the drivers create those 'files' as interfaces to the running driver07:55
ducassecheck your dmesg for problems07:56
MWMwell then I see that I am going about this backwards for one thing. Thanks for all the fish :D07:56
ducasseyou're welcome :)07:56
=== guiverc2 is now known as guiverc
lotuspsychjesoxfoxrox: try #ubuntu-server if you like where more server experts gather08:39
Xorgguys how come I get unknown filesystem type 'efivarfs'.08:45
Xorgwhat package should I install08:45
Xorgthis is on  mount08:45
b247_euHi 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 You08:45
EriC^Xorg: where exactly do you get this message?08:48
Xorgon mount08:48
Xorgmount: /mnt: unknown filesystem type 'efivarfs'.08:48
EriC^Xorg: what do you mean? are you typing a command?08:51
Xorgmount -t efivarfs firmware.img /mnt/08:51
Xorgi'm tryna mount a firmware08:51
EriC^Xorg: what happens if you just do 'mount firmware.img /mnt' ?08:54
EriC^Xorg: try 'sudo modprobe efivarfs'08:57
Xorgtried no luck08:58
EriC^^Xorg: i got disconnected, did you try modprobe?09:03
Xorgyep same thing09:04
EriC^^where did you get the mount command from?09:05
ducasseXorg: try 'file firmware.img'09:05
Xorgdsl device09:05
Xorgits a binary09:05
EriC^^Xorg: and does 'grep efivarfs /proc/filesystems' list efivarfs ?09:05
Xorgmy mount works fine on arch with -t efivarfs09:05
Xorgbut not on ubuntu for some reason09:05
EriC^^Xorg: maybe you have to boot the session in uefi mode to get efivarfs loaded09:05
Xorghmm09:06
Xorgweird09:06
EriC^^usually that's the case09:06
EriC^^you could boot a live usb in uefi mode if your install is in legacy mode09:06
zetherooI 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
zetherooHow can I undo it?09:11
ducassezetheroo: have you got a backup of the partition table?09:13
zetherooIn Disks I see 769MB of Free Space (should be boot partition), and then 499GB LUKS on top and 499GB LVM2 PV09:14
zetheroo ducasse: no09:14
zetheroo:(09:14
EriC^^zetheroo: can you paste 'sudo parted -ls | nc termbin.com 9999'09:14
EriC^^zetheroo: easy fix09:14
zetheroohttps://termbin.com/iahw09:15
zetheroo ducasse: ^09:15
EriC^^zetheroo: you deleted the whole partitions, not just boot09:15
EriC^^ah you mentioned extended, thought you just said boot09:16
zetheroo EriC^^: yeah09:16
EriC^^zetheroo: sudo apt-get install testdisk09:16
EriC^^try 'sudo testdisk'09:16
zetheroook, do I select the first one? https://pastebin.ubuntu.com/p/Zfv27t4V6V/09:18
EriC^^yeah09:18
zetheroo'partition table type' ...09:19
EriC^^intel09:19
zetheroook09:19
zetherooAnalyse? or another option?09:20
EriC^^yes analyse09:20
zetheroohttps://pastebin.ubuntu.com/p/hqQT9DxzX5/09:20
EriC^^quick search09:21
EriC^^(press enter)09:21
zetherooah ok09:21
zetherooAnalyse cylinder count is ticking ...09:21
zetheroo03% .... could take a while09:22
EriC^^zetheroo: has it listed the luks and boot partitions yet?09:22
zetheroo Linux                    0  32 33    93  80 51    149708809:23
zetheroo  Linux                   93 113 21    93 178 21       409609:23
zetheroohttps://pastebin.ubuntu.com/p/7fpmmxgffM/09:23
EriC^^give it some time09:23
EriC^^zetheroo: you mentioned luks in the disks utity still showing, can anything be done from there? any relevant info perhaps?09:24
zetherooI can't seem to make the first partition a boot partition again09:27
zetherooand I cannot seem to recreate the extended partition layer either09:27
zetheroohttps://ibb.co/18Pz8xz09:27
zetheroohttps://ibb.co/9qgjmSH09:27
zetheroohttps://ibb.co/z7zWgh609:27
zetheroo78% ..09:32
mgedminzetheroo: https://unix.stackexchange.com/questions/335690/recovering-partitioning-information-from-block-devices09:33
zetheroofor the boot partition, can't I just do something like sudo grub-install /dev/sda  ?09:34
zetherooEriC^^: scan finished  https://pastebin.ubuntu.com/p/9TbrbTCmK2/09:35
zetherooEriC^^: is the first one the boot partition?09:37
SupaYoshiHi 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:37
SupaYoshihow do you get to connect the two together?09:38
SupaYoshii 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:38
b247_euPlease help with strongswan.conf, mainly networkmanager-strongswan mschapv2 support09:39
EriC^^zetheroo: try pressing 'p' over the partition to list its files09:40
mgedminzetheroo: seriously, take the current partition boundaries from files in /sys rather than letting testdisk guess them, if you haven't rebooted yet09:40
zetherooEriC^^: https://pastebin.ubuntu.com/p/6F3V5C4hwY/09:41
mgedminSupaYoshi: it's not magic, the application that uses the database has to do the caching manually09:41
SupaYoshimgedmin: ah okay ;) so right, the application needs both redis server and mysql server details if it09:41
zetherooEriC^^: second partition https://pastebin.ubuntu.com/p/72VhP3JmPZ/09:41
SupaYoshiis capable of using redis at all09:42
SupaYoshimgedmin, redis and mariadb on the same virtual machine, vs redis on a lxc container in proxmox and mariadb on a virtual machine.09:43
SupaYoshithoughts?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 provided09:43
EriC^^zetheroo: copy & paste the print_partitions there and add the command, it should look like this format https://termbin.com/53ul09:44
EriC^^then try to chmod +x script.sh and running ./script.sh09:44
zetheroook09:45
zetherooEriC^^: https://pastebin.ubuntu.com/p/8gFWCfJgJQ/09:46
zetheroomgedmin: ^09:47
zetherooor should I just copy all my data off and reinstall .... :/09:47
EriC^^zetheroo: the sector size in bytes is 499339255808 so that matches the disks output09:48
EriC^^so i'd guess that's the luks partition09:48
zetheroook09:48
zetheroowhat now?09:52
cxlHi 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/borgmatic09:53
cxlbut that didn't work09:53
EriC^^zetheroo: ok type 'sudo fdisk /dev/sda'09:54
zetherooyep09:54
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 up09:55
zetheroohttps://pastebin.ubuntu.com/p/yqqNsQCG5r/09:55
EriC^^zetheroo: the boot one starts at sector 323309:55
zetheroois 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 though09:56
EriC^^it ends at 1503231 and luks starts at 150118409:57
EriC^^the size matches though, 733MiB is 768mb09:58
EriC^^*768.something09:58
zetheroook, well I am copying all my data to an external disk to be safe09:59
EriC^^yeah i was about to suggest09:59
zetheroo5hrs to go :P09:59
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 there10:00
EriC^^zetheroo: how did the 2048sector boot pop up in fdisk? did you add it somehow or it was just there?10:00
zetherooI pressed 'p' and it was there10:01
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:04
zetherooEriC^^:  https://pastebin.ubuntu.com/p/bdXB8YGxz3/10:15
zetherooEriC^^:  I gotta go out for a bit ... but will be back in about an hour10:15
EriC^^zetheroo: alright10:18
tomreyncxl: it's not a PPA10:19
tomreynppa archiove urls start with ppa.launchpad.net. the urls which point to the web pages describing those PPAs contain "/+archive/".10:22
ash_1hi! 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_1or is there any way to disable touch screen?11:08
tomreynsecond hit on a web search for "ubuntu disable touchscreen" is https://askubuntu.com/questions/1038248/how-to-disable-touchscreen-permanently-on-ubuntu-18-04/103825911:10
zetherooEriC^^: ok I'm back for an hour and then I got to go out again ... anything new for me to do?11:29
=== johuck8 is now known as johuck
ash_1hello! 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:46
ash_1Can 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:48
ThinkT510ash_1: you could test out a mainline kernel which would have more up-to-date divers to see if it is a driver issue11:50
ThinkT510!mainline11:50
ubottuThe kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds11:50
lotuspsychjeyeah good idea for ryzen machines ThinkT510 ash_1 higher kernels11:52
ash_1I 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:55
alekksanderhello. 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:56
ThinkT510ash_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.11:57
ash_1ThinkT510 which kernel version should I try? My laptop currently has `5.4.0-52-generic`.12:06
lotuspsychjeash_1: i would at least got for 5.6 and higher as a test12:07
lotuspsychje*go12:07
ThinkT510ash_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:08
ash_1I 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.deb12:16
signofzetahello 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:17
ThinkT510ash_1: yes, all 4 of them12:19
ash_1thanks!12:20
lotuspsychjeash_1: dont forget to sudo update-grub after you installed them12:20
ash_1ok! Thanks lotuspsychje!12:21
lotuspsychjesignofzeta: 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
signofzetalotuspsychje: i certainly do.  hold on12:21
signofzetaalso, i just tried apt --with-new-pkgs upgrade to no effect12:22
signofzetaapt upgrade: https://termbin.com/29d8v12:22
signofzetai'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:23
lotuspsychjesignofzeta: and no external ppa's?12:24
signofzetalotuspsychje: i have a ton of external ppa's.12:24
signofzetais there a way to see which package has marked libodbc1?12:24
lotuspsychjesignofzeta: 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 release12:26
signofzetaok, 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:27
signofzetaunrelated back-to-basics question:  is apt just an alias for apt-get?  they seem to function identically, the best i can tell.12:28
jeremy31signofzeta: apt is improved, has progress bar12:29
signofzetathanks, jeremy31 :-)12:30
signofzetalotuspsychje: 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:38
signofzeta1,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:41
EriC^^zetheroo: still there? let me know once the copying is done12:42
guivercsignofzeta, fyi;  there are still some apt-get functions (rarely used) that mean it can't be removed (yet; why it still exists)13:04
signofzetathank you, guiverc. thumbs-up emoji.13:06
BluesKajHi folks13:21
efwehullo. 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:35
tomreynjust running "gpg" should never ask for a password13:37
efwebut gpg -d file should, right?13:38
tomreynare you maybe mixing gpg up with something else?13:38
mgedminefwe: did you check the 'save password in keyring' once?13:38
efwetomreyn: no, i'm pretty sure i want to decrypt an encrypted file.13:39
efwemgedmin: never.13:39
mgedminefwe: the dialog is shown by gnome-shell, by request from gnome-keyring, which acts as the gpg agent13:39
tomreyn-d would ask for a password if the file was encrypted with --symmetric13:39
mgedminefwe: do you have 'use-agent' in your ~/.gnupg/gpg.conf?13:40
efwetomreyn: https://pastebin.com/TYFQ9CHP - this worked for the last couple of years.13:40
efwemgedmin: i'll check.13:40
mgedminfor the record, when I sign git commits or debian packages in groovy, I get the gnome-shell passphrase dialog13:41
efwemgedmin: gnome-shell passphrase dialog - that is missing right now.13:41
efwemgedmin: thanks. that was the answer to question 2 i guess..13:41
efwemgedmin: i do not have 'use-agent' in my gpg.conf.13:42
mgedminwhat does gpg do?  fail?  ask in an ncurses window?  something else?13:42
efwemgedmin: nothing. just blocks. 'strace' shows tha it is 'read'-ing.. but not at the console i invoke it.13:43
tomreyngpg-agent has a --log-file option, can run in foreground with --no-detach, other pinentry programs can be specified with --pinentry-program13:44
tomreynand there's --verbose to gpg13:46
mgedminefwe: do you have /usr/bin/gnome-keyring-daemon running?13:48
efweuh, 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:52
efwetomreyn: 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
efwenow i have to run for the daughter.. so really thanks a lot and see you later. :-)13:53
=== Hash is now known as PsillyCybin
spottytedhi, 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 occasionally14:10
spottytedno response from keyboard or mouse, any ideas?14:10
lotuspsychjespottyted: did you skip the integrity test?14:12
lotuspsychjespottyted: by default it scans your install medium14:14
tomreynalso: how much ram? integrated graphics?14:14
spottyted1gb 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
spottytedthe dvd doesn't spin around constantly as if it's scanning it, it idles most of the time14:16
spottytedwhen 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 screen14:17
lotuspsychjespottyted: 1GB ram will be very narrow for ubuntu desktop with gnome, we wouldnt reccomend it try lubuntu/xubuntu or another lighter !flavours14:18
spottytedah good suggestion, thanks14:21
spottytedi miss gnome 2 :)14:22
lotuspsychjespottyted: that can still be installed, its still a thing14:22
spottytedis there much of a difference between the two other than the window manager?14:22
spottytedyeah i know about mate and if i could get away with using linux daily, i'd probably rock mate!14:23
tomreynminimum recommendation for ubuntu is 4 gb ram btw.14:23
spottytedwell xubuntu is 2gb14:24
spottytedhttps://docs.lubuntu.net/ gives an interesting error14:24
tomreynthe official website is lubuntu.me14:24
lotuspsychjespottyted: no i meant gnome flashback can still be installed via the repos14:24
spottytedah nice14:25
mgedminefwe: 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 is14:25
lotuspsychjespottyted: but also not reccomended to use ubuntu-desktop as base for you, try it ontop a lubuntu or xubuntu or whatever you choice will be14:26
mgedminI see I have gpg-agent running here, started by a systemd user unit14:27
mgedminand it uses pinentry-gnome3 to ask for passphrases14:28
mgedmin... maybe?14:29
mgedminlol I don't remember how the dialog looks14:29
efwemgedmin: thanks for the update. recently it was black and modal and not so big :-)14:30
efwemgedmin: it had a password-input-field and that checkbox as far as i can remember.14:30
mgedminefwe: do you have pinentry-gnome3 installed?14:30
efwemgedmin: yep. 1.1.014:31
spottytedwhat's the difference between desktop and alternate?14:31
efwemgedmin: 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:32
efwemgedmin: is your gpg-agent started with '--supervised'? i guess so as it states it is meant for systemd usage.14:35
mgedminps $(pgrep gpg-agent) says yes14:36
efwemgedmin: ok. after reboot it works again. pfff... sorry for bothering you all. 'hello IT, have you tried...' haha14:37
mgedminyep, its pinentry showing the gui thing here14:37
mgedmineh, rebooting erases all evidence of the cri^H^H^H bug14:37
mgedminsometimes it pays to figure out why things broke14:38
efwemgedmin: 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:38
mgedminif you understand how gpg works, I think you'll be the first person in the world to do so14:39
mgedminmaybe the second14:39
efwemgedmin: 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 client14:41
efwemgedmin: 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
efwemgedmin: i learned about https://github.com/FiloSottile/age only a few days ago. this would be totally enough for my usecase i guess.14:42
cybrNautUbuntu/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:17
lotuspsychjecybrNaut: its fixed in 20.1015:21
lotuspsychjecybrNaut: bug #190033915:22
ubottubug 1900339 in gnome-shell (Ubuntu) "[Wishlist] Add a quick reboot/shutdown option" [Undecided,Fix released] https://launchpad.net/bugs/190033915:22
mgedmin'reboot' in CLI doesn't require sudo if you're the only logged in user15:25
cybrNautlotuspsychje: cool.. glad to hear it15:29
cybrNautmgedmin: thanks for the tip!15:30
lotuspsychjecybrNaut: thank you for your notice though15:30
=== Acou_Bass is now known as Acou_Fool
=== Acou_Fool is now known as Piece_Maker
=== Piece_Maker is now known as ACou_Tou
=== ACou_Tou is now known as Acou_Bass
=== [1]MrMobius is now known as MrMobius
isapgswellhow optimize ubuntu without input lag?17:24
=== jeddo- is now known as jeddo
bolHi18:00
luna_hi18:01
bolI have this issue with a USB mouse is removed and added again by UDEV and/or GDM.18:01
bolhttps://askubuntu.com/questions/1286301/ubuntu-20-04-1-lts-mouse-removed-and-added-intermittently18:01
bolI haven't got any traction on the site, so I thought asking here might prove more futile.18:02
bolI haven't found a way to resolve this issue, so this is the last resort before giving in and trying with a reinstall.18:03
summonnerbol, sounds like an autosuspend on USB devices?18:22
=== grumble is now known as \x2D
zetheroohey EriC^^ I am back ... copy of data is done18:43
=== spinningCat is now known as biden
=== biden is now known as pinningCat
EriC^^zetheroo: wb18:51
EriC^^zetheroo: type 'sudo cfdisk /dev/sda'18:51
EriC^^zetheroo: actualy run 'sudo fdisk /dev/sda'18:51
zetheroook18:52
zetheroocfdisk looked pretty cool ;)18:52
zetheroonever heard of it before18:52
zetherooI'm in fdisk now18:52
EriC^^yup its pretty neat18:52
EriC^^zetheroo: ok, press 'p' does it list the boot partition starting at 2048 sector18:53
zetheroo/dev/sda1        2048 1503231 1501184  733M 83 Linux18:53
EriC^^ok looks good, press 'n'18:53
EriC^^when it asks for type press 'e' for extended18:53
EriC^^then use default starting sector (keep it blank and press enter) and same for ending sector18:54
zetherook18:54
zetherooPartition number (2-4, default 2):18:54
EriC^^press enter for default18:54
zetherooFirst sector (1503232-976773167, default 1503232):18:54
EriC^^also default18:55
zetherook18:55
zetherooLast sector, +/-sectors or +/-size{K,M,G,T,P} (1503232-976773167, default 976773167):18:55
EriC^^same, keep the default one18:56
EriC^^that should create an extended partition encompassing the whole remaining disk, hopefully it's right where the actual luks one is18:56
zetherooCreated a new partition 2 of type 'Extended' and of size 465 GiB.18:56
EriC^^ok, press 'n' again to create another partition, this time it should offer to make a logical one18:58
zetheroohttps://pastebin.ubuntu.com/p/hH4QjBt67H/18:58
EriC^^looks good18:58
zetheroohttps://pastebin.ubuntu.com/p/dXPGQRCjV5/18:58
EriC^^zetheroo: use the default one again18:59
zetherooLast sector, +/-sectors or +/-size{K,M,G,T,P} (1505280-976773167, default 976773167):19:00
EriC^^also default, that way it uses the whole space19:00
zetherooCreated a new partition 5 of type 'Linux' and of size 465 GiB.19:00
EriC^^zetheroo: great, press 'w' to write the new partition table19:01
zetheroohttps://pastebin.ubuntu.com/p/4kDzktmF9p/19:02
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
zetherooI'll make one19:04
EriC^^zetheroo: alright, im curious what does 'sudo partprobe && sudo parted /dev/sda print' give?19:05
zetherooError: 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 guess19:06
EriC^^zetheroo: anyways, give it a reboot, see what happens19:06
bolsummonner: ok, not familiar with that. But it happens while the device is active, like when I'm playing a game.19:06
zetheroook thanks ;)19:07
zetherooso grub doesn't need to be installed to the boot partition?19:07
EriC^^zetheroo: nope it should already be there19:08
zetheroook19:08
EriC^^zetheroo: no problem19:08
mustmodifycan I combine something like `du -h` with `find . -name saw_*_dump*.sql.bz2` ?19:20
mustmodifyto get a total size for all those files?19:21
mgedminfind -name 'saw_*_dump*.sql.bz2' -exec du -ch {} +19:22
mustmodifymgedmin: 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_1Hi all! How may I know why my system frooze after a hard reboot?19:28
mgedminmustmodify: -exec ... {} + is shorter to type and handles all filenames correctly without using -print0 | xargs -019:29
ash_1I 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:31
mustmodifymgedmin: thanks, that helped me get through this process much more quickly.19:42
mustmodifyI appreciate your help.19:42
ash_1anyone 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:00
bolReinstalled ubuntu and the issue with the mouse still persists :(((20:01
zetherooEriC^^ : well that didn't work .. I am in a Live session but don't know what to do20:05
mgedminzetheroo: can you mount the partitions and see files in them?20:07
mgedmin(just to be sure there's no problem _there_)20:08
gordonjcpbol: have you tried a different mouse?20:08
mgedminzetheroo: also, how exactly did "didn't work" look like?20:08
mgedmindid you get the grub menu?  BIOS/UEFI error?  something else?20:08
zetheroomgedmin: the ubuntu logo showed up with text saying something about trying to find crypt source and then it went to initramfs20:11
zetherooand no, nothing is mounting20:12
zetheroo/dev/sda5 is 'unknown' .. it was LUKS20:14
EriC^^zetheroo: what's the output of 'sudo parted /dev/sda unit s print' ?20:15
mgedminzetheroo: so grub is fine, but possibly the partition type of the LUKS partition is wrong20:15
mgedminshould be easy to fix!20:16
skyliner_369for some reason the software center isn't showing anything when browsing20:16
skyliner_369wait it's back20:16
skyliner_369nevermind it's not. single square with 3 dots in the middle20:17
skyliner_369nevermind it's just slow20:17
zetherooEriC^^: https://pastebin.ubuntu.com/p/SV7pNDn7WW/20:17
EriC^^zetheroo: try sudo cryptsetup luksOpen /dev/sda5 sda5_crypt20:18
zetherooDevice /dev/sda5 is not a valid LUKS device.20:20
bolgordonjcp: 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:20
zetherooEriC^^: isn't it supposed to be LVM?20:21
EriC^^no i think its supposed to be luks20:22
EriC^^not sure really20:22
zetheroocomparing it to my other laptop which also has a LUKS partition there is an LVM2 PV20:22
zetherooand then there is LUKS in that20:23
zetherooDevice: /dev/mapper/sda5_crypt20:23
zetherooContents: LVM2 Physical Volume (LVM2 001)20:24
EriC^^zetheroo: what does 'sudo fdisk -l' show for the code of the partition of sda520:24
EriC^^sudo fdisk -l /dev/sda20:24
zetheroo/dev/sda5       1505280 976773167 975267888  465G 83 Linux20:24
EriC^^i mean on the other laptop that has the working luks20:25
zetheroooh sorry20:25
mgedminhmmm it's 83 on my laptop with luks20:25
zetherooit's 83 as well20:26
mgedminthe lvm is inside the dm-crypt20:26
zetherooit's 1. extended partition 2. LUKS 3. LVM PV20:27
EriC^^the lvm stuff isnt showing right now, right?20:28
zetherooright20:29
mgedminzetheroo: hey remember your pastebin from the other day?  https://pastebin.ubuntu.com/p/8gFWCfJgJQ/20:29
mgedminbefore you rebooted, you recovered the partition location and size from /sys/block/* using that stackoverflow script20:29
mgedminit says /dev/sda5 starts on sector 150118420:29
mgedminnow you say you created a new /dev/sda5 that starts on sector 1505280?20:29
mgedminthis is why cryptsetup fails20:30
mgedmindelete the partition and create it again, in the right location20:30
zetherooyou referring to this? /dev/sda5       1505280 976773167 975267888  465G 83 Linux20:30
EriC^^there was a boot partition already in the table at 2048sector20:31
mgedminI think so?20:31
EriC^^but it overlaps the starting sector of 150118420:31
mgedminthen it's too big20:31
mgedminfigure out the filesystem size20:31
EriC^^let's try to shorten it and recreate the extended/logical so it matches the stuff from the script20:31
mgedminshrink the boot partition to match the filesystem size20:32
zetheroohttps://pastebin.ubuntu.com/p/GXMPQx82VK/20:32
mgedminyou didn't recover the boot partition extents before rebooting?20:32
zetheroo:20:32
mgedminnow, how does one figure out the size of a filesystem?  dumpe2fs?20:33
zetheroodo you use gparted to resize the partition?20:34
EriC^^no20:34
mgedminhttps://askubuntu.com/questions/622489/how-to-find-the-size-of-a-filesystem20:34
zetheroook :/20:34
EriC^^zetheroo: this is where we need /boot to end 1497088sectors20:34
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 one20:35
EriC^^that gives /boot around 765mb20:35
zetheroook, I don't know how to do that and I don't have any of the commands you sent me before20:36
EriC^^ok get the size of /boot just to make sure it fits20:36
zetheroo/dev/sda1  *       2048   1503231   1501184  733M 83 Linux20:37
zetheroothat?20:37
EriC^^no that's the partition, you want the fs20:38
EriC^^zetheroo: try sudo dumpe2fs -h /dev/sda1| grep '^Block'20:38
zetheroohttps://pastebin.ubuntu.com/p/dFXK5m7yCf/20:39
EriC^^odd, that's 766.5mb20:42
mgedminthat's 748544 sectors20:43
zetherooon my other laptop the boot partition (Ext2) is 511MB20:44
EriC^^i think something else is up, if you take the size from the screenshot of luks20:44
mgedminno, sorry, 1K blocks20:44
mgedmin1497088 sectors20:44
EriC^^here https://ibb.co/z7zWgh620:44
mgedminparted shows the partition size to be 1503231 sectors, which is larger than the filesystem inside it20:45
zetherooI noticed as well that /dev/sda1 is Ext4 now instead of Ext2 like it was before20: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 150528020:45
EriC^^which coincides with where it is right now20:46
EriC^^( 499337158656÷512 = 975267888, and 976773168−975267888 = 1505280 )20:46
skyliner_369okay installed apps in software center is blank for like 20 min20:47
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, zetheroo20: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 table20:48
zetheroo EriC^^: I'm sorry I am not of much help .. it's a bit over my head :P20:49
EriC^^but i think 1505280 seems right, cause it matches with disk's output and since /boot was already there20:49
EriC^^but it's worth a try i guess20:49
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:50
zetheroohttps://pastebin.ubuntu.com/p/HC8J3R4qp2/20:51
EriC^^zetheroo: ok, type 'sudo fdisk /dev/sda'20:53
zetherook20:53
EriC^^press 'd' to delete the partitions20:53
EriC^^remove them all one after another including the primary /boot one20:54
zetherooPartition number (1,2,5, default 5):20:54
zetheroook20:54
zetherooso delete 1, 2 and 5?20:54
EriC^^yup20:54
zetheroohttps://pastebin.ubuntu.com/p/d2Kd65JWj5/20:55
EriC^^zetheroo: great, ok, type 'n'20:56
zetherook20:56
EriC^^starting sector 2048?20:56
zetheroop or e?20:56
EriC^^p20:56
zetherooPartition number (1-4, default 1):20:57
EriC^^default20:57
zetherooFirst sector (2048-976773167, default 2048):20:57
EriC^^actually, let's just slap that sucker right in, shall we?20:57
EriC^^why do the boot, we just want to do a quick test anyways20:58
EriC^^zetheroo: use "1501184" as the starting sector20: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 right20:58
zetherooso 1501184 ?20:58
mgedminthe script just echoe's numbers directly from the kernel, how can it be wrong?  but yeah, great idea to verify first20:59
mgedminluks doesn't need to be in a logical partition, a primary will do20: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 150528020:59
EriC^^zetheroo: yes20:59
mgedmin(didn't zetheroo re-create /boot with testdisk?)20:59
EriC^^no, he only looked at the files using 'p'20:59
EriC^^and it thought it started at sector 3233 too21:00
EriC^^/boot was already there21:00
EriC^^also if we use this 1501184, /boot is too small for its actual fs21:00
zetherooLast sector, +/-sectors or +/-size{K,M,G,T,P} (1501184-976773167, default 976773167):21:00
EriC^^my money's on 1505280 + something else is amiss21:00
EriC^^zetheroo: hit enter for default21:00
EriC^^anyways i might be wrong, and it's worth a shot, so let's hope for the best21:01
zetherooCreated a new partition 1 of type 'Linux' and of size 465 GiB.21:01
zetherooPartition #1 contains a crypto_LUKS signature.21:01
zetherooDo you want to remove the signature? [Y]es/[N]o:21:01
=== PsillyCybin is now known as THC
EriC^^seems it *is* there :D21:01
EriC^^zetheroo: press "N" to leave the signature21:02
EriC^^we definitely want it there i'd guess :D21:02
mgedmindoes anyone remember if luks puts the signature at the start or at the end?21:02
zetheroook https://pastebin.ubuntu.com/p/qdpMDS5pFH/21:02
EriC^^zetheroo: press 'w' to write it21:03
EriC^^mgedmin: i think at the start cause earlier zetheroo didn't mention that message and we also used the whole disk for it21:03
mgedminat the start, woohoo, you found it!21:04
mgedminalso my faith in stackoverflow is shaken21:04
EriC^^how come?21:04
mgedmin1501184 != 150528021:04
mgedminhttps://pastebin.ubuntu.com/p/8gFWCfJgJQ/ was wrong21:05
EriC^^yeah it doesnt make sense given the other stuff, but happy ending all good21:05
zetheroo EriC^^:  ok done21:05
EriC^^mgedmin: no we actually used 1501184 this time21:05
mgedminah!21:05
EriC^^zetheroo: ok, did it quit fdisk?21:05
zetherooyes21:05
EriC^^zetheroo: type 'sudo partprobe /dev/sda'21:05
mgedminso how big did you make /dev/sda1?21:05
mgedminso it's not overlapping21:06
EriC^^we didnt21:06
zetheroodone21:06
zetheroono output21:06
EriC^^zetheroo: try sudo cryptsetup luksOpen /dev/sda1 sda5_crypt21:06
zetherooEnter passphrase for /dev/sda1:21:07
EriC^^awesome21:07
zetherooI guess that's my cue21:07
zetherooshould I enter my passphrase?21:07
EriC^^sure if you want, no harm21:07
zetheroodone21:08
zetheroono output21: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 command21:08
EriC^^zetheroo: ok21:08
EriC^^/boot was 766509056bytes according to the dump command21:09
EriC^^which is 1497088sectors21:09
EriC^^if we dont use the extended stuff the boot partition would have 1499136sectors, so all good21:10
mgedminso it ends at 1499136 which is before 150118421:10
mgedminthere's a gap of 204821:11
EriC^^yeah21:11
mgedminenough space for the extended partition if you still want one21:11
EriC^^if it starts at 2048 it'll have 1499136 to enjoy21:11
EriC^^nah21:11
EriC^^2048+1499136+4096 (for the extended) it'll end at 1505280 again21:12
EriC^^let's just leave both as primary since everything is happy that way21:13
EriC^^sorry 1 sec21:13
mgedminextended should't neet 4096 bytes?  let me check...21:14
EriC^^sorry its 2048 + 1497088 + 4096 = 150323221:14
EriC^^alright21:14
EriC^^i used this to get the 4096 https://pastebin.ubuntu.com/p/SV7pNDn7WW/21:14
EriC^^1505280−1501184 = 409621:15
mgedminan extended partition needs 2 sectors?21:15
mgedminhttps://termbin.com/nvzd21:16
EriC^^dunno the /boot ended at 1505280 and the logical started at 1501184, we used the default values when creating them21:16
mgedmin(that was my sfdisk -l /dev/sda)21:16
EriC^^i think i screwed the calc using size instead of end21:17
mgedminwell fdisk/parted is supposed to align partition starts to larger units (like 1 MB) so they will align with SSD erase block sizes etc21:17
EriC^^yeah i did, seems it only needed 204821:17
mgedmin2048 is a thousand times too many :)21:18
mgedminmaybe /boot was a little bigger than we computed?21:18
mgedminor maybe I'm getting lost between the units21:19
mgedmin2 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/sda221:19
mgedminso about the same21:20
mgedminalso my /boot is tiny21:20
EriC^^our luks sector was 1501184 i think we end make /boot end at 1501184 - 2049 = 1499135 we should be good21:21
EriC^^*i think if we make /boot end at...21:21
EriC^^seems to all add up, must have been that way out of the box i guess21:22
EriC^^zetheroo: mgedmin shall we make boot 2048 -> 1499135 ?21:23
zetherooI'll go with whatever you both advise :)21:23
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:24
EriC^^zetheroo: alright type 'sudo fdisk /dev/sda'21:26
zetherook21:26
EriC^^zetheroo: press 'd' again to delete the primary luks partition we made earlier21:26
zetherooPartition 1 has been deleted.21:26
EriC^^zetheroo: ok, press 'n' to create a new one21:27
EriC^^choose 'p' for primary, starting sector 2048 default21:27
zetheroopartition number 1?21:27
EriC^^yup21:27
zetherooFirst sector (2048-976773167, default 2048):21:28
zetheroogoing with default?21:28
EriC^^yeah21:28
zetherooLast sector, +/-sectors or +/-size{K,M,G,T,P} (2048-976773167, default 976773167):21:28
EriC^^zetheroo: type in 149913521:29
zetherooCreated a new partition 1 of type 'Linux' and of size 731 MiB.21:29
zetherooPartition #1 contains a ext4 signature.21:29
zetherooDo you want to remove the signature? [Y]es/[N]o:21:29
EriC^^zetheroo: choose no21:29
zetheroook21:29
zetherooback to fdisk prompt21:30
EriC^^zetheroo: ok, press 'n' again, this time choose extended21:30
zetheroook21:30
zetheroopartition number 2?21:30
EriC^^yes21:30
zetherooFirst sector (1499136-976773167, default 1499136):21:30
EriC^^keep default21:31
zetherook21:31
zetherooLast sector, +/-sectors or +/-size{K,M,G,T,P} (1499136-976773167, default 976773167):21:31
EriC^^also default21:31
zetherooCreated a new partition 2 of type 'Extended' and of size 465 GiB.21:31
zetherooback to fdisk prompt21:32
EriC^^alright, press 'n' again21:32
zetherooAll space for primary partitions is in use.21:32
zetherooAdding logical partition 521:32
zetherooFirst sector (1501184-976773167, default 1501184):21:32
EriC^^keep default21:32
zetherooLast sector, +/-sectors or +/-size{K,M,G,T,P} (1501184-976773167, default 976773167):21:32
EriC^^also default21:32
zetherooCreated a new partition 5 of type 'Linux' and of size 465 GiB.21:33
zetherooPartition #5 contains a crypto_LUKS signature.21:33
zetherooDo you want to remove the signature? [Y]es/[N]o:21:33
EriC^^no21:33
zetheroook, back to fdisk prompt21:33
EriC^^ok press 'w' to write it21:33
EriC^^then type 'sudo partprobe /dev/sda' at the command prompt21:34
zetheroohttps://pastebin.ubuntu.com/p/KhbhWZ9npW/21:34
zetheroois this because I entered the LUKS passphrase before?21:34
EriC^^yeah i think so21:35
EriC^^how did the sudo partprobe /dev/sda  command go?21:35
zetherooI didn't do it yet21:35
EriC^^i think we're good though, as it said this before but it still wrote everything21:35
zetherooubuntu@ubuntu:~$ sudo partprobe /dev/sda21:35
zetherooError: 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:35
EriC^^zetheroo: ok, try just 'sudo parted /dev/sda print' does it have /boot, extended, logical?21:36
zetheroohttps://pastebin.ubuntu.com/p/qZ2bfzyFHy/21:37
zetheroowhy no boot flags?21:37
EriC^^yeah we should add that in case the bios wants it21:38
EriC^^linux really doesnt need it but some bios could be picky21:38
zetheroohmm ok21:38
EriC^^zetheroo: first though, try sudo mount /dev/sda1 /mnt && ls /mnt21:38
EriC^^does it list the contents of the /boot partition?21:38
zetheroomount: /mnt: unknown filesystem type 'crypto_LUKS'.21:38
zetheroocan I undo the passphrase action from before?21:39
EriC^^ah i think it still has the old partition table then21:39
EriC^^ok21:39
EriC^^zetheroo: try to reboot, see how it goes21:39
zetheroohehe ... gulp ... ok21:39
EriC^^zetheroo: or 1 sec lets add the boot flat first?21:39
zetheroobe back soon ... hopefully from the booted systems ;)21:39
EriC^^*flag21:39
zetherooah ok21:39
EriC^^type 'sudo cfdisk /dev/sda'21:40
zetherook21:40
EriC^^zetheroo: highlight the boot partition, and at the bottom go to 'bootable' and press on it21:41
zetherooand sda1 is the boot partition, right?21:41
EriC^^yeah21:41
zetheroook done21:41
EriC^^go to "write"21:41
zetheroo                       The partition table has been altered.21:42
zetherooQuit?21:42
EriC^^awesome, quit cfdisk then try to reboot21:42
zetheroook21:42
zetheroobe back soon ....21:42
zetherooEriC^^: That worked!! :D21:45
EriC^^zetheroo: any luck?21:46
zetherooEriC^^: yes, all good!! Can't believe it! :D21:47
EriC^^zetheroo: awesome!21:47
EriC^^:D21:47
zetherooI thought for sure I was going to have to install from scratch OMG21:47
zetherooThank you sooo much!!21:47
zetherooCan I send you some Bier money? :P21:48
EriC^^no problem21:48
EriC^^no need enjoy buddy21:49
zetherooamazing the stuff you guys know and how you can figure this stuff out21:49
zetherooI always thought that once a partition is deleted that that meant good bye data21:50
EriC^^yup same here21:50
EriC^^it's pretty awesome that it's not like that21:51
zetherooI'll say21:51
mgedminwell it's been educational!21:51
zetheroo mgedmin: hey, thanks a ton for your help too!21:51
mgedminhere's an old historical story that was an inspiration to me: https://www.ee.ryerson.ca/~elf/hack/recovery.html21:52
zetherooI was expecting you guys to give up at any moment and just tell me it was hopeless21:52
* mgedmin once did a dd if=/dev/zero of=/dev/sda1 intending to wipe a USB disk, but wiped his /root21:52
* mgedmin managed to recover21:52
mgedminuh /, not /root21: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 ssh21:53
EriC^^yikes21:53
mgedminluckily /usr, /var, /home, /tmp were on separate partitions21:54
zetheroosheesh21:54
mgedminthis was around the time linux drivers were updated so IDE hard disks switched from /dev/hda to /dev/sda naming21:54
mgedminwhich is why I made the mistake21:54
mgedminanyway one day you'll be the one helping other people recover!21:56
gordonjcpmgedmin: I have done dd if=/dev/hda | ssh <host> dd of=/dev/hda21:58
gordonjcpmgedmin: this is as hairy and terrifying as it looks at first glance, yes21:58
gordonjcpnote to the channel - never ever do that, unless you're at a stage where stupid and dangerous things are the only recourse left to you22:00
mgedminI'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
mgedminbut I wonder if that would work today with all the extended attributes and stuff22:01
mgedmin(also -xdev is not a tar option, I forgot the tar option)22:01
mgedminhttps://xkcd.com/1168/22:02
onioHi 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/vide322:59
onioissuing 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 the23:01
onioother one shows E: ID_V4L_CAPABILITIES=:23:01
oniowhat command can I put in the udev rule to help create a symlink?23:02
onioI tried ATTRS{ID_V4L_CAPABILITIES}==":capture:" and it does not work23:03
onioI have also tried ENV{ID_V4L_CAPABILITIES}==":capture:"23:04
wolfzrathello is there a chat channel for ubuntu?23:07
oniowolfzrat, this is the chat channel for ubuntu23:11
Guest3901there's also #ubuntu-discuss and #ubuntu-offtopic - maybe that's what you're looking for23:11
wolfzratok great thank you for confirming that, I just realized i was not in ubunt-help lol23:11
wolfzratYou know that was what  was looking for (Ubuntu-offtopic) lol23:14
Emrysso 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:18
wolfzratdid you try to see if it happened again23:22
Emrysi just rebooted and everything is fine now, after 10hr up time it did that23:22
wolfzratis it a desktop of laptop23:23
EmrysPC23:23
wolfzrathmm 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 things23:25
Emrysill get the air duster out i suppose23:25
wolfzratOK, you can always come back and we can see what else we can do to assist you and troubleshoot the problem :)23:27
oniocan anyone here help with udev rules?23:37
oniolooking for how to filter for ID_V4L_CAPABILITIES23:38
=== futurile_ is now known as futurile

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