[rear-users] rear on SLES11 with elilo

Sören Sievers ssievers at ennit.de
Thu Apr 30 13:41:50 CEST 2015


Hi Gratien,

thank you for your answer.

To be honest: I did not recompile the genisoimage binary myself - I 
found a matching pre compiled binary on another system and copied it 
from there to my sles11 system:

sles11:~ # ldd `which genisoimage`
     linux-vdso.so.1 =>  (0x00007fff195ff000)
     libmagic.so.1 => /usr/lib64/libmagic.so.1 (0x00007f8591f92000)
     libc.so.6 => /lib64/libc.so.6 (0x00007f8591c19000)
     libz.so.1 => /lib64/libz.so.1 (0x00007f8591a02000)
     libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f85917f3000)
     /lib64/ld-linux-x86-64.so.2 (0x00007f85921d8000)
sles11:~ # genisoimage --version
genisoimage 1.1.8 (Linux)
sles11:~ # ldd /alternate/path/to/genisoimage
     linux-vdso.so.1 =>  (0x00007fffb2fe2000)
     libmagic.so.1 => /usr/lib64/libmagic.so.1 (0x00007f673d830000)
     libc.so.6 => /lib64/libc.so.6 (0x00007f673d4b7000)
     libz.so.1 => /lib64/libz.so.1 (0x00007f673d2a0000)
     libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f673d091000)
     /lib64/ld-linux-x86-64.so.2 (0x00007f673da76000)
sles11:~ # /opt/sesam/bin/sesam/genisoimage --version
genisoimage 1.1.9 (Linux)

I know that this is some kind of dirty hack, but I wanted to try if it 
works - and it worked for me. In version 1.9 genisoimage supports the 
option "-e" to set the efi boot image name. In version 1.8 the efi boot 
image name can not be set.
A better option may be an upgrade to another service pack or something 
like that. I did not check the genisoimage version in the latest service 
pack yet.

For my special problem with elilo: where can I create an issue ?

Regards,

Soeren
Am 30.04.15 um 12:03 schrieb Gratien D'haese:
> Hi,
>
> Concerning the newer genisoimage binary: where did you get it from? Or 
> did you recompile it yourself? Just curious...
> Concerning elilo: ah, you seem to be the first one using elilo. I 
> think it is better to create an issue for this so it becomes easier 
> for everyone to follow the status and progress of fixed etc...
> And while you are busy perhaps explain how to fix it or what seems to 
> be missing in our code...
>
> thanks for the report,
> Gratien
>
> On Wed, 29 Apr 2015 17:39:00 +0200, Sören Sievers <ssievers at ennit.de> 
> wrote:
>> Hi,
>>
>> I ran into trouble using rear on SLES11. My first problem was the old
>> binary of genisoimage. I copied a newer Version of the binary with EFI
>> support on my machine and set the path in local.conf:
>> ISO_MKISOFS_BIN=/alternate/path/to/genisoimage
>>
>> This worked fine for me.
>>
>> On the next run of rear the following error occoured:
>>
>> 2015-04-29 16:12:22 Including prep/GNU/Linux/30_include_grub_tools.sh
>> 2015-04-29 16:12:22 Including prep/default/31_include_uefi_tools.sh
>> 2015-04-29 16:12:22 Using UEFI Boot Loader for Linux
>> (USING_UEFI_BOOTLOADER=1)
>> 2015-04-29 16:12:24 Including rescue/default/85_save_sysfs_uefi_vars.sh
>> 2015-04-29 16:12:41 Using UEFI_BOOTLOADER=/boot/efi/efi/SuSE/elilo.efi
>> [snip]
>> 2015-04-29 16:13:08 Wrote ISO image:
>> /var/lib/rear/output/rear-4care-web01.iso (116M)
>> 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.
>>
>> Is there any workaround ?
>>
>> Regards,
>>
>> Soeren
>
> _______________________________________________
> rear-users mailing list
> rear-users at lists.relax-and-recover.org
> http://pikachu.3ti.be/mailman/listinfo/rear-users



More information about the rear-users mailing list