[00:33] hey is anyone here? [00:49] Roey: I just joined. [00:52] oh hey mmikowski [00:53] I'm looking for anyone who knows about installing Kubuntu on BTRFS on LUKS over /, /home and swap. [00:53] Hi Roey [00:53] I do! :) [00:53] tonyw did but he's out at the moment [00:53] oh? [00:53] oh really now!! [00:53] We actually considered that for Kubuntu Focus 22.04 release, so I did the whole thing. [00:53] mmikowski: I'm looking at https://github.com/BinaryShrub/ubuntu-btrfs-luks#Install-Ubuntu-20.04-on-BTRFS-with-LUKS [00:53] mmikowski: hmmm ok [00:54] mmikowski: so here's my situation: I have a new Dell Inspiron 16 (5620) laptop with a 1 TB SSD, with Win11 pre-installed. [00:54] We did not release it because of issues with support upstream and an uneven toolset. [00:54] ahhhhh [00:54] It also ate my disk :P [00:54] ok I figured that might have been why (b/c of immaturity of tools) [00:54] !!!!!!!! [00:54] Well, honestly, for me, it was a good fit. [00:54] :) [00:55] so what did you do, exactly, to get this installation to work? [00:55] mmikowski: Quick question: Is it a known issue that the Kubuntu installer can't do LUKS in a manual partition? I'll paste my full question from above if it's not in your scrollback buffer. [00:56] Also, Tony Walker (tonyw here) was showing me this yesterday, but I find it very complicated for my use case: https://github.com/tonywalker1/ubuntu-tips/blob/main/add-btrfs-subvolumes.md [00:56] mmikowski: ^ [00:56] But the support issues for less skilled administrators is big. There is no simple rollback button, especially when considering near-FDE and the need to separate partitions. You can roll back root, for example, but then /boot can get out of sing. [00:56] So if you know what you're doing, it's good. But for many people, it's too hard. [00:57] ok [00:57] mmikowski: does /boot also go on LUKS? [00:57] Ok, on to the questions. pedahzur: yes, Kubuntu installer does not do LUKs in a manual partition IIRC. It's all or nothing. [00:57] or like. uefi /boot [ / /home swap ]<-LUKS ? [00:57] Ah, shucks. OK. I'll just do a minimal install with Ubuntu, then install KDE. [00:58] pedahzur: Does Ubuntu provide better tools for LUKS partitioning (sounds like it!) [00:58] I think we used Ubuntu Server for that purpose to start way back when using 18.04. [00:59] ok [00:59] Well, I can't honestly say I've tried the graphical installer, so can't speak there, but the text-based installer is very solid in doing ext4 on LUKS. I've done it several times. [00:59] Roey: I will need to look up my notes. [00:59] thank you mmikowski [00:59] like I said, my laptop is brand new [00:59] Ah, yeah, Ubuntu Server. [00:59] with win11 preinstalled, so it has that uefi partition on it too [01:00] IIRC, we had a dual-boot system with extensive partitioning requirements, and that's how we got around it. Then installed kubuntu-desktop on top. [01:00] with the correct repos set up, of course. [01:00] Roey: You want to keep win11? [01:00] oh no [01:00] I just want to install linux [01:00] Ok, that makes it a lot easier. [01:00] \o/ [01:01] yeah if I want windows i'll load it in a VM [01:01] digging up ticket with details ... [01:01] thanks [01:04] ok, what we had was a pre- and post- install script. We used apt-btrfs-snapshot to auto-run snapshots after each apt action. [01:04] digging out pre-install script now. [01:05] ok [01:05] mmikowski: oh so you're on the kubuntu installer development team? [01:06] no, I work with Kubuntu Focus. [01:07] ohh ok [01:07] We get involved with that sometimes. For example, we sponsored fixes for an installer bug where the keyboard layout was squished. [01:07] We are also pursuing an issue where if the user clicks 'continue' the whole installer crashes. [01:07] We also provided an SDDM work-around to fix nested login windows on mult-monitor displays. [01:07] Stuff like that. [01:07] ok [01:08] We are also pursuing an issue where if the user clicks 'continue' the whole installer crashes. <- lovely :) [01:08] oh -- BRB in three or so minutes [01:08] Also, the plymouth theme for encryption passwords is now resolution independent and works with BIOS splash and no longer has text lying over text. We worked to get all those fixed upstream. [01:09] Lots of thanks to Eickmeyer on all of that, and of course RikMills. [01:11] hmm, just checked-out the branch that's supposed to have it, but it's not there. I might have read something wrong. Looking ... [01:11] back [01:13] ok, looking again. Here is a link where you can use stock Ubuntu for this purpose. Then install kubuntu-desktop over the top and ensure you have the correct repos. That might be easiest. [01:13] https://github.com/BinaryShrub/ubuntu-btrfs-luks#Install-Ubuntu-20.04-on-BTRFS-with-LUKS [01:14] There have been reports that using BTRFS and LUKS together can shorten SSD lifespan dramatically, so please make sure to have plenty of backups if you're going to do this. [01:14] hrm. [01:14] why btrfs and luks together necessarily [01:14] arrayboltXE: I can confirm that it can have a catestrophic failure. [01:15] and also swap on luks as well, right? [01:15] hrm. [01:15] so there goes my idea of an encrypted BTRFS setup [01:15] BTRFS does copy-on-write, which uses up more writes on the drive. Why LUKS messes things up further, I have no clue. [01:15] regarding the writes - so SSDs do use wear-leveling [01:16] However, I did use it daily for 4 months, and the disk usage per SMART was still 0% used on a Samsung 970. [01:16] Performance was around 60% of LUKS + Ext4 [01:17] There's also reports that it works just fine (case in point, a Lubuntu Developer and Ubuntu Core Developer I work closely with does it). I'm too chicken to try and just use encrypted ext4 :P [01:17] A good backup solution (BackInTime) works better in many circumstances IMO, and is easier to manage. [01:18] ext4 + LUKS is by far the fastest and most stable. [01:19] ok [01:19] anyway [01:19] how do I do all this [01:19] I've got a 1TB SSD on this [01:19] I found it :) [01:19] I don't care about the wearing [01:19] ah :) [01:23] ok Roey, I can give you pre- and post- install scripts. Recognize that these are NOT production ready; we did not polish them for end users because the Proof-Of-Concept testing showed too many problems. [01:23] ok [01:23] So these are alpha quality. [01:23] how would I run them? [01:23] and when? [01:23] at what point (before/after installation?) [01:23] They contain reference to creating a recovery partition that you actually do not want. [01:24] ok [01:24] i mean [01:24] This is in a README. Also included are links to documents. [01:24] again I have this uefi partition that I cannot /not/ install [01:24] ok [01:25] When you say your have a uefi partition you cannot install, what do you mean? Is it immutable or something? [01:25] I mean it's a laptop with UEFI [01:26] and as far as I understand, I need to keep that smal initial UEFI partition around [01:26] or somehtin glike that [01:26] otherwise it won't boot [01:26] Ah, that will be taken care of by the installer. [01:26] ok [01:26] do I do manual paritioning? automated partitioning? [01:26] You don't need to worry about it unless you are manually paritioning. [01:27] I want to nuke the win11 junk too [01:27] ok [01:27] Then you will need to create one. [01:27] create a uefi partition yhou mean? [01:27] ok [01:27] There is no need to worry about its contents. [01:27] ok [01:27] I don't even know what goes on in that small partition [01:28] If you try to use manual installation without adding a uefi partition it will prompted you to go back and add one. [01:28] Do not ignore that :) [01:28] ok [01:28] :) [01:29] Swap is not on BTRFS [01:29] oh? [01:29] er [01:30] yeah swap is not on btrfs. [01:30] I do want it on luks though [01:30] encrypted swap [01:30] if that is possible [01:30] right [01:31] so my setup would look like UEFI-parition ext4:/boot [LUKS: btrfs:/ btrfs:/home] [01:31] swap is separately encrypted [01:31] so my setup would look like UEFI-parition ext4:/boot [LUKS: btrfs:/ btrfs:/home swap] [01:31] yeha [01:36] So I can sanitize this and send it along, but you'd be on your own here. [01:36] Hopefully it would give you good pointers. [01:39] So Roey, if you are into it, I have a bundle I can send somewhere with these scripts and a readme. [01:39] They are not publicly available. [01:39] As they were internal development only. [01:40] If you want it, how should I send you the file? [01:42] it's fine [01:42] I ant something that is usable [01:42] and tested [01:42] I don't undrestand how kubuntu doesn't have this available as an installation option [01:44] Interestingly, the original documents I used to develop the scripts have, in some cases, been removed(!) [01:44] Not mine, but others. [01:44] heh [01:44] ok so the [01:44] This, for example, doesn't appear available. He says it's moved, but when I go to the new site, it's not there: https://mutschler.eu/linux/install-guides/ubuntu-btrfs-20-04/ [01:45] so I'm just left with the understanding that this isn't feasible [01:45] at all [01:45] I honestly cannot commit to bashrc-fu [01:45] It's feasible, just a lot of work and not supported. [01:45] I did a lot of that stuff in my 20s, now I just want stuff ot work [01:45] yeah it's he "lot of work" that bums me [01:46] Then I'd recommend then using LUKS + ext4 with BackInTime backups and apt-rollback. [01:46] and not supported. You know where I was last in this position? trying to install XFS on /, on a 64-bit desktop, back in 2005. [01:46] ah [01:46] That's what we do with the Focus load out. [01:46] ok. is this supported? [01:46] does it work? [01:46] You can get that at https://kfocus.org/try [01:46] does it need a lot of work to make it go? [01:46] Yeah. It starts running BackInTime pre-configured out-of-the-box [01:47] It's even in the welcome wizard [01:47] ok [01:47] and on LUKS? [01:47] Yes, on LUKS [01:47] ok wonderful [01:47] I'll get Kubuntu Focus then [01:48] can I run a btrfs tool to convert the ext4 partition into BTRFS afterwards? [01:48] Super supported. Check out https://kfocus.org/wf/reinstall.html. There's also a page on backups: https://kfocus.org/wf/backup [01:49] Converting an ext4 parition to btrfs is possible, but you would need to destroy the data on the partition. [01:49] Also see https://kfocus.org/wf for lots of helpful articles. [01:49] ok [01:50] also with ext4 then what happens on bootup after an ungraceful reboot? [01:50] is it going to take 10 minutes to scan the disk? [01:50] ext4 generally recovers very well and very quickly after a hard shutdown, in my experience. [01:50] ok [01:50] oh, [01:50] When presented with the Installation Type, choose your preferred method. We use Guided - use entire disk for unencrypted disks and Guided - use entire disk and set up encrypted LVM for full-disk encryption. If you choose the latter, DO NOT FORGET THE PASSWORD YOU CREATE, as it cannot be recovered. [01:50] so is LVM the same as LUKS? [01:50] No, the two are different. [01:50] Failure modes are discussed here: https://kfocus.org/wf/recovery.html [01:51] Right. It's ext4 over LVM over LUKS [01:51] LVM is a special way of formatting a disk that has some advantages. LUKS is the encryption layer. Either one can be used independently of the other, or both can be used together (which is what the installer does). [01:51] ok [01:51] so LVM encryption under the 22.10 Kubuntu standard installer, that is not LUKS? [01:52] and is 22.04 means no 22.10? [01:52] Any encryption on Kubuntu is LUKS [01:52] and is wayland supported on Kubuntu Focus? [01:52] ok [01:52] mmikowski: so kubuntu's installer supports encyption over LVM [01:52] Wayland technically can be used, but I don't believe it's supported yet. [01:52] maybe that is LUKS [01:52] ok [01:53] Kubuntu Focus ISO is stock 22.04 with extra tools and a hardware configuration subsystem. [01:53] Roey: LVM and LUKS are entirely separate technologies. They can be used at the same time though. [01:53] Your system would be recognized as 'other' [01:53] ok [01:53] Wayland on 22.04 LTS has issues and is not recommended. [01:53] ok [01:53] brb.. [01:54] However, the benefit of 22.04 LTS is that it is LTS. [01:54] Many 3rd-party solution are only supported on LTS releases. [01:55] You can see a review of KFocus 22.04 on https://kfocus.org/features/ by InfinitelyGalactic. It's a few videos down. [01:55] So if you want to try it, it's there. You would need to do more work for your hardware, but it might at least give some ideas of what a good setup might be for you. [01:57] kk Roey, I need to get back to work. I hope that is helpful. [01:57] arrayboltXE: Good to see you! [01:58] mmikowski: Good to see you too! [01:58] final note Roey: If you try the kfocus load-out, update the software and rerun the welcome wizard. That will then direct you to BackInTime and start it for you. [01:59] Thanks Aaron! [01:59] ok so [01:59] Kubuntu lets me do "use entire disk - LVM encryption" [01:59] Right [01:59] but then it proposes to use the ssd disk, no uefi partition [01:59] Just see the install link I provided. [01:59] fuck /me/ why is this such a bitch, it's 2023.. [01:59] mmikowski: ok [01:59] It isn't. [02:00] It will add the uefi partition for you. It's just a few clicks. [02:00] automatically? ok [02:00] (regular kubuntu installer here, not the kubun tu focus one) [02:00] Yes. I've installed Windows 11 and Kubuntu 22.04. Trust me, the latter is FAR easier and faster. [02:00] The installer is the same. [02:01] In fact, the instruction link I provided will work almost completely with the stock Kubuntu 22.04. [02:02] Roey, nice to meet you. I gotta get bac, to building a kernel package :P [02:02] ^back [02:02] Best of luck! [02:08] thank you mmikowski!! [07:22] hi guys. i couldn't find right subversion version for 22.04 LTS KDE plasma [07:43] Is the service plasmashell influenced by docker builds and runs iam doing on my desktop? [07:45] wondering that plasmashell takes much more CPU as the docker build itself, which is very slow === mpendlebury is now known as Element [12:49] Hi all [12:52] what is this place [12:53] kubuntu support [16:14] hello, any XP Pen users here? [17:27] I am having trouble with updates. It seems that for some reason grub-common and software-properties-common are not able to install due to dependancy issues. How would I go about resolving this issue? [17:29] A little bit of background. I have been running the system for about a year without any issues. During a recent update these failed to update. Usually I do updates using the Discovery app [17:30] fusion1181, apt install -f # fixes things, also you might want to run apt dist-upgrade [17:30] !distupgrade [17:30] A dist-upgrade will install new dependencies for packages already installed and may remove packages if they are no longer needed. This will not bring you to a new release of Ubuntu, see !upgrade if that is your intention. [17:33] dist-upgrade did fix the python3 packages but the grub-common grub-pc-bin grub-pc grub2-common report that they have been kept back [17:33] Is there a way to see more details about why it is held back? [17:35] it could be phased updates [17:35] https://wiki.ubuntu.com/StableReleaseUpdates#Phasing [17:36] Ah... It reports that grub2-common requires grub-common 2.06-2ubuntu7 instead of the newer 2.06-2ubuntu7.1 so it does look like a phased update type of scenario [17:37] oerheks: thank you for your help :) [17:38] have fun! === Lord_of_Life_ is now known as Lord_of_Life