希望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=keep
search --no-floppy --set --file $2
loopback loop $2
linux (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/Shanghai
initrd (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=keep
search --no-floppy --set --file $2
loopback loop $2
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/linux/ubuntu/ubuntu-20.10-desktop-amd64.iso noprompt noeject
initrd (loop)/casper/initrd
}
find --ignore-floppies --ignore-cd --set-root /linux1/debian/debian-live-11.2.0-i386-xfce.iso
map /linux1/debian/debian-live-11.2.0-i386-xfce.iso (hd32)
map --hook
kernel (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/Shanghai
initrd (hd32)/live/initrd.img-5.10.0-10-686
#grub4dos:
title /linux/ubuntu/ubuntu-20.10-desktop-amd64.iso
find --ignore-floppies --ignore-cd --set-root /linux/ubuntu/ubuntu-20.10-desktop-amd64.iso
map /linux/ubuntu/ubuntu-20.10-desktop-amd64.iso (hd32)
map --hook
kernel (hd32)/casper/vmlinuz boot=casper iso-scan/filename=/linux/ubuntu/ubuntu-20.10-desktop-amd64.iso noprompt noeject
initrd (hd32)/casper/initrd