Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elilo Support on SLES11 #583

Closed
ssievers opened this issue Apr 30, 2015 · 7 comments
Closed

elilo Support on SLES11 #583

ssievers opened this issue Apr 30, 2015 · 7 comments
Assignees
Labels
bug The code does not do what it is meant to do fixed / solved / done
Milestone

Comments

@ssievers
Copy link

On SLES11 with elilo bootloader and EFI a mkrescue stops with the following error:

2015-04-29 16:13:08 Including output/default/94_grub_rescue.sh
2015-04-29 16:13:08 $grub_conf is set to:
/boot/efi/efi/SuSE/grub.conf <=== this is my debug output
2015-04-29 16:13:08 ERROR: GRUB configuration cannot be modified.
=== Stack trace ===
Trace 0: /var/lib/rear/usr/sbin/rear:249 main
Trace 1: /var/lib/rear/usr/share/rear/lib/mkrescue-workflow.sh:41
WORKFLOW_mkrescue
Trace 2: /var/lib/rear/usr/share/rear/lib/framework-functions.sh:79
SourceStage
Trace 3: /var/lib/rear/usr/share/rear/lib/framework-functions.sh:40 Source
Trace 4:
/var/lib/rear/usr/share/rear/output/default/94_grub_rescue.sh:54
source
Trace 5:
/var/lib/rear/usr/share/rear/lib/_input-output-functions.sh:131
StopIfError
Message: GRUB configuration cannot be modified.

Rear correctly sets $UEFI_BOOTLOADER to /boot/efi/efi/SuSE/elilo.efi
but later rear dies on the error grub.conf doesnt exit.
There is no script to handle elilo yet.

@gdha gdha self-assigned this Apr 30, 2015
@gdha gdha added the bug The code does not do what it is meant to do label Apr 30, 2015
@gdha gdha added this to the Rear v1.17.1 milestone Apr 30, 2015
@gdha
Copy link
Member

gdha commented Apr 30, 2015

Where lives your elilo config file?

@ssievers
Copy link
Author

sles11:/boot/efi/efi/SuSE # ls -la
total 11636
drwxrwxr-x 2 root root 4096 Dec 13 2013 .
drwxrwxr-x 3 root root 4096 Dec 13 2013 ..
-rwxrwxr-x 1 root root 1215 Dec 13 2013 elilo.conf
-rwxrwxr-x 1 root root 247267 Aug 22 2013 elilo.efi
-rwxrwxr-x 1 root root 76 Dec 13 2013 elilo.list
-rwxrwxr-x 1 root root 7703233 Dec 13 2013 initrd-3.0.101-0.8-default
-rwxrwxr-x 1 root root 3942720 Nov 7 2013 vmlinuz-3.0.101-0.8-default

gdha added a commit that referenced this issue May 13, 2015
@gdha
Copy link
Member

gdha commented May 13, 2015

@ssievers If you could check with the updated lib/uefi-functions.sh script whether your problems goes away with it?

@ssievers
Copy link
Author

Hi,

I am sorry, but noting changed here after editing the lib/uefi-functions.sh

Regards,

Soeren

gdha added a commit that referenced this issue May 31, 2015
@gdha
Copy link
Member

gdha commented May 31, 2015

@ssievers ok, it might be fixed in output/default/94_grub_rescue.sh. Would be nice if you could test it out. Keep in mind that after the recovery elilo still needs to be run - a pull request would be wonderful!

gdha added a commit that referenced this issue Jun 17, 2015
 trigger a 'rear mkrescue' when /etc/elilo.conf has been modified (SLES a.o. perhaps)
related to issue #583
gdha added a commit that referenced this issue Jun 17, 2015
…make boot disk uefi aware with elilo)

update: rescue/default/85_save_sysfs_uefi_vars.sh (to catch UEFI_BOOTLOADER of type elilo.efi as well)
issue #583
@gdha gdha modified the milestones: Rear v1.18, Rear v1.17.1 Jun 30, 2015
@gdha
Copy link
Member

gdha commented Jun 30, 2015

I'll move the milestone as elilo support is in rear-1.17.1, however, it was not yet fully tested

@gdha
Copy link
Member

gdha commented Feb 2, 2016

We were able to successfully restore with elilo on an UEFI system (using ebiso to create a bootable uefi iso image)

@gdha gdha closed this as completed Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The code does not do what it is meant to do fixed / solved / done
Projects
None yet
Development

No branches or pull requests

2 participants