You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to boot from HDD not USB(Ventoy).
Edit /etc/grub.d/40_custom, add these at end, sudo update-grub.
Success
menuentry "ubuntu 16" {
set root=(hd0,5)
set isofile="/ISO/ubuntu-16.04.7-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile locale=zh_CN
initrd (loop)/casper/initrd
}
Fail
menuentry "elementaryos" {
set root=(hd0,5)
set isofile="/ISO/elementaryos-5.1-stable.20200814.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile locale=zh_CN
initrd (loop)/casper/initrd.lz
}
echo:
......
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
stdin: Not a typewriter
......
The text was updated successfully, but these errors were encountered:
Same on elementary 7
Have try also :
menuentry "ElementaryOs-7.0 stable" {
set iso="/isos/elementaryos-7.0-stable.20230129rc.iso"
set isoname=ElementaryOs_7.0
loopback loop (hd0,6)$iso
linux (loop)/boot/vmlinuz root=live:LABEL=${isoname} iso-scan/filename=${iso} locale.LANG=fr_FR.UTF-8 vconsole.>
echo 'initrd loading, please wait ...'
initrd (loop)/boot/initrd.img
}
I need to boot from HDD not USB(Ventoy).
Edit /etc/grub.d/40_custom, add these at end, sudo update-grub.
Success
Fail
echo:
The text was updated successfully, but these errors were encountered: