Skip to content

Commit 6d05575

Browse files
abadgerpirat89
authored andcommitted
Enhance grub2 install failure message.
The new message informs the useir will happen (they will boot into the old RHEL's kernel) so they understand why they need to run the remediation. jira: https://issues.redhat.com/browse/RHEL-29683
1 parent a4e3906 commit 6d05575

File tree

1 file changed

+7
-3
lines changed
  • repos/system_upgrade/common/actors/checkgrubcore

1 file changed

+7
-3
lines changed

repos/system_upgrade/common/actors/checkgrubcore/actor.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,15 @@ def process(self):
4646
reporting.Title('Leapp could not identify where GRUB2 core is located'),
4747
reporting.Summary(
4848
'We assumed GRUB2 core is located on the same device(s) as /boot, '
49-
'however Leapp could not detect GRUB2 on the device(s). '
50-
'GRUB2 core needs to be updated maually on legacy (BIOS) systems. '
49+
'however Leapp could not detect GRUB2 on those device(s). '
50+
'This means GRUB2 core will not be updated during the upgrade process and '
51+
'the system will probably ' 'boot into the old kernel after the upgrade. '
52+
'GRUB2 core needs to be updated manually on legacy (BIOS) systems to '
53+
'fix this.'
5154
),
5255
reporting.Severity(reporting.Severity.HIGH),
5356
reporting.Groups([reporting.Groups.BOOT]),
5457
reporting.Remediation(
55-
hint='Please run "grub2-install <GRUB_DEVICE> command manually after the upgrade'),
58+
hint='Please run the "grub2-install <GRUB_DEVICE>" command manually '
59+
'after the upgrade'),
5660
])

0 commit comments

Comments
 (0)