ravynsoft / ravynos

A BSD-based OS project that aims to provide source and binary compatibility with macOS® and a similar user experience.
https://www.ravynos.com
Other
5.68k stars 192 forks source link

Boot ISO from USB drive with GRUB #435

Closed Ygarr closed 5 months ago

Ygarr commented 5 months ago

I have installed on USB grub with uefi(fat32) and make config:

insmod loopback insmod iso9660 insmod ufs2 insmod zfs insmod exfat

search --no-floppy --fs-uuid --set=root 77DB-F851 configfile /boot/grub/grub.cfg

menuentry "RavynOS" { set isofile="/boot/ravynOS.iso" loopback loop $isofile kfreebsd (loop)/boot/kernel/kernel kfreebsd_loadenv (loop)/boot/device.hints set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/$isofile set kFreeBSD.vfs.root.mountfrom.options=rw }

My ISO placed on exfat partition But all i see is black screen. Is there any ideas to boot if Ventoy not support *BSD systems?

Ygarr commented 5 months ago

This config gives only "booting a command list" message:

menuentry "RavynOS" {

    set isofile="/boot/ravynOS.iso"
    loopback loop $isofile
    kfreebsd (loop)/boot/kernel/kernel
    kfreebsd_loadenv (loop)/boot/device.hints
    set kFreeBSD.vfs.root.mountfrom=cd9660:/dev/iso9660/$isofile
    set kFreeBSD.vfs.root.mountfrom.options=rw
}
mszoek commented 5 months ago

Sorry, I don't know how that grub config works. Someone on the Discord may be able to figure it out.

ravynOS will boot directly from UEFI firmware. You just need to tell your firmware to load /boot/loader.efi.