我在一个硬上安装了FreeDos 1.3,在另一个硬上安装了Debian 11。第一个Grub不识别FreeDos,但是在#grub-mkconfig命令和使用grub-install和update-grub命令安装grub之后,grub识别了FreeDos。但是FreeDos仍然没有启动。发生以下错误:
Booting a command list
setting partition type to oxb
error: can't find command 'drive map'
error: invalid EFI file path这是与grub-mkconfig条目相关的FreeDos输出
menuentry 'FreeDOS (on /dev/sdb1)' --class freedos --class os $menuentry_id_option 'osprober-chain-3423-1103' {
insmod part_msdos
insmod fat
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 3423-1103
else
search --no-floppy --fs-uuid --set=root 3423-1103
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}发布于 2022-04-04 18:53:44
您似乎拥有一个UEFI系统,而FreeDOS无法在这种模式下工作。它不会启动的。
http://wiki.freedos.org/wiki/index.php/UEFI
https://unix.stackexchange.com/questions/697968
复制相似问题