我正在使用grub4dos 0.4.4成功地引导Ubuntu17.04。以下是文件MENU.LST中的行
title Ubuntu 17 (64bit)
fallback 6
find --set-root /iso/ubt1704.iso
map --mem /iso/ubt1704.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/ubt1704.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1704.iso splash
initrd /casper/initrd.lz但对于Ubuntu 18.04,他们没有工作。选择Ubuntu18.04菜单后,计算机重新启动。
请帮我解决这个问题。谢谢你的进阶。
我已经将MENU.LST的内容更改为下面的内容,并且它起了作用。
find --set-root /iso/ubt1804.iso
map --mem /iso/ubt1804.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/ubt1804.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1804.iso splash
initrd /casper/initrd.lz发布于 2019-07-21 20:21:03
使用grub4dos引导UbuntuUbuntu18.04ISO磁盘映像,下面是文件MENU.LST的条目:
title Ubuntu 18
fallback 6
find --set-root /iso/ubt1804.iso
map --heads=0 --sectors-per-track=0 /iso/ubt1804.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1804.iso splash
initrd /casper/initrd.lz注:
vmlinuz.efi,所以kernel必须是/casper/vmlinuz.efi,但是/casper/vmlinuzvmlinuz--mem对map命令将整个磁盘放入系统内存,如: map --mem /iso/smallcd.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/smallcd.iso (0xff)参考文献:这里
https://askubuntu.com/questions/1065303
复制相似问题