GRUB menu entry in multiboot USB

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
User avatar
alexanderzhirov
Posts: 1
Joined: Sun Oct 06, 2024 12:29 pm
Contact:

GRUB menu entry in multiboot USB

Post by alexanderzhirov »

Hello everyone! I want to add ISO to a multiboot disk. Can you please tell me how to set up entries in GRUB correctly?

Code: Select all

menuentry "GhostBSD 24.07.1 XFCE" --class freebsd {
    insmod iso9660
    set isofile="/GhostBSD-24.07.1-XFCE.iso"
    loopback loop $isofile
    kfreebsd (loop)/boot/kernel/kernel
    kfreebsd_module (loop)/boot/mfsroot.gz type=mfs_root
}
Of the known data, I only have the name of the device

Code: Select all

(hd0,2)
and the file

Code: Select all

GhostBSD-24.07.1-XFCE.iso
which is located in the root of this device.

The current configuration of entries does not allow booting from USB into ISO.
Post Reply