mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
5ee9aab7e1
As of ~April 2021 the Meta/build-image-grub.sh script no longer works for me (on Fedora 34) and fails with the following error: /usr/sbin/grub2-install: warning: ../grub-core/partmap/msdos.c:403: your core.img is unusually large. It won't fit in the embedding area. /usr/sbin/grub2-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub2-install: error: will not proceed with blocklists. Changing the size of the boot partition from 32 kiB to 1 MiB (2048 sectors) fixes the issue. This is also described in the following Ubuntu grub2 bug (as well as 40 duplicates!) from 2012, which suggests the same fix: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1059827 The Arch Linux wiki also uses 1 MiB in their BIOS/MBR examples for parted: https://wiki.archlinux.org/title/Parted I'm not sure why this suddenly stopped working, however I was able to boot with an image created with this change applied. |
||
---|---|---|
.. | ||
CMake | ||
Lagom | ||
Precompile | ||
ShellCompletions/zsh | ||
Websites | ||
bochsrc | ||
build-image-extlinux.sh | ||
build-image-grub.sh | ||
build-image-qemu.sh | ||
build-root-filesystem.sh | ||
check-ak-test-files.sh | ||
check-debug-flags.sh | ||
check-newlines-at-eof.py | ||
check-style.sh | ||
check-symbols.sh | ||
check-syscall-lists.sh | ||
debug-kernel.sh | ||
extlinux.conf | ||
generate-embedded-resource-assembly.sh | ||
grub-ebr.cfg | ||
grub-gpt.cfg | ||
grub-mbr.cfg | ||
install-ports-tree.sh | ||
lint-ci.sh | ||
lint-clang-format.sh | ||
lint-commit.sh | ||
lint-executable-resources.sh | ||
lint-ipc-ids.sh | ||
lint-keymaps.py | ||
lint-missing-resources.sh | ||
lint-ports.py | ||
lint-prettier.sh | ||
lint-python.sh | ||
lint-shell-scripts.sh | ||
notify_irc.py | ||
refresh-serenity-qtcreator.sh | ||
run.sh | ||
screenshot-000ccc0.png | ||
screenshot-0f85753.png | ||
screenshot-8ea4375.png | ||
screenshot-1133aca.png | ||
screenshot-9145a72.png | ||
screenshot-23263aa.png | ||
screenshot-191112e.png | ||
screenshot-b5521e1.png | ||
screenshot-cdb82f6.png | ||
screenshot-d727005.png | ||
screenshot-ef9fbef.png | ||
screenshot-f8fc892.png | ||
serenity.sh | ||
serenity_gdb.py | ||
text-to-cpp-string.sh | ||
tweet-commits.js | ||
write-only-on-difference.sh |