Your BIOS Boot Partition is under 1 MiB, please increase its size..
反馈bug/问题模板,提建议请删除
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
- [ x] 没有类似的issue
2. 详细叙述
(1) 具体问题
提示该分区小于1M, 在Image Options 没有找相关调整选项,请问如何调整大小?
(2) 路由器型号和固件版本
x86_64
(3) 详细日志
openwrt/staging_dir/host/bin/grub-bios-setup: warning: Your BIOS Boot Partition is under 1 MiB, please increase its size..
这个问题我很早就发现了,只是找不到那个地方该哈哈
有大佬知道的提示下文件名即可
我终于修复了,看来还是得自己动手
我终于修复了,看来还是得自己动手 求教
自己看仓库 @Dawneng
自己看仓库 @Dawneng
好勒,谢谢大佬!
自己看仓库 @Dawneng
具体是哪里?
在哪里看
同问,在哪里看?
修改文件,/target/linux/x86/image/Makefile
define Build/combined
$(CP) $(KDIR)/$(KERNEL_NAME) [email protected]/boot/vmlinuz
-$(CP) $(STAGING_DIR_ROOT)/boot/. [email protected]/boot/
$(CP) $(STAGING_DIR_IMAGE)/grub2/boot.img [email protected]/boot/grub/
$(CP) $(STAGING_DIR_IMAGE)/grub2/$(if $(filter $(1),efi),gpt,$(GRUB2_VARIANT))-core.img
[email protected]/boot/grub/core.img
$(if $(filter $(1),efi),
$(INSTALL_DIR) [email protected]/efi/boot
$(CP) $(STAGING_DIR_IMAGE)/grub2/boot$(if $(CONFIG_x86_64),x64,ia32).efi [email protected]/efi/boot/
)
PADDING="1" SIGNATURE="$(IMG_PART_SIGNATURE)"
$(if $(filter $(1),efi),GUID="$(IMG_PART_DISKGUID)") $(SCRIPT_DIR)/gen_image_generic.sh
$@
$(CONFIG_TARGET_KERNEL_PARTSIZE) [email protected]
$(CONFIG_TARGET_ROOTFS_PARTSIZE) $(IMAGE_ROOTFS)
256
endef
找到这行,把256改成1024保存
@zmhu @leepentium @chengjiaking