You are not logged in.
I'm planning to use BTRFS subvolumes to have an Archlinux and an Ubuntu system booting off the same partition. The goal is to to have them both using the same disk space, mostly because I dislike having to resize partitions to make room for one or the other. Also my system has been way too stable lately and I have to break it.
Has anyone tried something like this before? Any gotchas I should be aware of? AFAIK what I'll need to do is use debootstrap to setup ubuntu in a subvolume, copy the ubuntu kernel/initrd over to my /boot, and setup grub2 to boot the ubuntu subvolume (line after root= would be ro,subvol=altroot I think)
If it works I'll be sure to post the success here.
Offline
I'm planning to use BTRFS subvolumes to have an Archlinux and an Ubuntu system booting off the same partition. The goal is to to have them both using the same disk space, mostly because I dislike having to resize partitions to make room for one or the other. Also my system has been way too stable lately and I have to break it.
Has anyone tried something like this before? Any gotchas I should be aware of? AFAIK what I'll need to do is use debootstrap to setup ubuntu in a subvolume, copy the ubuntu kernel/initrd over to my /boot, and setup grub2 to boot the ubuntu subvolume (line after root= would be ro,subvol=altroot I think)
If it works I'll be sure to post the success here.
it should be possible, though the subvol=XXX is not correct. in the arch initramfs scripts:
rootflags=subvol=XXX
is used to add mount options to the root mount; "ro" is a special case and is handled explicitly. i'm not sure how ubuntu handles this, but the kernel itself has nothing to do with it... is all initramfs, so you will have to look into that for ubuntu.
beyond that, just make sure the kernels and initramfs names do not conflict.
C Anthony
what am i but an extension of you?
Offline
Alright, thanks for the help. I'll try that when I have some time available.
Offline