You are not logged in.

#1 2016-10-31 16:03:31

ohm
New Member
Registered: 2016-10-30
Posts: 2

LUKS / BTRFS Installation with BL/Arch Dualboot

Hello fellow bl-users,

i am using both BunsenLabs Linux and Arch Linux on 2 physical machines
enjoying the pros and cons each of them has to offer.

What I am planning to do is to bring them both together on a Thinkpad
T460s. Whilst Arch has been already running on this device using ext4, I would like to migrate to btrfs in the new installation.
So here is a sort-of-schematic overview of what I am thinking about:
T460s[UEFI only]> [LUKS/dmcrypt]> [BTRFS]> [Arch/BL coexistence].

What makes my head ache is the part where subvolumes come in because I just dont know how my subvolume matrix should look like.
For a single OS system it would probably be something like having
subvolumes ROOT and HOME, but I know that some people add VAR etc. and maybe this is not all for a multiboot.

So how would I plan my subvolume creation ? :8

Thanks !

ohm

Offline

#2 2016-10-31 19:07:06

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,703

Re: LUKS / BTRFS Installation with BL/Arch Dualboot

I say welcome!

A very daring project and I have no idea. big_smile

But I know from the mageia-forum the user @bequimão, who is driving around in the Linux world.

He has tested this with LVM + BTRFS and describes it here.

Maybe it helps you're and you decide for LVM.   smile

Offline

#3 2016-11-01 02:30:10

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: LUKS / BTRFS Installation with BL/Arch Dualboot

@root and @home should be sufficient. You wouldn't really need @var unless you were planning to do server related stuff with it. Also, keep in mind that btrfs pools can be dynamically resized.

Offline

#4 2016-11-01 07:38:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: LUKS / BTRFS Installation with BL/Arch Dualboot

Personally, I only use subvolumes for snapshots, containers or any filesystem trees that need to be independently bootable.

I see no advantage in using separate subvolumes for $HOME or any other directories.

Also, have you seen snapper?

I have no experience of LUKS though, sorry.

Offline

#5 2016-11-12 18:37:24

ohm
New Member
Registered: 2016-10-30
Posts: 2

Re: LUKS / BTRFS Installation with BL/Arch Dualboot

what I eventually did was to test a more simple installation:
NO LUKS, NO dualboot, to make things simpler for these first steps with btrfs.
So I came to creating 3 subvolumes only,
@ mounted to /
@home mounted to /home
@snapshots mounted to /.snapshots

everything went ok, but for now my T460s is going to run Arch only whilst I am going
to have a T420 prepared with bunsenlabs next.
BTW: I have successfully tested a 2nd step, installing the above subvolumes inside LUKS,
on a different SSD in the T420.

@HoaS:
Concerning Snapper: this has been new to me, yet one more reason to go for btrfs because I
understood Snapper to make me able to easily create backups ("snapshots") to be prepared
whenever my Arch/Bunsenlabs is getting into any kind of trouble. It would be great to use Snapper
in favour of creating images using CLONEZILLA each time before I try to implement new stuff into
my working system. Looks like I have to dig deeper into what Snapper can do for me and how...

have a nice day smile

Offline

#6 2016-12-01 17:35:07

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: LUKS / BTRFS Installation with BL/Arch Dualboot

@ohm How did it work out with Snapper?

I'm familiar with Clonezilla, which is great imo, but there might be even something better...

Offline

Board footer

Powered by FluxBB