10
submitted 1 month ago* (last edited 1 month ago) by Die4Ever@retrolemmy.com to c/debian@lemmy.ml

Since I'm a new moderator here I figured I should actually install Debian, but I decided to do it with a twist.

I got the idea from here: https://codeberg.org/Calamares/calamares/issues/1580

It's actually not too hard to install multiple Linux distros sharing the same Btrfs partition, which means you don't have to preallocate space.

Default Calamares mount.conf here https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/mount/mount.conf#L50-L57

My 40_custom file:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Kubuntu" --class kubuntu --class ubuntu --class os {
 insmod part_gpt
 insmod btrfs
 search --no-floppy --fs-uuid --set=root c9710fb0-4ebb-4335-a58a-4176d894dcf9
 linux /@/boot/vmlinuz root=UUID=c9710fb0-4ebb-4335-a58a-4176d894dcf9 ro rootflags=subvol=@ quiet splash
 initrd /@/boot/initrd.img
}

I was disappointed that os-prober didn't work.

you are viewing a single comment's thread
view the rest of the comments
[-] cheeseburger@lemmy.ca 1 points 1 month ago

This is neat, thanks for posting. I was playing with btrbk a few weeks ago to take advantage of btrfs and set up incremental backups of my laptop to a storage server. The storage server only runs xfs, but I learned you can build btrfs subvolumes on top by creating a loop device with a few commands.

Anyway, it was really satisfying to set up and has me wanting more Fun with Subvolumes. Installing other distros onto subvolumes sound like a goos time to me! ๐Ÿ˜Š

this post was submitted on 21 Oct 2026
10 points (100.0% liked)

Debian operating system

4146 readers
12 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

Related communities:

founded 6 years ago
MODERATORS