Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1317709
Summary: | live Workstation install doesn't have a rescue mode entry in the grub menu | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andre Robatino <robatino> |
Component: | spin-kickstarts | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | admiller, anaconda-maint-list, awilliam, bcl, bruno, dustymabe, kevin, kparal, satellitgo, vanmeeuwen+fedora, vpavlin |
Target Milestone: | --- | Keywords: | CommonBugs |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | https://fedoraproject.org/wiki/Common_F24_bugs#live-rescue | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-11 14:49:33 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: | 1230434 |
Description
Andre Robatino
2016-03-14 23:39:54 UTC
Nominating as an Alpha FE in case there is no easy way to fix this after installation. +1 The live images currently have '-dracut-config-rescue' in their kickstarts. That needs to be removed, but be aware that this means the installation media will also have a rescue kernel and initrd, making it somewhat larger. I'm not sure what good a rescue kernel is. Perhaps we should drop it from the netinstall/dvd media as well? Or is there some requirement to have a rescue kernel? Is there a way to add a rescue kernel if the initial installation doesn't do it? Does it automatically get generated if the kernel is updated? good question, and I don't know. ;) Simply installing dracut-config-rescue doesn't do it, nor does doing that and adding/removing a kernel or running dracut -f. Here's a description of the change that introduced "rescue kernel": https://fedoraproject.org/wiki/Features/DracutHostOnly Unless something changed, the rescue kernel is required if you substantially change your hardware (so that you're missing some modules in your current initramfs) or you transfer your HDD containing installed system into a different PC. From that POV, it would be useful to have the rescue kernel boot option generated for all installation methods. I asked in https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org/thread/MBKSP2RZBVIJF66SIVRFODSTAQDAK64D/ and was referred to https://ask.fedoraproject.org/en/question/40409/cant-boot-into-rescue-mode-how-to-re-generate-initramfs/ . I ran the command /etc/kernel/postinst.d/51-dracut-rescue-postinst.sh $(uname -r) /boot/vmlinuz-$(uname -r) which created the rescue mode files in /boot, then ran "grub2-mkconfig -o /boot/grub2/grub.conf" manually to put the grub rescue mode entry after the non-rescue kernels (initially it was the first entry in the list). Discussed at today's blocker review meeting [1]. Voted as AcceptedFreezeException - if we decide the rescue kernel is desired and important to live images, it's reasonable to allow a fix as a freeze exception so long as it's simple, targeted and testable (if it requires package changes to anything boot-related we likely won't take it) [1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-03-21 In order to do this only 2 things need to be done: 1. Remove the '-dracut-config-rescue" from the %package section of the kickstarts 2. Add a 'rm -f /boot/*-rescue*' to the end of a %post section to keep the image size down. Proposing as Beta FE. Pushed the changes in comment#10 in spin-kickstarts c05c51325de8736db8080874654f14d1b96a78d5 Should be able to check tomorrow's nightly / rawhide live composes. After installing from Fedora-Workstation-Live-x86_64-24-20160409.n.0.iso, I have a working rescue mode entry. In that case we can probably close this. Thanks for testing, Andre. |