RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1518241 - UEFI: Cannot boot rescue image created on "BIOS" system
Summary: UEFI: Cannot boot rescue image created on "BIOS" system
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rear
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Pavel Cahyna
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-28 13:29 UTC by Renaud Métrich
Modified: 2023-09-14 04:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-11 21:53:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Renaud Métrich 2017-11-28 13:29:24 UTC
Description of problem:

When creating a rescue image for ReaR on a legacy system (not UEFI), the image doesn't contain the necessary bits to boot it on a pure UEFI system.


Version-Release number of selected component (if applicable):

rear-2.00-3.el7_4.x86_64


How reproducible:

Always


Steps to Reproduce:
1. Create a rescue image on a legacy system
2. Try booting a pure UEFI system with the image


Actual results:

Image is not bootable

Comment 3 Pavel Cahyna 2017-11-28 14:15:42 UTC
I think this is expected. ReaR makes the decision of which tools to include on the recovery image based on what it founds in the system. So if no UEFI found, no UEFI packages are included.

This could be changed by including them always (and depending on the appropriate packages, which would solve bz1492177 as well), but I am not sure how it would work anyway - UEFI needs a special partition AFAIK, so it is not a task of restoring a system into exactly the same state anymore but transforming it into a different state (partition layout will be different) and I would say this is out of scope.

Gratien, what do you think? Do you have plans for something like this?

Comment 4 Gratien D'haese 2017-11-28 14:32:38 UTC
I made an issue of this enhancement request as https://github.com/rear/rear/issues/1601
However, we can promise this will be implemented. OTOH, I like the idea of a  dual boot ISO. We will see what the other developers think of the idea.

Comment 5 Pavel Cahyna 2017-11-28 14:35:43 UTC
(In reply to Gratien D'haese from comment #4)
> I made an issue of this enhancement request as
> https://github.com/rear/rear/issues/1601
> However, we can promise this will be implemented. OTOH, I like the idea of a
> dual boot ISO. We will see what the other developers think of the idea.

Thank you for your fast reply. But what about the partition layout? I am afraid that to make a properly functioning UEFI system one needs more than to make a bootable ISO.

Comment 6 Gratien D'haese 2017-11-28 14:44:02 UTC
(In reply to Pavel Cahyna from comment #5)
> 
> Thank you for your fast reply. But what about the partition layout? I am
> afraid that to make a properly functioning UEFI system one needs more than
> to make a bootable ISO.

Of course, and that counts for both ways. The repartitioning part (and resizing) is the most difficult part, but nothing is impossible. Cloning to another boot technology bring new challenges to say at least.

Comment 7 Renaud Métrich 2018-10-05 09:39:26 UTC
(In reply to Gratien D'haese from comment #6)
> (In reply to Pavel Cahyna from comment #5)
> > 
> > Thank you for your fast reply. But what about the partition layout? I am
> > afraid that to make a properly functioning UEFI system one needs more than
> > to make a bootable ISO.
> 
> Of course, and that counts for both ways. The repartitioning part (and
> resizing) is the most difficult part, but nothing is impossible. Cloning to
> another boot technology bring new challenges to say at least.

Repartitioning should not be a big issue, there is already code for that.
The difficult part here is to install the new bootloader on the disk after restoring the backup.
This would require installing missing efi packages based on distro, which may not be an easy task, typically depending on the network configuration (are repos accessible from inside the chroot, the configured network, etc?).

Anyway, this also requires implementing a failsafe manual method just saying "enter the /mnt/local chroot and install all that is missing manually".

Comment 11 Chris Williams 2020-11-11 21:53:47 UTC
Red Hat Enterprise Linux 7 shipped it's final minor release on September 29th, 2020. 7.9 was the last minor releases scheduled for RHEL 7.
From intial triage it does not appear the remaining Bugzillas meet the inclusion criteria for Maintenance Phase 2 and will now be closed. 

From the RHEL life cycle page:
https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_2_Phase
"During Maintenance Support 2 Phase for Red Hat Enterprise Linux version 7,Red Hat defined Critical and Important impact Security Advisories (RHSAs) and selected (at Red Hat discretion) Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available."

If this BZ was closed in error and meets the above criteria please re-open it flag for 7.9.z, provide suitable business and technical justifications, and follow the process for Accelerated Fixes:
https://source.redhat.com/groups/public/pnt-cxno/pnt_customer_experience_and_operations_wiki/support_delivery_accelerated_fix_release_handbook  

Feature Requests can re-opened and moved to RHEL 8 if the desired functionality is not already present in the product. 

Please reach out to the applicable Product Experience Engineer[0] if you have any questions or concerns.  

[0] https://bugzilla.redhat.com/page.cgi?id=agile_component_mapping.html&product=Red+Hat+Enterprise+Linux+7

Comment 12 Red Hat Bugzilla 2023-09-14 04:12:43 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.