Doug Goldstein
19c698d123
zfs: Fix LINUX_ROOT_DEVICE when grub-probe fails
...
When grub-probe fails, the current code is to just stuff an empty result
in which causes the user to not knowingly have a system that no longer
boots. grub-probe can fail because the ZFS pool that contains the root
filesystem might have features that GRUB does not yet support which is
a common configuration for people with a rpool and a bpool. This behavior
uses the zdb utility to dump the same value as the filesystem label
would print.
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-08-15 00:27:02 +02:00
..
2024-04-11 15:48:25 +02:00
2025-08-15 00:27:02 +02:00
2010-09-15 14:46:53 +02:00
2017-12-06 12:55:55 +01:00
2013-08-14 10:56:55 +02:00
2013-12-14 21:50:36 +01:00
2023-12-12 17:55:14 +01:00
2013-11-23 12:42:30 +01:00
2023-12-12 18:01:55 +01:00
2022-03-14 16:01:07 +01:00
2021-03-02 15:54:17 +01:00
2020-07-29 16:55:47 +02:00
2025-07-11 23:12:50 +02:00
2022-03-14 16:01:07 +01:00
2022-03-14 16:01:07 +01:00
2013-12-21 18:08:25 +01:00
2024-06-06 16:54:10 +02:00
2025-04-10 19:40:50 +02:00
2016-02-12 15:46:05 +01:00
2015-03-04 01:00:19 +01:00
2013-11-11 22:48:43 +01:00
2022-03-14 16:01:07 +01:00
2024-02-15 16:54:59 +01:00
2022-11-14 16:54:12 +01:00
2022-10-27 15:47:34 +02:00
2018-12-12 12:03:27 +01:00
2018-12-12 12:03:27 +01:00
2024-06-06 16:54:10 +02:00
2024-10-31 16:13:06 +01:00
2022-03-14 16:01:07 +01:00
2023-05-17 13:23:44 +02:00
2024-06-06 16:55:16 +02:00
2013-12-21 18:08:25 +01:00
2024-06-20 19:31:35 +02:00
2023-12-12 15:47:08 +01:00
2022-10-11 14:15:55 +02:00
2022-10-11 14:15:55 +02:00
2023-05-17 13:18:36 +02:00
2023-03-14 16:07:54 +01:00
2023-10-30 18:33:06 +01:00
2020-07-29 16:55:47 +02:00
2023-06-01 11:45:00 +02:00
2025-06-26 17:19:25 +02:00
2018-09-13 11:01:10 +02:00
2013-12-21 18:08:25 +01:00
2022-03-14 16:01:07 +01:00
2016-02-12 15:46:05 +01:00
2020-12-12 01:19:03 +01:00
2022-03-14 16:01:07 +01:00
2025-07-11 23:12:51 +02:00
2025-07-11 23:12:50 +02:00
2025-07-11 23:12:50 +02:00
2023-06-13 14:16:08 +02:00
2025-02-13 15:45:55 +01:00
2024-10-31 16:18:36 +01:00
2022-06-07 12:54:51 +02:00
2022-03-14 16:01:07 +01:00
2022-02-08 16:04:57 +01:00
2013-10-15 16:16:04 +02:00
2013-10-15 16:16:04 +02:00
2022-03-14 16:01:07 +01:00
2013-01-21 14:55:30 +01:00