Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clr-boot-manager does not support btrfs subvolumes #777

Closed
RobertBuhren opened this issue May 22, 2019 · 2 comments
Closed

clr-boot-manager does not support btrfs subvolumes #777

RobertBuhren opened this issue May 22, 2019 · 2 comments

Comments

@RobertBuhren
Copy link

Btrfs allows to specify subvolumes as a mount option. The systemd-fstab-generator allows to pass those to the mount command of the initrd using e.g.:

rootfstype=btrfs rootflags=subvol=clear

clearlinux boots from the correct subvolume but clr-boot-manager complains:

 sudo clr-boot-manager update
Password: 
[ERROR] cbm (../src/lib/system_stub.c:L31): Invalid block device: 0:46
Out of memory[FATAL] cbm (../src/bootman/sysconfig.c:L140): sysconfig insane: Missing root device
[ERROR] cbm (../src/bootman/update.c:L225): Failed to repair running kernel
[FATAL] cbm (../src/bootman/sysconfig.c:L140): sysconfig insane: Missing root device
[FATAL] cbm (../src/bootman/update.c:L257): Failed to install default-native kernel: ///usr/lib/kernel/org.clearlinux.native.5.0.17-765
@seanvk
Copy link

seanvk commented May 22, 2019

It's been an issue for a while...
clearlinux/clr-boot-manager#61

@bryteise
Copy link
Member

Ugh I really have to get time to go through these cbm issues... btrfs subvolume support is going to need time though because it is low priority and the person who wrote the disk detection code isn't around any more. I'm closing this one in favor of the clr-boot-manager issue though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants