#624 Issue closed: ubuntu 15.04 "No Default or UI configuration found" on reboot

Labels: bug, support / question, fixed / solved / done

hi-flyer opened issue at 2015-07-21 22:18:

I have created a symbolic link from
/usr/lib/SYSLINUX/mbr.bin to /usr/lib/ISOLINUX/isolinux.bin
to get rear to create the USB files on the 4 GB usb drive.
the local.conf file has
OUTPUT=USB
USB_DEVICE=/dev/disk/by-label/REAR-000
BACKUP=BAREOS
BAREOS_CLIENT=zeus-fd

I have also tried /usr/lib/SYSLINUX/mbr.bin to /usr/lib/SYSLINUX/isolinux.bin which also works but I must have isolinux.bin - mbr.bin does not pass the tests in rear

when I put the usb thumb drive in a different dell computer the indicated menu does not come up but ends with the No Default or UI message. I am using the rear_1.17.1_all.deb on Ubuntu 15.04

I have tried 2 different dell computers but both get the same error.

the creation log file looks ok to me but is attached here for clarification:

2015-07-21 17:50:30 Relax-and-Recover 1.17.1 / Git
2015-07-21 17:50:30 Command line options: /usr/sbin/rear -v mkbackup
2015-07-21 17:50:31 Using log file: /var/log/rear/rear-ZEUS.log
2015-07-21 17:50:31 Including conf/Linux-i386.conf
2015-07-21 17:50:31 Including conf/GNU/Linux.conf
2015-07-21 17:50:31 Including conf/Ubuntu.conf
2015-07-21 17:50:31 Including /etc/rear/local.conf
...
2015-07-21 17:50:31 Including prep/USB/Linux-i386/33_find_isolinux.sh
2015-07-21 17:50:31 Including prep/USB/Linux-i386/34_find_mbr_bin.sh
2015-07-21 17:50:31 Including prep/USB/Linux-i386/35_check_usb_disk.sh
2015-07-21 17:50:31 Including prep/USB/default/38_copy_usb_fs_module.sh
2015-07-21 17:50:31 Added USB Device /dev/disk/by-label/REAR-000 file system type ext3 to MODULES/MODULES_LOAD
2015-07-21 17:50:31 Including prep/USB/Linux-i386/40_check_extlinux.sh
...
2015-07-21 17:51:06 Running 'output' stage
2015-07-21 17:51:06 Including output/default/01_set_umask.sh
2015-07-21 17:51:06 Setting umask to 077
2015-07-21 17:51:06 Including output/default/10_mount_output_path.sh
mkdir: created directory '/tmp/rear.IinfubQkhlrlPI1/outputfs'
2015-07-21 17:51:06 Mounting with 'mount -v -o rw,noatime /dev/disk/by-label/REAR-000 /tmp/rear.IinfubQkhlrlPI1/outputfs'
mount: /dev/sdb1 mounted on /tmp/rear.IinfubQkhlrlPI1/outputfs.
2015-07-21 17:51:06 Including output/default/15_save_copy_of_prefix_dir.sh
2015-07-21 17:51:06 Including output/default/20_make_boot_dir.sh
mkdir: created directory '/tmp/rear.IinfubQkhlrlPI1/tmp/boot'
2015-07-21 17:51:06 Including output/default/20_make_prefix_dir.sh
mkdir: created directory '/tmp/rear.IinfubQkhlrlPI1/outputfs/ZEUS'
2015-07-21 17:51:06 Including output/default/25_create_lock.sh
2015-07-21 17:51:06 Including output/USB/Linux-i386/30_create_extlinux.sh
2015-07-21 17:51:06 USB syslinux version: 
2015-07-21 17:51:06 System syslinux version: 6.03
2015-07-21 17:51:06 Features based on syslinux version: 6.03
2015-07-21 17:51:06 Using syslinux prefix: boot/syslinux
2015-07-21 17:51:06 Creating rear/ZEUS/20150721.1750/syslinux.cfg
2015-07-21 17:51:06 Creating /rear/syslinux.cfg
2015-07-21 17:51:07 Processing rear/ZEUS/20150721.1750/syslinux.cfg
2015-07-21 17:51:07 Creating boot/syslinux/extlinux.conf
2015-07-21 17:51:07 Created extlinux configuration 'boot/syslinux/extlinux.conf'
2015-07-21 17:51:07 Including output/USB/Linux-i386/83_copy_kernel_initrd.sh
'/boot/vmlinuz-3.19.0-22-generic' -> '/tmp/rear.IinfubQkhlrlPI1/outputfs/rear/ZEUS/20150721.1750/kernel'
'/tmp/rear.IinfubQkhlrlPI1/tmp/initrd.cgz' -> '/tmp/rear.IinfubQkhlrlPI1/outputfs/rear/ZEUS/20150721.1750/initrd.cgz'
2015-07-21 17:51:18 Copied kernel and initrd.cgz to rear/ZEUS/20150721.1750
2015-07-21 17:51:18 Saved /var/log/rear/rear-ZEUS.log as rear/ZEUS/20150721.1750/rear.log
2015-07-21 17:51:18 Including output/USB/Linux-i386/85_make_USB_bootable.sh
/tmp/rear.IinfubQkhlrlPI1/outputfs/boot/syslinux is device /dev/sdb1
2015-07-21 17:51:35 Writing MBR to /dev/sdb
1+0 records in
1+0 records out
440 bytes (440 B) copied, 0.00573066 s, 76.8 kB/s
...
2015-07-21 17:51:39 End of program reached

PS: removed lines which were not relevant.

gdha commented at 2015-07-22 17:00:

Did you install EXTLINUX? in version rear-1.17.1 we had to fix some ISOLINUX issues due to Ubuntu's re-arraging several packages around syslinux, isolinux and extlinux executables.
The OUTPUT=USB was not yet tested nor modified. I guess some work has to be done in that area.

hi-flyer commented at 2015-07-22 21:34:

Yes, according to synaptic, I have extlinux, syslinux-common, syslinux-efi, syslinux. installed version 3:6.03+dfsg-5ubuntu1. rear says it is formatting in ext3 but the device needs to be unmounted to perform the format. The rear -v mkbackup (or mkrescue) do not care whether I mount or not after the format. Also I had assumed from the fixes suggested on the site, I would not have to link the mbr.bin file to isolinux.bin but I did. PS thanks for deleting extra info, was not sure what you needed to see.

gdha commented at 2015-07-23 08:25:

@hi-flyer rear will automatically mount the USB device when required (and umount it afterwards). Perhaps, run rear -vD mkrescue to have the debug output. I think we need to adapt the manner to find the proper mbr.bin for extlinux also, like we did for isolinux. I'm having my vacation, so I take some time off and will not debug it myself. For effort is very much appreciated!

jsmeix commented at 2022-05-16 13:25:

Because 'find /usr' may take very long time on some systems
cf. https://github.com/rear/rear/issues/2792
now via
https://github.com/rear/rear/commit/339cff93232460fc5098b06c666c925d88459360
the function find_syslinux_modules_dir
tells the user in debug mode what is going on
(plus a hint one "may specify SYSLINUX_MODULES_DIR")
when the fallback 'find /usr' is run
to find the SYSLINUX modules directory.


[Export of Github issue for rear/rear.]