希望openkylin和银河麒麟支持直接硬盘启动liveCD安装
debian和ubuntu一直支持直接使用grub2/grub4dos从硬盘引导linux.iso整体启动,引导参数findiso和iso-scan/filename,这么多年来,银河麒麟的init一直无法直接从硬盘上引导安装,希望能改进!#grub2:
menuentry /linux2//debian/debian-live-11.7.0-amd64-xfce+nonfree.iso" /linux2//debian/debian-live-11.7.0-amd64-xfce+nonfree.iso" {set gfxpayload=keepsearch --no-floppy --set --file $2loopback loop $2linux (loop)/live/vmlinuz-5.10.0-22-amd64 boot=live findiso=/linux2//debian/debian-live-11.7.0-amd64-xfce+nonfree.iso components locales=zh_CN.UTF-8 locale=zh_CN.UTF-8 timezone=Asia/Shanghai localtime=Asia/Shanghaiinitrd (loop)/live/initrd.img-5.10.0-22-amd64
#grub2:
menuentry "/linux/ubuntu/ubuntu-20.10-desktop-amd64.iso" "/linux/ubuntu/ubuntu-20.10-desktop-amd64.iso" {set gfxpayload=keepsearch --no-floppy --set --file $2loopback loop $2linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/linux/ubuntu/ubuntu-20.10-desktop-amd64.iso noprompt noejectinitrd (loop)/casper/initrd}
#grub4dos:
title /linux1/////debian/debian-live-11.2.0-i386-xfce.isofind --ignore-floppies --ignore-cd --set-root /linux1/////debian/debian-live-11.2.0-i386-xfce.isomap /linux1/////debian/debian-live-11.2.0-i386-xfce.iso (hd32)map --hookkernel (hd32)/live/vmlinuz-5.10.0-10-686 boot=live findiso=/linux1/////debian/debian-live-11.2.0-i386-xfce.iso components locales=zh_CN.UTF-8 locale=zh_CN.UTF-8 timezone=Asia/Shanghai localtime=Asia/Shanghaiinitrd (hd32)/live/initrd.img-5.10.0-10-686
#grub4dos:
title /linux/ubuntu/ubuntu-20.10-desktop-amd64.isofind --ignore-floppies --ignore-cd --set-root /linux/ubuntu/ubuntu-20.10-desktop-amd64.isomap /linux/ubuntu/ubuntu-20.10-desktop-amd64.iso (hd32)map --hookkernel (hd32)/casper/vmlinuz boot=casper iso-scan/filename=/linux/ubuntu/ubuntu-20.10-desktop-amd64.iso noprompt noejectinitrd (hd32)/casper/initrd