grub4dos icon indicating copy to clipboard operation
grub4dos copied to clipboard

"stdin: Not a TypeWriter" when loading UbuntuKylin raw iso file

Open MingwuDuan opened this issue 4 years ago • 1 comments
trafficstars

Hi, When I start UbuntuKylin raw iso file (legacy BIOS mode, UEFI not tested) from an USB stick using grub4dos-0.4.6a-2020-08-09, no matter I choose LiveCD mode or installation mode, I get this message "stdin: Not a TypeWriter" and cannot do anything. My Menu.lst: title ubuntukylin-18.04.4-enhanced-amd64.iso map /boot/imgs/ubuntukylin.iso (0xff) || map --mem /boot/imgs/ubuntukylin.iso (0xff) map --hook chainloader (0xff) But ventoy can boot that iso file successfully.

legacy BIOS下使用grub4dos-0.4.6a-2020-08-09 U盘启动优麒麟官方ISO,无论LiveCD模式还是安装模式,都弹出"stdin: Not a TypeWriter"然后启动失败。代码见上,不重复。Ventoy不存在这个问题。为何?

MingwuDuan avatar Dec 05 '20 15:12 MingwuDuan

GRUB4DOS 创建的虚拟光盘、硬盘只在bootloader阶段有效,系统不认这个设备。 你应该通过某种方法把 ISO 的位置 "告诉" 系统,让系统在启动过程中挂载它,才能继续运行。Ventoy 就是把这项工作自动化了。 比如对于大部分基于 Ubuntu 的发行版:

map /boot/imgs/ubuntukylin.iso (0xff) || map --mem /boot/imgs/ubuntukylin.iso (0xff)
map --hook
kernel (0xff)/casper/vmlinuz boot=casper iso-scan/filename=/boot/imgs/ubuntukylin.iso
initrd (0xff)/casper/initrd.lz

a1ive avatar Dec 06 '20 02:12 a1ive