this post was submitted on 11 Sep 2023
14 points (93.8% liked)
Linux
48118 readers
663 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
... Go on... ^_^ I'm all ears. I'm not a poweruser but I've been a penguin for about a decade now. Learned via trial by fire. Never gave up, and went completely Windozeless back in 2017.
Don't regret a thing (except that one unsuccessful stint with Gentoo... Don't hate me!)
Hate? Are you kidding me? That's awesome! And Gentoo is not going anywhere, it's still waiting for you :)
So in a bit more detail:
I'm going to assume the whole drive is encrypted using luks and there's a btrfs partition on top of it. My btrfs layout would be something like this:
I've never played with Qubes, so I'm assuming the layout here.
Your
fstab
would have to specify the subvolumes in the options bit of the line:Yes, you specify the same device (luks one, in this case, not actual /dev/nvme0n1p1) multiple times. BTRFS can only take mount options once for the whole filesystem, so specify whatever you need for
/
as anything else other thansubvol
will be ignored for the following mounts of the same device.I would go with systemd-boot for the bootloader or, better yet, unified kernel image, but that's beyond this post. In general, though, you should either pick one OS to control the bootloader, or have separate boot devices/partitions for every OS so it can do whatever it pleases.
Once you have one system running - mount stuff somewhere (/mnt comes to mind) and install the target. Gentoo has good instructions to make sure your chroot env is not missing anything. I've used debootstrap before for Debian - it worked well.
Not all heroes wear capes. But you, doubtlessly, do. Thank you. Thank you so much. This is why I went full penguin.
I WILL give Gentoo another try. She calls me. I just need to understand flags a bit more...
P.S. there was also a bloodbath regarding Grub. Neither of the two OS'es did the os-probesuccessfully, so I botched something up, there, too.
Glad to be useful :) also updated the previous reply, had fstab subvol written doen wrong.