Bug 1663891
| Summary: | Requires manual regeneration of grub configuration to see boom entries | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Pitt <mpitt> | |
| Component: | boom-boot | Assignee: | Bryn M. Reeves <bmr> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | high | |||
| Version: | 29 | CC: | jbrassow, mcsontos | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1663915 (view as bug list) | Environment: | ||
| Last Closed: | 2019-09-30 14:28:35 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1663915 | |||
|
Description
Martin Pitt
2019-01-07 09:37:12 UTC
Actually it seems this isn't necessary after every new boom create/remove operation, just once after package install. This adds this snippet to /boot/grub2/grub.cfg:
### BEGIN /etc/grub.d/42_boom ###
submenu "Snapshots" {
insmod blscfg
bls_import
}
### END /etc/grub.d/42_boom ###
which seems to be enough to activate the BLS functionality and read /boot/loader/entries/*. So installation of the package should trigger a grub update.
Current versions of boom will print a warning message when this is the case, suggesting the user re-run grub2-mkconfig: # boom create --title "Boom test" --rootlv rhel/root WARNING - Boom configuration not found in grub.cfg WARNING - Run 'grub2-mkconfig > /boot/grub2/grub.cfg' to enable |