[00:00] /path/to/mounthpoint is for instance: /dev/sda? [00:00] no, that's a device node. a mount point is where it's mounted to, e.g. / or /home or /var or /boot [00:05] oh, so is fstrim like defrag on windows tomreyn ? [00:08] frad: no. it's to tell ssd's and nvme's which parts of the file system are currently unallocated (not containing data that is still needed) and thus enables the disk firmware to reallocate its physical blocks in a better way, [00:09] frad: if you've stored data on such a device for a while without running TRIM or discard against it (and it didn't happen automatically either) then they *can* get slow. [00:10] im ambivalent, because I have no backup and I wouldn't want to irreparably delete something I need [00:10] on current ubuntu releases, there's a systemd unit + timer to run weekly TRIMs against file systems supporting it. [00:11] oh, so this is done automatically once a week? [00:11] if you have no backups then your data must be irrelevant. [00:11] maybe I don't have money for new ssds [00:11] it should ususally happen on a regular schedule, yes [00:12] backups dont have to be on ssds [00:12] but spindrives are loud... [00:13] they don't have to be in the same computer. [00:13] i'll stop making excuses [00:13] and they'Re not really noisy [00:13] :) [00:13] wait if Im real sensitive? [00:13] * mason leads a goat out on-stage and steps back to see what happens. [00:18] ! discard [00:18] !discard [00:18] .discard [00:18] !trim [00:18] Many Solid State Drives support TRIM, which allows the drive to do garbage collection and improves performance. Ubuntu 14.04 activates it by default. For older versions, see http://askubuntu.com/a/19480 for information on activating it. [00:18] oh [00:18] lol [00:21] unlike trim, dicsard is a file system mount option for file systems which support it. some file systems can do both discard and trim, others can only use one of those. and discard can cause problems or larger devices so trim should be preferred where possible. [00:38] how do I tune2fs a luks encrypted nvme? [00:38] first I have to decrypt... [00:38] the nvme unit being the unit I am now using [00:39] sorry, encrypted nand drive [00:39] just to be sure you're not mixing up tools: we didn't discuss tune2fs so far. [00:40] no, this I knew from somebody else [00:40] tune2fs is a utility to manipulate ext file systems. you can use it against and unmounted, and some of its functionality also against mounted ext file systems. [00:41] oops, strike the first "and" there. [00:41] I only want to set reserved blocks to 0.5% [00:42] as long as the crypto layer is open, i.e. you have an unencrypted device node which directly points to a file system, you can run tune2fs against it. [00:43] the default setup on ubuntu would be crypto layer -> lvm PV -> lvm VG -> file system, though. [00:43] the default setup on ubuntu would be crypto layer -> lvm PV / VG -> lvm LV -> file system, though. << correction [00:48] tomreyn, thanks but I must leave now. See you around and thank you! === zbenjamin_ is now known as zbenjamin === gabkdlly_ is now known as gabkdlly [02:43] hello i use ubuntu 20.04 but there is no python [02:43] what’s wrong? [02:44] !info python3 focal | futureRich [02:44] futureRich: python3 (source: python3-defaults): interactive high-level object-oriented language (default python3 version). In component main, is important. Version 3.8.2-0ubuntu2 (focal), package size 46 kB, installed size 189 kB [02:45] python instead of python3? [02:45] :( [02:46] !info python focal [02:46] Package python does not exist in focal [02:47] futureRich: you can apt-install either python-is-python3 or python-is-python2 depending upon which set of scripts you want to break :) [02:47] futureRich: I suggest instead using pythoh2 for your programs written in python2 and using python3 for your programs written in python3 [02:47] futureRich: just pretend the 'python' name doesn't exist and fix things as necessary [02:48] i will try it [02:53] how can i install pip for python? help me plz [02:54] futureRich: ask apt-file [02:54] there is no pip [02:54] futureRich: sure there is [02:54] apt-file that is, not apt-cache [02:55] futureRich: you know about the 'universe' repo? [02:55] and ubuntu ships with a neat thing that if you type a command that doesn't exist, it'll suggest what to install to get it: https://paste.ubuntu.com/p/ps3kkXhv4g/ [02:56] apt search pip —> no answer [02:56] futureRich: well nobody said to use apt search pip... [02:56] sarnold: does it do that without universe enabled? [02:56] then matsaman ? [02:56] sarnold: for pip3 in particular, that is [02:56] futureRich: apt-file [02:56] apt-file? [02:56] what is it? [02:57] it's a package and executable [02:57] it tells you what packages provide executables, for example [02:57] anyway you want python3-pip from the 'universe' repo [02:57] give a yell if you need help with that [02:57] matsaman: heh, good quesiton; I've always assumed command-not-found didn't need universe.. [02:58] matsaman: there is pthon2-pip? [02:58] futureRich: python-pip is for 2 [02:58] if you're making something new I wouldn't use python2, but python3 instead [02:59] as python2 is end of life [02:59] matsaman: there is no python-pip [03:00] futureRich: there is, in the 'universe' repo [03:00] universe repo? [03:00] how can i see it? [03:00] futureRich: sudo add-apt-repository universe [03:01] futureRich: and then sudo apt-get update [03:01] thanks [03:01] Hello everyone! I have a laptop with hybrid graphic card set up (integrated intel, discrete nvidia). With my Ubunutu 18.04, I was simply using the discrete nvidia as the primary gfx. [03:02] Recently, I learnt about Nvidia optimus [03:02] https://wiki.archlinux.org/index.php/NVIDIA_Optimus [03:02] I am about to upgrade my Ubuntu to 20.04. [03:03] Does it provide any support for Prime? [03:05] Simply put, I want to use the integrated gfx as my primary graphic card and use nvidia gfx only for certain tasks. [03:06] monojamoon|: yes [03:07] matsaman: any tricks in its setup? [03:07] I think the process is to install intel drivers (should happen automatically), install proprietary nvidia driver from repo and then install prime? [03:08] monojamoon|: there are a few different ways you can do it [03:08] what you just described is basically one way [03:08] https://askubuntu.com/questions/661922/how-am-i-supposed-to-use-nvidia-prime [03:10] Ah! Thanks a lot! [03:14] when ubuntu 18.04 will be supported till? [03:19] i don’t know why they remove python? :( [03:19] unlike 18.04 [03:20] futureRich: python2 reached end of life on january 1, 2020. Upstream isn't going to provide any more fixes of any kind for it. [03:21] futureRich: it won't be removed from Ubuntu for a while, however [03:21] futureRich: canonical is going to try to support python2 in precise, trusty, xenial, and bionic, for as long as we can, for as many issues as we can. it makes no sense at all for us to release a *new* distribution with python2 when it would release without any upstream support on the first day [03:21] Finally! Python3/Python2 was like a divorce where the couple still share the same house. [03:21] but there is some program that is made by someone :( [03:21] futureRich: what program? [03:22] futureRich: you can run 18.04 in a VM or LXD instance [03:22] rfcat [03:22] futureRich: this? https://github.com/atlas0fd00m/rfcat [03:22] matsaman: yea correct [03:25] futureRich: looks like they'll have it sorted pretty soon: https://github.com/atlas0fd00m/rfcat/pull/71 [03:25] futureRich: the version from that PR might even work now, even if it doesn't pass the author's museter [03:25] muster* [03:27] matsaman: then i must wait it? [03:27] futureRich: you can follow that PR and it might be ready soon, or you can try building it from that PR right now [03:27] if it works it works [03:28] building/running, whichever is required [03:28] thanks [03:30] futureRich: same as this, which is a little easier to clone/download: https://github.com/PlantDaddy/rfcat/tree/python3-compatibility [03:31] oh great this is code for python3 ? [03:31] matsaman: ? [03:32] futureRich: that is my understanding [03:32] he's been porting rfcat to py3 [03:32] thanks :) [03:32] i will try it [03:32] the PR says it builds, and the only reason the upstream maintainer hasn't merged is ... arguably small things, like print statements [03:35] matsaman: guy don’t fix it [03:38] matsaman: using ubuntu 18.04 is good idea instead of 20.04? [03:38] 18.04 is end? [03:39] 18 is supported till 2023 at least [03:39] then can i go to 18? [03:39] if you want [03:40] some people call me dude? [03:42] if i use 18.04? [03:44] anyway where can i install 18 version? matsaman help me plz [03:44] nah I don't think so [03:44] thanks [03:44] I would probably find a way to use rfcat on 20.04, myself [03:44] but sticking with an older version that makes your life easier for a little while is perfectly sane, IMO [03:44] i will use 20.04 in 2023 [03:44] especially an older version that remains in support [03:45] where can i download 18 version? help me matsaman ? [03:45] futureRich: well, actually [03:45] futureRich: first you should try and install 'python2' from 'universe' in 20 [03:46] matsaman: but python is python2 in 18 version but python2 is python in 20.04 version [03:47] help where can i download 18 version? help me matsaman ? [03:47] futureRich: yeah it's not really a problem if it's called 'python2' [03:48] then i can’t install pip [03:48] how can i install pip then? [03:49] futureRich: https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/#installing-pip-for-python-2 [03:50] matsaman: thanks i will try it [03:50] :) [03:50] if i failed then i will go to 18 version [03:50] :) [03:51] sounds like a plan === PowerTower_121 is now known as PowerTower_120 [04:59] matsaman: i have mistake with ‘apt install python’ instead of apt install python3-pip, then i have 2 python2? [05:01] matsaman: busy? [05:30] <_tej_> Hi, I am unable to receive pings (or ssh into my PC) from other machines on the LAN. I am using a fresh install of Ubuntu 20.04. Google search didn't' help much. Could someone please help me resolve the issue? [05:44] Hello -- I just started using JWM over gnome and I'm very impressed with how nice it is [05:44] really happy about its keybindings, and very light too in terms of resources. [06:02] Hi, can someone give me the command to fstrim both my /home drive and all mounted drives? [06:06] moonfmdesire: fstrim --all? [06:06] p0a, Just that? [06:06] try it with --dry-run to see if it does what you wanted [06:07] p0a, What does dry run do? [06:07] moonfmdesire: it doesn't modify anything [06:08] p0a, I want it to clean up all my drives [06:08] --dry-run ensures that you don't actually do anything before you decide to do it [06:08] and --all will clean up your mounted filesystems [06:08] p0a, Will the -a option also handle the drives mounted? Like I have sdd connected via usb 3 [06:08] p0a, Ahh okay [06:08] why don't you try it with --dry-run and see what it does [06:09] ... [06:09] I'm telling you that --dry-run will only show you what happens, it won't actually do it [06:10] p0a, Okay, please give me the full command because the command line won't do anything [06:10] p0a, It just says unrecognized option [06:11] fstrim --dry-run --all [06:12] p0a, fstrim: unrecognized option '--dry-run' [06:13] moonfmdesire: what's your fstrim --version? [06:14] p0a, fstrim from util-linux 2.31.1 [06:16] moonfmdesire: that version doesn't have the feature [06:17] p0a, Like a version [06:18] p0a, Well, I ran the command -a and it did not complain [06:18] p0a, So I guess it did the job [06:19] I believe you need root to run fstrim [06:19] if you run it with --all --verbose you can see exactly what it does, I think --verbose is default but I am not sure so just add it there [06:19] moonfmdesire: 2.34 has --dry-run if you want that feature. [06:20] p0a, how do i install it? [06:20] moonfmdesire: you need to update `util-linux' [06:21] moonfmdesire: apt update && apt upgrade util-linux [06:21] p0a, My install says I have the latest, if I upgrade, will it cause problems? [06:21] what version of ubuntu are you using? [06:22] p0a, 18.04 [06:22] moonfmdesire: One option, which may or may not make sense for you, is to just upgrade to Ubuntu 20.04. [06:22] moonfmdesire: I don't think it's important to upgrade util-linux. Leave it as is. [06:23] Jordan_U, It will harm me. I run proprietary graphics drivers, that will break it. [06:23] p0a, I just want to trim my drives [06:23] p0a, I agree with you. [06:25] p0a, Thanks for your help. [06:26] moonfmdesire: You probably have successfully done that. If you want to know how much space has been trimmed from all of your drives you can just run "sudo fstrim -a --verbose", which will tell you how many blocks have been trimmed from each filesystem. It doesn't actually trim them again if the blocks haven't been written do (and then erased) since the last time you trimmed. [06:26] Jordan_U, Ahh, okay, thanks! [06:27] Jordan_U, I am moving files from smaller ssd's to a bigger one to simplify a project I am working on [06:27] right now [06:27] but will run it again [06:27] moonfmdesire: You're welcome. [07:35] Greetings, say does someone know where to setup network options for apt get? I have a a problem with timeouts and nothing loading till them. Ideally i want reduce the timeout time but increase the retries to very high. [07:52] Elw3: [07:53] Elw3: ... Can you pastebin some example apt output that demonstrates the problem you're seeing? Are you on a particularly poor / unreliable internet connection? [07:54] It stalls, what do you expect from that? [07:55] Elw3: Is it "apt update" or "apt install" (/upgrade) that is causing more problems? Does the operation eventually complete after it times out and retries? [07:58] booth, but i only care on install atm. The problem is that it doesnt retry fast and often enough. It looses connection, then waits minutes, then retries, and eventually gives up. [07:59] Elw3: Do you have a particularly poor internet connection? [07:59] Yes very. [08:01] Elw3: https://wiki.debian.org/AptConfiguration (specifically "Acquire::http::Timeout "2";: sets the timeout for HTTP downloads [08:03] guys i have a question please [08:04] Elw3: Also, what version of Ubuntu are you using and do you get stalls with all applications / protocols or only some? [08:04] CoDeAmRo: Ask away :) [08:05] Well my netspeed is 7kbs, so everything internet stalls. But interestingly this doesnt happen if i for example boot to ubuntu 10 (which is still on my disk) [08:05] is there away to connect my ubuntu screean on my smart tv wireless same with windows 10? [08:06] CoDeAmRo: To be clear, you want to have whatever is on your screen in Ubuntu show up on your TV, is that correct? [08:07] yes [08:07] screen mirroring [08:08] to view my ubuntu os on my tv [08:09] CodeLyoko: Do you know what protocols your smart TV supports? Does it support "casting" as if it were a chromecast for example? [08:10] miracast and intel widi [08:15] CodeLyoko: https://github.com/albfan/miraclecast seems to be an option, but it's also not available in Ubuntu's default repositories and looks to be not very easy to use. [08:16] I checked on Ubuntu Studio and it seems like the fswatch issue is there too. The flag --exclude ".*" on Ubuntu 20.04 with Xfce and Xubuntu 20.04 just excludes everything and can't be overwritten by --include "xyz"... [08:16] Xubuntu was on a VM and Ubuntu Studio was on a separate computer as the main OS. [08:17] So, maybe now is the time for the logical next question: What are good alternatives to fswatch? [08:17] I found github/facebook/watchman, but it seems one has to build from source (which didn't work for me). [08:19] I have 2 users on a machine , one is able to access the shared nfs permission that has perms 777 , the other can't , i can't figure out what is the issue. Any ideas? [08:20] Jordan_U, it appears setting the timeout this way worked. but now whats the line for retries? I wonder if there is a file containing all possible flags. This cluttering options at all places is painfully annoying. [08:21] Elw3: man apt.conf [08:22] Oh i did not know you can use man on files that way. Interesting, thanks. [08:23] Elw3: If you want to see all of your current settings (this doesn't include settings that *can* be set in a configuration file but currently aren't) you can run "apt-config dump" or presumably just "cat /etc/apt/apt.conf.*" . [08:23] c/lastlog Elw3 [08:23] hrmmm, hitting c a lot lately [08:25] Yes i did that, but the missing *can* is a showstopper for that dump. [08:26] zmagii: inotify , or for certain things fanotify seem to be the main options. If you want a utilities you can use from a shell then use inotify-tools. If you're trying to add features to a program written in a certain language, that programming language probably has its own nice bindings for inotify / fanotify. [08:33] i execute this command : apt-get install python, then i will be install python? i use 20.04 ubuntu with python2 preinstalled [08:33] ? [08:34] Jordan_U: Thanks, I'll have a look. === strobelight is now known as Guest14187 [08:34] futureRich, Ubuntu's python command is 'python3' [08:34] 'python' doesn't exist [08:34] stephanie: so i installed it with ‘apt-get install python' === strobelight_ is now known as strobelight [08:35] Python3 comes preinstalled [08:35] You shouldn't be using Python 2 [08:35] It's a security risk [08:35] stop [08:35] i asked somethin [08:35] g [08:36] futureRich, sudo apt install python2.7 [08:36] there is python2 and python3 now but i installed python with ‘apt-get install python’. then there is 2 python2? [08:36] futureRich, Yes there is multiple names for the same thing [08:36] multiple name for samething [08:36] there is only 1 python2 then? [08:37] Some people may have used upgrade and not a clean install and have 2.7, 2.6 and 2.5 on their system [08:37] Different versions of python have different features, for example something might have been depreciated in a newer python such as 2.7 and so the user installs 2.6 [08:38] but version is same —> python —version python2 --version [08:38] Yes [08:38] That's good [08:38] Use python3 for python 3 [08:38] Not python [08:38] then it is just different name? [08:38] for python2? [08:39] Python and python2 link to python2 [08:39] Python3 links to python3 [08:39] ah [08:39] what is this command : apt-get install python? [08:39] stephanie: ? [08:39] futureRich, installs python2 [08:40] but 20.04 have python 2 already [08:40] before apt-get install python [08:40] No [08:40] it doesn't [08:40] then? [08:40] 20.04 has python3 [08:40] no [08:40] Yes 20.04 has python3 [08:40] 20.04 have python2 [08:41] if you have python2 then you've upgraded from 19.10 or earlier [08:41] 20.04 have python2 and python3 [08:41] 20.04 clean installed has python3 only [08:41] lol [08:41] stephanie@stephanie-Latitude-E6330:~$ python2 [08:41] Command 'python2' not found, but can be installed with: [08:41] sudo apt install python2 [08:41] stephanie@stephanie-Latitude-E6330:~$ [08:42] strange [08:42] my computer have python2 preinstalled [08:42] on 20.04 [08:42] Not strange, you've either upgraded or installed something that needs python2 [08:42] Maybe your drivers need it [08:43] ok anyway thanks [08:45] mac vs ubuntu, which is easier to use for noobs? [08:45] should be mac! Otherwise they would be out of business. [08:46] Free OS that is easy to use out of the box! Oh boy! Bye bye windows, bye bye mac! [08:47] Eh, i find its getting harder to ise since 2012... [08:47] *use [08:53] futureRich: That depends a lot on what types of things you do with your computer, what you're used to using (even "noobs" have more lived experience with computers than they might realize, and with that some expectations for how things will look/work). There's no general answer that can be given to that question. [08:56] Everyone should feel right at home using Ubuntu [08:56] And if they don't they're irrelevent [09:05] *sigh* now my joypad isnt working anymore. 3 buttons do nothing in jstest. [09:10] Its a ps3 pad, one would assume they are widely spread enough so that their functioning is secure. [09:30] if one of my administrators accidentally did an 'apt-get upgrade' instead of an 'apt-get update' and upgrading all the packages broke applications that can't yet use the lastest version is there a way to downgrade to where they were before upgrade without a backup? [09:33] That raises the question where to get the old packages from. [09:33] would be nice if the package manager had the ability to backup the old packages before upgrade [09:34] not everyone has the ability to take a complete system snapshot or backup before upgrades [09:35] If you never clean the apt cache they are still there. You can force a version too, but be warned, this will likely just fuck everything up. [09:35] i mean the whole idea would be to provide a user friendly way to rollback without fucking everything up [09:36] i believe this is a valid problem [09:36] Indeed. [09:37] uidnull: Please watch your language in this channel. Was this an upgrade to a new release of Ubuntu, or just updates within a given Ubuntu release? If the latter, what applications broke from what updates? [09:37] Jordan_U: why are you singling me out when i wasn't even the one that started with it first [09:38] uidnull: Because I didn't see Elw3's swearing until you meantioned it. They shouldn't swear here either. [09:39] is that in the channel rules? [09:39] Whups. [09:39] Thats just how i speak actually. [09:39] Jordan_U: what authority do you have to dictate how we speak here? [09:39] uidnull: Yes, it is: https://wiki.ubuntu.com/IRC/Guidelines [09:40] shut it uidnull , this is for technical help for a reason. Cluttering makes support hard. [09:40] Elw3: you're the one that set the example [09:41] you're both retarded [09:41] uidnull: That is not acceptable language or behavior toward others in this channel. [09:42] It did not occur to me that swearing exists. I am rizon too, no single line there would acceptable here. [09:42] +be [09:43] I claim its all typos. [10:18] i'm stuck trying to upgrade: "Please install all available updates for your release before upgrading." [10:20] get this: https://gist.github.com/tbbooher/c225338c011836bc4dd8336499da32c2 [10:32] bonhoeffer: try apt-cache policy mongodb-server [10:34] thanks [10:34] that just reports status? === hendry1 is now known as hendry [10:56] bonhoeffer: this reports which apt sources provide a package named like this, which of them is currently installed, and which of them would be chosen for an upgrade based on your configured apt repository priorities and apt preferences. [10:56] ah -- thanks [10:56] (and i haven't seen the actual output on your system since it seems to have since been removed) [10:57] the output can become stale, too, it's based on when you last ran apt update to update the apt cache. [11:17] Hello. I have HP ProBook 455 G6. I downloaded the LTS .iso and booted it. It first loads Ubuntu & HP logo, but after a few minutes away only HP logo remains, and nothing to interact with. What to do? [11:22] felixi: you fail to mention how you booted this ISO, does your computer have a DVD+/- R drive or? [11:24] felixi: try a different version / edition and a different method of creating boot media [11:25] tatertots: i don't have an optical drive; I can only boot from usb [11:26] or memory card (if it is possible to boot from sd-card), but i don't have one rn [11:28] felixi: have you ever booted anything successfully? [11:28] I've tried an earlier version also, alas no luck. I tried 18.something before but no luck there either. No I haven't booted linux succesfully. I have tried manjaro and mint too [11:29] how did you create the bootable installer / live usb stick? [11:29] with balenaEtcher [11:29] is this ubuntu 20.04 desktop then? [11:29] yes [11:29] 'Morning folks [11:29] hey BluesKaj [11:30] are you on windows? [11:30] atm, yes [11:30] hey felixi [11:30] felixi: personally if this fails to boot i'd look into bios updates [11:30] hey tomreyn [11:31] felixi: you can also try http://www.chrysocome.net/dd [11:31] Hello, I installed Ubuntu 18.04 on a clean LVM disk, everything is inside the LVM even the /boot. After adding another Physical Disk to the LVM the system didn't boot [11:31] balena etcher should have worked [11:31] tomreyn: okay, I am not familiar with it [11:32] i'm only partially familiar with it, but so far it always worked for me. [11:33] felixi: bios updates can be relevant since this is an amd mobile platform which is somewhat new and i think it had some problems in the beginning. [11:33] sure, i'll look into those [11:33] tomreyn: as soon as the ubuntu logo shows up [11:34] can't you press F-something to show the messages instead? [11:34] it'd indicate where it gets stuck [11:35] p0a: you could hold down shift or keep hitting escape to bring up grub, and edit the grub menu options, passing different options to the linux kernel [11:35] !bootlog [11:35] To get a more verbose log of the boot process, remove "quiet" and "splash" from the kernel boot parameters and add "debug systemd.log_level=info". For info on editing kernel boot parameters, see https://wiki.ubuntu.com/Kernel/KernelBootParameters [11:36] but i'd start with the bios update. [11:36] tomreyn: yes, thanks, that's what I was trying to suggest. [11:37] spoonsearch: what's a 'clean LVM disk'? do you mean an LVM2 logical volume? a single one? [11:39] I have 2x960GB SSDs, sda and sdb. I did a clean install of Ubuntu 18.04 with LVM on whole sda. [11:41] Later I added sdb to extend the overall size of the root file system and rebooted. But the reboot failed with this error - grub error: disk 'lvid/...' not found. Entering rescue mode.. [11:41] i see. so you installed to sda with every file system stored on LVM2 logical volumes backed by the sda PV. [11:41] @tomreyn: Yes [11:41] and later you added sdb as a secondary PV to the same VG? [11:42] tomreyn: Yes, I added sdb as a secondary PV to the same VG to extend the overall filesystem size [11:42] hi, is there a way to setup livecd without nfs root for a pxe environment [11:42] and then you extended the LV containing the root file system and the root file system itself. [11:42] i want to mimick a livecd boot [11:43] tomreyn: Yes, exactly [11:43] spoonsearch: did you check that the LV ID and file system UUID remained the same after you extended those? [11:45] Yes, I did check matched the IDs and it didn't match [11:47] . [11:47] spoonsearch: well that would have hinted that the reboot would fail ;) [11:49] spoonsearch: so you need to run update-grub to update the grub configuration as well as update-initramfs -u -k $(uname -r) to update the initramfs with the new IDs. [11:49] tomreyn However, I repeated the entire process again (clean reinstall, etc.) but this time I did `grub-install /dev/sda` and `grub-update` and now it reboots perfectly [11:49] spoonsearch: so there's not actually any problem you're trying to solve now? [11:50] tomreyn Do I have to repeat the grub commands everytime I add, remove or resise the LVs? [11:51] yes, the UUID differs for changed partitions [11:51] Also what does this command do `update-initramfs -u -k $(uname -r)`? I didn't use this command still the system was able to reboot [11:52] @oerh [11:52] oerheks Thanks, now I understand [11:54] spoonsearch: "to update the initramfs with the new IDs" - if it wasn't needed then i guess the initramfs had already been updated or nothing in there refers to block device layers using their IDs (but rather device nodes - which did not change). [11:55] tomreyn: Also one last thing, is it safe to but everything including the /boot inside LVM? I researched about it across the web but people are fighting about it [11:56] According to my understanding if grub2 is used than it is okay, wanted some expert opinion on it. [11:58] spoonsearch: depends on how you boot,. it wouldn't work with uefi booting, there you'll need the uefi system partition to be a separate top level partition on some gpt partitioned disk. [11:59] also, with bios booting off gpt with the grub bootloader you'd need a bios-grub gpt partition [12:01] I have checked my system is BIOS not UEFI, so I should be safe [12:04] tomreyn: I just noticed, `fdisk -l` shows sda Disklabel type: dos, where as sdb Disklabel type: gpt, it isn't unusual or cause any problems? [12:07] spoonsearch: it's not unusual. whether it's going to cause problems depends on how you'll use it. [12:08] Okay, thank you for help. Have a nice day :] [12:09] you, too, spoonsearch [12:17] Whose bright idea was it to make apt stop accepting regex altogether? [12:17] Because that's a stupid fucking idea. [12:21] !discuss | ElTimo [12:21] ElTimo: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [12:21] also !language [12:23] Hello, can someone help me with a tip How can I add ip to ubuntu 20.04 have any scheme ... [12:25] Sergiu: can you describe your goal or problem differently? this is not enough detail, yet. [12:26] tomreyn : I managed in the first phase to add the ip but the first reboot deleted them [12:27] i.e. synamic / static address assignment, type of network interface, network management instrumentation (network-manager, systemd-networkd, netplan, ifconfig, ...). is it ubuntu 20.04 desktop, server or core? [12:27] i meant "dynamic", not "synamic" [12:29] ubuntu 20 server [12:29] ip is static [12:30] I think I'm wrong somewhere or I still have not befriended ubuntu 20 because only 1 single IP sees me. [12:30] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 [12:30] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [12:30] inet 127.0.0.1/8 scope host lo [12:30] valid_lft forever preferred_lft forever [12:30] inet6 ::1/128 scope host [12:30] !paste | Sergiu: you were just muted here (temporarily, due to flooding) [12:30] Sergiu: you were just muted here (temporarily, due to flooding): 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. [12:32] Sergiu: there's #ubuntu-server for ubuntu server. you may need to read up on https://ubuntu.com/server/docs/network-configuration [12:32] Sergiu, cloud-init's fault probably : try this : https://www.linuxtechi.com/assign-static-ip-address-ubuntu-20-04-lts/ [12:33] hi ! [12:33] ok [12:34] thnx ioria & tomreyn [12:34] ok [12:34] you're welcome [12:34] I have Ubuntu 20.04 and looks like VLC is a bit buggy here. Sometimes it hangs on opening videos (which are not broken). I can't quit it from tray icon it creates. What's happening? It's always been the most solid videoplayer [12:34] I'm trying now to see if it'll work out. [12:36] lionrouge, sometimes smplayer handles "difficult" videos more smoothly than VLC, but I have no idea why that is. [12:37] BluesKaj, I can open the very same videos with VLC perfectly well when it's in "good mood" [12:38] heh [12:38] the only thing I can quit it right now is `kill -9` [12:40] btw, it was as buggy in 19.10 too [12:45] ioria : I did it, thank you for your help [12:45] Sergiu, no problem [12:51] if I want to tune2fs a luks encrypted nvme drive to 0.5% i first have to umount the block where the encryption is, in my case, nvme0n1p2, correct? it hould be:sudo umount /dev/nvme0n1p2, right? [12:51] then tune2fs [13:12] frad: 0.5% of what? [13:13] tomreyn, of the total size of the disk [13:13] reserved space [13:13] do yuo mean -m reserved-blocks-percentage ? [13:22] frad: if so, you can do it on a mounted file system (at least on ext4, i assume ext3 as well) [13:24] yes tomreyn I mean -m. inside the luks encryption there is an ext4 filesystm [13:25] Hey I am trying to figure out why my laptop(acer aspire f5-573g) has issues at times waking up [13:26] it "calmed" down and it is not as bad as in ubuntu 19.10 [13:26] frad: the fact that there's an exncryption layer below it is irrelevant for this task. [13:26] but it still happens so it is a bit worse than 18.04 in 20.04 [13:26] I am on 20.04* [13:26] after executing sudo tune2fs -m 0.5 /dev/nvme0n1p3 I get: Bad magic number in super-block while trying to open /dev/nvme0n1p3 it contains a crypto_LUKS file system [13:26] kubast2: what kind of issues? [13:27] it has troubles waking up from sleep [13:27] at times [13:27] frad: you need to apply the change to the container of the file system [13:27] well it is not as bad as in 19.10 where every sleep never actually worked at all [13:28] frad: if the dmcrypt-luks encryption layer is below the file system then this may be located at /dev/mapper/nvme0n1p3_crypt [13:28] as in the machine sleept just fine, but it takes a longer while to get it to wake up at times. It happens a lot less since 20.04 [13:28] on 19.10 it was so bad I left my pc for an hour or so and it was still frozen [13:29] I will send the journactl -k -b -2 [13:30] https://paste.ubuntu.com/p/Dn5Q8M53Rn/ [13:31] wifi firmware crashes at times for me since some version of linux 5 [13:32] it first went on to crash on arch linux and then moved onto windows 10, might be the wifi card dying [13:32] thanks again tomreyn I managed to o it! [13:32] DO IT DAMMIT [13:32] kubast2: you have BIOS V1.18 10/21/2016, latest is V1.27 [13:32] the problem is I am no longer able to restart the wifi firmware/driver/wifi chip state by removing and modprobing the drivers related to wifi [13:32] frad: you're welcome [13:32] oh okay [13:33] kubast2: if upgrading the bios doesn't help, you can also try this: [13:33] !acpi_osi [13:33] If your system is unstable or power management does not work well and logs show ACPI issues, you can try to make the Linux kernel pretend it was Windows during boot (which can help on hardware which was only tested with Windows): http://iam.tj/prototype/enhancements/Windows-acpi_osi.html [13:34] bios update: https://www.acer.com/ac/en/US/content/support-product/6739?b=1 [13:35] "1. Update following microcode2. Fix S3 wake up, USB BT yellow mark, CCD not work, some port fail." oh I see now I will install intel microcode update [13:35] I didn't thought of this, the intel-ucode.img ramdisk [13:35] i don't know what "the intel-ucode.img ramdisk" is [13:37] https://packages.ubuntu.com/pl/bionic/amd64/intel-microcode/filelist well on arch linux someone packaged in intel microcode updates and they load as a first/2nd initramfs [13:37] apparently you referred to a mechanism arch linux and gentoo use for live upgrading the CPUI microcode. [13:37] yeah [13:38] it is probablly why I avoided having said issue there never thought of this [13:38] I will reboot to windows to get the updates [13:38] ubuntu attaches microcode updates to the initrd for early loading. [13:39] (so the result should be comparable, though i don't know which microcode version arch would ship.) [13:40] thanks man [13:40] you're welcome [13:41] tomreyn, I just moved 50 GiB of data from one ssd to another. Should I trim? [13:41] I trimmed yesterday [13:41] frad: you could trim the source (if "move" means the data is no longer present there). but just waiting for the weekly trim will be fine, too. [13:42] tomreyn, what I don't understand: if there is a weekly trimming, how come firefox and vlc start way faster only after I manually trimmed yesterday? [13:43] I installed 2 months ago [13:44] frad: i do not know this., maybe you wrote a lot of new data onto or repartitioned the same storage since the latest automatic trim? [13:45] it could also be that the weekly trim doesn't apply. sometime they don't pass through all block device layers successfully. [13:46] i think there was a time when ubuntu installers didn't ensure you'd have trimming when using certain block device layers, such as dmcrypt-luks [13:47] tomreyn, did not repartition, I wrote a lot of data. Both ssd and nvme are luks encrypted though... [13:47] tomreyn, is there any command to know if the weekly trimming is on? [13:47] you could search your system logs for the timer and see whether it ran [13:52] example: journalctl --since 2020-06-01 | grep -E ' fstrim\[[0-9]*\]:' [13:52] tomreyn, in /var/log I found 2 syslogs: 'syslog' and 'syslog.1' syslog.1 has 18000 lines opposed to 4000's syslog. what is the difference? [13:53] I see what you did there :D [13:55] syslog is more current than syslog1 [13:55] syslog.1 would be the rotated log file after the first rotation (using the "logrotate" command). [13:55] syslog.1 is the previous syslog, you might spor syslog.2 too [13:55] c/spot [13:55] thanks tomreyn, automated trimming takes place once a week [13:56] I only have 'syslog' and 'syslog.1' but there are several 'syslog.2.gz' to 'syslog.5.gz'... [13:56] unfortunately, fstrim.service logs "Discard unused blocks" instead of referring to TRIM, which can cause confusion. [13:56] why are some gz files and other reguler text files? [13:57] !man [13:57] The "man" command brings up the Linux manual pages for the command you're interested in. Try "man intro" at the command line, or see https://help.ubuntu.com/community/UsingTheTerminal | Manpages online: http://manpages.ubuntu.com/ [13:57] read the manual for logrotate [13:59] .gz files are created by the "compress" command in log rotation configurations [14:00] nowadays you'll more likley work with systemd-journal than syslog, though [14:00] hello [14:00] Hello! Anyone running on xorg with nvidia Quadro and proprietary drivers? [14:00] frad: you can in fact just remove syslog and its logs of you don't want two separate logging systems. [14:01] luc4: for polls, you could try #ubuntu-discuss. [14:01] trying install ubuntu under hyper-v. i have issue when using hyper-v connect. ubuntu install window popups so overlay that i cannot see ncurse down buttons for yes and no / continue [14:01] or describe the problem or support question, if any. [14:01] howto overcome this? [14:02] ivaat, hyperv issue .. try ##windows? [14:02] If I'm more likely to work with systemd-journal instead of syslog, how come syslog comes installed? [14:04] maybe systemd-journal uses that log too? [14:05] no it doesn't. [14:07] I mean, is syslog being deprecated? [14:07] syslog is a bit of a default which has been around for a long time, and systemd-journald is not a complete replacement for all applications you can cover with a syslog daemon, e.g. i'm not sure you can do centralized logging with systemd-journald [14:08] maybe, it's a bit early to tell, i think [14:08] everything in motion, constantly [14:09] at snail speed, so you can usually adapt to it. [14:10] lol [14:10] even if I majored in literature and never studied computer science? [14:13] as long as you can study release notes, yes [14:22] I have an HP laptop running Ubuntu 20.04 with UEFI. I discovered that i needed realtec wireless drivers to connect wireless to the laptop to the internet. The problem was i needed to turn off secure boot to install the wifi drivers. so i found out how without going into the bios, but the problem is secure boot turned itself back on and disconnected the wifi drivers installed. [14:23] i understand there is a permenant way to shut it off in the bios, but i dont know how to get there and i have read others did and found no secure boot to turn off any help? [14:26] Greenfrog: do you know the exact HP laptop model? Rzunning this in a Terminal should reveal it: journalctl -b | grep DMI: [14:26] Greenfrog, my HP uses F10 (or Esc) during startup to get into BIOS settings. [14:26] there is no difference running as root with either 'sudo -i' or 'su -', correct? [14:28] environments may differ [14:29] also "su -" would prompt for the root, not the user password, and there is no root password on ubuntu by default. [14:30] yes i run sudo -i [14:31] i'll have to go get the model number its in another room [14:31] hey sweeties [14:32] nixos is going to overpower ubuntu [14:32] !ot | uidnull [14:32] uidnull: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [14:32] !ot | oerheks [14:32] oerheks: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [14:33] uidnull, stop trolling, thanks [14:33] shut up fag [14:33] as in faggot [14:33] !ops [14:33] Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax [14:33] !ops [14:33] can't block me i've got compromised vpn connections all day long [14:33] you're stuck with me forever homos [14:41] Greenfrog: usually the easiest way to work on fixing such problems is to have the affected computer connected through a different internet access (such as ethernet or usb-ethernet or tethering through a smartphone). or if none of this is available to have the affected system next to a computer which can get online fine. [14:46] if i update mojave to catalina, then data will be disappear? [14:48] futureRich, yes/no/maybe, ask in the apple channels? [14:48] oerheks: yeah but no one answer of it :( [14:48] in the apple channel [14:48] Good morning. Yesterday I was handed a nice little video card (ATI Radeon R5 430) which would be an interesting upgrade. What's in the machine right now is a NVidia 9800GT. Swapping cards... didn't work as expected (Ubuntu 18.04 started to boot then stopped with the display flashing on and off). [14:49] well, universal answer; if you have no backup already, your data is not important. [14:49] ok guess i over reacted to the issue, i got into the bios with f10 found secure boot and disabled saved changes and exited which began reboot. now the screen is saying rightly tha a change to secure boot is pending enter the code below and it gives 2020+ enter [14:49] its rebooting now [14:49] thanks oerheks [14:49] There is, I think, a way to set the system to use a generic driver until I can get the ATI driver installed. [14:50] Greenfrog, reverse to the nouveaudriver, then switch cards [14:50] please define more switch cards [14:51] put the 9800 back in, go to driver settings in updates, etc [14:51] ok [14:51] futureRich: It'll _probably_ be fine but if you're worried make a backup [14:51] ?? someone else is doing the same as I for replacing video boards?? [14:51] i thot you ment physically switch cards, ok got it [14:51] MarkB2, you should disable the nvidia driver before switching cards [14:52] Amaranth: thanks a lot :) [14:53] BluesKaj: I live to learn. I ..guessed.. that perhaps Linux would detect a mismatch and fall back to a generic. [14:53] Here goes... thank you. [14:53] I've never lost data in a macOS upgrade and I run the betas but I also have backblaze on my mac :D [14:54] canonical has realtech drivers that can be installed i have to request them because of licensing issue [14:54] and they work well [14:55] thanks i'll let you know if this finally fixes the issue [14:57] MarkB2: if you had not been using proprietary drivers which need to hardwire some settings before, you could indeed just swap your cards now. [15:00] tomreyn: Granted. I could ..wish.. that NVidia would be a little more free about the insides of their chipsets... it's a balance between performance and cost. [15:01] But the same problem applies to the ATI card; ATI offers driver downloads but I did not see a link to driver sources. [15:02] ati radeon/amdgpu are automatic loaded.. [15:02] with ubuntu, if you're downloading graphics drivers from a manufacturer wwebsite you're most likely doing something wrong. [15:02] I don't think there is a reason to use the closed source driver outside of professional (CAD, etc) uses these days [15:02] And even that driver uses the open source kernel module [15:04] i ran nouveau on nvidia for months, not bad at all [15:04] tomreyn: Canonical is tracking changes to the NVidia driver. References to it occasionally pop up during a update/upgrade cycle. [15:04] MarkB2, the xserver-xorg-video-ati generic driver is installed by default afaik [15:05] I also ran nouveau on the 9800GT . Perhaps an older version.. but the performace looked like an old Windows 3.1 system. [15:05] heh [15:05] This is starting to sound like all I need do is disable the NVidia driver, swap boards, and it'll "just work". [15:06] best table covering https://www.harborfreight.com/solid-nonslip-drawer-liner-65565.html?_br_psugg_q=liner [15:06] Music to my ears. [15:06] opps sorry [15:06] Back in a bit. [15:06] MarkB2, not sure, but's worth a try [15:16] ok, wifi is not making the change i expected, do you think i need to connect wired to access aditional drivers again to use the realtech dirvers? [15:16] they did works before [15:19] it says this device is using alternative driver then a check in a radio box says: using DKMS source for realtech wifi (open source) [15:22] Greenfrog: rtl8821ce? [15:35] What is the difference between sudo apt install and sudo apt-get install? [15:36] amuro: a few letters [15:36] apt-get is the old way, ap is superiour [15:36] https://itsfoss.com/apt-vs-apt-get-difference/ [15:59] hi can someone help me with pxe boot for ubuntu live desktop and pxe install for ubuntu server ? [16:00] without using nfs [16:02] Assid, without NFS ? why? [16:02] standard example with nfshttps://linuxhint.com/pxe_boot_ubuntu_server/ [16:03] shouldnt it support http or something ? [16:04] check that howto [16:11] Hi, here is a PC repair story: There were 2 random crashs in xubuntu 20.04. I startet memtest, frozen at 30%. I switched the RAM, CPU, Mainboard - same problem. Memtest still frozen at 30%. Ok last piece to change was power supply. No sucess still frozen. This was very frustrating. Then I started memtest86+ 5.01 from USB drive - no problem. ??? There was a problem in the integrated memtest86+ 5.01 of xubuntu 20.04! Same problem on another machine. Can anybody [16:11] please test his integrated memtest [16:12] i always use memtest from the iso, not from grub2/ running system [16:14] sebtty0 found this link but it was removed by the author : https://askubuntu.com/questions/1249240/integrated-memtest86-crashes-xubuntu-20-04 [16:15] sebtty0 maybe this : https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/1877564 [16:15] Launchpad bug 1877564 in memtest86+ (Ubuntu) "package memtest86+ 5.01-3.1ubuntu1 failed to install/upgrade: installed memtest86+ package post-installation script subprocess returned error exit status 1" [Undecided,Confirmed] [16:17] uefi machine? [16:17] Ok, apparently my system is majorly broken because of a syntax change in Python between versions 3.6.8 and 3.6.9 [16:19] no I boot legacy only no uefi [16:20] ipatrol, what linux version? [16:20] 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux [16:20] !info python3 bionic [16:20] python3 (source: python3-defaults): interactive high-level object-oriented language (default python3 version). In component main, is important. Version 3.6.7-1~18.04 (bionic), package size 46 kB, installed size 187 kB [16:21] !info python3 eoan [16:21] python3 (source: python3-defaults): interactive high-level object-oriented language (default python3 version). In component main, is important. Version 3.7.5-1 (eoan), package size 46 kB, installed size 187 kB [16:21] oerheks: upgrading from bionic to eoan [16:21] so you would have 3.7.5 [16:22] File "/usr/share/eric/modules/QScintilla/Editor.py", line 4575 [16:22] def addCompletionListHook(self, key, func, async=False): [16:23] async is now a reserved word [16:25] Honestly, as someone pointed out, adding keywords should have been held off until a minor version change [16:34] i fixed the wifi problem with realtech and ubuntu [16:34] thanks for your help :) [16:40] but i still have a curious question: if secure boot won't allow unsigned drivers to install, why coulndt realtec drivers for ubuntu be installed? were they not signed? this makes no sense for realtec to release any unsigned drivers [16:41] Is "never" a valid value for focal's systemd-logind's "IdleActionSec"? I cannot tell from the manpage at http://manpages.ubuntu.com/manpages/focal/man5/logind.conf.5.html [16:44] xbfrog, I was under the impression that Secure Boot is only about which operating system the BIOS will load, and everything after that is up to the OS. [16:44] firmware, rather than BIOS. [16:45] bah i give up.. nfs it is [16:45] but now i cant get the live desktop to popup it just shows the install option [16:45] ls /snap/eclipse/48/jre/bin/java ls: cannot access '/snap/eclipse/48/jre/bin/java': No such file or directory; "No Java virtual machine was found after searching the following locations:" [16:45] Hey there is no jvm in the snap for clipse [16:45] eclipse [16:46] ohhh [16:46] I see [16:47] so it takes jre from apt [16:47] okay [16:47] I see [16:48] I thought installing it from ubuntu software would resolve java [16:49] Assid: are you trying to run liveCD on a laptop? === antipythera is now known as antikythera [17:38] How can I empty the btmp log file at /var/log/btmp ? size is so huge.... [17:40] Gokturk-Away: First, do you realize that it's probably that big because of hundreds of thousands of failed ssh attempts? [17:41] yes [17:41] is there a way to clear that file? [17:42] Gokturk-Away: You can just rm it, but I'd recommend fail2ban or similar as well. [17:44] hi [17:44] Gokturk-Away: Well, correction, you don't want to rm it because it won't come back if it's found to be missing. You can "echo | sudo tee /var/log/btmp" to replace it with a file that just has a single newline character. [17:45] which package contains the libraries used by glib-2.0 to connect to dbus? i got all the function headers by installing "libglib2.0-dev", but the linker can't find the references to some functions [17:46] Ok, Jordan_U. Thanks for your help [17:48] Gokturk-Away: You're welcome. [18:04] Jordan_U: Thanks again. It worked. All empty now :) [18:05] I've get rid of out 10 GB log files [18:07] My second question: When I log in to SSH. It says *** System restart required *** Do I really re-start it when i see that message? [18:26] Gokturk-Away: yeah [18:46] i can ssh into a host on my LAN, but I can't connect via ssh:// in Files. It says "Connection refused by server". Anyone know what might cause that? [18:55] dtux: do you have openssh-server installed on the remote system? [18:59] is focal fossa a more complete overhaul of Ubuntu by Canonical? [19:00] pavlos: yes [19:01] dtux, i'am sure nautilus can 'ssh' something; i guess it uses 'sftp' instead , if enabled on the other side , but i could be wrong [19:01] *NOT [19:01] dtux: just tried it, works on 20.04 [19:01] ioria: sftp:// produces the same error FWIW [19:02] dtux, i see [19:02] pavlos: do you have sshfs installed? [19:02] dtux, can you try sftp from terminal ? [19:03] dtux: no, just a remote system called xps I go to Files, Other Location, at the bottom type ssh://xps it asks for user/pw and I'm in [19:04] ioria: ya, tho i'm not too familiar with sftp cli, so it might take a sec. [19:04] pavlos: hmmm [19:05] Hi [19:05] dtux, sftp user@ip [19:05] Any idea why I can't boot my Ubuntu MATE live CD on a Dell E7470 ? My ISO is ok and works on other computers. Ubuntu proper works on it as well. [19:06] I get a black screen once I choose "try Ubuntu MATE" [19:07] interesting... so, it works if I use the IPv4 address, but not IPv6 (I want to use a hostname that resolves to IPv6) [19:08] dtux: do you have this, sysctl net.ipv6.conf.all.forwarding=1 [19:09] pavlos: it's currently set to 0 [19:10] enabling it doesn't seem to help [19:11] dtux, you need to run sysctl -p [19:12] ah [19:12] sudo netstat -pant|grep sshd ... do you have tcp6 line? [19:13] hello - quick one - is there anything 'wrong' or possibly bad about having mounted drives changed to a user owner instead of root? Or does it matter at all? [19:14] ioria: i haven't noticed a different behavior after doing that [19:14] pavlos: no, there's no output from that [19:14] mkquist: is it just a data mounted filesystem? [19:15] persnal stuff [19:17] EriC^^: yes, its on a personal computer (not enterprise, not a server) [19:20] mkquist: if it's just personal data on that particular filesystem then the most harm that can happen is if somehow your user account is compromised also the data would be too, by changing root to your user [19:22] wrote a script to write files to mounted drive but cant get it to create file without running it as root. How can I get it to write to mounted drive. Chowning the drive to me doesnt work either. [19:22] streamripper actually [19:23] mkquist: paste the mount | grep /mounted/path [19:24] mkquist: paste the output of "mount | grep /mounted/path" [19:25] dtux: install net-tools on remote and try the netstat command again ... you should have this line, tcp6 0 0 :::22 :::* LISTEN 674/sshd: /usr/sbin [19:28] pavlos: the remote system is clear linux (not ubuntu)... if the goal is to check that i can connect to it via IPv6, i can `ssh ipv6:address` successfully from the terminal [19:29] dtux: ok [19:31] dtux, but you cannot sftp ipv6:address ? [19:33] EriC^^: no output on that [19:33] no, it (sftp -6) gives "subsystem request failed on channel 0 [19:33] Connection closed." [19:33] dtux, quote from manpage : 'IPv6 addresses must be enclosed in square brackets to avoid ambiguity' [19:34] mkquist: type "mount" and pastebin the output somewhere [19:35] dtux, e.g. : sftp [fc00::1] [19:35] ioria: i've been trying both... sry should've mentioned that (without the brakcets i get "ssh: Could not resolve hostname 2600: Address family for hostname not supported" -- the ipv6 begins with 2600:) [19:37] mkquist: what's the mount point, eg /mnt/mydata ...... then mount | grep mydata === HerVonW is now known as mariusvw [19:48] http://dpaste.com/29RKTX9 [19:50] I converted my 10.0.0.38 to ipv6 and sftp connects, sftp pavlos@::ffff:a00:26 [19:50] mkquist: that looks like an ntfs/fat filesystem, so it doesnt really save permissions or have them, they're fake permissions set upon mounting, you can mount it with different options to get different permissions [19:51] EriC^^: of course, I shouldv'e caught that, it is of course ntfs [19:51] EriC^^: thanks for that... silly me [19:52] mkquist: no problem [19:55] how to free disk space from grub [19:55] I can not ls [19:55] ls hda1 returns invalid file name === fl0_id is now known as step21 [19:56] mra90: df | nc termbin.com 9999 [19:56] pavlos, df command unknown [19:56] I am in grub menu [19:56] mra90: try to boot into recovery mode from grub then drop to root shell then type "mount -o remount,rw /" and remove whatever [19:57] mra90: grub > advanced options > recovery kernel [19:57] how to boot into recovery mode? [19:57] I am afraid my disk is full ;/ [19:57] it should work as there are not many services and stuff [19:58] if that doesnt work you can always try putting in the grub linux line "init=/bin/bash" and that should really simplify the startup process [20:01] my laptop has 2 SSDs. On a terminal, how do I cd to the second ssd? Right now I cano only access it with thunar [20:01] it is not listed under media [20:01] I can not enter recovery mode [20:01] frad: is it listed in 'sudo parted -ls' ? [20:02] mra90: try pressing e in grub over ubuntu, replace 'quiet splash' in the linux /boot/vmlinuz line with 'init=/bin/bash' and press f10 to boot [20:03] yes EriC^^ it is there. Note that both of my ssds are luks encrypted [20:04] frad: can you pastebin the output? [20:06] EriC^^, I have problems to get into recovery mode [20:06] sometimes I can enter it sometimes black screen ;/ [20:07] they say left shift or exc during boot can get me to recovery mode [20:12] mra90: try the method above with init=/bin/bash [20:13] EriC^^, the problem is I can not even eter any console [20:13] I see ubuntu is loading and then black screen [20:13] sometimes I can enter but most I can not [20:14] esc to get into BIOS? [20:14] mra90: im confused, you added init=/bin/bash? [20:14] no didn't have a chance [20:14] mra90: hold shift when the pc boots to get grub [20:18] ok I managed to get into recovery mode [20:19] should I go to "clean" now? === stiffarm_ is now known as stiffarm [20:23] ok I freed some memory end it works now :) [20:27] now I can fix the original problem [20:28] I have an exteranl flash disk > 1tb it constantly "reconnects" [20:28] making it unusable [20:28] it only hapens on Ubuntu (windows is OK) [20:28] any idea how to fix that? [20:30] check the filesystemtroubleshooting wiki? [20:37] hmm suddenly it is stable oO [20:37] strange [20:45] I have a I want to connect to one of my servers using ssh with the -X (for xwindows) and am getting the error: venues/readMe,v - when I actually try and do anything that needs the X - what do I ned to do [20:50] pavlos: it seems that nautilus basically requires SFTP, and my server disabled SFTP by default. so adding "Subsystem sftp ..." to the server SSH config got things working [20:56] dtux: glad you got it working === gurmble is now known as grumble [21:30] Hi, I am trying to set up both monitors to be 'tear-free' for video playback, how would I do this? [21:35] Further, is there a way to set it up at boot such that I would not have to invoke the tear-free command each time I need to be tear-free? [21:42] moonfmdesire: What GPU do you have? ("lspci | grep VGA") What happened when you tried to play videos with Ubuntu's default configuration? What have you done to try to get it tear-free? [21:42] Jordan_U, I have an RX 560 (4GB) and I use AMDGPUPRO drivers (for work). [21:43] Jordan_U, The drivers are for video editing, it is a requirement. [21:44] Jordan_U, I think I got the command: xrandr --output HDMI-A-0 --set TearFree on [21:44] Jordan_U, For one of the monitors [21:44] Jordan_U, Now if I can get this to work at boot so I do not have to bother each time... [21:45] Jordan_U, To identify monitors< i run: xrandr --query [21:45] Jordan_U, Does that sound right to you? [21:48] moonfmdesire: It looks like that option can also be set in your Xorg.conf or Xorg.conf.d/ : https://wiki.archlinux.org/index.php/AMDGPU#Tear_free_rendering . [21:49] moonfmdesire: Another option to try is switching to Wayland rather than Xorg, since Wayland is inherently tear free. I'm not sure how compatible the rest of your workflow / applications are with Wayland though. [21:50] Jordan_U, Me neither. Maybe I had better accept this annoyance of setting tear free each time for now because I do not want to break anything. [21:51] moonfmdesire: As I said first, it seems like it's a simple Xorg.conf option as well. You should be able to get tear free display just fine from boot with that. [21:51] Jordan_U, Can you guide me as to how to do this? [21:55] moonfmdesire: Yes. To start, please pastebin the output of "ls /etc/X11/xorg.conf.d/" , "cat /etc/X11/xorg.conf.d/*", and if it exists the contents of /etc/X11/xorg.conf . [21:56] moonfmdesire: Please also post a link to whatever instructions you followed to install AMDGPU Pro. [21:58] Jordan_U, Both of the first command get: No such file or directory [21:59] Jordan_U, And for the other: https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-560 [21:59] moonfmdesire: Jordan_U: ls -al /usr/share/X11/xorg.conf.d/*.conf ? [21:59] Bashing-om: Thanks, I didn't know that the path had moved. [22:00] Jordan_U: As of 18.04 :) [22:00] Jordan_U, https://pastebin.com/GQ80BBGK [22:01] Jordan_U, Looks like there are now drivers for the newer version of Ubuntu. [22:01] Jordan_U, That was not there a couple of weeks ago. [22:03] Bashing-om: Are you willing to take over with moonfmdesire? I haven't configured Xorg in years. I'm pretty sure we just want to add 'Option "TearFree" "true" ' , as per https://wiki.archlinux.org/index.php/AMDGPU#Tear_free_rendering . [22:03] Jordan_U, There is also this wayland thing... [22:04] moonfmdesire: Wayland is easy to try, just select the Wayland session option at the login screen. If it doesn't work then you can just switch back to Xorg the same way. That said, I think that the TearFree option will also work for you. [22:05] Jordan_U, Ahh, okay. Thanks. [22:05] Jordan_U, I hope to switch to nvidea soon, maybe that will make the driver/tear situation a bit easier. [22:06] moonfmdesire: Please pastebin the contents of /usr/share/X11/xorg.conf.d/00-amdgpu.conf and /usr/share/X11/xorg.conf.d/10-amdgpu.conf . [22:06] Jordan_U: sure - I can take up the light work :P [22:08] Jordan_U, "Permission Denied" [22:08] moonfmdesire: I dislike Nvidia because they make things harder for the open ecosystem and don't provide open specifications for their hardware, let alone open drivers. Even AMD GPU Pro consists of mostly open code, and all of the kernel mode code is totally open. Intel is the best in regard to openness, but I understand if integrated graphics doesn't quite cut it for professional video editing :) [22:08] Bashing-om: Thanks. [22:09] Jordan_U, I would love to just use Libre, Stallman-ized video editors, but we are not there yet. [22:09] Jordan_U, Even Blender uses opencl [22:10] moonfmdesire, One day I will sing the "Free Software Song" when I fire up a video editor [22:11] Jordan_U, So it is still, "Nvidea, F--- You!"? [22:11] Jordan_U, I thought nvidea learned [22:12] moonfmdesire: They have not learned in any way. [22:12] ugh [22:12] Linus needs to do more than swear at them. [22:13] moonfmdesire: That's getting a bit offtopic for this channel, and even the partially censored swearing is frowned upon here. [22:13] okay, thanks for your help! [22:18] Jordan_U: i wouldn't say that /etc/X11/ moved to /usr/share/X11/ but rather that the latter contains defaults which can be amended by custom configurations in /etc/X11/ (and i think by some undocumented location in users' home directory, too) [22:19] Jordan_U: (i know you didn't claim otherwise) [22:20] tomreyn: Good to know, thanks. === schiz is now known as lop [22:56] is there a terminal/ncurses version of dirstat? [22:57] kinghat: ncdu [22:58] consisting of "nc" as in "ncurses" and ... you'll bet the rest [22:59] ill check it out, thanks tomreyn! [23:00] is anyone here running a modern ubuntu on a macpro1,1 (32 bit efi)? [23:06] tomreyn: do you know if i can view outside of the home dir? [23:08] or does it just scan the dir where you execute it from? [23:08] ah, looks to be the case [23:09] I'm having some trouble with an Ubuntu 20.04 LTS system. for some reason, some pci devices have their PCI link speed downgraded. to the extent possible, I've verified the slot configuration in the bios corresponds to what the cards are and what they expect to have. what is a good resource to figure out why this downgrading is happening? [23:10] blogten: Have you looked through the output of "dmesg" for anything that seems related? [23:10] Jordan_U yes, that's how I found it [23:12] Jordan_U in dmesg, at about 2 seconds into the boot sequence, it says a device is downgraded because of some other device. the conflict seems to be between an nvidia card and some i/o device connected to a cpu. what's strange is that the nvidia card is not connected to the cpu handling i/o (cpu1). upon looking with lspci, I found several devices [23:12] have their speed downgraded. [23:14] blogten: Do you still have OSX on this machine? If so, is it able to use the full speed of these devices? [23:17] Jordan_U: two different machines. the MacPro1,1 system still has OS X on it. the one with the pci issues is a supermicro box [23:18] Jordan_U: specifically, the supermicro is the one with the text mode grub issue from the other day that we resolved [23:33] !mna | kinghat [23:34] !man | kinghat [23:34] kinghat: The "man" command brings up the Linux manual pages for the command you're interested in. Try "man intro" at the command line, or see https://help.ubuntu.com/community/UsingTheTerminal | Manpages online: http://manpages.ubuntu.com/ [23:35] kinghat: the SYNOPSIS section of this and every man page tells you how you can run the command, how you can pass arguments to it, and sometimes which ones, too [23:36] Jordan_U : some progress, it looks like the C602 chipset in this motherboard is only PCIe 2, so insisting on PCIe 3 results in downgrading to PCIe 1 (ouch). [23:36] i don’t know i must use mac or ubuntu? [23:37] futureRich: we don't know what you must or must not do either. [23:38] ubuntu —> free, mac —> easy [23:39] we only do ubuntu support here, so that's all we can help you with here. [23:39] ah [23:39] ok