You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

制作仅含GRUB的引导ISO后,通过HTTP加载系统文件时出现「服务器未找到」错误的求助

制作仅含GRUB的引导ISO后,通过HTTP加载系统文件时出现「服务器未找到」错误的求助

我想实现通过网络文件引导系统,完成操作系统的自动化安装。目前我用grub-mkrescue制作了一个只包含GRUB的ISO镜像,启动后能正常显示GRUB菜单,但在尝试从HTTP服务器加载系统文件时,一直弹出「服务器未找到」的错误提示。

以下是我生成GRUB配置文件的命令及配置内容:

cat > isofiles/boot/grub/grub.cfg << EOF

set timeout=5

insmod http

set root='(http-server-ip)'
menuentry "Load ISO 1 from HTTP" {

linux http://(http-server-ip)/path/to/vmlinuz boot=live config

initrd http://(http-server-ip)/path/to/initrd.img

}
menuentry "Load ISO 2 from HTTP" {

linux http://(http-server-ip)/path/to/vmlinuz boot=live config

initrd http://(http-server-ip)/path/to/initrd.img

}

EOF

想请教大家,这个错误可能是什么原因导致的?有没有什么排查或解决的办法?

备注:内容来源于stack exchange,提问作者Atif Faraz

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 08:30:29