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

Mount fails with no such device error. #22

Closed
ominitay opened this issue Feb 16, 2021 · 6 comments
Closed

Mount fails with no such device error. #22

ominitay opened this issue Feb 16, 2021 · 6 comments

Comments

@ominitay
Copy link

I am trying to run Kiss from a BTRFS partition on an LVM logical volume. I get dropped into an emergency shell, with the error that the device being mounted doesn't exist. I can see the device in /dev. From the emergency shell, I get the same error if I try to mount the root partition manually, though this doesn't happen to the non-lvm, non-btrfs, EFI partition (that mounts fine).

My config is:

compress="xz --check=crc32"

root="UUID=042f9fb5-6657-47d9-b81a-cebd86e9b94f"
root_type=btrfs

hooks="eudev lvm"

lvm_config=1
lvm_name=kissroot
lvm_group=kissvg

The output of blkid | grep kissroot is

/dev/mapper/kissvg-kissroot: UUID="042f9fb5-6657-47d9-b81a-cebd86e9b94f" UUID_SUB="895e196c-be51-44f5-ad78-7bca26325cec" BLOCK_SIZE="4096" TYPE="btrfs"
@ominitay
Copy link
Author

output
This is the output I get ^

@ominitay ominitay changed the title Mount fails with device not found error. Mount fails with no such device error. Feb 16, 2021
@illiliti
Copy link
Owner

I'm pretty sure something wrong with kernel configuration or partition layout. Look, mount(2) fails with ENODEV error (No such device). According to https://man7.org/linux/man-pages/man2/mount.2.html this means that filesystem is not supported in kernel or corresponding module wasn't loaded.

Are you using kernel with builtin or external modules?

@ominitay
Copy link
Author

ominitay commented Feb 16, 2021

Oh, I have modules in /lib/modules/5.10.16, so I'll try rebuilding with monolith=0...

@ominitay
Copy link
Author

ominitay commented Feb 16, 2021

Unfortunately that did not fix it. Do you think I may have misconfigured my kernel perhaps?
I'm going to build the kernel I use on my Arch install, which is known to work, just to reduce the factors.

@ominitay
Copy link
Author

🤦‍♀️ I realised that I hadn't built the Kernel with BTRFS support. Sorry for making this issue.

@illiliti
Copy link
Owner

All good :)

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

No branches or pull requests

2 participants