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

Fix: install on autofs esp partitions. #52

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

uszie
Copy link

@uszie uszie commented Jul 9, 2021

Kernelstub doesn't work with esp partitions that are automounted.

@uszie uszie force-pushed the master branch 5 times, most recently from 5e2b716 to eea251b Compare July 13, 2021 14:57
@isantop
Copy link

isantop commented Sep 16, 2021

What is the bug that this PR is intended to fix?

@uszie
Copy link
Author

uszie commented Sep 16, 2021

There is no bug report. I just fixed it instead.

Do I need to create a bug report?

Regards

@uszie
Copy link
Author

uszie commented Sep 16, 2021

I just reviewed the patch again and I see now that it contains 2 patches. The first one is to fix kernelstub when using an automount EFI partition. The second one is an improvement to btrfs filesystems. Btrfs filesystems van be mounted rw at boot time there is no need or possibility to fsck. The mount options from the fstab are used as well so systemd-remount-fs is not necessary at boot.

uszie and others added 5 commits September 20, 2021 10:50
There is no point in mounting a btrfs filesystem read only,
fsck is not necessary so mount it read write.
Add the rootfs mount options to the kernel options.
This saves a remount at boot, since everything is done in the initrd now.
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

Successfully merging this pull request may close these issues.

4 participants