-
Notifications
You must be signed in to change notification settings - Fork 30
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
repair is broken on encrypted drive (with btrfs root) #182
Comments
This looks like a problem related to CBM. I'll transfer the issue |
CBM doesn't support btrfs to my knowledge. Which is kind of unfortunate but CBM has other boot/security roles beyond just supporting systemd-boot. So although on other distributions you can freely use btrfs with systemd-boot, CBM cannot. |
That would IMHO be a bug. One that needs fixing. |
Note that |
It would be perfect if installer supports btrfs, but it does not. I have successfully converted and run clear on btrfs again, but had to manually update a boot text file with a new filesystem ID as it changes after the conversion process |
Calling stat() on some filesystems, like Btrfs, results in a dev_t with no relation to the backing device(s), and subsequent failure to detect the root fs. Add support such filesystems by retrieving the block device from `/proc/self/mounts` and working on from there. Resolves clearlinux#61, clearlinux#182 and clearlinux#193.
Describe the bug
cryptsetup luksOpen /dev/drive drive
mount /dev/mapper/drive /mnt
swupd repair --picky --root=/mnt
gives
To Reproduce
Install clear linux with encryption,
btrfs-convert /dev/drive
from installer media, system does not boot, try to fix with the above commandExpected behavior
fixing boot by checking that filesystem ID has changed during btrfs convertion
Environment (please complete the following information):
swupd-client 3.22.3
Installed version: 31140
The text was updated successfully, but these errors were encountered: