Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2019 06:18:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 241606] 12.0-p11 can't load kernel : upgrade from 11.2-p15 : missing currdev-zfs in boot loader
Message-ID:  <bug-241606-99@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241606

            Bug ID: 241606
           Summary: 12.0-p11 can't load kernel : upgrade from 11.2-p15 :
                    missing currdev-zfs in boot loader
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: standards@FreeBSD.org
          Reporter: nomad@neuronfarm.net

Created attachment 208720
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208720&action=
=3Dedit
boot loader FreeBSD 12.0-p11 missing currdev-zfs

Hi,=20

Hi encounter trouble with boot loader of FreeBSD 12.0.

To upgrade to 12.0 RELEASE I upgrade in first from 11.1-RELEASE-p7 to
11.1-RELEASE-p15, then to 11.2-RELEASE-p15 to arrive at 12.0-RELEASE-p11.
All of this with freebsd-update tools.

~~~
# beadm list
BE               Active Mountpoint  Space Created
[...]
11.1-RELEASE-p7  -      -          956.0K 2018-03-10 09:44
11.1-RELEASE-p15 -      -           11.3M 2019-10-27 13:52
11.2-RELEASE-p15 -      -          804.0K 2019-10-27 15:51
12.0-RELEASE-p11 NR     /            3.1G 2019-10-30 14:31
~~~

All upgrade process seems ok but now when I boot on 12.0-RELEASE-p11 boot
loader says can't load kernel.

I have to set in boot loader currdev-zfs to my zfs vol then it's ok. See
attachement.

set currdev-zfs=3Dzfs/ROOT/12.0-RELEASE-p11

Some infos bellow :

~~~
# zpool status zroot
  pool: zroot
 state: ONLINE
[...
  scan: none requested
config:

        NAME                STATE     READ WRITE CKSUM
        zroot               ONLINE       0     0     0
          mirror-0          ONLINE       0     0     0
            gpt/zroot-nvme  ONLINE       0     0     0
            gpt/zroot-sata  ONLINE       0     0     0

errors: No known data errors
~~~

~~~
# gpart show -l nvd0
=3D>       40  500118112  nvd0  GPT  (238G)
         40     524288     1  (null)  (256M)
     524328    8388608     2  swap-nvme  (4.0G)
    8912936  491205208     3  zroot-nvme  (234G)
  500118144          8        - free -  (4.0K)

# gpart show nvd0
=3D>       40  500118112  nvd0  GPT  (238G)
         40     524288     1  efi  (256M)
     524328    8388608     2  freebsd-swap  (4.0G)
    8912936  491205208     3  freebsd-zfs  (234G)
  500118144          8        - free -  (4.0K)

# gpart show ada0
=3D>       40  500118112  ada0  GPT  (238G)
         40     524288     1  efi  (256M)
     524328    8388608     2  freebsd-swap  (4.0G)
    8912936  491205208     3  freebsd-zfs  (234G)
  500118144          8        - free -  (4.0K)

# gpart show -l ada0
=3D>       40  500118112  ada0  GPT  (238G)
         40     524288     1  (null)  (256M)
     524328    8388608     2  swap-sata  (4.0G)
    8912936  491205208     3  zroot-sata  (234G)
  500118144          8        - free -  (4.0K)
~~~

--=20
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-241606-99>