I install FreeBSD 11 on my laptop. My laptop has two OS, one is Windows 10, another is Debian. My parted table type is msdos, partition(or slice) 1,2 is NTFS, partition(or slice) 5,6 is Linux data, partition(or slice) 4 is BSD. BSD slice has two partitions, one is freebsd-zfs (100G), two is freebsd-swap. bootloader tool is Grub2 (grub2.02-beta3) in the linux, 40_custom as follow:
grub2 note the zpool.cache don't exist, I can be in FreeBSD, but I drop in mountroot. FreeBSD note me no root mounted.
How to resolve it by myself? Thanks.
Code:
menuentry "FreeBSD11" {
insmod zfs
search --set=root --label root --hint hd0,msdos4
kfreebsd /@/boot/kernel/kernel
kfreebsd_module_elf /@/boot/kernel/opensolaris.ko
kfreebsd_module_elf /@/boot/kernel/zfs.ko
kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache
set kFreeBSD.vfs.root.mountfrom=zfs:root
set kFreeBSD.hw.psm.synaptics_support=1
}
grub2 note the zpool.cache don't exist, I can be in FreeBSD, but I drop in mountroot. FreeBSD note me no root mounted.
How to resolve it by myself? Thanks.