Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Sep 2015 17:14:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202997] sysutils/grub2-pcbsd
Message-ID:  <bug-202997-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: yonas@fizk.net
          Assignee: kmoore@FreeBSD.org
             Flags: maintainer-feedback?(kmoore@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202997-13>