Project

General

Profile

Actions

Bug #5664

closed

make installgrub more robust, bump grub capability version

Added by Hans Rosenfeld over 7 years ago. Updated over 7 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Shortly after 5561 went in I was reminded that I should have bumped the version in /boot/grub/capability so that the new grub is installed on the systems.

Looking at the installgrub code again I noticed that I need two more changes to make it more robust: check the size of the stage2 so that we're not overflowing past the end of the ZFS boot loader gap, and limit the fstyp changes to EFI labeled disks. The restriction to ZFS really only applies to EFI labeled disks only.

Actions

Also available in: Atom PDF