Rear: REAR 2.6: UEFI Based systems fail to boot with "error: file `/isolinux/kernel' not found"

Created on 28 Jul 2020  ยท  6Comments  ยท  Source: rear/rear

Hi,

i have setup some automatic tests that use the latest Rear Version shipped with our components
to create a backup and automatically boot the generated iso image to verify a recovery would work (in simple setups, using
expect to answer all the questions):

I also have some multipath setups that use UEFI boot, after updating to REAR 2.6, the generated ISO images
fail to boot with:

error: file `/isolinux/kernel' not found.
Loading initial ramdisk ...
error: you need to load the kernel first.
Press any key to continue...

We use mostly default settings, these worked with REAR 2.5, not sure if im hitting a regression here or does
REAR 2.6 need more settings regarding UEFI? Distributions in this case are SLE12/SLE15.

Backup log regarding UEFI looks quite normal:

Using UEFI Boot Loader for Linux (USING_UEFI_BOOTLOADER=1)
[..]
Trying to find what to use as UEFI bootloader...
Trying to find a 'well known file' to be used as UEFI bootloader...
Using '/boot/efi/EFI/sles/grubx64.efi' as UEFI bootloader file
[..]
fixed / solved / done support / question

All 6 comments

Having a quick look at the generated iso image it seems grub.cfg is referencing to /isolinux/kernel as boot image:

/mnt/EFI/BOOT/grub.cfg:     linux /isolinux/kernel root=UUID=36cb193a-9a79-4187-917e-84c6895fe38d selinux=0 console=ttyS0,9600 console=tty0

but that file is not part of the generated iso image:

/mnt/
โ”œโ”€โ”€ boot
โ”‚ย ย  โ”œโ”€โ”€ efiboot.img
โ”‚ย ย  โ””โ”€โ”€ grub
โ”‚ย ย      โ””โ”€โ”€ grub.cfg
โ”œโ”€โ”€ BOOT.CAT
โ”œโ”€โ”€ EFI
โ”‚ย ย  โ””โ”€โ”€ BOOT
โ”‚ย ย      โ”œโ”€โ”€ BOOTX64.efi
โ”‚ย ย      โ”œโ”€โ”€ fonts
โ”‚ย ย      โ”‚ย ย  โ””โ”€โ”€ unicode.pf2
โ”‚ย ย      โ”œโ”€โ”€ grub.cfg
โ”‚ย ย      โ””โ”€โ”€ locale
โ””โ”€โ”€ isolinux
    โ”œโ”€โ”€ chain.c32
    โ”œโ”€โ”€ hdt.c32
    โ”œโ”€โ”€ initrd.cgz
    โ”œโ”€โ”€ isolinux.bin
    โ”œโ”€โ”€ isolinux.cfg
    โ”œโ”€โ”€ kernel
    โ”œโ”€โ”€ menu.c32
    โ”œโ”€โ”€ message
    โ”œโ”€โ”€ pci.ids
    โ”œโ”€โ”€ poweroff.com
    โ”œโ”€โ”€ rear.help
    โ”œโ”€โ”€ reboot.c32
    โ””โ”€โ”€ vesamenu.c32

Can this be related to https://github.com/rear/rear/issues/2434 ?

V.

Can this be related to #2434 ?

V.

most likely, i missed that one!

Then try latest upstrem ReaR, sholud be fixed there ...

V.

Then try latest upstrem ReaR, sholud be fixed there ...

will try again with the mentioned patches.

I can confirm that after applying commit 149fea9775316ba0f6cf550c1cfd67a980de757f our tests are now working again! Thanks!

Was this page helpful?
0 / 5 - 0 ratings