[00:10] mmikowski: would you be willing to help me use your script? [00:10] or understand your script? [00:10] Hi Roey. I am very busy launching a new product :\ [00:11] Actually, we have 3 launches in the next two months. So time is limited [00:11] I can give you the overview though :) [00:12] Is that ok? [00:15] mmikowski: oh wow [00:15] mmikowski: in a bit? I'm in a meeting at the moment [00:16] tha just popped up [00:16] thank you [00:42] Hi Roey, sorry, I got pulled away into a meeting. [00:43] Too. [00:43] So here's the lowdown on the scripts: [00:43] 1. Run the kubuntu installer in 'Try kubuntu mode' [00:43] 2. Run the first script to set up the disks [00:43] ok [00:43] 3. Then run the installer by double clicking on the install now icon [00:44] 4. After install, run the second script [00:44] I haven't tested this for a long time, so I'm not certain if everything is completely in order. [00:44] ok [00:44] I *do* know that I got the whole thing working [00:44] I mean I'm studying it to see what it does exactly [00:44] Right. [00:45] What you could do is run the script bit-by-bit. [00:45] Now one thing to remember, the recovery partition is not needed. [00:45] So you could modify pre-install script to remove it. [00:46] In summary: 1. Try Kubuntu; 2. Run pre-install script; 3. Install using disks setup in 1 (select existing partitions!); 4. Run post-install script to clean up. [00:46] 5. Reboot and profit. [00:47] We were pretty close to shipping systems with BTRFS + LUKS, but support issues, performance, and BTRFS eating disks killed it :) [00:47] ok [00:48] hrm [00:48] so this idea has been thoguht about, good [00:48] The last one is just me having fun; BTRFS ran well for 4 months before getting weird. [00:48] weird how so [00:48] ? [00:48] It just stopped booting one day. Turned out, it wasn't a disk failure though, and I was able to recover. [00:48] However, the other issues killed the initiative. [00:49] hi [00:49] hi xtra001 [00:49] im new [00:49] what is thi channel about [00:50] kubuntu use and support [00:50] how can i join other channels [00:50] xtra001, I've gotta get back to some work, but welcome! [00:50] ok [00:51] You should be able to add '#kubuntu-devel' and '#plasma' through your IRC tool. Depending on what that is, the method will be different. [00:51] There's probably a shortcut, but I'm pretty lame about those sorts of things :P [00:51] kk, gotta run [00:51] Roey: good luck. xtra001: nice to meet you. See you soon. [00:51] thanks [00:52] roey [00:57] xtra001 [00:57] doh [00:57] Roey: fwiw, this looks better: https://pastebin.ubuntu.com/p/tvC6xhxr8g/ [00:58] mmikowski: hmm what about systems w/out UEFI [00:58] so no need for EFI partition [00:58] ? [00:59] You should be able to remove that too. [00:59] and what is "recovery" partition for?? [00:59] Although its so small, it hardly matters. [00:59] is this a new ubuntu thing? [00:59] We were exploring using a partition to hold a recovery image. However, we discarded it as not very useful. [01:01] No, it's not a new Ubuntu think AFAIK. [01:06] hrm ok [01:07] https://pastebin.ubuntu.com/p/sWHWcmx24w/ <= Pre-script, with directions [01:08] ok [01:08] hrm [01:10] https://pastebin.ubuntu.com/p/6VffbKkmgt/ <= post-script [01:11] oh [01:11] ok os these are all different scripts [01:11] i was getting confused [01:11] s/os/so [01:11] There are just two [01:11] The first is the "pre-script" [01:11] The second is the "post-script" [01:12] Instructions are in the "pre-script" [01:12] They are as I typed them earlier. [01:12] what is the differnece between https://pastebin.ubuntu.com/p/sWHWcmx24w/ and https://pastebin.ubuntu.com/p/tvC6xhxr8g/ [01:12] Use the first one. [01:12] https://pastebin.ubuntu.com/p/sWHWcmx24w/, ok [01:13] They are probably identical except for the comments. [01:13] Again, that's the pre-script. [01:13] ahhh ok [01:14] ok I like how they are clearly labeled pre- and post-. [01:14] And yeah, post script again: https://pastebin.ubuntu.com/p/6VffbKkmgt/ [01:14] ya [01:15] ok [01:15] so right now [01:15] I have two weeks to set this laptop up [01:15] ok [01:15] less than two weeks [01:15] I just want to get it going [01:15] https://kfocus.org/try. [01:15] :) [01:15] Honestly, that's what its there for. [01:16] 22.04 LTS, encryption, backups ready out of the box. [01:16] hrm. [01:16] why 22.04 will it not work on 22.10? [01:16] will it work on systems that don't hve UEFI? [01:17] We don't support 22.10 because it's an interim release which goes out of support in 5 months! [01:17] The 22.10 has newer software, newer fixes, and newer bugs. [01:17] So we stick with LTS only to minimize work disruptions. [01:18] Some folks swear interim releases are just fine, but LTS is LTS. [01:18] You can install on a system without UEFI. The install is stock kubuntu. [01:18] It just has configs and apps set up so you are ready to run ASAP. [01:19] We just install repos, apps, and capabilities on top of stock Kubuntu. It's not a separate distro. The ISO is provided as a convenience. [01:19] ok [01:19] i just want this to work [01:20] tried installing kubuntu 22.10 [01:20] it doesn't even boot for me [01:20] b/c it assumes UEFI [01:20] and my ancient laptop doesn't have UEFI [01:20] You can add all the stuff to stock kubuntu to get the exact same capabilities, but we do tons of stuff that can take weeks or months to research and implement. [01:21] ok [01:21] can I upgrade focus 22.04 to stock kubuntu 22.10 [01:21] ? [01:22] I don't recommend it. [01:22] If you want to run 22.10, I suggest at least starting in a VM first. [01:22] Make sure everything works for you. [01:22] Not all third-party apps support interim releases. [01:23] Usually they still work, but if they don't, it can get painful. [01:23] So I really gotta get back to this launch. I think what you are looking for is two different things though. [01:24] One is a reliable daily driver. The other is a tech-hobbiest-hacker box. [01:24] Unfortunately, getting one in both is pretty much impossible. The bleeding edge is where you bleed. [01:25] o/ [01:25] I suggest you get a single NVMe for a rock-solid, reliable daily driver. Then consider getting a separate driver for cutting edge testing. [01:25] Or playing. [01:26] You can also run 22.04 LTS and try distros and new software in VBox. [01:27] kk Roey, I really gotta get back to work. Give it some thought. Of course, you can use any solid distro you like. I mention the kfocus image because I know it solves a lot of things and is focused on "just-works" without reinventing the wheel. [01:27] Hi arraybolt3! [01:27] kk, peace out for a bit. [01:27] mmikowski: I can pick up where you're leaving off :) [01:28] kk :) [01:28] Roey: o/ Lemme try out those scripts mmikowski sent you and make sure that they still work (and that they work on 22.10) and see if that gives us a quicker path than the manual mess I was trying to do [01:28] * arraybolt3 boots Kubuntu 22.10 VM [01:29] Or are you installing 22.04 [01:30] ? [01:32] arraybolt3: herro o/ :) [01:32] I would /like/ to install 22.1 [01:32] 22.10 [01:32] Roey: o/ Lemme try out those scripts mmikowski sent you and make sure that they still work (and that they work on 22.10) and see if that gives us a quicker path than the manual mess I was trying to do <=- sure, thanks :) [01:32] OK, lemme try the scripts. [01:32] mmikowski: thanks for your help! [01:32] remember, my system doesn't have uefi [01:33] so I'd be modifying the script to not maket he uefi partition [01:33] *to not make the uefi [01:33] OK, I know Bash scripting so I may be able to make that happen too. I'm using a BIOS VM. [01:34] ok [01:34] ah ok cool [01:41] Alright, the preinst script seems to have worked smoothly, now the install... [01:43] Hmm, the script appears to make an unencrypted swap partition, so you'll probably want to edit that out too so you can use an encrypted swapfile. [01:49] ok [01:49] yeahhhh [01:49] The script is remarkably straightforward and easy to read though, so it was very easy to mod. My scripts are... D: so I should probably learn how to make nice, readable scripts at some point. [01:50] ok :) [01:50] this is all so /much/ for me [01:50] so I appreciate that you'r elooking at it :) [01:50] Thanks for your patience with me, I had a *lot* to do, I'm glad we're getting somewhere again now. [01:53] :D :D :D [01:53] I go on a tip in a couple of weeks so I wan to get that laptop set up the right way [01:53] i.e. encrypted /boot if possible [01:53] even if it's not btrfs [01:53] the point ist hat there should be no key or anything in plaintext [01:53] *the point is that [01:55] Hrm... so the bootloader installation crashed. [01:55] :-/ [01:56] OK, lemme test a different way... [01:57] heh [02:03] While this is a BIOS system, I'm wondering if perhaps Ubiquity requires that an EFI partition be present in order for bootloader installation to work? What's weird is I'm pretty sure that BIOS installations usually work, maybe this is a bug in Ubiquity. [02:03] Anyway, second install in progress, let's see what happens. [02:12] ok [02:12] yeah maybe we hsould take that up with #kubuntu-devel [02:12] the ubiquity thing [02:13] Roey: I'm certain it works on BIOS, but maybe not with this advanced setup. Manual partitioning on Ubiquity is hit-and-miss. [02:13] Lemme just try a default out-of-the-box encrypted installation. [02:13] (No BTRFS, sadly.) [02:14] Roey: FWIW developers generally are in here too and can see what you say. [02:14] oh ok [02:14] cool [02:14] Though the -devel channel is an easier way to get their attention, so probably asking about the bug there with the UEFI partition is good. [02:14] One more test... [02:14] ok col thanks [02:14] cool* [02:27] Roey: So if I just use the encrypted LVM option when Kubuntu's installer is asking how I want to setup the disks, everything Just Works. On a BIOS system. [02:27] Sadly that's without BTRFS, though. [02:27] I assume this is a Ubiquity bug, or perhaps my modifications to mmikowski's script was incorrect, but that's how it worked. [02:28] ok [02:28] can I copy your three lines above to #kubuntu-devel [02:28] * Roey assumes yes [02:28] Sure. [02:28] thanks :) [02:29] It's not like there's a copyright on words said here :P [02:29] :DDDD [02:29] (If there was, that would put all of us in a rather interesting legal situation /o\) [02:29] I'm very very glad to see you tlaking here again, btw!! [02:29] Glad to help! :) [02:30] I had gotten the impression when you first said that you have to go, that you were like, "ok, this guy's too far gone, can't help him past this point" [02:30] No, I had a small emergency happen out of nowhere and had to leave right then. [02:30] Thankfully things are better at this point. [02:31] At this point, we have two options. [02:31] 1: Install with LVM+encryption using the automated option in the installer and call it good enough. I think this is our best bet. [02:32] 2: Try to do manual partitioning, but then rather than using the installer, use debootstrap to install *manually*. I don't know if I know everything needed to do that, and it would almost certainly be unbelievably complicated. [02:32] LVM+encryption would mean no btrfs, correct? [02:32] True. [02:32] the automated option didn't work b/c Ubiquity assumed my laptop was a UEFI platform [02:33] so it created EFI partition [02:33] It works on BIOS for me. [02:33] oh? [02:33] It created the EFI partition, yes, but it installed a BIOS bootloader. [02:33] I mean that'st he whole reason I came to here is b [02:33] hrm [02:33] (Why it creates an EFI partition, I have no clue. :P) [02:33] so how about this..... [02:33] after it finishes installing [02:33] I can drop to a Konsole shell, and verify that it installd the bootloader. [02:33] I mean, what else could be the problem?? [02:34] I try to boot he laptop and it says "no operating system found". [02:34] A bad flash drive, perhaps? Or maybe something weird with your BIOS settings? [02:34] I try to boot he laptop fater installation* and it says "no operating system found". [02:34] not that I can see [02:34] I hadn't changed bios settings since the previous operatnig systme, at least (also kubuntu) [02:34] ...are you sure you installed everything to the right drive then? Does you rcomputer have mutliple hard drives? [02:35] (wow typos) [02:35] just an SSD [02:35] one SSD drive [02:35] internal [02:35] 1 TB [02:35] Well... hmm. OK, try this. Install Kubuntu using LVM+encryption and see if it boots, and if it doesn't, we'll install the bootloader manually. That, AFAIK, is a piece of cake. [02:35] k [02:35] (I've done it a few times before and it was easy.) [02:38] ok so now..... it'll take like 10 minutes to boot from dvd for some reason [02:39] maybe the lens is dusty or something [02:39] Meh, DVDs are slow. [02:39] but once it does that I'll just do an automated installation. [02:39] Hey guys, the pre-script creates a 512 MB partition for efi [02:39] mmikowski: yeah it does. [02:39] Also, if you're stuck at a black screen for that long, that's a known bug that only affects the installer media on certain BIOS systems. [02:40] mmikowski: Sadly the installer just kept crashing while trying to install the bootloader :( so now we're just trying to get a normal non-BTRFS encrypted installation to work. [02:40] Reading the script, it's creating p1 (512MB Fat), p2 (6GB recovery), p3 (swap; that's encrypted later), p4 (/boot), and p5 (luks) [02:40] So you should be able to remove p1 and p2. [02:40] just shift the partitions up. === William is now known as Conna [02:42] The boot partition needs to be unencrypted or the plymouth decrypt screen doesn't work. Grub also wants LUKS 1 if the boot partition is encrypted. [02:43] So I do not recommend that; LUKS1 is less secure, and the UX sucks. [02:43] Basically with encrypted /boot, you get a flashing cursor on boot to blindly type your password. [02:44] Of course, I could have missed something and capabilities change, but that's what I recall from April 2022. [02:44] Ah, arraybolt3, there is an interesting issue with the installer -- [02:45] if you click on 'Continue' on the final screen, it crashes the installer. Always. [02:45] Known bug. [02:45] Maybe that is what you are seeing? [02:45] Roey: ^^^ Does that sound familiar? [02:45] mmikowski: Hmm, no, I'm seeing a bug where it says something like 'FATAL: grub-install /dev/vda failed.' [02:46] Hmmm, well that sucks. [02:46] But that doesn't happen when doing a usual installation. I'm guessing Ubiquity is just not able to handle the manual partition selection. [02:46] * arraybolt3 would love if all of Ubuntu just used Calamares, the installer Lubuntu uses :P [02:46] arraybolt3: It did with our work. === William is now known as Conna [02:46] Maybe 22.04 and 22.10 are different in that regard. [02:46] Yeah, Ubiquity has loads of issues. [02:47] But, ubiquity has some features that calamares doesn't have. Like OEM install, IIRC. [02:47] kk, bb [02:47] True. [02:47] o/ [03:02] Known bug. [03:02] Maybe that is what you are seeing? [03:02] Roey: ^^^ Does that sound familiar? [03:02] no [03:03] I rebooted and now I get "[FAILED] Failed to start Ubuntu live cd installer". Looked this issue up and several others have had this issue as well. The DVD drive is still trying to read though [03:03] like or hte past 15 minutes [03:08] oh now it finally got a mouse cursor up on the screen \o/ [03:10] Roey: Is this an old machine you are using for work? Or as a hobbyist machine? It sounded like you needed it for work in a few days. [03:13] old mahcine [03:13] old laptop [03:13] dell inspiron 14 nv11 w/ 8 GB RAM and 1 TB SSD [03:13] I upgraded the ram on it [03:13] from 4GB -> 8 GB [03:13] and the 500 GB HDD -> 1000 GB SSD [03:14] ok it has a screen up now. [03:14] to be fair it was slow to load form the HD too when it had an OS installed [03:14] on its HDD [03:26] maybeok so at this point I am re-installing it [03:26] using Guided - use entire disk and set up encrypted LVM [03:26] to the 1 TB SSD device [03:26] once it finishes..I'll ????? [03:26] Imean drop to a Konsole shell and inspect the disk? [03:26] to see if it has the bootloader installed to the right partition? [03:27] it's installign now [03:31] Roey: o/ [03:31] Sorry, had stuff to do, back again now. [03:32] Roey: Once it's finished, you'll drop to Konsole and then execute a series of commands to manually install the bootloader, that will make good and sure that it's installed. [03:35] ok [03:35] 24% done copying the files [03:35] 27%. [03:39] Roey: I highly recommend a SATA SSD if you can afford it. $60 gets you a decent 1 TB storage. [03:39] Ah, sorry, I think you already got that :) [03:40] mmikowski: that's what I got yes [03:40] I replaced the 500GB HDD from 2012 with a 1TB SSD :) [03:40] SATA [03:40] I'm baiscally refurbishing this old laptop [03:40] I have a new del inspiron 16 that I installed kubuntu 22.10 to absolutely fine [03:46] Roey: Inspirons generally work pretty well. I had one running Kubuntu around 2009. [03:49] aye [03:49] ok this is...92% done installing / updating over the network [03:53] arraybolt3, mmikowski: ok, installation finished. I opened up a Konsole. [03:53] Roey: o/ [03:53] OK, so next, run "sudo su -" so we can run commands as root. [03:53] k one moment.. waiting for it to open up. [03:53] it's loading it from dvd, jeez. [03:54] Yeah DVDs are slooooow. ooow. [03:54] ok, udo su - executed. [03:54] *sudo su - [03:54] what next, lsblk? [03:54] Next, do "lsblk" and make sure that your disk is "sda". [03:54] yeah [03:54] Also, all of the partitions are unmounted, yes? [03:54] there is sda [03:55] What does "ls /dev/mapper" show? [03:55] wher eis that site i can upload this to for you [03:55] that you all asked me last time [03:55] to post [03:55] You can pipe stuff to termbin.com like so: [03:55] "lsblk | nc termbin.com 9999" [03:55] ahhh thanks! [03:55] or "ls /dev/mapper | nc termbin.com 9999" [03:56] oh. rad :) https://termbin.com/nads [03:56] OK, so next, "mount /dev/mapper/vgkubuntu-root /mnt" [03:57] ok [03:57] did that [03:57] arraybolt3: ^ [03:58] Roey: Next, "mount /dev/sda3 /mnt/boot" [03:59] ok did that [04:00] "mount /dev/sda2 /mnt/boot/efi" (yes I know this isn't an EFI system but lets do it just to make sure all the pieces are in place) [04:00] ok, did that [04:00] OK, next four commands incoming, I'll send them all at once for the sake of speed. [04:00] mount --bind /proc /mnt/proc [04:00] mount --bind /sys /mnt/sys [04:00] mount --bind /dev /mnt/dev [04:01] mount --bind /dev/pts /mnt/dev/pts [04:01] ok did that [04:02] chroot /mnt [04:02] ok [04:03] grub-install /dev/sda [04:04] ok it installed. "Installation finished. No error reported." [04:04] installing for i386-pc platform. [04:06] Now you can just type "exit" twice and then reboot and see if it works@ [04:06] ooh ok [04:06] lright, rebooting now. [04:06] is there any last thing to check?? [04:06] at all? [04:07] I should have an MBR on the disk right? [04:07] maib boot record [04:07] ??shrug?? dunno how old-school that is, lol [04:07] Yeah, it should be good. [04:07] ok [04:07] rebooting now.. [04:07] I'd try just going for it. [04:08] ahhhh fuck it [04:08] Operating System not found [04:08] arraybolt3: ^ [04:09] wyeah [04:09] heya [04:09] arraybolt3: it says "operatnig system not found" [04:09] souleven: o/ [04:12] Roey: Tar. Then it's not Linux's fault. [04:12] (At least not likely.) [04:12] hm. [04:13] Roey: Are you sure that the BIOS has hard drive boot even enabled? I know you didn't change anything, but at least check. [04:13] can't imagine why it's effing up. [04:13] (Sometimes a BIOS can just lose its settings.) [04:13] it worked with the previous os installed on the hdd. [04:13] (If the battery runs out.) [04:13] the battery's connected to power [04:13] oh I see what you're saying [04:13] yeah mebbe. [04:13] it's doing this dell epsa pre-boot test now [04:13] doing a check on the memory [04:14] sigh I'll just be really sad that this laptop doesn't work [04:14] i mean it's worth like $100. [04:14] it's from 2012. [04:15] I did spend like $200 on it for the 8 GB RAM, 1TB SSD and new battery, though [04:16] and the diagnostics finished. [04:16] Operation Systenot found. [04:16] first time i noticed it says Operation and not Operating [04:17] fuck it. [04:17] I'll close it for now. [04:17] argh old hardware [04:17] arraybolt3: thnaks for your patience :) [04:18] g'night :) o/ [12:46] Hi all === adam_ is now known as adamss [12:52] Good morning [12:54] 'morning [12:54] Hows everyone [12:55] ok here, and you? [12:56] I'm well, thank you for asking [12:57] Didn't sleep well unfortunately [13:02] same, was up early === Paula is now known as Guest6865 === Guest6865 is now known as Paula-- === guiverc2 is now known as guiverc === kubuntu is now known as kubuntu_ === kubuntu_ is now known as kubuntu