On Sun, May 1, 2016 at 1:37 PM, Dmitriy Volkov <wldhx@xxxxxxxxxxxxxxxxx> wrote: > Hello, > > I'm trying to install Fedora 23 with a following partition layout: > > [disk1] > - `/boot` > > [disk2] > - cryptdevice > - LVM > - btrfs `/` (with btrfs subvolumes, which is irrelevant here) > - swap The installer GUI definitely doesn't let you create this layout. I'm not sure if kickstart will, you should ask on the Anaconda list. It may not either because LVM is a kind of device and so is Btrfs, and device types, I *think* are all mutually exclusive and can't be stacked/nested. > > I have to use this relatively complicated layout to be able to 1) use dm-crypt plain mode on disk2 and 2) have proper swap with btrfs; it faired quite well with Arch. Well the installer doesn't create plain crypt devices either, so no matter what you're doing something outside the installer, so what ought to be true is if you create the layout in advance, the installer will let you use it. Trick 1 is to make sure all usable space is partitioned somehow (leave no unallocated space). If there's allocated space the installer will try to use it and create a new Btrfs volume. So make a boot partition on disk 1 (format it, don't format it, doesn't matter), and then make another partition for the rest of the space, the type code doesn't matter. Trick 2 is in the installer's custom/manual partitioning, first choose Btrfs in the partition scheme pop-up menu, then: Click on Unknown to reveal precreated items, click on precreated boot, assign mount point /boot, check format, click apply Click again on unknown, click precreated swap, choose swap as fs, maybe you have to check format, click apply Click + and choose mount point / without a size. This creates root subvolume on existing Btrfs. Click + and choose mount point /home without size. This creates home subvolume on existing Btrfs. Crap. I just thought of something. I don't know whether anaconda will let you install to plain crypt at all because it doesn't offer a UI to unlock what it doesn't recognize. And it only recognizes LUKS. Maybe if it's already unlocked, and LVM is active, maybe it's possible. -- Chris Murphy -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org