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 doesn't handle EFI partition out of space #3242

Open
bwarden opened this issue Jan 3, 2025 · 0 comments
Open

clr-boot-manager doesn't handle EFI partition out of space #3242

bwarden opened this issue Jan 3, 2025 · 0 comments
Labels

Comments

@bwarden
Copy link
Member

bwarden commented Jan 3, 2025

clr-boot-manager is super cautious about writing to the VFAT filesystem of the EFI partition to reduce the risk of unbootable states (in case of power failure, for example). When updating content, even for a duplicate file, CBM will create a duplicate file and then rename it to the destination file. As a result, if there is insufficient free space in the EFI partition to hold the duplicate content temporarily, CBM will fail to complete the update, and will require manual cleanup of the partition in order to recover.

We should add some heuristics for identifying files that can be deleted or not duplicated if we run out of space, along with safe cleanup in case of failures, so we don't leave files behind.

Related to #3192.

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

No branches or pull requests

2 participants