[00:00] impish [00:03] it was never installed, because it has 6 new dependencies which also were not installed, and I never did autoremove [00:04] maybe it's a bug in installer, but I cba reinstalling to check === gschanuel2 is now known as gschanuel [00:19] also, why the heck installer made a swap file on a ssd? [00:29] fefd: well, as it's a swapfile, it's easy to disable it, if you really wish to. on the other hand, as long as you have a reasonable amount of RAM , the write load to the ssd should be nothing to worry about, in terms of lifespan. [00:30] Kernel prefers some swap to avoid sudden OOM; you can adopt zram swap to spit the difference [00:37] When I do history on my machines, I would like to keep tract of when each command was issues for each user (all users). How can I do that? [00:40] pycurious: you mean timestamps? [00:40] TJ-: yes - commands issued with timestamps. [00:40] TJ-: for all users. [00:41] pycurious: see "man bash" and HISTTIMEFORMAT [00:42] TJ-: I think that is per user basis. I would like to record that for every user on a system I configure. Is there a way to do that? That way I can go and check what commands were issued by whom at what time? [00:43] pycurious: you can't do that, only in the per-user $HOME/.bash_history but you can set HISTTIMEFORMAT for system-wide operation [00:44] TJ-: how do i set HISTTIMEFORMAT for all users on a system ? [00:44] pycurious: as "man bash" shows under FILES: "/etc/bash.bashrc" [00:47] use proprer tools like auditing [00:51] TJ-: that worked - thanks [00:51] fefd: are there any audit tools that allow all command logging to be inspected? [00:54] py auditd ... https://linux-audit.com/configuring-and-auditing-linux-systems-with-audit-daemon/ [01:01] TJ-: not sure how i can use auditd to log every command that users fire. It seems like its more for auditing changes to particular files (passwd for example) - am i mistaken? [01:02] pycurious: it can do lots of things, including logging all commands [01:07] pycurious: for commands being executed, a rule like "-a exit,always -F arch=b64 -S execve" to capture the execve syscall === M4he is now known as mahe [02:21] hello, is there someone that can assist in sorting out what I believe is an lvm issue after updates? [02:22] I'm not quite sure where to look next. [02:22] I think something's wrong with the initramfs environment? Basically, when booting the system normally, it says that it can't find the volume group, /dev/mapper/-root can't be found, and drops to the busybox shell [02:23] but if I boot off of live media and examine the drive, I can access everything perfectly fine [02:23] it sees the volume group and the mapper device, and I can mount it successfully and seem to be able to access everything [02:23] but running lvm pvs or lvm lvs in the initramfs just comes back empty [02:35] i'm not that knowledge able but could it be grub? === nisa_ is now known as nisa === Ricardus__ is now known as Ricardus [04:55] Hey, does anyone know if ubuntu focal is going to get kernel 5.15 at some point? [04:55] I use ntfs partitions a lot so having better performance would be a huge thing for me [04:58] !Info linux-generic-hwe-20.04 focal [04:58] linux-generic-hwe-20.04 (5.11.0.40.44~20.04.18, focal): Complete Generic Linux kernel and headers. In component main, is optional. Built by linux-meta-hwe-5.11. Size 2 kB / 19 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) [05:09] cammera: Looks like one may get the 5.15 kerenl with 22.04's second point release in focal as an HWE update. === diskin is now known as Guest8858 === diskin_ is now known as diskin [05:11] 22.04LTS! [05:12] just in a few months! [05:12] :) [05:12] Oh [05:12] Has anyone here tested it, is ntfs faster [05:28] Hi all just a quick question. Why couldn't i find hexchat in the ubuntu software centre. i had to run "sudo apt install hexchat"? i did search "software" and then enter and enable the "multiverse" as a source and in the past this has been enough to make it show up when searched for in the software centre (GUI) [05:29] Ubuntu 20.04.3 LTS [05:32] noj, no idea (typing into hexchat here actually) but it's an old GTK2 app where GTK2 is deprecated [05:33] ;) [05:33] !info hexchat focal | noj [05:33] noj: hexchat (2.14.3-3ubuntu0.20.04.2, focal): IRC client for X based on X-Chat 2. In component universe, is optional. Built by hexchat. Size 318 kB / 1,015 kB [05:33] ty === snupples is now known as the_snupples === the_snupples is now known as snupples [05:39] anyone know of a general computer help channel on freenode, general not just mac win linux other [05:39] like one aimed at my grandma [05:40] noj, very few of us use freenode these days [05:40] lol im not on freenode am i [05:41] insert this network please [05:41] that's not a Ubuntu support question, Ubuntu off-topic maybe a better place than this room [05:42] #ubuntu-offtopic ^ [05:44] ;) roggi [07:17] I just did a fresh install of 20.04.3 and when I try to run apt-get update I get a bunch of hash mismatches [07:17] i've been trying to get mpv to work with windows 11 but i keep recieving this error [07:17] (+) Video --vid=1 (*) (h264 1280x720 25.000fps) [07:17] (+) Audio --aid=1 (*) (aac 6ch 48000Hz) [07:17] error: XDG_RUNTIME_DIR not set in the environment. [07:17] error: XDG_RUNTIME_DIR not set in the environment. [07:17] error: XDG_RUNTIME_DIR not set in the environment. [07:17] Error opening/initializing the selected video_out (--vo) device. [07:18] the file size of the download matches but the hash doesn't. [07:18] I have never encountered this error before. [07:19] i don't understand why mpv is not working, does it have something to do with the gui? [07:19] mpv is a videe player [07:19] Windows is a MS OS [07:20] If you want help for Ubuntu, you have to use ubuntu. We can't support mpv on windows 11 [07:21] i am using ubuntu 20.04 LTS [07:21] sp234 | i've been trying to get mpv to work with windows 11 <- [07:22] I am confused [07:22] sorry let me clarify [07:23] I am using ubuntu 20.04LTS on windows11 [07:24] sp234 wsl? [07:24] yeah wsl [07:25] sp234 you're following the steps here? https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps [07:26] no i did not, I will try them now thank you [07:26] np [07:33] im still recieving an error when i run one of the Linux Gui apps for example: [07:33] xcalc [07:33] Error: Can't open display: [07:34] wait a sec brb [07:45] looks like i still can't open any Linux gui apps even after following the steps on https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps [07:46] still recieving the error Cannot open display: [08:00] !wsl [08:00] Windows 10 and newer have a feature called "Windows Subsystem for Linux", which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [08:00] sp234: ^^ [08:00] there was a separate channel for wsl, dunno if there still is [08:01] ducasse: I already installed wsl and its on version 2 [08:03] yeah, sorry, there used to be a mention of another channel there, but i guess that's gone [08:04] sp234: there is #windows-wsl - have you tried there? [08:07] ducasse: i doubt wsl is the problem. I verfied wsl version via powershell [08:08] i suspect this is a wsl problem, not an ubuntu problem [08:11] ducasse: maybe... ill check up with the wsl group as well [08:11] i definitely suggest you try it [08:29] sp234: Are you running the right build of Windows 11? Gui support under WSL requires Windows 11 Build 22000 or higher [08:34] TattooedTech: its on windows 11 build 22000.318 [08:36] im actually really stumped on this one === diskin_ is now known as diskin [10:30] Hi guys! I use an Ubuntu 20.04 as local repo for both Ubuntu 20.04 and CentOS 8. If it were a CentOS box I could run createrepo_c after the RPMs complete dowloading but there is no such thing in Ubuntu... I've seen some attempts to port the tool to Ubuntu but I cannot even compile it from source or install it from a DEB due to some missing libs ... has anyone here tacked this issue before? Thanks ! [10:32] i've put an nvme m2 drive into my hp laptop. it is now alongside the previously installed sata ssd. the nvme shows up as 'sdb' when booting... shouldn't it be something like 'nvme0' ? i'm wondering if it is using some kind of slower hardware protocol. [10:39] ens: check your; sudo fdisk -l perhaps? [10:42] Hi, can you advice ? I'm using XFCE as a window manager. And i have faced with a trouble. My google chrome window oversizes after i do minimize on. Only google chrome. No other. [10:43] it's normal - https://imgur.com/nPdTMLQ.png [10:43] after restore from minimized - https://imgur.com/zhlllna.png [10:43] only reload of browser can help to solve this [10:46] lotuspsychje: actually upon doing further reading... i realise these might actually be SATA m.2 ssds seeing as they have 3 prongs not 2. [10:46] rather than nvme === hype is now known as HYPE === HYPE is now known as hype [10:55] XATRIX, did you try to select with right mouse button gnome chrome and see options [10:56] XATRIX, Xfce is a desktop, it uses Xfwm4 as it's WM/window manager (by default) [10:57] guiverc: sorry. yea [10:58] ledeni: i'll try it [10:58] nope, doesn't help me much [11:01] XATRIX, then try to autohide bottom panel if is possible [11:14] XATRIX, bug #1940707 might be related. [11:14] Bug 1940707 in firefox (Ubuntu) "[upstream] Maximized window becomes a mess at next startup after manually choosing to restore previous session" [Undecided, Confirmed] https://launchpad.net/bugs/1940707 [11:15] I, too, encounter a similar problem very often. [11:15] I couldn't find a way to fix it, though. [11:15] Very annoying indeed. === lantech11 is now known as lantech19446 === nullsec is now known as peer === bahamat_ is now known as bahamat === Rhvs is now known as Rhys === WireTark is now known as Tark === N3X15_ is now known as N3X15 === ydnar is now known as Randy_ === Fjord8 is now known as Fjord === djhankb7 is now known as djhankb === pasiz0 is now known as pasiz === ryan-c` is now known as ryan-c === zareem2 is now known as zareem === klebers_ is now known as klebers === scjosh9 is now known as scjosh === SirScott1 is now known as SirScott === arh- is now known as arh === WaV2 is now known as WaV === dongcarl2 is now known as dongcarl === RaimondR- is now known as RaimondRaj === Trieste_ is now known as Trieste === arhue7 is now known as arhue === polve2 is now known as polve === _miruoy is now known as miruoy === Marbug9 is now known as Marbug === y0sh- is now known as y0sh_ === phireant0 is now known as phireant === |san|- is now known as |san| [11:56] KBar: it is Xfwm related ? Or the native Ubuntu's manager ? === anderson_ is now known as anderson === nyuszika7h_ is now known as nyuszika7h [11:56] And, it not seems to be. My windows become messed ASAP. Not after reboot :) [11:57] XATRIX, most likely xfwm4. [11:57] Ok, i'll dig in === Rhys is now known as Guest8952 === guiverc2 is now known as guiverc [12:14] security wise what are the differences between ubuntu X.X.y-1 and X.X.y? Do you get security updates for both? [12:14] at the same time? [12:14] should I upgrade? [12:15] Example given: 18.04.1 vs 18.04.2 [12:15] Stable releases only receive security/critical updates. [12:15] So yes, you should update. [12:16] always up to date indeed [12:16] 18.04.1 to 18.04.2 is just an update, not an upgrade. [12:16] !uptodate [12:16] To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`. [12:16] 18.04 to 20.04 would be an upgrade. [12:17] so if a computer has 18.04.2 and another 18.04.5 then 18.04.2 did not issue upgrade? [12:17] so it does not have the latest security patches? [12:17] varaindemian, https://wiki.ubuntu.com/PointReleaseProcess [12:18] https://askubuntu.com/questions/106159/what-are-point-releases-in-lts-versions [12:18] KBar: where should I look? [12:19] I am only interested in the last digit - 18.04.x vs 18.04.x+y [12:21] varaindemian, say you have firefox and thunderbird at version 45.1 when ubuntu 21.11 is released. after three months, there are some updates to some packages, and now firefox and thunderbird are at version 46. 21.11.1 would include all of the updates, so fresh installations don't miss out on them and don't have to download everything. It's already in. [12:22] varaindemian, if you were on 21.11 and to install all of the updates, your system would automatically bump up to 22.11.1 [12:22] KBar: so only applications are affected [12:27] Everything will remain mostly the same. [12:27] No big changes or added/removed features. [12:28] yeah, but security updates are not implemented.. [12:29] What do you mean? [12:30] KBar: 18.04.2 is outdated compared to 18.04.5 security-wise [12:30] Of course it is. The numbers tell that already. [12:31] varaindemian, if you installed 18.04 right in the beginning and kept updating every day. You wouldn't notice a difference up until today. [12:31] KBar: do you have a link where this is exmplained? [12:32] varaindemian but your version would say 18.04.5/6/7 [12:32] so the user with 18.04.2 did not issue the upgrade command [12:33] if you issue only update your system will get the 18.04.5 version? [12:35] varaindemian, I just gave two links. Point releases are updates, not upgrades. Depends on the initial state of your system. [12:35] KBar: so you still get security updates by issuing update without upgrade [12:36] varaindemian, 1) you can keep gradually updating and reaching 18.04.whatever 2) you can never update and update all at once today and reach 18.04.whatever 3) you can grab an up-to-date ISO and reinstall with all updates already baked in and your system will be 18.04.whatever === diskin is now known as Guest5355 === diskin_ is now known as diskin [12:37] varaindemian, yes. Though `apt upgrade` is confusing, it will just update your packages and install security updates/bug-fixes. [12:37] That's all. [12:37] There are exceptions, of course. [12:39] But this is generally how updates in Ubuntu work. === saribro is now known as swinnenb [13:02] Hej, I accidently removed the network-manager and probably some other stuff when I was trying to remove teamviewer. I was able to reinstall network-manager via live-cd, but my bluetooth adapter (which is the same as the wifi-adapter) isn't recognized anymore. Does anyone have an idea? [13:19] andi87, what were the commands exactly? [13:20] andi87, look at /var/log/apt/history.log [13:20] andi87, you can restore everything back by reinstalling packages that got removed. === remy_ is now known as Remy [13:21]    44  dpkg -l | grep team [13:21]    45  sudo apt-get purge teamviewer [13:21]    46  sudo apt-get remove teamv* [13:25] KBar  ah, allright. The history.log file shows the whole terminal output, didn't knew that. So these are the packages: Commandline: apt-get remove teamv* [13:25] Requested-By: andi (1000) [13:25] Remove: network-manager-pptp:amd64 (1.2.8-2), libteamdctl0:amd64 (1.30-1), network-manager-gnome:amd64 (1.8.24-1ubuntu3), network-manager-config-connectivity-zorin:amd64 (1.0-1), network-manager:amd64 (1.22.10-1ubuntu2.2), network-manager-openvpn:amd64 (1.8.12-1), network-manager-openvpn-gnome:amd64 (1.8.12-1), network-manager-pptp-gnome:amd64 [13:25] (1.2.8-2) [13:27] andi87, what version of Ubuntu? [13:29] KBar Using Ubuntu 20.04, Gigabyte GC-WB1733D-I as Wifi & BT card. [13:31] andi87, you're going to reinstall all of those packages. And don't use wildcards like that. [13:31] *going to have to [13:32] KBar yes, that was a bad idea [13:32] KBar thanks [13:33] yw [13:38] having trouble with DNS config on Ubuntu. https://bpa.st/MOTA [13:38] 10.12.21.9 is my default gateway [13:51] Hi. How do I play a .plist file in Ubuntu? [13:51] It's a music playlist.. [13:55] Hi folks [13:55] mrcoffee: isn't plist a macos preference list xml file? [13:55] Yes, i think it's that.. [13:56] if you open it in a text editor, what do you see? [13:58] It's an mp3 list with p f t A D fields with some other data like author etc.. [13:58] p is the link D the duration A the author.. [13:59] ... [13:59] does it link to the source files? If not ... there won't be much to play [14:14] mrcoffee libplist3, libplist-utils [14:14] may help you convert and possibly read/write [14:18] mrcoffee: i guess you missed the answer by KBar (you got disconnected) [14:19] check out libplist3 and libplist-utils [14:28] mrcoffee, just use this play list ---> http://felloff.net/usr/cinap_lenrek/music/9front/playlist.m3u [14:55] quick question about the IRC RFC(2812), Im workin on building my own serv and had that question about replies (took ADMIN Command as example). It says that you have to send multiple replies. Does it concatenate the content of each reply in one and send it back to us. Or really build differents replies and send them individually ? [15:41] user42_: RFC's aren't really Ubuntu support topics, try a channel which is topically related to the IRC protocol. [15:51] ? [15:52] Hello what does bs=4M exactly do when you run dd [15:52] xu-irc53w, it sets both input and output block sizes to 4 megabytes. [15:53] Does it mean the write speed wobnt exceed 4M/S [15:54] no, its not about its speed === genii-core is now known as genii [15:54] How do u control speed then [15:57] xu-irc53w, I don't think there is an option or flag for that, but I know that the sync flag to output significantly slows it down. [15:58] !iso [15:58] To mount an ISO disc image, type « sudo mount -o loop » - There is a list of useful cd image conversion tools at http://wiki.linuxquestions.org/wiki/CD_Image_Conversion - Always verify the ISO using !MD5 before !burning. [15:58] Because it forces a physical write after every write. [15:59] !dd [15:59] xu-irc53w, `info dd` [15:59] !info dd [15:59] Package dd does not exist in impish [15:59] From your terminal. [16:00] xu-irc53w, the program `dd` is part of GNU coreutils, which have a very good documentation accessible by invoking `info PROGRAM_NAME`. [16:01] xu-irc53w, `info dd`, `info ls`, etc. Pressing Q or Ctrl-C quits Info. or moves one page down, , , or moves one page up. [16:03] xu-irc53w, btw, if you're trying to create a bootable USB of Xubuntu, you don't need fancy options for dd. It's very light and the process should take between 5 to 10 minutes tops. [16:04] Just `if=/path/to/ISO of=/dev/sdX` [16:04] status=progress is a nice one to add unless you like staring at a cursor [16:04] Ah, yes. [16:06] If you have 10 minutes of free time, you can add that flag and stare at some numbers :) [16:06] much more entertaining [16:07] I don't know. I've never tried that. Usually, I just run it and forget about it. [16:08] there is also a signal you can send it to make it spit out some status info [16:08] i believe it's USR1 [16:08] but yeah. for a newcomer, it is a must-have. otherwise, you might get crazy [16:08] and freak out [16:10] simple: 'dd if=nameof.iso of=/dev/sdx' [16:11] I found it theres actually dd for windows, i hope they work same [16:11] woah woah woah, dont utter that w-word here ever again [16:12] they don't [16:12] xu-irc53w, if you're on W..., try Rufus instead. [16:13] Seamless, easy, user-friendly. [16:14] www.chrysocome.net/dd [16:16] KBar: lol i wish the community would get over this whole windows thing already [16:17] and yeah rufus, etcher, etc. there are many options [16:18] p13, I'm just kidding. :) [16:18] i know, but it kind of scares newcomers unfortunately [16:19] p13, well, if anything, these arcane shell commands scare them more. :P [16:19] lol well maybe you do have a point there [16:22] Dno, i've been running linux as my main desktop since like 2001 or something. Nowadays, entirely possible in _most_ cases to use linux as a regular desktop OS, without having to mess with the CLI [16:22] used to be different lol [16:25] How to show package dependency without installin it [16:26] xu-irc53w: apt show [16:27] Is there a demonstrate function with dpkg -i [16:27] you mean a dry run ? === Ricardus_ is now known as Ricardus [16:28] Smth like that, without really installing [16:28] so you mean you have a deb file you want to install ? [16:28] or do you want to install from repo ? [16:29] Yeah i want to install, i just wanna see what it goes without real installing [16:29] yes, but is it a deb file, or do you want to install from repo? [16:29] Its deb from AMD [16:30] ok, dpkg -i --dry-run [16:30] Ok how to use apt-show with a downloaded deb [16:31] dpkg-deb -I [16:31] Thx [16:31] no worries [16:40] !filesystem [16:40] An explanation of how files and directories are organized on Ubuntu, and how they can be manipulated, can be found at https://help.ubuntu.com/community/LinuxFilesystemTreeOverview see also: man hier [16:42] What filesystem is mostly used now [16:42] for general desktop use ? [16:44] Yes [16:44] unless there's a specific feature you need from a particular fileystem, i'd say just stick with ext4 [16:45] Ok how do you set back up in case for X crashes [16:46] what do you mean? [16:46] How to set backup in case desktop fails [16:47] you mean in the event your computer crashes? [16:47] like totally crashes? [16:47] dejadup, etc works well for your user data [16:47] No desktop or smth [16:48] so i installed ubuntu onto my laptop and after it put grub on, it doesn't give me an option to boot to windows. is there a command i can run to test how the bootloader is looking for the windows partition? [16:49] ens2: hold shift while your computer is booting to see the grub menu [16:49] or mash escape [16:50] Better set wait time for it [16:50] xu-irc53w: which desktop environment do you run? Gnome? In that case, just use the backup tool that comes with ubuntu [16:50] yeah i got to the grub menu. it only offered the option to boot to ubuntu (no windows option) [16:50] ens2: ah, i see. You know where your windows partition is? [16:51] yeah it's on /dev/dm-3 [16:51] softraid? [16:51] hardware raid0 === aaguhagegaooeg is now known as westor [16:51] dm-3 does not soun like hardware raid ... === westor is now known as Guest905 [16:52] well i set up the raid volume using the hp/intel config thing from where the bios lives. so i would hope nothing strange is going on. [16:53] yeah that's soft raid [16:53] see if you can run os-prober [16:53] for reference it's also under /dev/mapper/isw_dgdhjdjfgb_Volume1p3 -> ../dm-3 [16:54] os-prober runs but doesn't echo any output [16:54] yeah symlink, that's normal [16:54] ens2: run updat-grub after os-prober [16:55] update-grub [16:56] p13: https://pastebin.com/he4tqR08 [16:57] is your raid a raid1 ? [16:58] it is a raid0 [16:58] ens2, you have a type. the command is `update-grub` with superuser privileges [16:58] you typed `updat-grub` [16:58] oh my bad [16:58] didnt see the end [16:59] hmm raid0 softraid might be a bit problematic for this, i mean i haven't done it. with raid1, you just point it directly to one of the disk devices, and it's fine [16:59] hold on [16:59] sorry. im getting old i guess :D [16:59] ens2: what does this print? echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS [17:01] This system booted via: UEFI [17:01] ok, good. what's the physical devices you joined into this fakeraid? [17:02] two sandisk x400 m2 sata drives and 1 2.5 ssd that came with the laptop. [17:03] looks like sda, sdb and sdc [17:03] yeah. that also. :) [17:03] 3 disk raid0 with differing geometries. YOLO [17:04] well two of them are the same at least! [17:04] * ens2 chuckles [17:04] and different buses [17:04] although, no , probably all sata [17:04] yeah sdx devices, looks like sata [17:05] looks production ready to me. ship it [17:05] yeah. i thought they were nvme m2's at first but they are actually sata it seems. 3 notches on them rather than 2 on the connector is the way i was informed to tell the diff. [17:05] so the problem you are trying to solve is that os-prober doesn't find the windows bootloader? [17:05] tomreyn: seems to be the case indeed [17:06] have you tried mounting the ntfs? [17:06] try your pc's boot menu. The EFI boot entries will probably contain the windows one [17:06] to get to this point. i installed windows first.... then shrank the windows partition to make space for the ubuntu.. restarted to test that windows still worked and then booted into the live-cd to do the install. [17:06] will try mount it now [17:07] https://ubottu.com/y/gl [17:07] oh interesting... [17:07] Windows is hibernated, refused to mount. [17:08] sounds like fast shutdown fun [17:08] you need to configure it to shut down properly [17:08] The disk contains an unclean file system (0, 0). [17:08] it needs to rest for winter k [17:08] disable quick boot [17:08] haha [17:08] it mounted it read-only though [17:08] so i suppose that should be decent enough [17:09] but maybe os-prober picked up that error? [17:09] and while you're at it, apply the registry patch to make it accept a utc hardware clock [17:09] it will have tried to mount it or at least get the superblock and probably got some weird non-zero exit code [17:09] tldr: it choked on itt ... probably [17:09] possibly that's what happened. you'll need to creconfigure windows anyways, so why not try this now [17:11] should i try boot into it via the system F9-key boot sequence and get it to dismount it cleanly? [17:11] yes [17:11] disable quickboot or fastboot or whatever it's called [17:11] with this adventurous 'RAID' configuration, make sure you always have good backups for both systems [17:11] also, yes, very much what tomreyn said [17:12] it's more like a redundant array of imminent destruction [17:12] oh yeah i keep good backups indeed. this is pretty much just my gaming machine but i want to have a decent OS like ubuntu in case i want to do some serious fun work like some cuda coding or just use a nice screen for visual studio code [17:13] but as a gaming machine... little of value would be lost on the windows side at least. [17:13] anyway brb [17:13] good luck [17:14] i've done usb floppy raid before [17:14] good times [17:14] mdraid don't care [17:19] ens2: F9 wasn't your boot menu key? :D [17:20] well - the good news is that i can at least get to windows by the f9-bios-boot thing. so there's a workaround... [17:20] and i got it to unmount cleanly so it looks like [17:20] https://pastebin.com/S98Zc8yH [17:20] but os-prober isn't giving any output still. at this point i'm happy to just get into it via the F9 menu if you guys don't feel this is worth solving [17:20] but if you have any bright ideas do lemme know [17:21] os-prober is silent [17:21] try update-grub again [17:21] same output as last time [17:21] hmmm [17:21] can you mount the partition read-write now ? [17:22] yep. i mounted it [17:22] not been following, but os-prober is disabled by default on recent releases [17:22] and did echo test > test [17:22] TJ-: oh, is there a new way? [17:23] this is 20.04 for reference [17:24] is there a windows entry /etc/grub.d? [17:25] like a windows file [17:25] it's just the GRUB_ option changed the default but I can't find the changelog mention of it now, so not sure where I saw it! [17:26] no windows mentioend under /etc/grub.d/ [17:28] ahhh, no it isn't, not in releases, sorry. It's in recent upstream commits this year (I work on the upstream code a bit and saw it there!) [17:28] hmm, you could try making the entry manually in there [17:28] is package os-prober installed, though? [17:29] os-prober is already the newest version (1.74ubuntu2). [17:30] oh yes, you also showed that in the paste, sorry [17:30] so i guess os-prober can't find it on the isw raid [17:31] yeah bit of a head scratcher [17:31] can we go back a bit? ens2 you said this is an UEFI install/boot ? [17:31] my instinct now is to boot to grub command line and see if i can find the windows drive and do some kind of chainloader to test it works manually or something [17:31] TJ-: yeah [17:31] you could add the EFI boot entry to grub [17:32] ens2: in which case GRUB should NOT be involved. The motherboard firmware's own UEFI boot menu should have the Windows entry, and when you wish to start Windows you should press the hot-key at start-up that brings up the manual boot menu for the firmware [17:32] ens2: use "efibootmgr -v" to assure yourself that the Windows entry is there [17:33] ens2: look at the BootOrder and you'll like see Ubuntu's entry is ahead of the Windows entry so by default Ubuntu always starts, unless you tell the motherboard firmware to choose Windows [17:34] yep ubuntu is first in that output bootorder [17:35] ok then. that makes sense. [17:35] ens2: and you see Windows entry too? [17:35] yeah, windows is there on it too as "Windows Boot Manager" which is right after Ubuntu in the boot order [17:36] ens2: if you want to boot into Windows next time only, you can do "sudo efibootmgr --boot-next XXXX" where XXXX is the Windows boot order number (e.g. 0002) that avoids needing to press the firmware hotkey and select Windows from the manual boot menu [17:37] oh that's handy. i'll save that in a .sh [17:37] ens2: efibootmgr can also be used to change the default, by setting an explicit permanent BootOrder. See "man efibotomgr" -- lots of good examples at the end [17:38] TJ-: just for me to understand: why are you saying grub should not be involved here? i mean sure, it is not needed, but it could be, or not? [17:38] i mean it could be used in addition to the uefi boot chooser [17:38] tomreyn: the whole problem with trying to chainload another EFI portable executable, which is what os-prober tries to do [17:39] well if you REALLY want to live on the edge, some google guys kexec'd into windows from linux lol [17:40] The entire point of UEFI was to separate the boot-loaders from each other - os-prober was a kludge to allow multiboot when GRUB/Linux was installed last and took over the MBR [17:40] i see [17:41] i use refind boot manager [17:41] i have a drive with qubes, a drive with haiku and an mdraid set with ubuntu [17:42] it keeps all of their bootloaders separate [17:43] wish my pc just supported coreboot [17:44] p13: there's also #ubuntu-offtopic for non support Q&A [17:44] is it OT though? I suggested an alternative === beaver is now known as pong [17:44] p13: UEFI keeps boot-loaders separate by design - each has its own directory under /EFI/ on the EFI system partition [17:45] Ubuntu adds /EFI/ubuntu/ [17:45] yeah, and refind just allows you to drop into the efi shell, or allows you to load any efi executable. It's kind of nice [17:46] thanks for the help and education on this issue folks. much appreciate. [17:47] ens2: cool beans. The firmware boot menu entry works i guess, but maybe check out refind if you want another solution. https://en.wikipedia.org/wiki/REFInd [17:50] thanks. looks like a cool project. [17:50] it's pretty neat. === five6438 is now known as five643 === coc0nut_ is now known as coc0nut === MistahKel is now known as Kel [18:34] hey dudes, which lightweight ubuntu is encrypted? [18:34] xubuntu maybe? [18:35] you can have encryption on any ubuntu variant [18:35] full disk or just your home dir? [18:36] hi p13, I'd prefer full disk [18:36] which desktop environment do you prefer? [18:37] I have xubuntu installed [18:37] I like it, it's ok [18:37] you have it already installed and want to encrypt your current system? [18:37] yes [18:37] hmmm not so easy i don't think [18:38] do you have a second disk to copy to? [18:43] Hey p13 how easy would it be to encrypt just the home folder on an already installed Ubuntu system [18:44] make a new user, set up encryption, copy over [18:45] nothing important on the hard disk yet, it could be formatted or whatever [18:45] veretoes: then i suggest reinstalling [18:45] pick set up lvm with full disk encryption [18:48] Cool thanks [18:53] thanks [20:33] oi === five6433 is now known as five643 === sazawal_ is now known as sazawal === martums3 is now known as martums [22:24] Hey all, I finally upgraded my 20.04 machine to the latest, and I'm having an infuriating issue in mate-terminal when using vi: When the mouse moves focus to another window, the terminal beeps, and vi exits insert mode. I've no idea what's happening, but I'd very much like it to stop. Can anyone suggest anything I could try? [22:25] sounds like a GPM thing [22:25] Some applications support the use of a mouse in the terminal. Clicks are sent as escape codes. [22:25] Let me have a look for you [22:26] oh, huh [22:26] that would align with some silliness I had with a terminal text browser, too [22:26] when you run htop (that supports gpm), and you click somewhere, does it react ? [22:27] yeah, links [the text mode browser] responds to the mouse [22:27] yeah that's mate, though, what i mean is does htop for example react to your clicks within the terminal [22:28] yep [22:28] htop responds to mouse clicks [22:29] ok cool so that works [22:29] aka that's not broken. I suspect vi is getting those clicks and doesn't know what to do with them [22:29] do you use vi or vim? [22:29] I just tried my other pre-21.10 machine, and htop doesn't respond to clicks in it [22:29] uh. "vi" at the terminal, lemme figure out what that actually is [22:30] try vim [22:30] currently that's vim.tiny [22:30] ok cool [22:30] windows suck [22:30] do you want to use your mouse for anything in the terminal? [22:30] installing vim-not-tiny now [22:30] not even a little bit :-) [22:30] ok let's check how to disable it then [22:31] ah, yeah. vim as in "sudo apt install vim" doesn't do this. [22:31] yeah vim supports gpm [22:32] nod. good call on pointingthe finger at gpm [22:32] i recognize the behavior from occasional byobu shenanigans so it rang a bell :) [22:32] nod. [22:33] I've also updated alternatives to point vi at vim.basic, which also alleviates the symptoms [22:33] vim is nicer anyway imho [22:33] although personally I prefer my terminal remain ignorant of mouse altogether [22:33] can use cursor keys lol [22:33] hjkl is nice and all, but i'm not that cool [22:33] I'm old enough and grumpy enough that I learned vi when it was "the thing Bill Joy wrote" [22:34] well in any case, if this bothers you with anything again, you know where to look [22:35] i would think that mate-terminal has an option in it's prefs somewhere to enable or disable mouse support [22:37] hrm [22:37] I don't see anything [22:37] but for now I think I'm ok. at the very least, "vi" doesn't beep and drop out of insert mode when I mouse around [22:38] so I'll take the victory. Thanks for your swift and excellent help! [22:38] that would annoy me as well haha [22:38] no worries friend === Guest905 is now known as westor [23:30] What's the best ppa to get newer kernel in older ubuntu release?