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
Image with btrfs rootfs doesn't boot in qemu vm #588
Comments
Specifying |
Though now home-manager complains: |
It executes |
Looks like this
|
Yep, that's the reason - if I change owner to root it works. |
It seems the only way to fix this is to patch these lines: https://github.com/kdave/btrfs-progs/blob/d1d8fb4b599e76a3d6bc355df9e5787955104a72/mkfs/rootdir.c#L128-L129 Or, maybe some hack with linux vm... |
My earlier comment: #356 (comment)
I'm trying to boot into qemu vm using an image with btrfs rootfs. Here is what I tried: kurnevsky/nixfiles@6f84f88 - before this change it worked, and it works if I just change fs type to ext4.
Here are my full configs I used, just for the reference:
https://github.com/kurnevsky/nixfiles/blob/phone-btrfs/modules/phone.nix
https://github.com/kurnevsky/nixfiles/blob/phone-btrfs/machines/phone/configuration.nix
https://github.com/kurnevsky/nixfiles/blob/phone-btrfs/flake.nix#L152
In the qemu vm logs I see (after running
./result
):The text was updated successfully, but these errors were encountered: