[Bug 202997] sysutils/grub2-pcbsd
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 9 17:14:29 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202997
Bug ID: 202997
Summary: sysutils/grub2-pcbsd
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kmoore at FreeBSD.org
Reporter: yonas at fizk.net
Assignee: kmoore at FreeBSD.org
Flags: maintainer-feedback?(kmoore at FreeBSD.org)
Hi,
Booting FreeBSD 10.2 crashes with error message:
"Mounting from zfs:zroot/ROOT/default failed with error 2: unknown file system"
I captured all the boot messages and found this hint:
"KLD file zfs.ko is missing dependencies"
The fix this error, I needed to add this:
kfreebsd_module_elf /ROOT/default/@/boot/kernel/opensolaris.ko
after:
kfreebsd_module_elf /ROOT/default/@/boot/kernel/zfs.ko
in /boot/grub/grub.cfg
For example:
submenu "TrueOS (default) - 2015-09-08 15:56" {
menuentry "Normal Bootup" {
insmod zfs
search --no-floppy -s -l zroot
kfreebsd /ROOT/default/@/boot/kernel/kernel
kfreebsd_loadenv /ROOT/default@/boot/device.hints
kfreebsd_module /ROOT/default/@/boot/zfs/zpool.cache
type=/boot/zfs/zpool.cache
set kFreeBSD.vfs.root.mountfrom=zfs:zroot/ROOT/default
kfreebsd_module_elf /ROOT/default/@/boot/kernel/zfs.ko
kfreebsd_module_elf /ROOT/default/@/boot/kernel/opensolaris.ko
kfreebsd_module_elf /ROOT/default/@/boot/kernel/vesa.ko
...
I think this package should automatically add the opensolaris.ko line instead
of requiring users to add it manually.
Cheers,
Yonas
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list