/srv/irclogs.ubuntu.com/2021/01/29/#ubuntu.txt

user01hi how do i change the name and mount point of an external hard drive?00:24
user01like instead of saying 2 TB Volume00:24
user01and i want it to mount to /media/user/newdrivename instead of UUID00:25
locsmif_workuser01: man fstab00:42
user01locsmif_work, i looked in my fstab and i didnt see the drive that is being mounted as it was named00:43
user01maybe it was a label00:43
locsmif_workuser01: or perhaps you need to write an udev rule... is that still used?00:43
sarnoldudev probably could, yeah, but fstab isn't a bad way to go if you have opinions on where and how your filesystems should be mounted00:44
locsmif_workIt says online you need to specify a "nofail" option for when it isn't connected00:44
locsmif_workin fstab00:44
user01sarnold, i could do fstab but i thought that might be a bad idea for portable hard drives which may or may not be connected at boot00:45
locsmif_workI'm not sure how to alter the name though - isn't that governed by the filesystem label?00:45
locsmif_workuser01: use the 'nofail' option then00:45
locsmif_workuser01: what's the filesystem on your external harddrive?00:46
user01ive got a couple00:46
user01ext4 on all00:46
xamuais the drive currently mounted?00:47
locsmif_workuser01: e2label is probably what you need00:47
user01that sounds right00:47
user01xamua, yes00:47
xamualook in /etc/mtab then, not fstab00:47
xamuait won't show in fstab unless you've put it there00:48
xamuaif it's currently mounted it'll be in /etc/mtab and also /proc/mounts00:49
xamuaudev is likely what you want though00:49
locsmif_workuser01: the command blkid will give you what you need in terms of uuid00:49
locsmif_workI see xamua disagrees, but I would use fstab with nofail, and I'd change the name probably by changing the label with e2label00:50
locsmif_workudev is kind of complicated00:50
locsmif_workto put it mildly00:50
xamuanot that I disagree. just skimming. e2label and then an fstab entry would do the trick as well00:50
locsmif_workPerhaps I'm exaggerating00:50
user01i think i recall using e2label before00:51
user01one of my drives mounts that way anyway00:51
locsmif_workuser01: you can also mount by the label you set, iirc00:51
locsmif_workbut of course, that isn't as much of a unique identifier as an UUID is00:51
user01yes UUID i like using in fstab00:52
locsmif_workHowever, I *think* that the way fstab locates your drive (by UUID) and the way it is shown in your file explorer(s) is not the same thing. Regardless of UUID, I believe a file explorer will use the label as its name if available.00:52
halvors1Why did my system suddenly say it is 21.04, and i'm being promted to setup gnome with a username (that it complains exists)?00:53
locsmif_workadd nofail as a mount option (fs_mntops) and you should, in theory, be all set.00:53
halvors1I'm only set to get LTS releases...00:53
locsmif_workwhere you put nofail is explained in man fstab, section fs_mntops00:54
halvors1Is this issue a known thing or am i the only one experiencing it? I'm running Ubuntu 20.10 Desktop.00:55
locsmif_workhalvors1: haven't heard of it00:55
locsmif_workhalvors1: did you meddle with your repos somehow?00:55
halvors1No00:55
halvors1It all says groovy when doing "apt update"00:56
locsmif_workWell, then I don't understand how it got there00:56
locsmif_workBecause that should be the only way, or ?00:56
halvors1Guess i have to set mu system on hold for updates...00:56
sarnoldhalvors1: that's surprising; check your logs?00:56
halvors1Not any gnome releated package that i can see...00:57
sarnoldmaybe someone else executed it onthe wrong system00:57
locsmif_workhalvors1: I would inspect those repos, including the ones in /etc/apt/sources.list.d/ manually00:57
=== PowerTower_121 is now known as PowerTower_120
locsmif_workalso check if you've indeed installed very new packages, otherwise you're "new" in name only I would guess00:58
locsmif_workTime for my own upgrade00:58
halvors1thx, will do, first i have to actually gain access to it thru chrooting into root fs from usb bootable drive.00:59
halvors1Ubuntu feels more like arch now lol.01:00
halvors1I guess i should have stayed on the LTS if i don't want developer releases :D01:00
locsmif_workhehe01:00
locsmif_workuser01: any luck?01:07
jrghi. wanted to use ubuntu server 20.10 to use zfs for boot01:17
jrgseems like smoe places say it can be done. can this only be done in non-server?01:17
user01locsmif_work, oh sorry i was responding to some chat messages, maybe have to reboot too let's see01:17
sarnoldjrg: the server installer doesn't know how to do it yet, correct01:17
jrgsarnold: ah ok. that makes sense.01:17
sarnoldjrg: there's a HOWTO that you can follow to get there .. I used it for my laptop before the desktop installer could do it :) ..01:17
sarnoldhttps://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2020.04%20Root%20on%20ZFS.html01:18
jrgsarnold: can i install the desktop ver without the ui bits?01:18
jrgi can just use apt to get the server parts i need heh01:18
sarnoldjrg: you could uninstall the gui and networkmanager, I'm not sure what else if anything you'd want to clean up01:18
jrgso i simply can't skip installing the ui for desktop ver?01:19
jrgor there isn't some sort of lite ver without the ui?01:19
jrgi guess that would be server lol01:19
sarnoldyeah :)01:19
locsmif_workuser01: no worries, I'll check the backlog tomorrow :) my time zone dictates sleepy time01:20
user01locsmif_work, oh maybe i need something else01:21
locsmif_workuser01: oh01:21
user01locsmif_work, it is ext4 but it is luks drive01:21
locsmif_workoh fuck hahaha01:21
halvors1hmm, seems something ugly might be in groovy-updates...01:23
halvors1where is the "only upgrade to long term releases actually set?"01:25
locsmif_workuser01: looks like you might need udev after all01:25
locsmif_workuser01: that is, if you're looking to be prompted for the password as soon as you plug in the drive01:25
user01sudo e2label /dev/dm-0 drivename seems to have done something let me reboot and see if it worked01:26
sarnoldhalvors1: /etc/update-manager/release-upgrades01:26
locsmif_workuser01: found some info here, but apparently the matter is somewhat unresolved: https://forums.linuxmint.com/viewtopic.php?t=29996901:26
halvors1sarnold: will check that file, suspect unattended-upgrades is doing something fishy...01:28
locsmif_workuser01: it's going to be hard unless you're experienced. I can't help at this time, it might take me the rest of the night ;-)01:29
sarnoldhalvors1: unattended-upgrades goes to great lengths to try to avoid smelling of fish :)01:29
locsmif_workuser01: more info here: https://bbs.archlinux.org/viewtopic.php?id=189549 here: https://superuser.com/questions/101042/udev-mount-encrypted-volume-upon-usb-stick-insertion and here: https://unix.stackexchange.com/questions/620821/decrypt-luks-partition-by-a-script-in-udev-rules01:29
sarnoldlocsmif_work: btw user01 quit three minutes ago01:29
user01locsmif_work, ok it worked01:29
locsmif_workugh01:29
sarnoldaha and returned sixzteen seconds ago :)01:29
locsmif_workah cool01:29
sarnoldFri 29 01:26:43 < locsmif_work> user01: found some info here, but apparently the matter is somewhat unresolved: https://forums.linuxmint.com/viewtopic.php?t=29996901:30
sarnoldFri 29 01:29:12 < locsmif_work> user01: it's going to be hard unless you're experienced. I can't help at this time, it might take me the rest of the night ;-)01:30
locsmif_workuser01: it worked with LUKS??01:30
user01locsmif_work, like i said i wanted to reboot to see if it mounted with the location and label i created and it did01:30
locsmif_workOk, well at least that's good news01:30
locsmif_workBecause if I hear LUKS I get both excited and petrified01:31
user01yes i just had to specify the dev as dev/dm-X01:31
locsmif_workI'm not even sure how it works with Windows & Bitlocker but I presume it all works out of the box there. For the NSA too, probably ;-)01:31
locsmif_workuser01: alright :)01:32
user01thanks for the help01:32
locsmif_workno worries01:32
user01i need to remember to write down what i did this time :P01:32
locsmif_workuser01: I have a file where I keep sysadmin notes01:33
user01so do i01:33
locsmif_workIt's like a captain's log, without the stardates01:33
locsmif_work..but with real dates01:33
user01but i still am too lazy sometimes to write it down01:33
sarnoldit's worth writing things down01:33
user01actually it is good for me to see what i dont remember01:33
sarnoldI wish I'd started that habit sooner01:33
user011 year later01:34
locsmif_workI've found it helps to write down ffmpeg commands especially01:34
sarnolddecades on my memory isn't what it used to be01:34
sarnoldemacs users have org-mode01:34
user01ffmpeg stuff ill write down but i find those commands have changed over the years too01:34
locsmif_worksarnold: try to remember by heart how to hardcode subtitles onto a video with ffmpeg *g*01:34
sarnoldeveryone else has to make do with other things :) -- I recently found out about https://obsidian.md/ and it looks neat to me, but i haven't tried it yet.01:34
user01there are too many cool tools to learn some times01:35
sarnoldlocsmif_work: yeah, exactly that kind of thing :) when you've spent three hours figuring it out you may think "i'll never forget this again, not after this!" but .. give it three weeks :)01:35
locsmif_workhaha01:36
locsmif_workobsidian.md looks awesome01:36
locsmif_workAnd it uses Markdown, which I already nkow01:36
locsmif_workknow*01:36
user01im sure there is some vim plugin too01:36
locsmif_workI've regretfully abandoned working in editors like vim01:37
locsmif_workI use full featured IDEs for everything now01:37
locsmif_workWell, everything, not for simple configuration files and simple shell scripts01:37
locsmif_workLarge projects in vim? It just isn't going to work01:38
locsmif_workWell perhaps there are some clinically insane kernel devs who stick to it01:38
sarnolda friend uses this on his mac https://happenapps.com/ -- markdown *and* latex! sounds cool :)01:39
locsmif_worksarnold: those are good tips01:40
user01why not xelatex? :P01:40
=== vlm_ is now known as vlm
=== zbenjamin is now known as Guest54671
=== zbenjamin_ is now known as zbenjamin
davido_Whenever I dock my laptop I have to enter into the settings and enable one of the displays. After that, the display works just fine. Next time undock and re-dock, or reboot, I have to do it again.02:21
davido_Any idea how the setting isn't sticking?02:21
=== de-facto_ is now known as de-facto
ExcessiveAggroEvening... I set up "hibernate when i close the lid of my laptop" but when the system returns from hibernation all the applications were closed.  Is there a setting for that?02:58
sarnoldoh weird; are you logged in or are you greeted with a login prompt or what happened?02:59
ExcessiveAggroreturns to login screen - i login and its a fresh login02:59
ExcessiveAggroso it appears to hibernate the OS properly.. but maybe not X02:59
sarnoldand you're sure it's not just a shutdown + start kind of thing instead? uptime shows a big number rather than small?03:00
ExcessiveAggroWell let me clarify... I was running the manual command to see if hibernate worked... so i ran this: sudo systemctl hibernate03:00
ExcessiveAggrolet me check runtime... if you see me disconnect you know why :)03:00
sarnold:D03:00
ExcessiveAggroyeah it must be shutting down03:02
ExcessiveAggrobecause uptime went back to 003:02
sarnoldokay, at least that makes some kind of sense :)03:03
ExcessiveAggrotru that03:03
ExcessiveAggronow i have some new searching terms :)03:03
jrgok so right now i'd take any method to being able to boot ubuntu with a mirror for the OS heh03:03
jrgam i missing something here? i cannot use drives configured for mdadm for booting?03:03
phillipsjkExcessiveAggro, do you have a swap partition at least as large as your RAM?03:03
ASDXis there a way to disable the "downloading and installing security updates" part of a 20.04 install using autoinstall?03:04
sarnoldphillipsjk: oh good question, I forgot the basics..03:06
sarnoldjrg: iirc dpkg-reconfigure grub-pc    -- and select both drives to install grub03:06
sarnoldExcessiveAggro: TIL systemd-sleep.conf has a bunch of settings03:07
ExcessiveAggrosarnold I will check that out thank you03:08
ExcessiveAggrophillipsjk let me check03:09
ExcessiveAggrophillipsjk well that may be the problem.  I just got this new laptop and didnt check how the partitions were configured.  looks like 4gb swap and 16gb ram03:10
ExcessiveAggrothat would do it03:10
ubuntucraphi guys03:11
ubuntucraphow do use apt in python script to update ubuntu03:11
ubuntucrapsometime the graphic setup pop up while using script03:11
ubuntucraphow to fix that ?03:11
ubuntucrapi am using it in python03:12
ubuntucrapexample apt -y install postfix03:12
ubuntucrapthan the gui popup03:12
ubuntucrapis so studpid03:12
sarnoldubuntucrap: DEBIAN_FRONTEND=noninteractive may help03:12
sarnoldubuntucrap: check debconf(7) for details03:13
ubuntucrapdebian_frontend ?03:13
lotuspsychjeubuntucrap: and see also /nick ubuntuismagical03:13
jrgsarnold: there is no way to mirror two drives from the installer?03:13
ubuntucrapDEBIAN_FRONTEND=noninteractive apt-get -y update03:14
ubuntucrapDEBIAN_FRONTEND=noninteractive apt-get -y upgrade03:14
ubuntucrapso this the one03:14
ubuntucrapalright let me try03:14
ubuntucrapfinally03:14
jrgsarnold: i don't see any way to use zfs, mdadm, or btrfs from the installer to simply mirror two drives for booting03:14
ubuntucrapi am coding ubuntu hardneing03:15
ubuntucraphardening03:15
ubuntucrapalmost gave up coding it03:15
ubuntucrapbecause of this stupid pop up03:15
ubuntucrapthank you gys03:15
heatwavehello all! could someone guide me how to properly extend my /home to my external drive?03:17
phillipsjkExcessiveAggro, Bad news is at 100MB/s, 16GB will take nearly 3 minutes to hybernate (SSD would be much faster, assuming spinning rust).03:17
ExcessiveAggrothis laptop is new - nvme03:17
heatwaveI see a way to create a syslink, but that shows an 'unopenable' folder in /home03:18
sarnoldheatwave: what are you trying to accomplish?03:21
heatwaveI had created a /home on one of my external drive's parition. Now it's full and I would like to chunk out another partition from my external drive, and add to /home03:22
sarnoldwhat would you like to happen when the external drive isn't available?03:23
user01should you use gpt these days instead of msdos on the mklabel?03:23
heatwaveI guess I can create a live boot and use gparted for this? But is there any easier way to just use that new chunk as 'extra' storage for /home?03:23
user01i used gpt but im going back to actually write notes now03:24
heatwavesarnold: honestly it will only have my projects, so would not affect too much03:24
heatwavemeaning it shouldnt affect the system if its mounted or not?03:25
sarnoldheatwave: then I think you'd be best suited to make a directory on the drive, like /media/external/heatwave/projects and symlink /home/heatwave/projects -> /media/external/heatwave/projects03:25
heatwaveaah, that will easily link the two? I think it would be perfect03:26
heatwavesomehow I tried a syslink using a 'stackoverflow' answer but I only see an 'inode' folder which I cannot access03:27
sarnoldIt's not super *easy*, it'll always be a little bit funny .. but it's pretty good at handling "I put all my projects there, and when the disk isn't plugged in, that's fine"03:27
heatwavesarnold: got you03:27
=== anonimip_ is now known as anonymip
=== antoine5 is now known as antoine
=== HotDogThe2nd is now known as HappyHotDog
=== yCrazyEdd is now known as CrazyEddy
=== DSyndrome is now known as Death_Syn
=== Kamilion|ZNC is now known as Kamilion
=== nicolasbock_ is now known as nicolasbock
=== SirScott9 is now known as SirScott
=== graingert_ is now known as graingert
heatwave_mount03:39
=== Spork_Witch is now known as SporkWitch
=== jmcgnh_ is now known as jmcgnh
=== jmcgnh is now known as jmcgnh_
=== jmcgnh_ is now known as jmcgnh
magic_ninjaany idea when ubuntu is supposed to get the new 5.11 kernel? I tried mainline but it didn't work all that well.04:27
magic_ninjaI got an AX210 card and a shiny new AP. The new AP makes a big difference, but I would love to get the card going too04:28
ExcessiveAggroWell that was a long journey... tried to resize an encrypted partition and ended up doing a rebuild04:29
magic_ninja:I04:30
magic_ninjasorry that didn't work out04:30
ExcessiveAggromeh no biggie - each reinstall brings some learning04:31
ExcessiveAggroGot my swap as big as my ram now... so back too the hibernate enable journey04:31
ExcessiveAggroodd the systemctl hibernate still shuts the machine down rather than hibernating04:31
magic_ninjaHold on, there is a weird deal with ubuntu where they don't install it by default.04:32
magic_ninjaExcessiveAggro, https://askubuntu.com/questions/1240123/how-to-enable-hibernate-option-in-ubuntu-20-0404:33
magic_ninjadid you happen to find that already?04:33
ExcessiveAggronope let me read through it04:33
magic_ninjadon't skip steps. For whatever reason I've had to do it on two separate laptops.04:34
ExcessiveAggroThanks magic_ninja I'm going to bookmark and check it out tomorrow morning.  Sleep time :)04:38
jrghm04:53
jrgif i am debootstrapping then 20.10 would be called groovy?04:54
jrgie: similar to 20.04 being just focal?04:54
genii!groovy04:54
ubottuUbuntu 20.10 (Groovy Gorilla) is the 33rd release of Ubuntu and is the current regular release. Download at https://ubuntu.com/download - Release notes at https://wiki.ubuntu.com/GroovyGorilla/ReleaseNotes04:54
geniiYes04:54
jrgcool. i am actually going aginst the grain here using this... https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2020.04%20Root%20on%20ZFS.html04:55
jrgbut i am using the server iso since it seems like the reason it said not to use it was from lack of zfs requirements in focal maybe?04:55
jrgalthough to be honest it probably would have been just as easy to use the desktop iso considering most of it seems like i'm just installing from scratch04:57
Bashing-om!minimal | jrg Too:05:00
ubottujrg Too:: The Minimal CD image is very small in size, and it downloads most packages from the Internet during installation, allowing you to select only those you want.  The installer is text based (rather than graphical as used on the Desktop DVD). See https://help.ubuntu.com/community/Installation/MinimalCD05:00
jrgBashing-om: ah. i get that but in this case i am trying to configure zfs mirror boot and root05:01
Bashing-omjrg: Not been there - not done that - best then I do not comment further :D05:03
jrgBashing-om: yes it is an absolute pita05:03
jrgi figured the installer would do this since it supports zfs but it does not do the mirroring05:04
jrgwhether or not i may have found a better/quicker way to do this i do not know.05:04
jrgnopefully 21.04 has zfs mirroring for boot/root05:04
jrgin the installer05:04
Bashing-omjrg: Here's the book on ZFS on ubuntu: https://discourse.ubuntu.com/t/zfs-focus-on-ubuntu-20-04-lts-blog-posts/16355 .05:05
=== ledeni_ is now known as ledeni
=== guiverc2 is now known as guiverc
jrgwell... it works06:27
jrgneat06:27
=== wyre_ is now known as wyre
=== billybigrigger0 is now known as billybigrigger
idk945625I need some help07:12
idk945625trying to install virtualbox on 20.0407:13
idk945625The character device /dev/vboxdrv does not exist.07:13
idk945625 Please install the virtualbox-dkms package and the appropriate07:13
idk945625 headers, most likely linux-headers-generic.07:13
idk945625 You will not be able to start VMs until this problem is fixed.07:13
idk945625what should I do?07:14
idk945625ok, I belive I solved it now07:16
idk945625np07:16
=== jelly-home is now known as jelly
=== billybigrigger6 is now known as billybigrigger
wings_hey there - I set ulimits in /etc/systemd/user.conf and system.conf08:46
wings_but when I ulimit -n, it's still 102408:46
wings_how do I set it to a default value properly?08:46
tomreynwings_: did you    systemctl daemon-reload    ?08:51
wings_no, I full on rebooted...08:52
wings_after triple checking the syntax08:52
tomreynso what did you configure exactly in these files?08:56
wings_DefaultLimitNOFILE=1000000008:56
wings_do I need to also set LimitNOFILE?08:56
wings_i did manage to set ulimit -n 1000000 just fine08:57
tomreyn10000000 > 100000008:59
wings_yes, I know.09:00
tomreynbut i'm not sure thats why it failed setting what yo configured in system.conf09:00
wings_for some reason I can't seem to push it much higher than a million, but a million is sufficient09:00
wings_i just need it to be *default* as I need to run things that can't set ulimit themselves :(09:01
tomreyni'm only reading up on this documentation for the first time, may not be the right person to help09:01
wings_no worries, appreciate it anyways09:01
tomreynbased on the man pages, i would assume changing the default works as you did on ubuntu 18.04 LTS and higher (not sure what you are running).09:02
tomreynyou'd need to place the configuration in the [Manager] section of system.conf09:02
tomreyn(this section is in there by default, and it's th eonly section, but if you placed it before that line, or removed this line, this would break it)09:03
wings_tomreyn: ubuntu 20.04 in my case.09:06
wings_and it's in the [Manager] section indeed :(09:07
tomreyni'm wondering whether you need to alsoraise the limit in /etc/security/limits.conf09:09
tomreynand then there is also /etc/sysctl.conf09:11
=== Scotty_Trees2 is now known as Scotty_Trees
=== ghostcube_ is now known as ghostcube
=== mateen1 is now known as mateen
chovyanyone know how to install olm/pk module in go?11:13
chovyi think it needs a host library11:13
lotuspsychjechovy: can you provide a little more context, whats your endgoal, following a guide?11:26
chovyi'm tr ying to install gumuks11:26
chovygomuks11:26
chovyits a cli matrix client and requires go but when i do `go install` it fails on <inlude olm/pk> and i don't k now why11:26
chovythe guys on github just closed my ticket w/o helping11:27
oerhekschovy, so it is not our repo, what guide do you follow/url?11:32
chovyoerheks: your install "instructions"11:32
lotuspsychjemight be this, dont see ubuntu among, might need compile from source? https://github.com/tulir/gomuks/wiki/Installation11:32
chovythey don't provide ubuntu instructions11:33
chovyi am compiling from source. but its missing some library from the OS. i don't know which11:34
chovyolm/pk is all i know11:34
chovynever heard of it11:34
chovycan't fit shit in google either11:35
xamuayou're building golang from source?11:41
chovyyes11:43
chovyno.11:43
chovyi used ppa for golang. i'm builidng gomuks from source11:43
xamuaah11:44
chovyi had to install libolm-dev which fixed the first error but now i have another one olm/pk11:44
elektrinishi11:45
elektriniswanted to ask if ubuntu has some kind of background process when it accesses my disks periodicly11:45
elektrinisI mean I have mounted an empty disk11:45
elektrinisand I see the ubuntu is accesseng it every few seconds11:45
elektrinisand the disk does not go to sleep11:46
lotuspsychjeelektrinis: these days ubuntu has a lot of things happening in the background, see journalctl -f for a realtime investigation of your system11:48
tomreynelektrinis: you can install iotop and see what's on the top11:49
lotuspsychjesnap activity is one example happening11:49
=== nikow4 is now known as nikow
elektriniskernel: Bluetooth: hci0: advertising data len corrected 28 -> 2712:21
elektrinisdriver issue?12:21
ogralotuspsychje, snap activity ?12:24
ogra(unless you installed any snap that causes any activity there should definitely not be any beyond the refresh checks that only happen 3-4 times/day )12:26
lotuspsychjeogra: im talking about journal logs having an own life these days, i saw banners stuff on snap once12:41
lotuspsychjetry it for yourself, a whole day journalctl -f12:43
=== hacxman is now known as hexo
=== Bilge is now known as BLG
=== yokel_ is now known as yokel
akemHey.13:20
BluesKajHi all13:22
lesshastewhy does word-list-compress d < ru.cwl fail? This is installed by aspell-ru.   the walk through is:sudo apt install aspell-ru cp /usr/share/aspell/ru.cwl.gz . gunzip -d ru.cwl.gz word-list-compress d < ru.cwl13:24
oerheksno idea, maybe some wrong use of < ? https://linux.die.net/man/1/word-list-compress13:27
oerheksexplain what you want to do exactly?13:27
lesshasteword-list-compress d < ru.cwl13:28
lesshasteERROR: Corrupt Input.13:28
oerhekslike they are rambling in ##Linux for more info ..13:28
lesshasteoerheks, I just want a text file with the word list13:28
oerheksword-list-compress d ru.cwl > ru.txt13:29
lesshasteoerheks, does that work for you?13:30
oerheksi don't have russian installed.13:31
lesshasteoerheks,  word-list-compress d < ru.cwl > ru.txt13:31
lesshasteERROR: Corrupt Input.13:31
oerheksinteresting, that is not the line i wrote.13:33
oerheksgood luck!13:33
lesshasteoerheks, the line you wrote is not in the right format13:35
ogralesshaste, well, did your gunzip dcompress without errors ? looks more like your input file is simply corrupt13:37
lesshasteogra, yes it did13:37
lesshasteogra, it's just what you get with sudo apt install aspell-ru13:38
user01hi is it possible to run smartctl on a  luks drive?13:41
ogra$ zcat /usr/share/aspell/en_GB-variant_0.cwl.gz | word-list-compress d13:42
ograERROR: Corrupt Input.13:42
ograseems like a more general incompatibility ... i'D file a bug13:42
lesshasteogra, with aspell?13:48
ograyeah13:48
lesshasteogra,  I wonder how to do that13:48
ograubuntu-bug aspell13:48
moldorcoder7hi i have installer ubuntu server on a laptop, what is the easy way to disable sleep on lid closed or any other scenario14:01
mborderemoldorcoder7 Gnome Tweaks has an option to disable susped on lid close14:03
moldorcoder7mbordere, i mean without gui14:03
moldorcoder7mbordere, the server edition still goes in sleep mode for whatever reason14:03
lesshasteogra, reported14:04
ogralesshaste, good luck with it 🙂14:06
slingamn$ python3 -c "import sys; print(sys.modules['zope'])"14:06
slingamn<module 'zope' from '/usr/lib/python3/dist-packages/zope/__init__.py'>14:06
slingamnthis is on 20.04...can't figure out what's causing it14:06
lesshasteogra, thanks!14:13
lesshasteogra, my experience is that 5 years I will get an email saying it relates to an old version and I should update the bug report :)14:14
masberwhich software cna I use to fill a pdf form?14:16
masberdocument viewer is not good for this task14:16
lesshastemasber, hmm...google will tell you.14:17
lesshastexournal maybe?14:17
nunya_I have Unity desktop manager as well as Cinnamon. Can I remove Unity without effecting Cinnamon?14:17
lesshastemasber, libreoffice?14:18
masberI tried xournal, not good it writes on top of the document, does not really fills the form14:18
nunya_BTW the problems I was having with gnome-software not showing installed programs is solved by typing killall gnome-software before opening the GUI gnome-software.14:19
nunya_<oerheks> The problems I was having with gnome-software not showing installed programs is solved by typing killall gnome-software before opening the GUI gnome-software.14:24
hwkhi, is there any way of making the dhcp client work?14:31
hwkens37: DHCP: No gateway received from DHCP server.14:31
hwkJan 29 06:03:30 perlaa-stream systemd-networkd[5398]: ens37: DHCP lease lost14:31
hwkits just looping the interface up & down because of this14:32
hwkas for env, its running a in vm14:32
hwkens37 being a hostonly adapter14:32
nunya_I Googled and found sudo apt-get purge unity*    I am worried that the * may remove programs common to any other desktop manager installed. Is that the case?14:33
roryhwk, do you have the host-only adaptor set up as a DHCP server within Virtualbox(?) settings? e.g. https://i.imgur.com/wfhsPKT.jpg14:34
hwkyes, dhcp is setup (without any gateway it seems) on the hostonly net (running vmware). its running fine on another vm (openwrt distro)14:35
hwkwondering if there is a option on the ubuntu server new network manager, to fix this14:35
hwkits picks up an ip, but imeditally drops it , hence this ystemd-networkd[5398]: ens37: DHCP lease lost14:37
masberhi, I just installed evince but it is not showing in the application launcher?14:37
hwknunya_ : if your are planing to replace the dekstop manager, the new one will have its own dependencies (Will reinstall them if required)14:38
nunya_<hwk> I have Cinnamon as well. I tried Unity but decided it felt too much like Mac (nothing bad about Mac if that's what you're into) I want to remove Unity without effecting Cinnamon.14:41
nunya_<masber> You may have to logout and login to a new session before it shows in the menu.14:42
hwkyou walking on a thin line, try your luck (dont see anything that cannot be fixed in this scenario)14:42
ogranunya_, apt will ask you if it should proceed ... you will see if there are any cinnamon packages in the list14:43
ogra(it prints a report before the y/n question)14:43
nunya_<ogra>How do I know which programs are common to Unity and Cinnamon?14:43
hwktheir packages have them marked as dependency :)14:44
ograwell, if you see "cinnamon" anywhere in the list, hit N14:44
nunya_<ogra>Ok thanks.14:44
ramkamxgreetings14:45
ramkamxBeen trying to find the info via gogol but seems i'm not using the propper keywords14:45
BluesKajmaybe your spelling is abit off :-)14:46
ramkamxwhenever i'm not playing any audio the driver is probably putting the sound card on "high gain" or something like that, which endup picking up EMF from cellphones ... any way to prevent that?14:46
nunya_<ogra>Is sudo apt-get purge unity* correct with the * or without?14:46
ramkamx(apart from playing audio in background at say 60000 Hz so that i cant hear it)14:46
hwkramkamx: faraday cage?14:47
ramkamxthe PC enclosure is supposed to be one, but it's not :-)14:47
hwki think what you are hearing is from the amp itself, try with deaphones14:48
hwkhead*14:48
ramkamxpossibly14:48
ramkamxok i'll play a background tone at 100kHz, it will send signals so that the amp doesnt swithc to high gain, signals that will be filtered by the high pass filter after ....14:49
ramkamx:D14:49
BluesKajrectification connection14:49
ramkamxmeans?14:49
nunya_<ramkamx>I had similar problem when one of my audio cables wasn't all the way into the jjack14:50
BluesKaja dirty connector, perhaps a carbonized layer14:50
ramkamx¨nah14:50
ramkamxnunya, it is14:50
hwktry the headphones first, see if that "fixes it" if it does, the issue lies between the pc output and the speaker :)14:51
ramkamxi believe the card is going in "sleep" mode, so that the ground goes floating14:51
ramkamxit does fix it, it definitively is my jambox amp that is trying to amplify the jack signal14:52
hwkthere you go (better connection/cables/shielding/etc)14:52
ramkamxi'm wondering if there's enough fine grained settings on the alsa-audio to prevent going into that "sleep"14:53
ramkamxhwk: not solving it though :-)14:53
hwkyou are trying to fix a mechanical issues software wise14:53
ramkamxyes14:54
hwkyou must be ready to spend some time on it :)14:54
ramkamx:D14:54
ramkamxyes :D14:54
ramkamxs/mechanical/electrical14:54
ramkamxaouch - https://wiki.xkcd.com14:55
hwki usually dont use anal output anymore, best scenario is a optical with a analog converter at the other end (if necessary)14:56
ramkamxhwk, my computer is 10 years old :D14:57
BluesKajsometimes sheilded cable is necessary in a heavy RF environment14:57
ramkamxSure, i'm looking for "inexpensive" solution though :-)14:58
BluesKajclean your connections first, if you use the analog outs14:59
BluesKaja 10 yrold pc can buildup alot of unseen crap15:00
ramkamxi'd rather have that software fix15:01
BluesKajthere aren't any that will afaik15:01
ramkamxi don't believe it's the accumulated junk/goo/crap that's at cause, but the gound that is going floating when the card is at sleep15:01
BluesKajwork15:01
BluesKajhave fun, I'm done with this BS15:03
ramkamxthx :-)15:04
BluesKajyw :-)15:05
PsynoKhi0Hi, I've upgraded from 18.04 to 20.04, had a bunch of scripts to launch VMs with e.g. qemu-system-x86_64... erm... where did the binaries go?15:07
PsynoKhi0apt/dpkg only list stuff like qemu-x86_64 with completely different options and syntax15:08
PsynoKhi0I'd rather skip virt-manager/cockpit15:14
muniohi guys15:31
munionmcli show me that I cano not manage the wired network15:31
munioHow I can set it again in NM, because I can not use openvpn15:31
munioUbuntu 20.0415:32
shinobiIs there any reason to enable Wayland in 20.04?15:32
leftyfbPsynoKhi0: qemu-system-x86_64 is part of the qemu-system-x86 package15:33
legreffierit's faster and more secure. if your desktop environment and hardware supports it: it's pretty awesome.15:33
* Panther wonders why 20.04 wants to fry his CPUs.15:35
PsynoKhi0leftyfb: awesome, thanks! back in business15:36
BluesKajmunio, is network-manager-openvpn installed?15:37
munioBluesKaj: Yes, default install of Ubuntu server, additional installer openvpn and X server etc.15:38
BluesKajmunio, ok, is this a paid vpn client/server setup ?15:39
PantherSeriously, tho.. is there anything that I can do about this overheating/throttling/overheating/throttling.. etc... ? It's almost constant.15:40
munioBluesKaj: no, my own which works with desktop setup. But on the server i have issue with the NM15:40
munionmcli device status show me as "unmanaged" my network card, so I can not run the VPN15:42
BluesKajuser/password login then15:42
BluesKaj?15:42
muniono no15:42
muniothe problem is well known for ubuntu 16 and 18, but I vcan not handle the connection via NM15:43
munioI am looking how to handle the wired connection in NM, because I can not15:43
ramkamxBluesKaj: i'm running a pyaudio script with cron every now and then :D solved it. Can't hear 4 Hz tones :D15:44
BluesKajno one can ramkamx, 4 hz is too low, unless you mean 4khz15:45
ramkamxNope, 4 hz exactly. It just forces the sound card to turn on, but emits no audible sound15:46
BluesKajI have no clue about pyaudio15:47
=== munio1 is now known as munio
Hornet-Hello, anyone able to help with a maybe failed SSD? I'm in an old live ubuntu environment now, testdisk doesn't seem able to see the right partition on it somehow, unsure how/if I can do anything else with it16:07
ramkamxBluesKaj: same as doing alsabat -F 17640 -n 10.0s16:08
Hornet-The PC was happily working in windows then reset itself and now cannot boot at all16:09
leftyfbHornet-: get a new SSD and restore from backup16:10
Hornet-No backup, it was a newish drive16:11
MaikHornet-: check it with Disks16:11
Hornet-Check how? It says assessment: disk is OK16:12
Hornet-but shows no partitions16:12
MaikMount the drive in the live session, run Disks and then SMART Data & Self-Test16:14
blscoehi, I've an old machine with 14.04 and, despite having no Ubuntu Advantage subscription, the software updater started offering me ESM packages, without having chaging anything in the machine recently... is ir normal?16:15
Hornet-Maik: everything is flagged as 'ok'16:15
Maikrun a self-test...16:15
Hornet-Said not supported16:16
Maikthen i don't know16:16
Hornet-udisks-error-quark,0 whatever that means16:16
Tas-sosHello Ubuntu community o/16:17
Maikblscoe: if you haven't set up ESM then not i guess16:17
lordcirthTas-sos, hi16:17
lordcirthblscoe, no. But you should just upgrade16:18
Tas-sosI have a problem with the Wifi card of my laptop. sometimes disappears without reason!16:18
Tas-sosI cannot find it either from system menu16:18
blscoeMaik: I didn't, the update manager was always suggesting me a couple of PPA packages I never wanted to update, and all of a sudden, a couple of days ago it started to show a huge list of packages16:18
EriC^^Hornet-: can you paste the output of 'sudo parted -ls | nc termbin.com 9999'16:18
MaikTas-sos: which ubuntu version? If you know that you could search for bug reports on the matter16:19
lordcirthTas-sos, do you have a hardware switch? Perhaps it is flaky16:19
blscoelordcirth: well, yes, but I wanted to know if this was something Canonical was pushing, because I really didn't mess with apt recently :)16:19
Hornet-EriC^^: https://termbin.com/gjtw16:19
Tas-sosand I find a ephemeral solution but works only for while16:19
Hornet-sda is the problem drive16:19
Tas-sosi reinstall the wifi driver16:19
Tas-sossudo apt-get reinstall rtl8821ce-dkms16:20
EriC^^Hornet-: do you remember how many partitions it used to have?16:20
Hornet-EriC^^: also command gave visible error /dev/sda: unrecognised disk label16:20
Tas-sosbut today ( after about 4 days ago ) again disapear the Wifi again16:20
lordcirthTas-sos, what Ubuntu version and kernel?16:20
Tas-sosan *again* reinstall an fixed16:20
Maikblscoe: if you didn't enable ESM then you should either upgrade or re-install ubuntu to a newer version 14.04 without ESM is EOL16:20
Tas-soswhy happens that ?16:20
Hornet-EriC^^: I thought 2, the standard windows one and the 'recovery' nonsense it automakes16:21
Tas-sosI run ubuntu 20.04 LTS16:21
Hornet-EriC^^: but testdisk seems to think there are 2 'recovery' ones, it can't see the main16:21
MaikTas-sos: which kernel?16:21
Maikuname -r16:21
EriC^^Hornet-: ok, try 'sudo mount -o offset=$((2048 * 512)) /dev/sda /mnt'16:21
Hornet-EriC^^: I'm running another testdisk scan in gpt mode just in case but I'm fairly sure it's intel16:22
Hornet-one moment16:22
EriC^^ok16:22
Tas-sosI also run the latest updates16:22
EriC^^Hornet-: are you doing the deep search or just quick search?16:22
blscoeMaik: yes, I know it was EOL'd long time ago and that I should upgrade it, but I wanted to find out why was this happening, or if it was something Canonical did recently16:22
Hornet-EriC^^: I'm doing 'analyse', I didn't see the deeper search option16:23
Hornet-GPT mode shows 4 unrecoverable16:23
Hornet-confused16:23
EriC^^Hornet-: after doing quick search in analyse (or if you press enter while its running to stop it) it should show a deep search button16:23
Hornet-how can testdisk show partitions in both intel and gpt mode?16:23
Hornet-it didn't show me that16:23
Tas-sosAFK for while -  sorry16:24
Hornet-I did look specifically for it16:24
EriC^^it should be there16:24
EriC^^Hornet-: question, how did this situation start?16:24
Hornet-EriC^^: running intel search again to double check but I did look for deeper search button and it seemed absent16:25
MaikTas-sos: again... which kernel16:25
Hornet-EriC^^: I left PC to make phone call, returned and blue screen, then rebooting failed with no boot device findable16:25
Hornet-EriC^^: it was happily running windows 10, nothing unusual going on16:26
EriC^^any dd commands that ran earlier or anything disk/partition related?16:26
The_LoudSpeakerHey! Which pre-installed server image will work on raspberry Pi zero?16:26
EriC^^Hornet-: once you run the quick search, press enter to stop it, then press enter again when it shows you the list that comes up, it should give a deep search option at the bottom16:27
MaikThe_LoudSpeaker: none i guess16:27
The_LoudSpeakerOuch.16:27
EriC^^Hornet-: also please run the sudo mount command i wrote above16:27
EriC^^Hornet-: ok, try 'sudo mount -o offset=$((2048 * 512)) /dev/sda /mnt'16:27
elektrinishi16:27
elektrinisstill battling this issue I have16:27
Hornet-EriC^^: yes sorry trying that now, was starting the other testdisk command and baffling at missing option, one moment16:27
elektrinisfresh ubuntu install with SSD + blank HDD16:27
The_LoudSpeakerThere's no 32 bit arm image i guess right? Maik16:27
elektrinisI have noticed the HDD is being accesses every secnd or so and does not go to sleep16:28
Hornet-EriC^^: ount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop9, missing codepage or helper program, or other error.16:28
elektrinisdid iotop: https://pastebin.com/wjRDF7AE16:28
MaikThe_LoudSpeaker: ubuntu only support the Pi 2 3 and 416:28
Hornet-EriC^^: I did nothing with dd, partitions, or anything of the sort no16:28
elektrinisso how do I debug this any further?16:28
EriC^^Hornet-: aha16:29
MaikThe_LoudSpeaker: https://ubuntu.com/download/raspberry-pi16:29
Hornet-EriC^^: got the deeper option by pausing, running that in intel partition type now16:29
Hornet-EriC^^: the GPT search returned some confusing information though, it found ms dos partitions that seemed to overlap16:30
Hornet-unsure if that's an artifact/error16:30
EriC^^Hornet-: ok, can you also run 'sudo apt-get install smartmontools' ?16:30
EriC^^Hornet-: you can press 'p' in testdisk over the partition to list the files btw16:30
Hornet-the most promising one I saw in gpt mode said 'can't open filessystem, filesystem seems damaged'16:31
lordcirthTas-sos, "uname -r" will tell you your exact kernel version, and how new is the laptop / wifi card?16:31
Hornet-in intel mode I could browse 2 empty default 'recovery' partitions16:31
Hornet-EriC^^: smartmontolls installed16:33
Hornet-thanks greatly for your help with this, massively appreciated16:33
Hornet-going through some major life trauma atm (homeless in like a month) and this is really the cherry on top, absolutely need this PC working16:34
Hornet-deeper search in intel mode is about 50% done16:34
Hornet-I suppose worst case I can try ddrescue & photorec onto another drive16:35
Hornet-70% scan now16:35
EriC^Hornet-: no problem, hopefully you can restore the partitions easily16:37
Hornet-EriC^: assume you pinged out? what was the last thing you saw me say to you?16:37
EriC^Hornet-: try 'sudo smartctl -a /dev/sda | nc termbin.com 9999'16:37
EriC^I suppose worst case I can try ddrescue & photorec onto another drive'16:38
Hornet-you saw everything important then, good stuff16:38
Hornet-I think I just screwed up with the deeper search, hitting enter when maybe I shoudln't, ended up back at main sscreen so rescanning deeply, but it saw 3 partitions, 1 looked big16:39
Hornet-21% though16:39
EriC^great16:39
Hornet-EriC^: https://termbin.com/18it16:40
EriC^looks good i think, no reallocated sector count16:41
Hornet-EriC^: any idea what could have happened?16:42
Hornet-feels like something ate the partition table but I can't see how16:43
EriC^yeah very odd16:43
Hornet-is there a one-liner to upload screenshots automatically?16:44
Hornet-https://i.imgur.com/7SIJTCt.png16:46
lordcirthDoesn't the default screenshot app have an imgur upload button? Not on Ubuntu atm16:46
Hornet-I'm using old ubu, it just flashes the screen and no UI of any sort appears16:47
Hornet-looks like the huge partition is almost empty :>16:48
Hornet-:|16:48
Hornet-keyboard layout flipped here16:48
=== semeion is now known as mnemonic
EriC^^Hornet-: sorry got dc16:52
Hornet-EriC^: np. I think the data is gone, that partition had almost nothing on it apparently16:52
Hornet-or it's not that partition type after all16:52
Hornet-I don't know16:53
EriC^^Hornet-: seems a little like the fs is corrupted16:54
Hornet-EriC^^: I'll run a deeper search in gpt mode in another instance of testdisk16:54
Hornet-getting that feeling too. I can't see how but obviously something's boned it16:54
EriC^^Hornet-: the starting sector is odd though, it says in testdisk 323316:55
Hornet-EriC^^: webchat kicked me off16:57
EriC^^Hornet-: wb, i find it odd that in testdisk it says it starts at sector 3233, pretty unconvential, that woul mean it starts at 1655kB16:57
Hornet-EriC^^: https://i.imgur.com/vaIu4KC.png16:58
EriC^^Hornet-: we could try hunting for it ourselves16:58
Hornet-loads more appearing16:58
Hornet-EriC^^: sounds like a plan, where do we start?16:59
Hornet-EriC^^: is it just returning rubbish now: https://i.imgur.com/3fMBuv8.png17:00
EriC^^Hornet-: try "for i in {0..4000}; do echo trying $i; sudo mount -o offset=$(($i * 512)) /dev/sda /mnt && break; done"17:02
EriC^^Hornet-: yeah it seems pretty confused17:02
Hornet-EriC^^: it's up to 100017:03
=== ace_me^^ is now known as ace_me
EriC^^Hornet-: did you try listing the files of the 2 recovery partitions in testdisk, just curious17:06
Hornet-yes, just standard empty things really17:07
Hornet-I've just realised I can't see another partition on a different drive that should be there too17:07
Hornet-investigating17:07
tete_i was out for a walk, shutdown my machine. now i came back, turned on my workstation and now only 1 monitor works, the other one is just black. booted windows to verify its not a hardware fault... on windows everything works as expected. already tried different kernels. anyone an idea how to find out what happened?17:09
tete_i have the proprietary nvidia driver installed17:10
Hornet-EriC^^: I can't be sure, it might be that it was on this SSD too. there's a seperate /home partition for my linux install that doesn't seem to be anywhere now17:11
Hornet-really confused and concerned17:11
EriC^^Hornet-: did you mount your root fs on the linux install?17:11
Hornet-that said I didn't boot that since this ssd was installed/set up so it may be a prior issue somewhere17:11
EriC^^try to mount it at /cdrom then run '(cat /cdrom/etc/fstab; sudo blkid) | nc termbin.com 9999'17:12
Hornet-I haven't booted linux in ages, the windows install overwrote the boot info and I couldn't reset it as I didn't have teh right version boot media to do so. so I had to back up all the data and reinstall linux which was soemthing I mothballed due to lack of time17:13
EriC^^Hornet-: did the for command ever stop at some number?17:13
tete_brb17:13
Hornet-but the partitions should still be there17:13
Hornet-it ran to 400017:13
EriC^^i see17:13
Hornet-the gpt deeper search is still running17:14
Hornet-unsure if that's meaningful at this point though17:14
EriC^^Hornet-: if i were you at this point first thing i'd do is make an image of the disk, then try using backup sector, ntfsfix perhaps, chkdisk, etc and other ntfs tools like ntfs-scrounge and finally photorec17:14
Hornet-backup sector?17:15
EriC^^Hornet-: in testdisk if you go to advanced instead of analyze, and highlight the partition, it should give you some options regarding undeleting files, and info about boots sector and MFT and stuff17:17
EriC^^you dont have to do anything but it will mention the status and if they match etc17:17
Hornet-the few files I can see in the large partition intel mode found, does seem to be something that was on this drive once17:17
Hornet-but almost everything is just gone17:18
Hornet-wondering if this was some sort of malware attack now17:18
Hornet-can't see how as I have everything pretty secure and firewalled17:19
tete_nvidia-settings does not start, it says nvidia driver is not loaded, so guess something is broken with the nvidia module. can someone tell me how i can re-install that? apt-get purge nvidia*, reboot and use the UI to install the proprietary driver?17:19
Hornet-EriC^^: https://i.imgur.com/FVwQ4G1.png17:20
Hornet-that's the deeper gpt output17:20
Hornet-tete, last I used it, that sounds about right17:20
Hornet-EriC^^: advanced has no options. just says 'no partition available'17:22
tete_ok brb17:22
EriC^^Hornet-: the data from the deep search is incredibly inconsistent, seems to think the disk is 2000gb17:23
EriC^^Hornet-: write the table you posted here, even though the starting sector is very odd, it's the most reasonable one til now with what you described the partitions17:23
EriC^^https://i.imgur.com/7SIJTCt.png17:24
Hornet-even though it has missing data? will that do anything unreversable?17:24
tete_switched now to the open driver (nouveau) and seems like that made some progress, at least at the moment its working with my "special" setup17:24
EriC^^Hornet-: no, if anything, backup the current table first, sudo dd if=/dev/sda of=/path/to/save/table.img bs=512 count=1 && sync17:25
EriC^^Hornet-: if you want, just write it manually after running the dd command, type sudo fdisk /dev/sda17:26
Hornet-EriC^^: one sec, trying to find a writable path, the usb stick path isn't mounted and its the only thing writable17:27
EriC^^press o for new partition table, then 'n' for new partition, for starting sector put "3233" and ending sector "291852928"17:27
EriC^^if anything out of the ordinary comes up when you run fdisk such as mentioning gpt etc let me know17:27
EriC^^Hornet-: ok17:28
Hornet-everything is read only, even the other physical disks17:28
Hornet-have to find a usb stick and spare slot, sec * 217:28
EriC^^Hornet-: it might be the windows disks are readonly cause of hibernation, try the ext4 one you have17:29
EriC^^/dev/sdc4 or /dev/sdd117:29
Hornet-read oly too17:30
Hornet-might be something in the live cd17:30
EriC^^try to remount rw, "sudo mount -o remount,rw /mountpoint"17:30
EriC^^pretty odd17:31
elektrinisdamn. Had a power failure and now my raid1 says:17:33
elektrinismd0 : active raid1 sdb[0] sdc[1]17:33
elektrinis4883638464 blocks super 1.2 [2/2] [UU]17:33
elektrinis[>....................] resync = 0.1% (5556288/4883638464) finish=13450.3min speed=6044K/sec17:33
elektrinisbitmap: 3/37 pages [12KB], 65536KB chunk17:33
elektrinis6M/sec ...17:33
Hornet-EriC^^: on a different usb stick now. k so should I run the fdisk command or?17:33
EriC^Hornet-: back, yes run the dd command and backup the partition table first then run fdisk17:37
EriC^it's so odd that it says starting sector 3233 though, i tried searching for 1067kB parted on google and literally no single result came up17:38
Hornet-it wants to make a new linux partition there17:38
Hornet-also size is half the disk17:38
Hornet-which might mean my linux /home was in the other half?17:38
EriC^can you screenshot share, not really sure what you mean17:39
Hornet-https://i.imgur.com/xKpevla.png17:39
EriC^ok looks good17:40
EriC^type 'w' to write it17:40
Hornet-do I not need to tell it it's ntfs ?17:40
Hornet-I'm used to gparted17:40
EriC^nope, that's just the partition table type17:41
Hornet-I've the feeling that when I made this they might have been extended partitions not primary17:41
Hornet-does that matter here?17:41
Hornet-was a year ago though and I can't be sure of much17:42
EriC^not really, but the size inconsistency is weird, try to delete the partition you just made using "d"17:42
Hornet-done17:42
EriC^then make a new one with "n", starting sector 3233, when it asks for ending sector hit enter to use all the disk17:42
EriC^it wont matter as it's just the table, when we mount the actual partition if we can it'll just load the fs and wont be overwriting anything beyond its size17:43
Hornet-okay, will try and see17:43
Hornet-thanks again, immensely appreciate17:44
Hornet-d17:44
EriC^no problem17:44
Hornet-https://i.imgur.com/e1YZFqs.png17:45
Hornet-write ?17:45
EriC^yes17:45
Hornet-done17:46
EriC^ok quit fdisk if it hasnt exited already and run 'sudo partprobe /dev/sda' to reread the partition table17:46
Hornet-silent success I think17:47
EriC^great!17:47
EriC^now try 'sudo testdisk /dev/sda' and go to 'advanced'17:48
Hornet-inter partition I assume17:49
Hornet-*intel17:49
EriC^yup17:49
Hornet-I have the feeling I used gpt when installing originally, but really can't recall as I had to redo the installation a few times17:49
Hornet-it sees 1 linux partition17:50
Hornet-unsurprisingly17:50
Hornet-start 5121 t hough17:50
EriC^in the options below does it have boot list undelete etc17:50
Hornet-type superblock list image creation17:51
Hornet-go into list I assume?17:51
EriC^Hornet-: what happens if you choose 'type' and choose msdata ?17:51
NukienLooks like focal/20.04 just broke some php7.4 dependencies17:51
Nukiensudo apt install php7.4-fpm17:51
NukienThe following packages have unmet dependencies:17:51
Nukien php7.4-fpm : Depends: php7.4-common (= 7.4.3-4ubuntu1) but 7.4.3-4ubuntu2.4 is to be installed17:51
EriC^Hornet-: yeah wont hurt to try 'list'17:51
Hornet-EriC^ I can't see msdata there17:52
Nukienapt-cache policy php7.4-fpm17:53
Nukienphp7.4-fpm:17:53
Nukien  Candidate: 7.4.3-4ubuntu117:53
Nukien     7.4.3-4ubuntu1 50017:53
Nukien        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages17:53
jilhello17:53
Nukienapt-cache policy php7.4-common17:53
Nukienphp7.4-common:17:53
Nukien  Candidate: 7.4.3-4ubuntu2.417:53
Nukien     7.4.3-4ubuntu2.4 50017:53
Nukien        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages17:53
Nukien        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages17:53
jayjo-I'm trying to use keepassxc on my ubuntu machine, which I had previously installed via APT but now I'm using a snap. I can't access a folder on my google drive from the snap. Is this is a classic snap confinement issue, is there a way to allow accessing /run/user/1000/gvfs from the snap?17:54
jilDo you know a trustworthy 2FA desktop application for ubuntu ?17:54
EriC^!paste | Nukien17:54
ubottuNukien: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:54
Nukienwill do17:55
Hornet-EriC^ I was thrown off again17:55
EriC^Hornet-: aha, apparently testdisk uses the partition type it seems for the options, i just tried it here17:55
EriC^Hornet-: type "sudo fdisk /dev/sda" again17:55
Hornet-why is this testdisk run showing start as '51 21'17:56
Hornet-closing testdisk or differrent terminal?17:56
EriC^Hornet-: yeah close testdisk17:56
Hornet-back in fdisk17:57
EriC^Hornet-: ok, press 't' to change type, choose first partition17:57
EriC^for the hexcode use "07"17:57
Hornet-done, ntfs apparently. write it?17:58
EriC^yes then sudo partprobe /dev/sda again17:58
Hornet-done17:58
Hornet-back to testdisk?17:58
EriC^ok just to confirm what the table looks like, try 'sudo parted /dev/sda unit s print"17:59
routebeecan someone ping au.archive.ubuntu.com for me and tell me if it is up17:59
routebeei cant ping it17:59
EriC^routebee: i cant either17:59
Hornet-https://i.imgur.com/4r8Ptuh.png18:00
routebeehmm how do i get apt to go after another archive server EriC^?18:00
EriC^routebee: change the sources uses software&updates program18:01
EriC^*using18:01
routebee"change"? change how?18:01
routebeechange sources.list?18:01
EriC^did you open the program?18:02
routebeeim going from the terminal18:02
EriC^type 'software-properties-gtk'18:02
EriC^no gui there?18:02
routebeeyeah i got it18:02
Hornet-fucking thing kicked me off again18:03
EriC^Hornet-: wb, try running testdisk -> intel -> advanced18:03
routebeeits refreshing now18:03
EriC^xD18:03
routebeethanks18:03
Hornet-really not helping18:03
EriC^routebee: no problem18:03
NukienSo, any ideas about php7.4-fpm and php7.4-common ?18:04
routebeesigh.. it has crashed now18:04
Hornet-EriC^: can't open, seems damaged18:04
EriC^you mean when you press p?18:04
Hornet-list18:04
EriC^i mean list18:04
Hornet-in advanced18:04
EriC^aha, what about if you press on 'boot'18:05
Hornet-bad boot sectors18:05
EriC^btw dont run anything like checks etc yet, i wouldnt touch the actual fs without imaging it first18:05
EriC^we're not even sure if it starts at 3233, it might be the typical 2048 sector18:05
Hornet-this is using intel partition again. should I try with efi gpt?18:05
Hornet-or does that mean back to fdisk18:06
Hornet-maybe yes18:06
Hornet-start here says 51 21 btw18:06
EriC^i think it should be the same cause it's just honing in on the actual fs right now at 323318:06
EriC^aha18:06
EriC^what's it say in boot about the boot sectors consistency with the backup one18:06
Hornet-so is it adding some offsets to the numbers we see somehow18:06
Hornet-both bad18:06
Hornet-not identical18:06
EriC^ok18:07
EriC^let's try 2048s real quick18:07
Hornet-same dance in fdisk?18:07
EriC^after that i think you should image the disk before trying other stuff18:08
EriC^yeah18:08
EriC^same deal delete, n, 2048, hit enter for ending sector, press t for type '07' then write18:08
EriC^then reload with partprobe and try testdisk again18:09
Hornet-exact same18:09
Hornet-start now shows 3233 btw18:09
Hornet-so that's doube weird18:09
Hornet-is that the same offset18:10
EriC^aha18:15
EriC^Hornet-: that's good i think18:15
EriC^Hornet-: what does 'boot' look like?18:15
Hornet-not same offset no, this is 1888 different, prior was 1085(from memory)18:15
Hornet-bad/bad/not identical18:16
Hornet-I'll have to find another drive, no idea if I can hotswap leads from one of the others18:16
Hornet-otherwise I'll have to reboot and this is live so everything goes18:17
EriC^what do you mean 1888/1085?18:17
EriC^kind of confused, i never saw a 1085 starting sector in the pastes18:17
Hornet-difference between 2048 & 3233, 3233 & 512118:18
Hornet-was seeing if the sector start was predictably 'wrong'18:18
EriC^ah i see18:18
EriC^i think it seems that 2048 that we lastly used makes more sense, if i had to guess18:19
Hornet-very similar factor of error though, real is about 63% of the shown18:19
Hornet-probably yes18:19
Hornet-maybe it being an ssd weirds things18:19
EriC^cause it's the typical starting sector, and testdisk seems to have found it at '3233' earlier18:20
EriC^yeah18:20
Hornet-okay so plug in another drive and dd time? unless I can get one of these to be r/w again and make 250gb space18:20
EriC^id image the disk at this point before trying anything filesystem related, better safe than sorry18:20
EriC^yeah18:20
EriC^be sure to always sync after dd so it writes everything in cache18:21
EriC^also use bs=4M status=progress18:21
Hornet-is there a way to force the ntfs drives to writable?18:22
leftyfbHornet-: it's best to fix it from within windows. You'll need to first make sure fast boot is disabled in Windows, run chkdsk on the drive then reboot. Then boot into Windows and run chkdsk on the drive again18:23
EriC^Hornet-: 'sudo ntfsfix /dev/sdxY' should do it18:24
Hornet-leftyfb I have no windows atm that's the dead drive18:24
Hornet-catch 2218:24
leftyfbHornet-: what is your goal here exactly?18:25
EriC^Hornet-: what about /dev/sdc?18:25
EriC^and sdd18:25
leftyfbHornet-: you should not be working towards recovering a bootable OS, either Windows or Ubuntu. If you have important files on either one then you should use an Ubuntu live cd/usb to recover files on the Ubuntu side and a Windows recovery USB to recovery the files from the Windows side18:26
Hornet-leftyfb, right now I'm working to getting a recognised partition/filesystem, recovery of whatever comes after that18:27
Hornet-I'm in a live environment to try to see what I can salvage and it turned out to be super hosed somehow hence seeking experienced support18:27
elektrinisI have removed one drive from raid1. Can I still use the raid?18:28
leftyfbelektrinis: in theory. Though the goal is to replace the drive ASAP18:28
leftyfband rebuild the raid18:28
elektrinisyes.18:28
elektrinisnew drive failed out of the box.18:29
Hornet-...18:42
Hornet-EriC^: should I put the original filetable back before dd stuff?18:42
EriC^nah, but keep it saved18:43
Hornet-re a windows recovery usb, the times I've booted a dead system with a windows usb stick the only options are usually to reinstall18:43
Hornet-no way to browseo or recover18:43
Hornet-okay, I've made space on the ntfs 2tb drive (RIP several games)18:44
EriC^:D18:44
Hornet-dd or ddrescue?18:45
EriC^in windows i think you can right click the drive and select to do a filesystem check it'll schedule it on the next reboot18:45
EriC^it's probably your best bet of recovering the fs in tact using chkdsk18:46
EriC^Hornet-: dd should be fine as long as there are no bad sectors, try dd18:46
Hornet-I can't get into anything windows though18:46
Hornet-unless you mean on a live usb18:46
EriC^i think you can do it from a live windows install if you go to troubleshooting/advanced and then choose command prompt, if you're able to mount it using diskpart you can run chkdsk iirc18:48
Hornet-in that case should we put the original table back first ?18:49
Hornet-dd if=/dev/sda of=/media/ubuntu/5CB4F100B4F0DD88/new/ssd.img bs=4M status=progress18:50
Hornet-+ sudo obv18:51
EriC^i think you might have better luck with this, the original was basically empty18:51
DroHello, I'm trying to recover data from an old hard drive (home encrypted with passphare), when I try with ecryptfs-recover-private I get an errors like this :18:51
Drofind: ‘/media/jack/00781d25-e2a6-4b32-b3c8-b1b7f6a05709/.ecryptfs/ubuntu/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWaIoSUzkxVgukRw2nbQBLsz6xNMAhS3bBF6DGGDjlo2JPud4yRj1HN06U--’: Input/output error18:51
Droany idea please how to fix it?18:51
Hornet-okay, will leave as is then18:51
Hornet-is that dd command the right one or does it need tuning?18:51
EriC^Hornet-: looks good18:52
Hornet-running then18:52
EriC^Dro: input/output is usually hardware related18:55
Hornet-rough guess this should take 68 minutes to finish18:56
EriC^nice18:56
Hornet-assuming the pc doesn't decide to do anything else mental in the process18:56
Hornet-I'm really worried about what actually caused it18:56
EriC^Dro: is it the same if you run "ecryptfs-recover-private /media/jack/00781d25-e2a6-4b32-b3c8-b1b7f6a05709/.ecryptfs/ubuntu/.Private" ?18:56
EriC^Hornet-: yeah, very odd, any errors in the blue screen you mentioned?18:59
Hornet-said something about winuser.exe iirc, then the reboot error just said the usual no boot device found19:00
Hornet-I'm assuming it tried to read soemthing and found it couldn't, rather than that being the source of the error itself19:00
Hornet-my phone camera is broken otherwise I would've photographed it19:01
EriC^yeah19:01
hynixhi19:01
hynixi want to use ubuntu19:01
Hornet-which is yet another software error I think but I need to do deep magic on the phone to try to reset it (wileyfox swift, known issue) and that could brick the phone19:01
EriC^no boot device makes me think it was intel not gpt btw, sounds like the legacy kind of error, plus just remembered you'd need to have an efi partition as well for gpt to work on windows19:01
DroEriC^: in this case I get find: ‘/tmp/ecryptfs.1JIZN8oR’: Input/output error19:02
Hornet-and I can't afford to risk that atm, no way to replace19:02
Hornet-I can reboot again and double check once this is done19:02
EriC^Dro: try 'sudo apt-get install smartmontools' then 'sudo smartctrl -a /dev/sdX | nc termbin.com 9999'   replacing sdX with the name of your disk19:02
DroEriC^: here is the full output of the first command https://paste.ubuntu.com/p/jtFp8CKdQ8/ , I'll try with smartmontools19:03
EriC^!install | hynix19:03
ubottuhynix: Ubuntu can be installed in lots of ways. Please see https://help.ubuntu.com/community/Installation for documentation. Problems during install? See https://wiki.ubuntu.com/CommonProblemsInstall - See also !automate19:03
hynixEriC^ thanks19:04
EriC^hynix: no problem19:04
DroEriC^: the output of smartctl : https://termbin.com/0tv719:05
EriC^Dro: the drive is on its way out, 24 bad sectors pending to be reallocated19:07
nelginHI all. I'm getting "No protocol handler was valid for the URL /favicon.ico (scheme 'http'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule" with apache. As far as I can tell, everything should be good. Open to suggetions.  Config is at https://pastebin.com/MnKwYvFD19:08
DroEriC^: so you think it will be hard to recover the data?19:08
EriC^Dro: i dont think its way more difficult cause its encrypted, if some files go bad it can still show the rest19:09
DroEriC^: the problem is that it does'nt show anything at all currently :(19:10
DroI can see the other partition (containing the rest of ubuntu installation), but the home partition is encrypted and it seems there is no way to decrypt it19:11
Droany other path,19:11
EriC^Dro: do you remember the login password of your install?19:12
DroEriC^: yes i do19:12
EriC^ok, try "sudo ecryptfs-unwrap-passphrase /media/jack/00781d25-e2a6-4b32-b3c8-b1b7f6a05709/.ecryptfs/ubuntu/.Private"19:13
EriC^the username was ubuntu, yeah?19:13
Droyes19:13
EriC^ok try that command, and enter the login pass you used to use19:13
DroEriC^: Error: Unwrapping passphrase failed [-21]19:14
DroInfo: Check the system log for more information from libecryptfs19:14
DroEriC^: maybe the passphare is different of the user password (not sure)19:14
EriC^Dro: usually there's the passphrase (the long one) and the wrapped passphrase is just the long passphrase but encrypted using the user's login pass, so when you login it decrypts the home dir using it19:15
EriC^do you know the actual passphrase? also try "dmesg | grep libecryptfs" for any clues19:16
DroEriC^: I don't know the passphare, I only know the user password (I though it was the same)19:17
Drodmesg | grep libecryptfs19:17
DroEriC^: dmesg | grep libecryptfs <== show nothing :(19:18
EriC^Dro: try "tail -f /var/log/syslog"19:18
EriC^then try running the unwrap passphrase command again in another terminal19:18
EriC^ah my bad!19:19
EriC^1 sec19:19
EriC^sudo ecryptfs-unwrap-passphrase /media/jack/00781d25-e2a6-4b32-b3c8-b1b7f6a05709/.ecryptfs/.ecryptfs/wrapped-passphrase19:19
EriC^1 sec butchered it again19:20
DroEriC^: I found this: ecryptfs-unwrap-passphrase: Failed to detect wrapped passphrase version: Is a directory19:20
EriC^sudo ecryptfs-unwrap-passphrase /media/jack/00781d25-e2a6-4b32-b3c8-b1b7f6a05709/.ecryptfs/ubuntu/.ecryptfs/wrapped-passphrase19:20
EriC^sorry, try the last one above19:20
DroEriC^: yeaaah it works now ! :D i got this : 8c0e15bfb1312b18eac178de3f18b5d419:21
Drowhat should I do with it?19:21
EriC^ok, that's your passphrase, you'll change it later :P for now though copy it19:22
EriC^try "sudo ecryptfs-add-passphrase --fnek"19:22
EriC^then paste the passphrase19:22
DroEriC^: https://paste.ubuntu.com/p/rHr8zsDZgz/19:24
Sven_vBsomething seems to have gone wrong with the last update, after reboot I can't get networking anymore. I've booted Ubuntu focal with kernel 5.4.0-41-lowlatency, lsusb sees "ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter" and "ID 0fe6:9700 ICS Advent DM9601 Fast Ethernet Adapter", but ifconfig -a only has lo. what can I do?19:25
EriC^Dro: ok, type "sudo mount -t ecryptfs /media/jack/00781d25-e2a6-4b32-b3c8-b1b7f6a05709/.ecryptfs/ubuntu/.Private /mnt"19:25
Hornet-Sven_vB: sanity check if it works with a live cd?19:26
Sven_vBHornet-, ok.19:26
DroEriC^: its asking for passphare, I though I tried this its to set a new passphare?19:26
DroIt ask for passphare (I tried to type anything), and then it asked for encryption type and which files to encrypt... etc19:27
Hornet-DD is 110GB in now19:27
DroEriC^: but I didn't continued the process first time , I stopped it19:27
Hornet-I've got a windows 10 installation stick set up too19:27
EriC^Dro: ok, once you run the mount command it should ask for your login password (not passphrase)19:28
EriC^Dro: you should accept the default cipher and key size, n for plaintext passthrough, and y for filename encrypted19:29
DroEriC^: its asking for passphare, should I continue ?19:30
DroPassphrase:19:30
EriC^ok try your login password19:30
DroEriC^: btw it worked few hours ago with qsjkdazjodazd (any password lol)19:30
DroEriC^: its used to decrypt or encrypt?19:30
EriC^decrypt19:30
Drook i'll try again19:31
EriC^only trying to mount here19:31
DroEriC^: its asking for Filename Encryption Key (FNEK) Signature [a00afeee0a0fa80b]:19:32
EriC^ok put 94d1e83fc3d86ceb19:32
EriC^if it worked the files should be in /mnt19:33
DroEriC^: https://paste.ubuntu.com/p/nYgVCKfw7R/19:34
Drowhat do you think ? maybe I had to left the default "FNEK" ?19:34
EriC^no, mount anyways19:34
Drook19:34
EriC^any luck in /mnt?19:35
DroEriC^: you are a hero man !!! thank you !! I see my home files under /mnt now ! :D19:36
EriC^Dro: awesome! no problem :D19:36
EriC^get them off asap before the disk dies!19:36
DroEriC^: however the bad news is I cannot almsost open all files :(19:37
DroInput/output error19:37
Droeach time I try to open a file19:37
Hornet-can you open any of them at all?19:38
DroHornet-: no..19:38
DroI see all files, but I cannot open any file19:38
unixbsdis there a ubuntu-linux server for mumble/pumble? or teamspeak?19:38
Droeach file show "Input/output error" when trying to open19:39
DroEriC^: strange, I don't know why this happen.. files sizes look OK, but impossible to open any file19:41
=== Dewin|znc is now known as Dewin
EriC^Dro: i think the disk or the connections or something is toast19:43
EriC^i recreated the whole procedure here just to be sure about the passphrase question after the mount -t command, it worked and showed the files contents :S19:43
EriC^Dro: i dunno if there are workarounds for dying disks, i dunno why i recall putting it in a fridge or something works19:44
EriC^1sec19:44
nelginNobody?19:46
DroEriC^: I'm thinking to try again with the default FNEK signature19:48
EriC^Dro: nah, the FNEK is correct, also FNEK is only for decrypting the filenames not the actual files19:49
EriC^if it's wrong you'd see mumbo jumbo for filenames but you could still open files19:49
EriC^Dro: it seems this freezer thing is one of those stuff where in certain cases of failure it can help, and some have claimed its helped, but its frowned upon by professionals, did you say earlier you were able to access the files and open them?19:50
EriC^cause one guy said "As always it depends of the failure. I tried the freezing method a couple of times successfully. The hard driver is getting hot about 50-80°C if you cool it down for about 10°C, some sectors can be successfully read." so maybe when it got hotter it failed more?19:51
DroEriC^: what about this choice : Enable plaintext passthrough (y/n) , maybe I should set it to y?19:52
EriC^Dro: you could try asking the guys in ##hardware in case they know, also how are you connecting the hdd? and is the connection/wires good for data/power?19:52
Hornet-EriC^ , pc hung so everything lost. restarted DD.19:53
DroEriC^: yes I was able to access files, even if sometimes I get some errors while starting ubuntu19:53
Hornet-will do a memcheck overnight I think19:53
EriC^Hornet-: that sucks19:54
Hornet-amen19:55
locsmif_workmb_check_encoding($variable, 'ISO-8859-15') always seems to return true, even if $variable clearly contains UTF-8 stuff (I checked with bin2hex)... why is that?19:55
EriC^Dro: nope plaintext passthrough wont help i think19:55
EriC^Dro: its something hardware, input/output means its having a problem reading the disks contents19:56
EriC^like physically reading it19:56
DroEriC^: when adding the passphare, I remember there was two keys , not only 94d1e83fc3d86ceb , maybe I have to try with the other one too?19:56
EriC^nope that's the fnek stuff19:56
EriC^Dro: how's the hdd connected?19:56
DroEriC^: its with usb19:57
EriC^Dro: what's the temp if you start 'disks' program right now?19:58
EriC^in the smart output it had min/max at 74, mine only has max at 34, thought that was a bit odd19:59
DroEriC^: i don't have the information in disks20:00
Droit only show my internal disk temp : Disk is OK (37° C / 99° F)20:01
DroEriC^: I retried smartctl again https://termbin.com/oo7v20:01
Dronearly the same , it was 30, and now 2620:02
EriC^yup20:02
EriC^Dro: i'd ask in ##hardware in case they know more what is causing the input/output or anything that can be done20:03
EriC^in the meantime i wouldnt work the hdd a lot cause the more you work it the less likely you are to be able to get the stuff of it20:04
DroEriC^: ok, thank you for the advices! I'll ask about this in ##hardware , its sad to see your old files names with sizes without being able to access them lol20:05
EriC^Dro: no problem, yeah that sucks, you might be able to recover though, if it's very important you could always take it to a professional place but they are pretty expensive, or maybe a workaround online like the freezer thing might work, good luck!20:07
DroEriC^: thank you!20:08
EriC^Dro: you're welcome20:08
CroranDoes Unity Desktop support Wayland?20:11
hugo_Hi all20:13
matsamanohio20:13
oerheksCroran, yes, i think so, have you tried?20:14
ice9how to use nvidia as primary GPU in optimus laptop?20:14
hugo_Is someone know a way to edit configuration file manualy to backup software in Ubuntu ? Where is it sored ?20:14
matsamanhugo_: can you rephrase?20:15
hugo_matsaman, i mean this software --> https://www.lifewire.com/backup-ubuntu-412628620:15
hugo_i am lokking a way to manually edit configuration. Where is the conf files ?20:15
matsamanhugo_: usually such files are in /etc/, but it might be using something in ~/20:16
matsamanhugo_: if it's a package from a .deb/from apt, dpkg -L packagename might show it20:16
hugh_marerawhat is the partitioning scheme used when i select "Erase the disk and install Ubuntu" on 20.04 EFI?20:16
hugh_mareraon SSD20:16
matsamanhugo_: you'll be able to address the particular scheme later during the installation20:17
hugo_matsaman, dpkg -L is a good idea. But i do not know the name of the package20:17
oerhekshugo_, deja dub, The settings are in file '~/.gconf/apps/deja-dup/%conf.xml', but that is only for experts.20:17
oerheksor that was, use dconf-editor20:18
oerheksorg.gnome.DejaDup20:18
matsamanhugo_: dpkg -l has the package names20:19
hugo_great thanks ! What is the quivalent  text way (conf file) of dconf-editor ?20:21
matsamanhugo_: if it's what oerheks says, then it's an ugly XML file20:21
matsamaneditable, but not fun20:21
oerhekswhy not use the normal route, to select the files you want to backup?20:22
hugo_i find only this... find ./ -iname "deja-dup"20:23
hugo_./.cache/deja-dup20:23
matsamannever been a big fan of backup systems that are magic and for which it isn't clear what they're doing20:23
hugo_oerheks, i need to exclude more than 50 folders20:23
oerheksindeed, and useless for your answer20:23
oerheks'exlude' .. you just set it once.20:24
hugo_oerheks, no. In the soft we have to add exclude folder one by one20:25
oerhekswell, editing an xml would be a more difficult task.20:26
matsamancertainly an annoying task20:26
aienado you know if there is an app like a text editor where I can load a file in some state only for copying and pasting from but not editing. I would like to edit the same file in another text editor simultaneously20:29
matsamanaiena: open another instance of any editor you please20:29
aienagui one. Vim can do it20:29
matsamanmany editors will also show you multiple files at once, and even windows20:30
aienamatsaman: yes but the other editor will allow editing20:30
matsamanaiena: gVim?20:30
oerhekswith dconf editor, must be doable... https://imgur.com/gallery/A0hgHkg20:30
MinallOr emacs with indirect buffers20:30
MinallBut come on, open 2 instances of your editor20:30
aienaMinall: I have 2 instaces of kate20:31
matsamanif you're happy to use Vim already, just use that20:31
matsamanalthough personally I use GNU screen to multiplex Vim instances20:31
matsamanbecause I use GNU screen to multiplex like, everything20:31
matsamantmux is another option20:31
aienamatsaman: well i think gvim may be a good idea20:31
aienaMinall: both the instances of kate allow wediting20:32
matsamanVim is well worth learning if you haven't yet20:32
matsamanrun 'vimtutor', it only takes 20-30 minutes to get the main parts down20:32
aienai never thought of gvim for read only and kate on the side20:32
matsamanwell, that's a bit silly, honestly20:33
aienai am converting a bunch of code:code snippets into dedicated content scripts and its a bit messy not knowing the older code and editing in both the windows20:33
matsamanto use two different editors, but whatever floats your boat =)20:33
matsamanaiena: try vimdiff20:33
aienamatsaman: yeah that flloats it20:33
matsamanaiena: or meld20:33
matsamanvimdiff file1 file220:33
matsamanCTRL+w to switch between sides, and then ordinary Vim for each side20:33
aienamatsaman: but file1 and file2 are file120:34
aienajust older and newer states20:34
matsamanvimdiff <(cat file1) file120:34
matsamanor: cp file1 whatevs; vimdiff whatevs file120:34
aienathanks a lot20:34
hugo_oerheks, This save me :)20:36
hugo_gsettings set org.gnome.DejaDup exclude-list20:36
matsaman=)20:38
oerhekshave fun!20:38
matsamanyes, go wild!20:38
matsaman=D20:38
aienamatsaman: vim is awesome for read only but a pain in the ass for selecting and copying20:42
aienai think could use firefox lol20:42
aienathats for suggesting vim though took me in the right direction20:42
sarnoldaiena: if you run 'view' you get a read-only vim20:43
ptx0hola20:43
ptx0having trouble with grub not loading the config from /boot/efi unless we do 'configfile /efi/grub/grub.cfg' manually20:43
sarnoldaiena: for copy-paste, also check out vim's 'visual' modes, eg Vjjj or V} , then you can 'd' or 'y' or yank into a register etc etc20:44
aienasarnold: hmm no what i meant is mouse highlighting etc in vim is bad as its meant for the keyboard not mouse.20:44
sarnoldoh20:44
aienai think loading the file in fireox and keeping it on the side will be like a read only notepad20:44
aienawith context menus20:44
aienai wanted a notepad but then realised a browser is a readonly notepad but with added features.20:45
ptx0it's looking in /boot/EFI/ubuntu for grub.cfg20:52
Hornet-EriC^: image done now. so reboot and see what windows media breaks?20:54
EriC^Hornet-: yeah reboot, try to use diskpart to mount it and run chkdsk if it doesnt mount, maybe use testdisk again medding with the bootsector and repairing mft etc20:55
Hornet-okay, this will be tricky as I can't really read manuals etc while in recovery mode20:56
Hornet-wish me luck, I'll probably be a while20:57
Hornet-thanks again for all your help & insights20:57
EriC^Hornet-: i'd read up on it first as its not very intuitive20:58
EriC^most of it is but there's an 'assign' command which is like the mount command in linux20:58
EriC^no problem, good luck!20:59
Hornet-thanks, I can't irc on my phone really unfortunately, but hopefully can find some reference stuff21:00
nikolamI just did fresh 18.04 32-bit install with minimal.iso in VM and seems like apt-btrfs-snapshot is not working. I isntalled it and it says: ModuleNotFoundError: No module named 'distutils.spawn'21:00
jerome1987_hola! I think I found a regression in the latest kernel update maybe, but I don't know how/where to report it, wondering if someone can point me in the right direction21:00
matsamanjerome1987_: https://bugs.launchpad.net/ubuntu21:01
matsamanjerome1987_: although you could run it by this channel first if you want21:02
=== routebee_ is now known as routebee
ExcessiveAggroHello friends.  Been thinking about building a new productivity PC (libre office, browser, Zoom, MS Teams, etc.) [no gaming] and wondering what type of video cards i should consider. I run 3 monitors and a gaming card really isnt necessary.  Thoughts on things like this: https://www.microcenter.com/product/462021/visiontek-radeon-hd-7750-low-profile-single-fan-2gb-gddr5-pcie-30-graphics-card21:06
summonnerExcessiveAggro, AMD cards with their drivers are considered more "open source" than Nvidia21:07
ExcessiveAggroThat's why I was heading down that path21:08
ExcessiveAggroBut that card is about 8 years old... worried if it would run productivity well21:09
ExcessiveAggroand all the new cards are 3d gaming cards - unavailable because of coin mining21:09
summonnerif you're doing 1080p, it should be fine. 4K you're needing a newer class of card21:09
Lvl4SwordI've got a brand new system where the audio is detected ( bar goes up and down ) but the speakers are not playing any sound at all. Ran alsamixer to ensure nothing is muted too. Anything I'm missing here that should be really obvious?21:09
ExcessiveAggroI'm looking for someone to  tell me -> check out this card for less than $300, it will support 3-4 monitors just fine and no gaming needed21:10
matsamanExcessiveAggro: most mobos will have onboard graphics, shoudl sfufice21:10
matsamanshould*21:10
summonnerLvl4Sword, i'm not the best at the audio but from my personal experience you need to map out the path of the audio  PCI device->cable->screen audio or whatever channels you use21:10
ExcessiveAggrosummonner Thanks I think that's where I will be.  My middle monitor is a 2k monitor21:10
summonnerExcessiveAggro, so not 1440p but?21:11
ExcessiveAggrosummoner my middle monitor is 2560x144021:11
ExcessiveAggrothe others are 1080p21:11
summonnerExcessiveAggro, how much memory on the card. I'm thinking you need 4GB min to run those three? I've had a few whiskies so my math is bad right now21:12
ExcessiveAggrohaha awesome... the card i linked has only 2gb21:12
ExcessiveAggroI didnt realize i could do some math on that... i will go figure that out21:13
matsamansummonner: just need more whisky21:13
ExcessiveAggroyeah its an upside down bell curve when it comes to whiskey and math....21:13
summonnerLOL love you guys   *guys in the non gendered language where male and female guys are different words21:13
ExcessiveAggrohave to get past that dip21:13
summonnerBalmer Peak21:14
ExcessiveAggrofull story here... i want to be fully off of windows but i have like 2-3 games I cant get to run in linux.  So I'm going to take this video card I'm using and throw it in a windows machine i hide in the basement (because I'm ashamed of it).  Then use moonlight to stream the games to my linux pc21:15
summonnerhttps://xkcd.com/323/21:15
ExcessiveAggroThinking i might wall it up behind some concrete and just allow a network card to pass through the concreete.21:16
ExcessiveAggrocable - not card21:16
hornet-Eric^ , on old android tablet. Diskpart sees a raw partition, chkdsk refused to fo21:16
hornet-To do anything with raw21:16
hornet-Jesus typing here is painful21:17
hornet-Unsure what i can do if anything21:17
summonnerof late, most games I play, when I run analysis on them (and this is the newer once, Death Stranding, Detroit become human etc) they take 6GB on my card and I'm on ultra/max settings. if you're decent at linux, you might want to look at #lookingglass and capture the video framebuffer in a window, play the game that way21:18
ExcessiveAggroI'm not great... but I'm good at reading so I will go check that out21:19
summonneri have a few friends which are moving off windows to linux and they're using wine alot right now21:19
EriC^hornet-: not much i think in the live session, try to get back on ubuntu to use ntfsfix,testdisk, etc21:19
ExcessiveAggromoonlight looked like a good option for streaming these few games from a windows box over to linux.  However it would be better to just not have a windows box21:19
ExcessiveAggroMy WINE success has been hit and miss.21:20
ExcessiveAggrowow works... ghost recon wildlands doesnt21:20
hornet-Rebooting. Is there a better live distro to use than this old ubuntu¿21:20
ExcessiveAggroLutris helps occasionally.. but not for everything21:21
EriC^hornet-: it should do the job21:21
ExcessiveAggroSteam proton also captured a few wins for me. But again - not everything21:21
EriC^which version is it?21:21
hornet-18.0421:22
EriC^ah good21:22
hornet-47EriC^, back again21:26
hornet-47ntfsfix looks pretty ligthweight21:26
EriC^hornet-47: wb, try to mount the partition using mount21:26
EriC^im curious cause i remember you said earlier it mounted but no files, but we didnt really get it to a mountable state21:27
EriC^i recall it said at the bottom that it used the backup sector to mount it in testdisk21:27
EriC^hornet-47: if it doesnt mount, try to run testdisk > intel >advanced and see the 'boot' again if it mentions at all any are good, if nothings good try to do the 'analyze'21:29
hornet-47ubuntu@ubuntu:~$ sudo mount /dev/sda1 /mnt/ssd21:30
hornet-47mount: /mnt/ssd: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.21:30
EriC^ok np, try testdisk21:30
hornet-47argh sec need to install it, and reactivate sources etc21:30
hornet-47clean slate21:30
EriC^see if there's something in 'boot' if not go to analyze and try a quick search/deep search, you dont really need to let it run long, just like 10secs and hit enter21:31
EriC^we're aiming for getting the 3 partitions as it was earlier when it said 3233... and the 2 other recoveries, then we'll try 'p' there and also have testdisk write that partition table21:31
EriC^in case it helps getting it mounted and stuff21:32
hornet-47bad, bad, not matching21:32
EriC^ok, give analyze a shot21:32
hornet-47running deeper. had to do that last time21:32
hornet-47weird the option is hidden behind the pause menu though21:33
hornet-47will take about 5 mins21:33
EriC^has it picked these guys up yet? https://i.imgur.com/7SIJTCt.png21:35
EriC^hornet-47: is it doing any mismatch head stuff?21:37
jerome1987_matsaman: thanks! It's maybe a weird one, but prior to kernel 5.4.0-64, if I connected and disconnected USB devices, it would often segfault.. I updated to 5.4.0-65 yesterday and the segfaults came back - maybe half a dozen in a few hours (USB switching with KM switch). I switched back to 5.4.0-64 and the problem went away again21:37
matsamanjerome1987_: seems a reasonable enough assumption to me21:38
matsamanjerome1987_: if there's a newer version of the kernel you can try, sometimes such things are re-fixed already21:38
jerome1987_oh yeah, I didn't actually think of that - will see if there's a newer one I can try and then will submit bug if it still happens there.21:39
jerome1987_thanks!21:39
hornet-47EriC^, nothing yet21:39
hornet-47unsure what you mean by mismatch head, I did see some warnings about that in the gpt scan mode, but that threw up all sorts of tosh21:39
hornet-47EriC^, it's just finshed, all 3 showing21:40
EriC^awesome21:40
EriC^try p on them21:40
hornet-47same as last time, 2 standard almost empty 'recovery' type things, adn the partition with just a fragment of files in it21:41
hornet-47maybe write this as primary and back to windows? should I toggle both of the other two as logical? atm all three are Deleted21:42
EriC^hornet-47: yeah, i just noticed what you meant earlier by the 2 recoveries overlapping21:43
EriC^i mean the recovery 1 overlapping with the 1st main one21:43
nikolamSo apt-btrfs-snapshot simply does not work on 32-bit 18.04..21:44
EriC^hornet-47: use the right arrow to make the D into a "*" on the first one21:44
hornet-47done21:45
hornet-47EriC^, leave other two Deleted?21:47
EriC^^hornet-: sorry i got dc21:49
hornet-47lot of it going around atm21:49
hornet-47so,  other two left as deleted?21:50
EriC^^EriC^> hornet-47: use the right arrow to make the D into a "*" on the first one21:50
EriC^^<EriC^> hornet-47: and i guess on the 3rd one, maybe go for "L" if it allows, or "P" and leave the middle one as "D"21:50
EriC^^<EriC^> i wonder what will end up in parted as the sector once it writes21:50
hornet-47it doesn't like L, so has to be P21:50
EriC^^any luck on "E" ?21:50
EriC^^although i think recovery would be P by default21:51
EriC^^now that i think of it21:51
hornet-47wait21:51
hornet-47there is no E option21:51
hornet-47and it seems to think all options are bad21:51
EriC^^ok21:51
hornet-47can't make it accept the middle one either21:51
EriC^^ah crap, right, even the last one is overlapping21:51
EriC^^ok, go for just the first as "*"21:51
hornet-47yeah that confuses me royally21:52
hornet-47wondered if I was misreading21:52
hornet-47so enter & pray now?21:52
EriC^^yeah hit enter then choose to write the partition table21:53
hornet-47okay interesting, back at a different screen21:53
hornet-47boot sector bad, backup OK21:53
EriC^^ok, that sounds better21:54
EriC^^is it asking to copy the backup over etc?21:54
hornet-47not prompting me to do anything21:54
EriC^^any write option?21:54
hornet-47I have backupBS and rebuildBS as options though21:54
EriC^^hmm i think rebuildBS might use the old one21:55
hornet-47https://i.imgur.com/nYjz7vu.png21:55
EriC^^whats it say below when you highlight rebuildbs?21:55
hornet-47'rebuild boot sector'21:56
EriC^^i suppose you could always later ask it to copy the backup over21:57
hornet-47unless rebuild makes a new backup too?21:58
EriC^^yeah, try backup bs21:58
hornet-47done21:58
hornet-47there's a repair MFT option too21:59
EriC^^worth a shot21:59
hornet-47done then21:59
EriC^^ok try to exit testdisk22:00
EriC^^then run 'sudo partprobe /dev/sda'22:00
EriC^^it might mention rebooting, nevermind22:00
hornet-47tells me to reboot yes22:00
hornet-47probe'd22:00
EriC^^ok, try 'sudo mount /dev/sda1 /mnt'22:00
hornet-47Corrupted file $UpCase22:01
hornet-47Failed to mount '/dev/sda1': Input/output error22:01
hornet-47NTFS is either inconsistent, or there is a hardware fault,22:01
hornet-47back to windows...? my experience of chkdsk is it usually just wipes anything it can't immediately identify22:02
EriC^^hornet-47: worth trying 'sudo ntfsfix /dev/sda1'22:02
hornet-47failed22:03
hornet-47Corrupted file $UpCase22:03
hornet-47Corrupt cluster map size 7292112 (allocated 7294976 minimum 7325888)22:03
EriC^^i wonder if rebuilding the bs might help, who knows22:04
hornet-47EriC^^: I'm thinking hit it with photorec before rebooting letting chkdsk mutilate it22:04
hornet-47I can try that yes22:04
hornet-47extrapolated and current are identical22:05
hornet-47so no point22:05
EriC^^ah22:06
EriC^^hornet-47: i'd give chkdsk a shot22:12
hornet-47running photorec first?22:12
hornet-47I suppose it can run from the image, but in theory this disk has a better structure now22:13
hornet-47although, does photorec care22:13
EriC^^yeah22:13
hornet-47haven't used it in like 15 years22:13
EriC^^i think it doesn't care about the fs stuff much22:14
hornet-47yus, looks like it goes low level, hence no filenames22:14
hornet-47anything to try before I reboot then?22:15
EriC^^cant think of anything22:16
hornet-47okay, once more unto the breach then22:17
EriC^^i wonder if running the mft rebuild in testdisk was a bad idea, but then again it wasnt showing the files when using the backupbs22:17
EriC^^but it was mounting it though, hmm22:17
hornet-47it's showing the same there as it did when I first used the p/browse option before doing anything22:17
EriC^^oh22:17
EriC^^just empty no files whatsoever?22:18
hornet-47whether that means it's done nothing, or it's cemeted those into the mtf, I don't know22:18
hornet-47no it showed a few22:18
hornet-47there was only a single directory tree though22:18
hornet-47and not an important one22:18
EriC^^aha, any interesting output after the mft rebuild?22:19
hornet-47none at all22:19
EriC^^ok, give chkdsk a shot hopefully you can mount it using diskpart and get chkdsk to run22:20
hornet-47okay, will see what blows up this time then22:20
hornet-47thanks again22:20
EriC^^no problem22:20
hornet-Eric^ still raw fs type22:26
EriC^^damn22:26
hornet-According to disk part22:26
EriC^^hornet-: i guess it's time for 'scrounge-ntfs' and if that doesn't cut it, photorec22:27
hornet-Never used it but will trust your judgement22:27
jadaxhi, I need a kernel with extra debug drivers enabled, do I need to build from scratch or I can download one from the repository?22:29
jadaxI'm on release 20.4.1 now22:29
nikolamhttps://bugs.launchpad.net/ubuntu/+source/apt-btrfs-snapshot/+bug/191381422:30
ubottuLaunchpad bug 1913814 in apt-btrfs-snapshot (Ubuntu) "apt-btrfs-snaphost not working on 32-bit 18.04 LTS after minimal iso install" [Undecided,New]22:30
pyeverythingdoes anyone here know how to fix these opengl and egl errors? https://askubuntu.com/questions/1312103/libegl-warning-not-allowed-to-force-software-rendering-when-api-explicitly-sele libEGL  warning: DRI2: failed to create dri screen libEGL warning: Not allowed  to force software rendering when API explicitly selects a hardware  device.22:32
hornet-14EriC^^, back again22:32
EriC^^wb22:32
hornet-14looking into scrounge atm22:33
hornet-14it seems to want foreknowledge22:34
EriC^^which windows OS was it?22:36
hornet-14EriC^^: 1022:37
hornet-14EriC^^, I can't find much online in the way of examples22:39
EriC^^hmm im trying to use "-l" on my ntfs to get the mft offset it says couldnt seek drive22:39
hornet-14notsure if the mtf is viable orn ot22:40
EriC^^i think it's probably a little outdated, their website only mentions examples up to windows xp22:40
hornet-14yeah22:40
hornet-14can I find the offset from linux?22:40
EriC^^hornet-14: try sudo ntfsinfo -m /dev/sda122:42
hornet-14cannot mount22:42
hornet-14something suggests sleuth kit tools can find it22:43
hornet-14but that's another tool I don't know how to use either22:43
EriC^^this is my ntfsinfo fwiw https://termbin.com/10e522:43
hornet-14win 10?22:44
EriC^^yeah, i think try photorec, i tried scrounge on my fs, it says cluster size 4096 from ntfsinfo but scrounge said invalid input 1-12822:45
EriC^^lol, i think it's a couple decades late22:45
EriC^^go for photorec i guess22:46
plitterhow does ubuntu iso manage to have a graphical environment?22:48
oerheksplitter, thanks to mister knoppers, who came up with a bunch of scripts to start a live environment22:50
oerheksthen Linux made a jump22:50
oerheksnow, with systemd and almost perfect detection, a live environment is much easier22:51
oerheks.. almost *boring*22:52
plitterboring is good :) that is the good kind of boring. what kind of excitement are you missing?22:53
oerheksI am not missing anything special, maybe more contribution to good manuals22:54
plittermaybe... thanks for your answer22:55
hornet-14EriC^^: looks like it's working22:58
EriC^^great22:58
hornet-14problem is it seems to haven o directory structures or filenames. so it's like 99.99% spam to ham22:58
EriC^^remember you can choose what to retrieve in file opts, i think by default it leaves some stuff out22:59
EriC^^yeah22:59
hornet-14I didn't see options for what to look for22:59
EriC^^it's under 'file opts'22:59
EriC^^i think by default it doesnt get every single file, not sure, but usually if one wants a file type that it doesnt have in the list you can get a sample file and see if it recognizes it uses fidentify and if not add the custom file headers to photorec23:01
EriC^^*using23:01
EriC^^fidentify /path/to/file for instance23:01
EriC^^fwiw https://www.cgsecurity.org/wiki/Add_your_own_extension_to_PhotoRec23:02
hornet-14EriC^^: looks like it needs 10 hours plus to run. it's already made insane amounts of files, this is going to be a nightmare to dig through23:16
hornet-14I can't see any .js files anywhere so maybe it doesn't get those23:16
hornet-14might have to look into it23:17
EriC^^maybe theres a program that organizes files based on headers, would make it slightly easier, or maybe write a script that runs a find + file and based on the output moves it to a dir23:18
hornet-14hopefully it'll catch my note files though, but I can't see how I can find those ~10 out of the 20,000 so far23:18
hornet-14there's a script that can sort them by type23:18
EriC^^grep/find/file to rescue23:18
EriC^^you probably want to remember something unique to them and grep for it i guess23:19
hornet-14I suppose yes, some fragments are somewhat unique23:20
hornet-14wondering if there's a way to find the MFT within the image we took23:22
hornet-14although, if scrounge can't use it, then is it even helpful23:22
EriC^^maybe something more ntfs oriented but newer than scrounge?23:23
EriC^^if the mft is in the same location for all ntfs made by w10 it should be the same as mine23:24
EriC^^i wonder how photorec actually works when a file is fragmented, how's it know to take this part and the remaining part and make it a file23:25
EriC^^makes me think it somehow uses some magic im not aware of at all, like <file header>stuff here how's it know where it ends23:26
EriC^^what's the output of "stat <some file it retrieved>" ? all same modified/created date?23:27
EriC^^anyways i'm off to bed, good luck23:31
hornet-14it's unclear23:31
hornet-14some seem identical, others some variance23:32
hornet-14sleuthkit might help find the mft, but no idea if that helps further23:32
hornet-14thanks again for your help though, greatly appreciated23:32
EriC^^no problem23:33
EriC^^yeah sleuth kit might be worth a shot, ive used it once not with ntfs though, it seemed more refined/had a ui in the browser iirc23:35
x0ng'morning. I've installed kubuntu desktop on a server install. having some trouble with network manager not picking up my wired ethernet for management. paste: https://paste.ubuntu.com/p/pBhBfFtQQP/23:48
x0nany pointers?23:48

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