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

Custom partition table creation fixes and improvements #1091

Open
5 of 6 tasks
achilleas-k opened this issue Dec 6, 2024 · 1 comment
Open
5 of 6 tasks

Custom partition table creation fixes and improvements #1091

achilleas-k opened this issue Dec 6, 2024 · 1 comment
Assignees

Comments

@achilleas-k
Copy link
Member

achilleas-k commented Dec 6, 2024

@achilleas-k
Copy link
Member Author

From https://www.gnu.org/software/grub/manual/grub/html_node/BIOS-installation.html#BIOS-installation

MBR gap has few technical problems. There is no way to reserve space in the embedding area with complete safety, and some proprietary software is known to use it to make it difficult for users to work around licensing restrictions. GRUB works around it by detecting sectors by other software and avoiding them and protecting its own sectors using Reed-Solomon encoding.

GRUB team recommends having MBR gap of at least 1000 KiB.

We currently make a 1 MiB bios boot partition for dos/mbr disks the same way we do for gpt. This limits the usefulness of dos/mbr disks which is already limited to 4 partitions, essentially making it only 3 usable partitions in cases where BIOS booting is needed. We should instead use a gap as described in the docs.

@achilleas-k achilleas-k self-assigned this Dec 10, 2024
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

1 participant