Score:0

How to install Ubuntu 21.10 to a mapper device (to dual boot LUKS)

cn flag
Dan

I tried to use this very old post as a model to install directly to the LUKS mapper instead of to an LVM set on top of the mapper, but the Ubuntu 21.10 installer explicitly forbids installing to a mapper.

The basic TLDR of the old post was:

  1. Boot in try it mode
  2. Manually create the LUKS partition
  3. Do a luksOpen on the partition
  4. Point the installer at the "opened" partition
  5. Post install click "continue testing"
  6. Back in shell, make a chroot
  7. In the chroot setup fstab and grub
  8. Close out the chroot and reboot

Of course I'm failing on #4 since the installer wont let me install to a mapper device.

So, is there any way to use the single-partition setup that "Install alongside Windows" uses, but with LUKS enabled? Possibly through scripted installs? This is how I've gotten past some of the more exotic Microsoft prohibitions previously.

Nmath avatar
ng flag
Does this answer your question? [How do I install Ubuntu with full disk encryption without having to "erase everything"?](https://askubuntu.com/questions/1246401/how-do-i-install-ubuntu-with-full-disk-encryption-without-having-to-erase-every). It's not that complicated! You can use the installer without having to use chroot or touch the terminal
guiverc avatar
cn flag
I don't see where you've said what installer you're talking about. Ubuntu 21.10 has multiple ISOs available that use different installers; but you've not said if you're talking about a `ubiquity` installer/ISO, `subiquity` installer/ISO etc. The `ubiquity` installer has been available for many releases (decade+) but you've provided no specific details as to what you actually tried & had issues with. Please clarify.
cn flag
Dan
@Nmath, yes it does. Thanks. I had found that post earlier but didn't realize that it would work with a Win10 EFI install. Having done the install 3 times now, the post makes much more sense. Thanks for suggesting I reread it.
cn flag
Dan
@guiverc, Think this post is a duplicate. It was `ubiquity` I think. Whatever the default installer is for `ubuntu-21.10-desktop-amd64.iso`
guiverc avatar
cn flag
Yep `ubiquity` is the default desktop installer for 21.10 (most *flavors* too but not Lubuntu or Ubuntu-Studio which use `calamares`), Ubuntu server installer being `subiquity` (FYI: There was the *canary* desktop installer ISO too that uses the desktop version of `subiquity` but it wasn't released thus it's *canary* status; it wasn't ready for 21.10)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.