Correnos
September 26th, 2010, 09:24 PM
The setup I want to end up with is to have two linux systems installed on my BTRFS partition, with the ubuntu partition installed in /alt_root. I have installed it with debootstrap using the guide here (https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/linux-upgrade.html), but I do not know the entry on the kernel command line to pass arguments to mount. On Arch, I know that it's
rootflags=subvol=alt_rootbut I am unaware of what the Ubuntu equivalent is.
EDIT: I have figured out the correct command to pass mount opts-for future reference, it is
roflags="-o subvol=alt_root" However, when I attempt to boot the system, at some point it remounts the BTRFS filesystem without the "subvol=alt_root" and ends up running the Arch Linux init script. The ubuntu subvolume's fstab does have the "subvol=alt_root" flag set on the root mount, but I suspect that the main BTRFS volume is being mounted before ubuntu's fstab is parsed in the boot process.
rootflags=subvol=alt_rootbut I am unaware of what the Ubuntu equivalent is.
EDIT: I have figured out the correct command to pass mount opts-for future reference, it is
roflags="-o subvol=alt_root" However, when I attempt to boot the system, at some point it remounts the BTRFS filesystem without the "subvol=alt_root" and ends up running the Arch Linux init script. The ubuntu subvolume's fstab does have the "subvol=alt_root" flag set on the root mount, but I suspect that the main BTRFS volume is being mounted before ubuntu's fstab is parsed in the boot process.