So I have a free 500 Mb /boot partition, outside the encrypted LVM. And then space that could be used for / and /home partitions in the LVM. A couple questions:
1) Will this setup work with Qubes?
2) If so, how much space should I allocate to /boot, /, and /home? Is that the proper scheme or do I also need other partitions?
3) I tried booting the installer and it was able to decrypt and mount my LVM, but it presented the existing volumes in a kind of odd, disorganized jumble. I also noted that if I selected a volume for Qubes to mount as / or /home is showed the option to encrypt as a shaded out, already checked, unmodifiable option. Obvioulsy I don't need to set up encryption on an already encrypted LVM. Is the Qubes installer going to properly set up Qubes to work with this existing encrypted LVM, so that when I boot it simply asks for the password for the existing encrypted partition? Or am I going to somehow mess up and potentially lose my data on this existing encrypted LVM?
Thanks for any help and thoughts about how to do this.
In that case, I would take what feels to me the easiest ride and set-up a partition of the size I would want to preserve and then follow Qubes install in remaining space... The decisions taken for you are already the right one in term of security, they are not the optimum one for space use, but all things being equal are not wasting your money/time...
You can also give it a go on an external USB drive (obviously with perf decrease).
Depends what you want to do.
Speaking of USB drives... It occurred to me that running other OSes on the internal drive could allow malware in one of them to attack your Qubes /boot filesystem. Eventually, it would be a good idea to re-install Qubes and move its boot partition to a USB stick. There is a Qubes utility called Anti Evil Maid that does this, among other things, but its written for Qubes v1 and hasn't been adapted for v2 yet.
Thanks Zrubi. I think I'm starting to get a better picture in my head of the partitioning and how it relates to the way Qubes works. I had looked at the user docs, but there wasn't much info (that I could find) about partitioning for installation. But I'll take a closer look and see if I have more questions. Thanks again.
Zrubi, one other question for the moment. What is the reason for having a separate partition for /var/libs/qubes? Why not just let that reside within the / partition? Thanks.
Alex, which findings are you asking about? Also, in your initial response above when you listed your default setup, are you saying that's what the Qubes installer created when allowed to just use freespace and do it's default install mode? I'm curious because you show an 8 GB dom0 swap. But I thought Xen in Qubes doesn't use a swap space. See: https://groups.google.com/d/msg/qubes-devel/KDNMoNSgYVo/CTYvm8RzAfcJ. Just trying to make sense of the different things I'm reading.
@Zrubi Thanks. That makes sense.
@Alex Dubois I guess I meant I'm starting to understand Qubes enough that I think I can go ahead with my plan to use manual partitioning, instead of the default free space install. I don't know that I understand enough, sadly, that I can add a lot of value to the wiki.