/srv/irclogs.ubuntu.com/2021/11/26/#ubuntu.txt

fefdimpish00:00
fefdit was never installed, because it has 6 new dependencies which also were not installed, and I never did autoremove00:03
fefdmaybe it's a bug in installer, but I cba reinstalling to check00:04
=== gschanuel2 is now known as gschanuel
fefdalso, why the heck installer made a swap file on a ssd?00:19
zenoffefd: 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:29
TJ-Kernel prefers some swap to avoid sudden OOM; you can adopt zram swap to spit the difference00:30
pycuriousWhen 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:37
TJ-pycurious: you mean timestamps?00:40
pycuriousTJ-: yes - commands issued with timestamps.00:40
pycuriousTJ-: for all users.00:40
TJ-pycurious: see "man bash" and HISTTIMEFORMAT00:41
pycuriousTJ-: 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:42
TJ-pycurious: you can't do that, only in the per-user $HOME/.bash_history but you can set HISTTIMEFORMAT for system-wide operation00:43
pycuriousTJ-: how do i set HISTTIMEFORMAT for all users on a system ?00:44
TJ-pycurious: as "man bash" shows under FILES: "/etc/bash.bashrc"00:44
fefduse proprer tools like auditing00:47
pycuriousTJ-: that worked - thanks00:51
pycuriousfefd: are there any audit tools that allow all command logging to be inspected?00:51
TJ-py auditd ... https://linux-audit.com/configuring-and-auditing-linux-systems-with-audit-daemon/00:54
pycuriousTJ-: 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:01
TJ-pycurious: it can do lots of things, including logging all commands01:02
TJ-pycurious: for commands being executed, a rule like "-a exit,always -F arch=b64 -S execve" to capture the execve syscall01:07
=== M4he is now known as mahe
AcrnAnmlyhello, is there someone that can assist in sorting out what I believe is an lvm issue after updates?02:21
AcrnAnmlyI'm not quite sure where to look next.02:22
AcrnAnmlyI 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/<vgname>-root can't be found, and drops to the busybox shell02:22
AcrnAnmlybut if I boot off of live media and examine the drive, I can access everything perfectly fine02:23
AcrnAnmlyit sees the volume group and the mapper device, and I can mount it successfully and seem to be able to access everything02:23
AcrnAnmlybut running lvm pvs or lvm lvs in the initramfs just comes back empty02:23
yukiupi'm not that knowledge able but could it be grub?02:35
=== nisa_ is now known as nisa
=== Ricardus__ is now known as Ricardus
cammeraHey, does anyone know if ubuntu focal is going to get kernel 5.15 at some point?04:55
cammeraI use ntfs partitions a lot so having better performance would be a huge thing for me04:55
Bashing-om!Info linux-generic-hwe-20.04 focal04:58
ubottulinux-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.)04:58
Bashing-omcammera: Looks like one may get the 5.15 kerenl with 22.04's second point release in focal as an HWE update.05:09
=== diskin is now known as Guest8858
=== diskin_ is now known as diskin
marcoagpinto22.04LTS!05:11
marcoagpintojust in a few months!05:12
marcoagpinto:)05:12
cammeraOh05:12
cammeraHas anyone here tested it, is ntfs faster05:12
nojHi 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:28
nojUbuntu 20.04.3 LTS05:29
guivercnoj, no idea (typing into hexchat here actually)  but it's an old GTK2 app where GTK2 is deprecated05:32
noj;)05:33
Bashing-om!info hexchat focal | noj05:33
ubottunoj: 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 kB05:33
nojty05:33
=== snupples is now known as the_snupples
=== the_snupples is now known as snupples
nojanyone know of a general computer help channel on freenode, general not just mac win linux other05:39
nojlike one aimed at my grandma05:39
guivercnoj, very few of us use freenode these days05:40
nojlol im not on freenode am i05:40
nojinsert this network please05:41
guivercthat's not a Ubuntu support question, Ubuntu off-topic maybe a better place than this room05:41
guiverc#ubuntu-offtopic ^05:42
noj;) roggi05:44
Guest30I just did a fresh install of 20.04.3 and when I try to run apt-get update I get a bunch of hash mismatches07:17
sp234i've been trying to get mpv to work with windows 11 but i keep recieving this error07:17
sp234 (+) Video --vid=1 (*) (h264 1280x720 25.000fps)07:17
sp234 (+) Audio --aid=1 (*) (aac 6ch 48000Hz)07:17
sp234error: XDG_RUNTIME_DIR not set in the environment.07:17
sp234error: XDG_RUNTIME_DIR not set in the environment.07:17
sp234error: XDG_RUNTIME_DIR not set in the environment.07:17
sp234Error opening/initializing the selected video_out (--vo) device.07:17
Guest30the file size of the download matches but the hash doesn't.07:18
Guest30I have never encountered this error before.07:18
sp234i don't understand why mpv is not working, does it have something to do with the gui?07:19
Hashmpv is a videe player07:19
HashWindows is a MS OS07:19
HashIf you want help for Ubuntu, you have to use ubuntu. We can't support mpv on windows 1107:20
sp234i am using ubuntu 20.04 LTS07:21
Hashsp234 | i've been trying to get mpv to work with windows 11 <-07:21
HashI am confused07:22
sp234sorry let me clarify07:22
sp234I am using ubuntu 20.04LTS on windows1107:23
refwefsp234 wsl?07:24
sp234yeah wsl07:24
refwefsp234 you're following the steps here? https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps07:25
sp234no i did not, I will try them now thank you07:26
refwefnp07:26
sp234im still recieving an error when i run one of the Linux Gui apps for example:07:33
sp234 xcalc07:33
sp234Error: Can't open display:07:33
sp234wait a sec brb07:34
sp234looks 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-apps07:45
sp234still recieving the error Cannot open display:07:46
ducasse!wsl08:00
ubottuWindows 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_guide08:00
ducassesp234: ^^08:00
ducassethere was a separate channel for wsl, dunno if there still is08:00
sp234ducasse: I already installed wsl and its on version 208:01
ducasseyeah, sorry, there used to be a mention of another channel there, but i guess that's gone08:03
ducassesp234: there is #windows-wsl - have you tried there?08:04
sp234ducasse: i doubt wsl is the problem. I verfied wsl version via powershell08:07
ducassei suspect this is a wsl problem, not an ubuntu problem08:08
sp234ducasse: maybe... ill check up with the wsl group as well08:11
ducassei definitely suggest you try it08:11
TattooedTechsp234: Are you running the right build of Windows 11? Gui support under WSL requires Windows 11 Build 22000 or higher08:29
sp234TattooedTech: its on windows 11 build 22000.31808:34
sp234im actually really stumped on this one08:36
=== diskin_ is now known as diskin
SteelRose 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:30
ensi'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:32
lotuspsychjeens: check your; sudo fdisk -l perhaps?10:39
XATRIXHi, 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:42
XATRIXit's normal - https://imgur.com/nPdTMLQ.png10:43
XATRIXafter restore from minimized - https://imgur.com/zhlllna.png10:43
XATRIXonly reload of browser can help to solve this10:43
enslotuspsychje: 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
ensrather than nvme10:46
=== hype is now known as HYPE
=== HYPE is now known as hype
ledeniXATRIX, did you try to select with right mouse button gnome chrome and see options10:55
guivercXATRIX, Xfce is a desktop, it uses Xfwm4 as it's WM/window manager (by default)10:56
XATRIXguiverc: sorry. yea10:57
XATRIXledeni: i'll try it10:58
XATRIXnope, doesn't help me much10:58
ledeniXATRIX, then try to autohide bottom panel if is possible11:01
KBarXATRIX, bug #1940707 might be related.11:14
ubottuBug 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/194070711:14
KBarI, too, encounter a similar problem very often.11:15
KBarI couldn't find a way to fix it, though.11:15
KBarVery annoying indeed.11:15
=== 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|
XATRIXKBar: it is Xfwm related ? Or the native Ubuntu's manager ?11:56
=== anderson_ is now known as anderson
=== nyuszika7h_ is now known as nyuszika7h
XATRIXAnd, it not seems to be. My windows become messed ASAP. Not after reboot :)11:56
KBarXATRIX, most likely xfwm4.11:57
XATRIXOk, i'll dig in11:57
=== Rhys is now known as Guest8952
=== guiverc2 is now known as guiverc
varaindemiansecurity wise what are the differences between ubuntu X.X.y-1 and X.X.y? Do you get security updates for both?12:14
varaindemianat the same time?12:14
varaindemianshould I upgrade?12:14
varaindemianExample given: 18.04.1 vs 18.04.212:15
KBarStable releases only receive security/critical updates.12:15
KBarSo yes, you should update.12:15
lotuspsychjealways up to date indeed12:16
KBar18.04.1 to 18.04.2 is just an update, not an upgrade.12:16
lotuspsychje!uptodate12:16
ubottuTo 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
KBar18.04 to 20.04 would be an upgrade.12:16
varaindemianso if a computer has 18.04.2 and another 18.04.5 then 18.04.2 did not issue upgrade?12:17
varaindemianso it does not have the latest security patches?12:17
KBarvaraindemian, https://wiki.ubuntu.com/PointReleaseProcess12:17
KBarhttps://askubuntu.com/questions/106159/what-are-point-releases-in-lts-versions12:18
varaindemianKBar: where should I look?12:18
varaindemianI am only interested in the last digit - 18.04.x vs 18.04.x+y12:19
KBarvaraindemian, 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:21
KBarvaraindemian, if you were on 21.11 and to install all of the updates, your system would automatically bump up to 22.11.112:22
varaindemianKBar: so only applications are affected12:22
KBarEverything will remain mostly the same.12:27
KBarNo big changes or added/removed features.12:27
varaindemianyeah, but security updates are not implemented..12:28
KBarWhat do you mean?12:29
varaindemianKBar: 18.04.2 is outdated compared to 18.04.5 security-wise12:30
KBarOf course it is. The numbers tell that already.12:30
KBarvaraindemian, 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
varaindemianKBar: do you have a link where this is exmplained?12:31
KBarvaraindemian but your version would say 18.04.5/6/712:32
varaindemianso the user with 18.04.2 did not issue the upgrade command12:32
varaindemianif you issue only update your system will get the 18.04.5 version?12:33
KBarvaraindemian, I just gave two links. Point releases are updates, not upgrades. Depends on the initial state of your system.12:35
varaindemianKBar: so you still get security updates by issuing update without upgrade12:35
KBarvaraindemian, 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.whatever12:36
=== diskin is now known as Guest5355
=== diskin_ is now known as diskin
KBarvaraindemian, yes. Though `apt upgrade` is confusing, it will just update your packages and install security updates/bug-fixes.12:37
KBarThat's all.12:37
KBarThere are exceptions, of course.12:37
KBarBut this is generally how updates in Ubuntu work.12:39
=== saribro is now known as swinnenb
andi87Hej, 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:02
KBarandi87, what were the commands exactly?13:19
KBarandi87, look at /var/log/apt/history.log13:20
KBarandi87, you can restore everything back by reinstalling packages that got removed.13:20
=== remy_ is now known as Remy
andi87   44  dpkg -l | grep team13:21
andi87   45  sudo apt-get purge teamviewer13:21
andi87   46  sudo apt-get remove teamv*13:21
andi87KBar  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
andi87Requested-By: andi (1000)13:25
andi87Remove: 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:amd6413:25
andi87(1.2.8-2)13:25
KBarandi87, what version of Ubuntu?13:27
andi87KBar Using Ubuntu 20.04, Gigabyte GC-WB1733D-I as Wifi & BT card.13:29
KBarandi87, you're going to reinstall all of those packages. And don't use wildcards like that.13:31
KBar*going to have to13:31
andi87KBar yes, that was a bad idea13:32
andi87KBar thanks13:32
KBaryw13:33
BinarySaviorhaving trouble with DNS config on Ubuntu.  https://bpa.st/MOTA13:38
BinarySavior10.12.21.9 is my default gateway13:38
mrcoffeeHi. How do I play a .plist file in Ubuntu?13:51
mrcoffee It's a music playlist..13:51
BluesKajHi folks13:55
p13mrcoffee: isn't plist a macos preference list xml file?13:55
mrcoffeeYes, i think it's that..13:55
p13if you open it in a text editor, what do you see?13:56
mrcoffeeIt's an mp3 list with p f t A D fields with some other data like author etc..13:58
mrcoffeep is the link D the duration A the author..13:58
mrcoffee...13:59
p13does it link to the source files?  If not ... there won't be much to play13:59
KBarmrcoffee libplist3, libplist-utils14:14
KBarmay help you convert and possibly read/write14:14
p13mrcoffee: i guess you missed the answer by KBar (you got disconnected)14:18
p13check out libplist3 and libplist-utils14:19
ledenimrcoffee, just use this play list ---> http://felloff.net/usr/cinap_lenrek/music/9front/playlist.m3u14:28
user42_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 ?14:55
tomreynuser42_: RFC's aren't really Ubuntu support topics, try a channel which is topically related to the IRC protocol.15:41
xu-irc53w?15:51
xu-irc53wHello what does bs=4M exactly do when you run dd15:52
KBarxu-irc53w, it sets both input and output block sizes to 4 megabytes.15:52
xu-irc53wDoes it mean the write speed wobnt exceed 4M/S15:53
KBarno, its not about its speed15:54
=== genii-core is now known as genii
xu-irc53wHow do u control speed then15:54
KBarxu-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:57
xu-irc53w!iso15:58
ubottuTo mount an ISO disc image, type « sudo mount -o loop <ISO-filename> <mountpoint> » - 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
KBarBecause it forces a physical write after every write.15:58
xu-irc53w!dd15:59
KBarxu-irc53w, `info dd`15:59
xu-irc53w!info dd15:59
ubottuPackage dd does not exist in impish15:59
KBarFrom your terminal.15:59
KBarxu-irc53w, the program `dd` is part of GNU coreutils, which have a very good documentation accessible by invoking `info PROGRAM_NAME`.16:00
KBarxu-irc53w, `info dd`, `info ls`, etc. Pressing Q or Ctrl-C quits Info. <SPC> or <PgDn> moves one page down, <BS>, <DEL>, or <PgUp> moves one page up.16:01
KBarxu-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:03
KBarJust `if=/path/to/ISO of=/dev/sdX`16:04
p13status=progress is a nice one to add unless you like staring at a cursor16:04
KBarAh, yes.16:04
KBarIf you have 10 minutes of free time, you can add that flag and stare at some numbers :)16:06
p13much more entertaining16:06
KBarI don't know. I've never tried that. Usually, I just run it and forget about it.16:07
p13there is also a signal you can send it to make it spit out some status info16:08
p13i believe it's USR116:08
KBarbut yeah. for a newcomer, it is a must-have. otherwise, you might get crazy16:08
KBarand freak out16:08
bebopsimple: 'dd if=nameof.iso of=/dev/sdx'16:10
xu-irc53wI found it theres actually dd for windows, i hope they work same16:11
KBarwoah woah woah, dont utter that w-word here ever again16:11
bebopthey don't16:12
KBarxu-irc53w, if you're on W..., try Rufus instead.16:12
KBarSeamless, easy, user-friendly.16:13
xu-irc53wwww.chrysocome.net/dd16:14
p13KBar: lol i wish the community would get over this whole windows thing already16:16
p13and yeah rufus, etcher, etc.  there are many options16:17
KBarp13, I'm just kidding. :)16:18
p13i know, but it kind of scares newcomers unfortunately16:18
KBarp13, well, if anything, these arcane shell commands scare them more. :P16:19
p13lol well maybe you do have a point there16:19
p13Dno, 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 CLI16:22
p13used to be different lol16:22
xu-irc53wHow to show package dependency without installin it16:25
p13xu-irc53w: apt show16:26
xu-irc53wIs there a demonstrate function with dpkg -i16:27
p13you mean a dry run ?16:27
=== Ricardus_ is now known as Ricardus
xu-irc53wSmth like that, without really installing16:28
p13so you mean you have a deb file you want to install ?16:28
p13or do you want to install from repo ?16:28
xu-irc53wYeah i want to install, i just wanna see what it goes without real installing16:29
p13yes, but is it a deb file, or do you want to install from repo?16:29
xu-irc53wIts deb from AMD16:29
p13ok, dpkg -i --dry-run16:30
xu-irc53wOk how to use apt-show with a downloaded deb16:30
p13dpkg-deb -I16:31
xu-irc53wThx16:31
p13no worries16:31
xu-irc53w!filesystem16:40
ubottuAn 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 hier16:40
xu-irc53wWhat filesystem is mostly used now16:42
p13for general desktop use ?16:42
xu-irc53wYes16:44
p13unless there's a specific feature you need from a particular fileystem, i'd say just stick with ext416:44
xu-irc53wOk how do you set back up in case for X crashes16:45
p13what do you mean?16:46
xu-irc53wHow to set backup in case desktop fails16:46
p13you mean in the event your computer crashes?16:47
p13like totally crashes?16:47
p13dejadup, etc works well for your user data16:47
xu-irc53wNo desktop or smth16:47
ens2so 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:48
p13ens2: hold shift while your computer is booting to see the grub menu16:49
p13or mash escape16:49
xu-irc53wBetter set wait time for it16:50
p13xu-irc53w: which desktop environment do you run?  Gnome?  In that case, just use the backup tool that comes with ubuntu16:50
ens2yeah i got to the grub menu. it only offered the option to boot to ubuntu (no windows option)16:50
p13ens2: ah, i see.  You know where your windows partition is?16:50
ens2yeah it's on /dev/dm-316:51
p13softraid?16:51
ens2hardware raid016:51
=== aaguhagegaooeg is now known as westor
p13dm-3 does not soun like hardware raid ...16:51
=== westor is now known as Guest905
ens2well 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:52
p13yeah that's soft raid16:53
p13see if you can run os-prober16:53
ens2for reference it's also under /dev/mapper/isw_dgdhjdjfgb_Volume1p3 -> ../dm-316:53
ens2os-prober runs but doesn't echo any output16:54
p13yeah symlink, that's normal16:54
p13ens2: run updat-grub after os-prober16:54
p13update-grub16:55
ens2p13: https://pastebin.com/he4tqR0816:56
p13is your raid a raid1 ?16:57
ens2it is a raid016:58
KBarens2, you have a type. the command is `update-grub` with superuser privileges16:58
KBaryou typed `updat-grub`16:58
KBaroh my bad16:58
KBardidnt see the end16:58
p13hmm 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 fine16:59
p13hold on16:59
KBarsorry. im getting old i guess :D16:59
tomreynens2: what does this print?   echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS16:59
ens2This system booted via: UEFI17:01
tomreynok, good. what's the physical devices you joined into this fakeraid?17:01
ens2two sandisk x400 m2 sata drives and 1 2.5 ssd that came with the laptop.17:02
p13looks like sda, sdb and sdc17:03
ens2yeah. that also. :)17:03
p133 disk raid0 with differing geometries.  YOLO17:03
ens2well two of them are the same at least!17:04
* ens2 chuckles17:04
tomreynand different buses17:04
tomreynalthough, no , probably all sata17:04
p13yeah sdx devices, looks like sata17:04
p13looks production ready to me.  ship it17:05
ens2yeah. 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
tomreynso the problem you are trying to solve is that os-prober doesn't find the windows bootloader?17:05
ens2tomreyn: seems to be the case indeed17:05
tomreynhave you tried mounting the ntfs?17:06
p13try your pc's boot menu.  The EFI boot entries will probably contain the windows one17:06
ens2to 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
ens2will try mount it now17:06
nabidevhttps://ubottu.com/y/gl17:07
ens2oh interesting...17:07
ens2Windows is hibernated, refused to mount.17:07
shadow255sounds like fast shutdown fun17:08
tomreynyou need to configure it to shut down properly17:08
ens2The disk contains an unclean file system (0, 0).17:08
p13it needs to rest for winter k17:08
p13disable quick boot17:08
ens2haha17:08
ens2it mounted it read-only though17:08
ens2so i suppose that should be decent enough17:08
ens2but maybe os-prober picked up that error?17:09
tomreynand while you're at it, apply the registry patch to make it accept a utc hardware clock17:09
p13it will have tried to mount it or at least get the superblock and probably got some weird non-zero exit code17:09
p13tldr: it choked on itt ... probably17:09
tomreynpossibly that's what happened. you'll need to creconfigure windows anyways, so why not try this now17:09
ens2should i try boot into it via the system F9-key boot sequence and get it to dismount it cleanly?17:11
p13yes17:11
p13disable quickboot or fastboot or whatever it's called17:11
tomreynwith this adventurous 'RAID' configuration, make sure you always have good backups for both systems17:11
p13also, yes, very much what tomreyn said17:11
p13it's more like a redundant array of imminent destruction17:12
ens2oh 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 code17:12
ens2but as a gaming machine... little of value would be lost on the windows side at least.17:13
ens2anyway brb17:13
p13good luck17:13
p13i've done usb floppy raid before17:14
p13good times17:14
p13mdraid don't care17:14
p13ens2: F9 wasn't your boot menu key? :D17:19
ens2well - 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
ens2and i got it to unmount cleanly so it looks like17:20
ens2https://pastebin.com/S98Zc8yH17:20
ens2but 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 solving17:20
ens2but if you have any bright ideas do lemme know17:20
p13os-prober is silent17:21
p13try update-grub again17:21
ens2same output as last time17:21
p13hmmm17:21
p13can you mount the partition read-write now ?17:21
ens2yep. i mounted it17:22
TJ-not been following, but os-prober is disabled by default on recent releases17:22
ens2and did echo test > test17:22
p13TJ-: oh, is there a new way?17:22
ens2this is 20.04 for reference17:23
p13is there a windows entry /etc/grub.d?17:24
p13like a windows file17:25
TJ-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:25
ens2no windows mentioend under /etc/grub.d/17:26
TJ-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
p13hmm, you could try making the entry manually in there17:28
tomreynis package os-prober installed, though?17:28
ens2os-prober is already the newest version (1.74ubuntu2).17:29
tomreynoh yes, you also showed that in the paste, sorry17:30
tomreynso i guess os-prober can't find it on the isw raid17:30
ens2yeah bit of a head scratcher17:31
TJ-can we go back a bit? ens2  you said this is an UEFI install/boot ?17:31
ens2my 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 something17:31
ens2TJ-: yeah17:31
p13you could add the EFI boot entry to grub17:31
TJ-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 firmware17:32
TJ-ens2: use "efibootmgr -v" to assure yourself that the Windows entry is there17:32
TJ-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 Windows17:33
ens2yep ubuntu is first in that output bootorder17:34
ens2ok then. that makes sense.17:35
TJ-ens2: and you see Windows entry too?17:35
ens2yeah, windows is there on it too as "Windows Boot Manager" which is right after Ubuntu in the boot order17:35
TJ-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 menu17:36
ens2oh that's handy. i'll save that in a .sh17:37
TJ-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 end17:37
tomreynTJ-: 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
tomreyni mean it could be used in addition to the uefi boot chooser17:38
TJ-tomreyn: the whole problem with trying to chainload another EFI portable executable, which is what os-prober tries to do17:38
p13well if you REALLY want to live on the edge, some google guys kexec'd into windows from linux lol17:39
TJ-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 MBR17:40
tomreyni see17:40
p13i use refind boot manager17:41
p13i have a drive with qubes, a drive with haiku and an mdraid set with ubuntu17:41
p13it keeps all of their bootloaders separate17:42
p13wish my pc just supported coreboot17:43
tomreynp13: there's also #ubuntu-offtopic for non support Q&A17:44
p13is it OT though?  I suggested an alternative17:44
=== beaver is now known as pong
TJ-p13: UEFI keeps boot-loaders separate by design - each has its own directory under /EFI/ on the EFI system partition17:44
TJ-Ubuntu adds /EFI/ubuntu/17:45
p13yeah, and refind just allows you to drop into the efi shell, or allows you to load any efi executable.  It's kind of nice17:45
ens2thanks for the help and education on this issue folks. much appreciate.17:46
p13ens2: 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/REFInd17:47
ens2thanks. looks like a cool project.17:50
p13it's pretty neat.17:50
=== five6438 is now known as five643
=== coc0nut_ is now known as coc0nut
=== MistahKel is now known as Kel
veretoeshey dudes, which lightweight ubuntu is encrypted?18:34
veretoesxubuntu maybe?18:34
p13you can have encryption on any ubuntu variant18:35
p13full disk or just your home dir?18:35
veretoeshi p13, I'd prefer full disk18:36
p13which desktop environment do you prefer?18:36
veretoesI have xubuntu installed18:37
veretoesI like it, it's ok18:37
p13you have it already installed and want to encrypt your current system?18:37
veretoesyes18:37
p13hmmm not so easy i don't think18:37
p13do you have a second disk to copy to?18:38
RandomGuy21Hey p13 how easy would it be to encrypt just the home folder on an already installed Ubuntu system18:43
p13make a new user, set up encryption, copy over18:44
veretoesnothing important on the hard disk yet, it could be formatted or whatever18:45
p13veretoes: then i suggest reinstalling18:45
p13pick set up lvm with full disk encryption18:45
RandomGuy21Cool thanks18:48
veretoesthanks18:53
cientistaoi20:33
=== five6433 is now known as five643
=== sazawal_ is now known as sazawal
=== martums3 is now known as martums
Chunky_KsHey 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:24
p13sounds like a GPM thing22:25
p13Some applications support the use of a mouse in the terminal.  Clicks are sent as escape codes.22:25
p13Let me have a look for you22:25
Chunky_Ksoh, huh22:26
Chunky_Ksthat would align with some silliness I had with a terminal text browser, too22:26
p13when you run htop (that supports gpm), and you click somewhere, does it react ?22:26
Chunky_Ksyeah, links [the text mode browser] responds to the mouse22:27
p13yeah that's mate, though, what i mean is does htop for example react to your clicks within the terminal22:27
Chunky_Ksyep22:28
Chunky_Kshtop responds to mouse clicks22:28
p13ok cool so that works22:29
p13aka that's  not broken.  I suspect vi is getting those clicks and doesn't know what to do with them22:29
p13do you use vi or vim?22:29
Chunky_KsI just tried my other pre-21.10 machine, and htop doesn't respond to clicks in it22:29
Chunky_Ksuh. "vi" at the terminal, lemme figure out what that actually is22:29
p13try vim22:30
Chunky_Kscurrently that's vim.tiny22:30
p13ok cool22:30
yakovwindows suck22:30
p13do you want to use your mouse for anything in the terminal?22:30
Chunky_Ksinstalling vim-not-tiny now22:30
Chunky_Ksnot even a little bit :-)22:30
p13ok let's check how to disable it then22:30
Chunky_Ksah, yeah. vim as in "sudo apt install vim" doesn't do this.22:31
p13yeah vim supports gpm22:31
Chunky_Ksnod. good call on pointingthe finger at gpm22:32
p13i recognize the behavior from occasional byobu shenanigans so it rang a bell :)22:32
Chunky_Ksnod.22:32
Chunky_KsI've also updated alternatives to point vi at vim.basic, which also alleviates the symptoms22:33
p13vim is nicer anyway imho22:33
Chunky_Ksalthough personally I prefer my terminal remain ignorant of mouse altogether22:33
p13can use cursor keys lol22:33
p13hjkl is nice and all, but i'm not that cool22:33
Chunky_KsI'm old enough and grumpy enough that I learned vi when it was "the thing Bill Joy wrote"22:33
p13well in any case, if this bothers you with anything again, you know where to look22:34
p13i would think that mate-terminal has an option in it's prefs somewhere to enable or disable mouse support22:35
Chunky_Kshrm22:37
Chunky_KsI don't see anything22:37
Chunky_Ksbut for now I think I'm ok. at the very least, "vi" doesn't beep and drop out of insert mode when I mouse around22:37
Chunky_Ksso I'll take the victory. Thanks for your swift and excellent help!22:38
p13that would annoy me as well haha22:38
p13no worries friend22:38
=== Guest905 is now known as westor
Guest6259What's the best ppa to get newer kernel in older ubuntu release?23:30

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