Bug 1475526

Summary: Modify the PXELinux global default provisioning template to have the additional capability to PXE boot a system to rescue mode
Product: Red Hat Satellite Reporter: Ross Bram <rbram>
Component: Provisioning TemplatesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CANTFIX QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, jcallaha, lzap, mhulan, rbram
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-19 14:37:51 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:

Description Ross Bram 2017-07-26 20:37:33 UTC
Description of problem:


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

Due to a power hit, one EL 7 system shows grub errors and doesn't boot.  I would like to preserve the existing partitions on this system, therefore I do not want to re-provision it.  I am requesting a modification to the Satellite server's PXELinux global default provisioning template (or create a separate rescue template) so I may PXE boot this system to rescue mode and troubleshoot the boot issue.


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Lukas Zapletal 2018-01-19 14:37:51 UTC
Ross,

PXELinux "local boot" template managed by Satellite directly boots from local drive. It does read MBR record and hands over to OS boot loader. In other words, it is not possible to tell which entry you want to boot. Here are the relevant bits:

https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/PXELinux/pxelinux_default_local_boot.erb

https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/snippet/pxelinux_chainload.erb

What you want is technically possible, but you would need to create separate partition with rescue kernel/initeramdisk and boot from that volume. In this case, this is not good candidate for shipping by default.

I am going to close your request, feel free to reopen and provide more details how technically you would like this to work.