I have installed GhostBSD on a primary partition with ZFS filesystem. The distribution is GhostBSD 25.01-R14.2p1---. The output of parted and fdisk commands are as under!
#parted -l
Model: ATA ST3500413AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 85.9GB 85.9GB primary ntfs boot
2 85.9GB 462GB 376GB extended lba
5 85.9GB 322GB 236GB logical ntfs
6 322GB 427GB 105GB logical ntfs
7 427GB 429GB 2122MB logical ext3
8 429GB 462GB 32.5GB logical xfs
3 462GB 500GB 38.1GB primary
Model: Unknown (unknown)
Disk /dev/zram0: 8590MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 8590MB 8590MB linux-swap(v1)
Command (m for help): p
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST3500413AS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcc08d9fb
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 167774207 167772160 80G 7 HPFS/NTFS/exFAT
/dev/sda2 167776193 902344703 734568511 350.3G f W95 Ext'd (LBA)
/dev/sda3 902344704 976771071 74426368 35.5G a5 FreeBSD
/dev/sda5 167776256 629149695 461373440 220G 7 HPFS/NTFS/exFAT
/dev/sda6 629151744 834678783 205527040 98G 7 HPFS/NTFS/exFAT
/dev/sda7 834680832 838825983 4145152 2G 83 Linux
/dev/sda8 838828032 902344703 63516672 30.3G 83 Linux
Partition table entries are not in disk order.
I have tired various recipes from the net. The reuslts are us under. I am using Grub2 on Fedora 42, and modifying /etc/grub.d/40_custom file. Below are the various configurations and their respective output.
menuentry "GhostBSD" -- class freebsd --class bsd --class os {
#insmod part_msdos
insmod zfs
insmod bsd
search -s -l zroot
kfreebsd /@/boot/zfsloader
kfreebsd_loadenv /@/boot/device.hints
}
error: ../../grub-core/commands/search.c:472: no such device: zroot
error: ../../grub-core/fs/fshelp.c/ : 257: file '/@/boot/zfsloadr' not found
error: ../../grub-core/loadr/i386/bsd.c: 18111: you need to load the kernel
menuentry "GhostBSD" {
insmod part_msdos
insmod zfs
insmod bsd
set root=(hd0,msdos3)
chainloader +1
}
error: ../../grub-core/loader/i386/pc/chainloader.c: 213: invalid signature.
menuentry "GhostBSD" {
insmod zfs
insmod bsd
chainloader (hd0,msdos3)/boot/boot
}
error: ../../grub-core/kern/fs.c : 123: unknown filesystem.
What should I do??