[00:06] Tried installing 16.04.2 for a friend today. Wanted to have LVM on UEFI with separate home. Started with netboot image - did not work with UEFI (what's going on there); then switched to an Xubuntu image (because XFCE seems like a good fit), and got completely confused - the installer apparently was creating mbr partition tables, and we could not configure logical volumes ourself. [00:07] In the end, I used cfdisk and pvcreate, vgcreate, lvcreate from the commandline and then selected the partitions in ubiquity. [00:07] But boy, that was unnecessarily complex. [00:07] (Lost about half an hour or so) [00:09] I guess the UEFI thing https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1429030 [00:09] Launchpad bug 1429030 in debian-installer (Ubuntu) "netboot mini.iso doesn't support UEFI boot" [High,Triaged] [00:09] If anyone knows what I did wrong, please let me know :) [00:10] (He previously had an Arch on there, with 150GB allocated to / and 250GB to /home, I thought that looked ridiculous, and his Arch friends did not appear today, so he runs xubuntu now...) [00:12] We also got hit by bug 1581713 which he was not really happy about [00:12] bug 1581713 in Ubuntu GNOME "Ubuntu Software always asks for an Ubuntu Single Sign-On account when installing or removing a snap package" [High,Triaged] https://launchpad.net/bugs/1581713 [00:12] juliank: Yesterday I did something similar with my laptop, encrypted LUKS partition on top of an ext4 root partition and I got secure boot working and everything with just a debootstrapped install and chroot. [00:12] juliank: If you want any info from me, let me know. [00:13] tsimonq2: Oh we got it working, I just wonder why the installer did not let us configure it and I had to go to the console [00:14] We were in manual mode after all, shouldn't we be able to freely configure logical volumes there? [00:14] juliank: I've had similar problems with Ubiquity on a Kubuntu Artful image but I assumed it was a hardware-specific thing because I could do it on every other computer. [00:14] I couldn't configure it either. [00:14] But I know exactly what you're talking about. [00:14] (because I've had that problem too) [00:15] That's actually the first thing I installed on LVM I think. While my Debian runs on LVM, I actually migrated that on the command line after a few years, and never used an installer for the LVM part. [00:16] tsimonq2: There was also weirdly enough an option to choose where to install the bootloader on, which I thought was ridiculous on an EFI system. [00:16] Well before I just said "f*** it, I'm doing this with the Arch wiki and debootstrap," I did try encrypted LVM [00:17] juliank: I agree [00:18] Oh the arch wiki, what would you need that for? [00:18] Half of the install guide stuff there does not work here, does it? [00:18] juliank: I had no idea what I was doing and it was the first thing that came to mind :P [00:19] https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#Simple_partition_layout_with_LUKS [00:19] juliank: And we have that as part of our install guide?!?!? :O [00:19] I guess it's partitioning (ESP + LVM + pvs + vgs + lvs), then debootstrap to /target, and then edit /etc/fstab mount /proc and /sys and /dev in the chroot, install grub-efi, run update-grub, run adduser to add a user [00:20] + cryptsetup before the LVM of course :) [00:21] juliank: Well I just put /boot/efi on sdb1, /boot on sdb2, and / on sdb3 [00:21] I was in #ubuntu yesterday figuring out how to do this because this is my first EFI system I've ever had :P [00:21] I put /boot/efi on sda1, and LVM PV in sda2, and just /, /home, and /swap in there - why maintain a separate /boot, makes no sense to me, really [00:22] I didn't know what I was doing lol [00:22] * juliank is happy hibernate works with swap-in-lvm. At first it did not, Xorg crashed on resume, but installing the updates fixed that :) [00:22] tsimonq2: It's mostly a matter of preferences, really [00:22] (where to have a separate /boot or not) [00:23] Heck, my own system has a separate /var [00:23] juliank: Yeah, I usually have a separate /home but I decided against it. [00:23] (on the laptop) [00:23] tsimonq2: May I ask why? [00:25] juliank: Why the separate /home in the first place or why I decided against it? [00:25] More the latter [00:25] Because I didn't have confidence my root on LUKS would work, let alone multiple partitions :P [00:25] tsimonq2> I didn't know what I was doing lol [00:26] I see [00:27] For future reference: If you want multiple partitions on LUKS, you usually put an LVM PV on top of the LUKS, then you add add logical volumes in there. [00:28] Ah, ok. [00:28] And LVM is useful, really useful. You can start out with small partitions and increase sizes based on demand :) [00:28] When I reinstall it next, I'll probably just do that :) [00:28] juliank: Thanks for the advice [00:28] and you could do snapshots with lvm, although there are two types and I'm not sure how that works :) [00:30] Oh, that's actually quite easy it seems [00:31] (Take a snapshot of my Debian partition in my linux volume group, with 1GB CoW data storage: lvcreate -L1G -s -n rootsnap /dev/linux/Debian) [00:32] Interesting. [00:33] tsimonq2: I guess this guide works for the LVM stuff: https://wiki.archlinux.org/index.php/LVM#Installing_Arch_Linux_on_LVM [00:34] tsimonq2: In your case, obviously instead of /dev/sda2, you'd run pvcreate on your /dev/mapper/ [00:34] juliank: Ah, ok. === JanC_ is now known as JanC