Project

General

Profile

Actions

Bug #12782

closed

GRUB should pass pool and vdev GUIDs in $ZFS-BOOTFS

Added by Andrew Stormont over 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

7119 added support for scanning available disks to find the boot device after it has been moved, but it requires the pool and vdev GUIDs which only loader passes.


Related issues

Related to illumos gate - Bug #7119: boot should handle change in physical path to ZFS root devicesClosedJoshua M. Clulow2016-06-18

Actions
Actions #1

Updated by Andrew Stormont over 1 year ago

  • Related to Bug #7119: boot should handle change in physical path to ZFS root devices added
Actions #2

Updated by Jean-Pierre André over 1 year ago

What is the syntax of what has to be inserted into $ZFS-BOOTFS (or presumably into the kernel$ menu line, unless some traditional parameter has to be removed) ?
An example would come nicely.

Actions #3

Updated by Joshua M. Clulow over 1 year ago

Honestly is it not time to retire the ancient GRUB at this stage?

Actions #4

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 693
Actions #5

Updated by Andrew Stormont 4 months ago

The arguments that need to be passed for #7119 to work are zfs-bootpool=<rpool guid> and zfs-bootvdev=<boot dev guid>.

Actions #6

Updated by Andrew Stormont 4 months ago

This change adds the extra arguments: https://code.illumos.org/c/illumos-gate/+/693

This has been tested in VMware Fusion and Amazon EC2 with disk images that were constructed as lofi devices and so require that the pool scan work properly to boot.

Actions #7

Updated by Electric Monk 3 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 1a065e93eee983124652c3eb0cfdcb4776cd89ab

commit  1a065e93eee983124652c3eb0cfdcb4776cd89ab
Author: Andrew Stormont <astormont@racktopsystems.com>
Date:   2021-07-06T15:01:32.000Z

    12782 GRUB should pass pool and vdev GUIDs in $ZFS-BOOTFS
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF