#2534 Issue closed: Bad UX with OUTPUT=USB plus BACKUP_URL=usb:/// : syslinux cannot boot ReaR recovery system

Labels: enhancement, bug, waiting for info, discuss / RFC, no-issue-activity

jsmeix opened issue at 2020-12-04 11:24:

  • ReaR version ("/usr/sbin/rear -V"):
    Current ReaR upstream GitHub master code.

  • OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
    openSUSE Leap 15.2

  • ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
    as in http://relax-and-recover.org/documentation/getting-started

OUTPUT=USB
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000

plus

SSH_ROOT_PASSWORD="rear"
USB_DEVICE_FILESYSTEM_PERCENTAGE=50

with a USB disk

# parted -s /dev/sdb unit GiB print

Model: TOSHIBA External USB 3.0 (scsi)
Disk /dev/sdb: 466GiB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 
Number  Start    End     Size    Type     File system  Flags
 1      0.01GiB  233GiB  233GiB  primary  ext3         boot, type=83

prepared with

# usr/sbin/rear format /dev/sdb
  • Hardware (PC or PowerNV BareMetal or ARM) or virtual machine (KVM guest or PoverVM LPAR):
    My homeoffice Laptop with hostname linux-h9wr

  • System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
    x86 compatible

  • Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
    UEFI in legacy BIOS mode with GRUB2 as bootloader

  • Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
    local disk:

# parted -s /dev/sda unit GiB print

Model: ATA TOSHIBA MQ01ABF0 (scsi)
Disk /dev/sda: 466GiB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot
Number  Start    End      Size     File system  Name         Flags
 1      0.00GiB  0.01GiB  0.01GiB                            bios_grub
 2      0.01GiB  4.01GiB  4.00GiB                            swap
 3      4.01GiB  204GiB   200GiB                             legacy_boot
 4      204GiB   304GiB   100GiB   ext4
 5      304GiB   454GiB   150GiB   ext4
 6      454GiB   462GiB   8.00GiB  ext2         other
 7      462GiB   463GiB   1.00GiB               playground
 8      463GiB   464GiB   1.00GiB               playground2
  • Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,SIZE,MOUNTPOINT" or "lsblk" as makeshift):
# lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,SIZE,MOUNTPOINT
NAME                                                      KNAME     PKNAME    TRAN   TYPE  FSTYPE        SIZE MOUNTPOINT
/dev/sda                                                  /dev/sda            sata   disk              465.8G 
|-/dev/sda1                                               /dev/sda1 /dev/sda         part                  8M 
|-/dev/sda2                                               /dev/sda2 /dev/sda         part  crypto_LUKS     4G 
| `-/dev/mapper/cr_ata-TOSHIBA_MQ01ABF050_Y2PLP02CT-part2 /dev/dm-1 /dev/sda2        crypt swap            4G [SWAP]
|-/dev/sda3                                               /dev/sda3 /dev/sda         part  crypto_LUKS   200G 
| `-/dev/mapper/cr_ata-TOSHIBA_MQ01ABF050_Y2PLP02CT-part3 /dev/dm-0 /dev/sda3        crypt ext4          200G /
|-/dev/sda4                                               /dev/sda4 /dev/sda         part  ext4          100G /nfs
|-/dev/sda5                                               /dev/sda5 /dev/sda         part  ext4          150G /var/lib/libvirt
|-/dev/sda6                                               /dev/sda6 /dev/sda         part  ext2            8G 
|-/dev/sda7                                               /dev/sda7 /dev/sda         part  crypto_LUKS     1G 
`-/dev/sda8                                               /dev/sda8 /dev/sda         part  crypto_LUKS     1G
  • Description of the issue (ideally so that others can reproduce it):

After "rear -D mkbackup" succeeded without any noticeable (error) message
booting the USB disk on the same computer shows the syslinux boot menue
but the usual topmost entries to boot the ReaR recovery system are missing.

I.e. it seems one gets in the syslinux boot menue only
the menue label entries in boot/syslinux/extlinux.conf on the USB disk

include /rear/syslinux.cfg
    menu label Other actions
    menu label ^Help for Relax-and-Recover
    menu label Boot ^First local disk (hd0)
    menu label Boot ^Second local disk (hd1)
    menu label Boot ^BIOS disk (0x81)
    menu label Boot ^Next device
    menu label Hardware ^Detection tool
    menu label ^Reboot system
    menu label ^Power off system

but neither the include /rear/syslinux.cfg menue labels

    menu label Recovery images
    menu label linux-h9wr
    include /rear/linux-h9wr/20201130.1025/syslinux.cfg
        menu label ^Back

nor the include /rear/linux-h9wr/20201130.1025/syslinux.cfg menue labels

    menu label 2020-11-30 10:25 backup
    menu label 2020-11-30 10:25 backup - AUTOMATIC RECOVER

so one cannot boot the ReaR recovery system.

The bad UX (user experience) is that during "rear -D mkbackup" nothing idicates
there could be later problems to boot the ReaR recovery system.

Because ReaR should "Try hard to care about possible errors"
cf. https://github.com/rear/rear/wiki/Coding-Style
I consider that there is no message during "rear -D mkbackup" about
possible problems later to boot the ReaR recovery system
as a "bug" in ReaR (the bug is the missing information to the user
not the fact that there are certain limits what can be booted under
what circumstances with a particular firmware on a particular computer).

In contrast to https://github.com/rear/rear/pull/2525
(...files greater or equal ISO_FILE_SIZE_LIMIT ... in the ISO)
where the backup.tar.gz gets corrupted in the ISO so the backup is lost
this issue here is less severe because the backup.tar.gz file
rear/linux-h9wr/20201130.1025/backup.tar.gz
on the USB disk is completely readable so the backup is not lost here.

  • Workaround, if any:

I had experienced such kind of issues
(unable to boot the recovery system with OUTPUT=USB plus BACKUP_URL=usb:///)
before in January 2020 when I prepared for my FOSDEM "rear recover" presentation.
At that time it had helped to make the ReaR data partition on the USB disk much smaller
(I used only a few GiB - just enough for my small test system's backup).
At that time I had no time to analyze the actual root cause but a colleague had helped me
who told me about certain size limits so that syslinux can boot a system.
I think I vaguely remember those size limits are actually limits in the BIOS
because syslinux needs BIOS functionality to access data on the disk
but I am no expert in this area so I could be plain wrong.

If the root cause are limits in the BIOS
https://tldp.org/HOWTO/Large-Disk-HOWTO-4.html
lists various such possible limits.

Additionally I found
https://wiki.syslinux.org/wiki/index.php?title=Hardware_Compatibility#USB_related_problems

I fear the only actual solution is to have all what syslinux needs
to boot the ReaR recovery system in a separated sufficiently small
boot partition and the backup in a big separated backup partition.
But this would require major rework of the extlinux/syslinux setup code in ReaR.

Perhaps OUTPUT=RAWDISK works better - I will try that out.
I had never used OUTPUT=RAWDISK before so currently I cannot tell
if it is possible to get the backup.tar.gz included in the RAWDISK image
so that one could get an "all-in-one" BIOS bootable RAWDISK image
that contains the ReaR recovery system plus the backup.tar.gz - cf.
https://github.com/rear/rear/issues/2530#issuecomment-734843049

jsmeix commented at 2020-12-04 11:33:

@rear/contributors and all who could help here:

I would very much appreciate any helpful information
about the actual limits on nowadays normal hardware
when booting a system on USB disk with syslinux and BIOS
or more usual nowadays with syslinux and UEFI in legacy BIOS mode.

jsmeix commented at 2020-12-07 15:21:

To find out where the disk access limit is
of the UEFI in legacy BIOS mode of my particular laptop
I did # usr/sbin/rear format /dev/sdb
with `USB_DEVICE_FILESYSTEM_PERCENTAGE=25
which results

# parted -s /dev/sdb unit GiB print
Model: TOSHIBA External USB 3.0 (scsi)
Disk /dev/sdb: 466GiB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 
Number  Start    End     Size    Type     File system  Flags
 1      0.01GiB  116GiB  116GiB  primary  ext3         boot, type=83

so the ReaR data partition is within the first 128GiB on the USB disk
so all blocks in the ReaR data partition are below the 128GiB limit in
https://wiki.syslinux.org/wiki/index.php?title=Hardware_Compatibility#USB_related_problems

1.)
I did a first # usr/sbin/rear -D mkbackup with

OUTPUT=USB
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000
USB_SUFFIX="ReaRbackup"

which results a USB disk where the syslinux boot menue
shows the following menu labels (linux-h9wr is the hostname
and the sub-menue labels are shown indented here):

Recovery images
linux-h9wr
    ReaRbackup backup
    ReaRbackup backup - AUTOMATIC RECOVER
    Back
Other actions
Help for Relax-and-Recover
Boot First local disk (hd0)
Boot Second local disk (hd1)
Boot BIOS disk (0x81)
Boot Next device
Hardware Detection tool
Reboot system
Power off system

and choosing linux-h9wr -> ReaRbackup backup
boots the ReaR recovery system.

2.)
I did a second # usr/sbin/rear -D mkbackup with

OUTPUT=USB
BACKUP=NETFS
BACKUP_URL=usb:///dev/disk/by-label/REAR-000
USB_SUFFIX="ReaRbackup2"

which results a USB disk where the syslinux boot menue
shows the following menu labels (linux-h9wr is the hostname
and the sub-menue labels are shown indented here):

Recovery images
linux-h9wr
    ReaRbackup backup
    ReaRbackup backup - AUTOMATIC RECOVER
    ReaRbackup2 backup
    ReaRbackup2 backup - AUTOMATIC RECOVER
    Back
Other actions
Help for Relax-and-Recover
Boot First local disk (hd0)
Boot Second local disk (hd1)
Boot BIOS disk (0x81)
Boot Next device
Hardware Detection tool
Reboot system
Power off system

and choosing linux-h9wr -> ReaRbackup2 backup
boots the second ReaR recovery system.

The files on the USB disk after the second # usr/sbin/rear -D mkbackup:

# mount /dev/sdb1 /mnt

# find /mnt -type f -ls
  4620293        4 -rw-------   1  root     root             574 Dec  7 14:24 /mnt/rear/syslinux.cfg
  4620295   333580 -rw-r--r--   1  root     root       341244047 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/initrd.cgz
  4620298 10613808 -rw-------   1  root     root     10857915440 Dec  7 13:53 /mnt/rear/linux-h9wr/ReaRbackup/backup.tar.gz
  4620299    25232 -rw-------   1  root     root        25802343 Dec  7 13:53 /mnt/rear/linux-h9wr/ReaRbackup/backup.log
  4620292        4 -rw-------   1  root     root             915 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/syslinux.cfg
  4620296     1768 -rw-------   1  root     root         1803961 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/rear-linux-h9wr.log
  4620294     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup/kernel
  4620302   333564 -rw-r--r--   1  root     root       341228652 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/initrd.cgz
  4620305 10521884 -rw-------   1  root     root     10763876597 Dec  7 14:51 /mnt/rear/linux-h9wr/ReaRbackup2/backup.tar.gz
  4620306    24672 -rw-------   1  root     root        25228789 Dec  7 14:51 /mnt/rear/linux-h9wr/ReaRbackup2/backup.log
  4620300        4 -rw-------   1  root     root             927 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/syslinux.cfg
  4620303     1764 -rw-------   1  root     root         1801783 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/rear-linux-h9wr.log
  4620301     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup2/kernel
  7159810        0 -rw-------   1  root     root               0 Dec  7 14:24 /mnt/linux-h9wr/.lockfile
  2654225        4 -rw-------   1  root     root             961 Dec  7 14:24 /mnt/boot/syslinux/rear.help
  2654229     1188 -rw-------   1  root     root         1210506 Dec  7 14:24 /mnt/boot/syslinux/pci.ids
  2654214        8 -rw-------   1  root     root            4712 Dec  7 13:24 /mnt/boot/syslinux/config.c32
  2654231        4 -rw-------   1  root     root             239 Dec  7 13:24 /mnt/boot/syslinux/poweroff.com
  2654218        8 -rw-------   1  root     root            4440 Dec  7 13:24 /mnt/boot/syslinux/host.c32
  2654219        8 -rw-------   1  root     root            5276 Dec  7 13:24 /mnt/boot/syslinux/kbdmap.c32
  2654230        4 -rw-------   1  root     root             812 Dec  7 13:24 /mnt/boot/syslinux/reboot.c32
  2654215        4 -rw-------   1  root     root             832 Dec  7 13:24 /mnt/boot/syslinux/cmd.c32
  2654216        8 -rw-------   1  root     root            5468 Dec  7 13:24 /mnt/boot/syslinux/cpuid.c32
  2654211        4 -rw-------   1  root     root             267 Dec  7 14:24 /mnt/boot/syslinux/message
  2654223       40 -rw-------   1  root     root           40088 Dec  7 13:24 /mnt/boot/syslinux/sysdump.c32
  2654213        8 -rw-------   1  root     root            5824 Dec  7 13:24 /mnt/boot/syslinux/cat.c32
  2654222       24 -rw-------   1  root     root           21492 Dec  7 13:24 /mnt/boot/syslinux/rosh.c32
  2654232       32 -r--------   1  root     root           32256 Dec  7 13:24 /mnt/boot/syslinux/ldlinux.sys
  2654217        8 -rw-------   1  root     root            5344 Dec  7 13:24 /mnt/boot/syslinux/disk.c32
  2654212        4 -rw-------   1  root     root            1892 Dec  7 14:24 /mnt/boot/syslinux/extlinux.conf
  2654221      240 -rw-------   1  root     root          241412 Dec  7 13:24 /mnt/boot/syslinux/lua.c32
  2654226       60 -rw-------   1  root     root           54388 Dec  7 13:24 /mnt/boot/syslinux/menu.c32
  2654224      156 -rw-------   1  root     root          151740 Dec  7 13:24 /mnt/boot/syslinux/vesamenu.c32
  2654220       12 -rw-------   1  root     root            9428 Dec  7 13:24 /mnt/boot/syslinux/ls.c32
  2654227       20 -rw-------   1  root     root           19784 Dec  7 13:24 /mnt/boot/syslinux/chain.c32
  2654228      280 -rw-------   1  root     root          278552 Dec  7 13:24 /mnt/boot/syslinux/hdt.c32

jsmeix commented at 2020-12-09 08:40:

Still works with two more backups so now the syslinux boot menue is
(linux-h9wr is the hostname and the sub-menue labels are shown indented here):

Recovery images
linux-h9wr
    ReaRbackup backup
    ReaRbackup backup - AUTOMATIC RECOVER
    ReaRbackup2 backup
    ReaRbackup2 backup - AUTOMATIC RECOVER
    ReaRbackup3 backup
    ReaRbackup3 backup - AUTOMATIC RECOVER
    ReaRbackup4 backup
    ReaRbackup4 backup - AUTOMATIC RECOVER
    Back
Other actions
Help for Relax-and-Recover
Boot First local disk (hd0)
Boot Second local disk (hd1)
Boot BIOS disk (0x81)
Boot Next device
Hardware Detection tool
Reboot system
Power off system

The USB disk usage is

# df -h /dev/sdb1
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1       115G   42G   67G  39% /mnt

Recently changed files on the USB disk are

# find /mnt -type f -ls | grep 'Dec  8'
  4620293      4 -rw-------   1  root     root          682 Dec  8 15:32 /mnt/rear/syslinux.cfg
  4620316   333560 -rw-r--r--   1  root     root       341224858 Dec  8 15:32 /mnt/rear/linux-h9wr/ReaRbackup4/initrd.cgz
  4620319 10565364 -rw-------   1  root     root     10808358966 Dec  8 16:00 /mnt/rear/linux-h9wr/ReaRbackup4/backup.tar.gz
  4620320    24956 -rw-------   1  root     root        25518754 Dec  8 16:00 /mnt/rear/linux-h9wr/ReaRbackup4/backup.log
  4620314        4 -rw-------   1  root     root             927 Dec  8 15:32 /mnt/rear/linux-h9wr/ReaRbackup4/syslinux.cfg
  4620317     1768 -rw-------   1  root     root         1803619 Dec  8 15:32 /mnt/rear/linux-h9wr/ReaRbackup4/rear-linux-h9wr.log
  4620309   333564 -rw-r--r--   1  root     root       341227521 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/initrd.cgz
  4620312 10553488 -rw-------   1  root     root     10796205992 Dec  8 12:45 /mnt/rear/linux-h9wr/ReaRbackup3/backup.tar.gz
  4620313    24884 -rw-------   1  root     root        25446956 Dec  8 12:45 /mnt/rear/linux-h9wr/ReaRbackup3/backup.log
  4620307        4 -rw-------   1  root     root             927 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/syslinux.cfg
  4620310     1768 -rw-------   1  root     root         1802701 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/rear-linux-h9wr.log
  7159810        0 -rw-------   1  root     root               0 Dec  8 15:32 /mnt/linux-h9wr/.lockfile
  2654225        4 -rw-------   1  root     root             961 Dec  8 15:32 /mnt/boot/syslinux/rear.help
  2654229     1188 -rw-------   1  root     root         1210506 Dec  8 15:32 /mnt/boot/syslinux/pci.ids
  2654211        4 -rw-------   1  root     root             267 Dec  8 15:32 /mnt/boot/syslinux/message
  2654212        4 -rw-------   1  root     root            1892 Dec  8 15:32 /mnt/boot/syslinux/extlinux.conf

All files on the USB disk are

# find /mnt -type f -ls
  4620293      4 -rw-------   1  root     root          682 Dec  8 15:32 /mnt/rear/syslinux.cfg
  4620295 333580 -rw-r--r--   1  root     root     341244047 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/initrd.cgz
  4620298 10613808 -rw-------   1  root     root     10857915440 Dec  7 13:53 /mnt/rear/linux-h9wr/ReaRbackup/backup.tar.gz
  4620299    25232 -rw-------   1  root     root        25802343 Dec  7 13:53 /mnt/rear/linux-h9wr/ReaRbackup/backup.log
  4620292        4 -rw-------   1  root     root             915 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/syslinux.cfg
  4620296     1768 -rw-------   1  root     root         1803961 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/rear-linux-h9wr.log
  4620294     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup/kernel
  4620302   333564 -rw-r--r--   1  root     root       341228652 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/initrd.cgz
  4620305 10521884 -rw-------   1  root     root     10763876597 Dec  7 14:51 /mnt/rear/linux-h9wr/ReaRbackup2/backup.tar.gz
  4620306    24672 -rw-------   1  root     root        25228789 Dec  7 14:51 /mnt/rear/linux-h9wr/ReaRbackup2/backup.log
  4620300        4 -rw-------   1  root     root             927 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/syslinux.cfg
  4620303     1764 -rw-------   1  root     root         1801783 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/rear-linux-h9wr.log
  4620301     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup2/kernel
  4620316   333560 -rw-r--r--   1  root     root       341224858 Dec  8 15:32 /mnt/rear/linux-h9wr/ReaRbackup4/initrd.cgz
  4620319 10565364 -rw-------   1  root     root     10808358966 Dec  8 16:00 /mnt/rear/linux-h9wr/ReaRbackup4/backup.tar.gz
  4620320    24956 -rw-------   1  root     root        25518754 Dec  8 16:00 /mnt/rear/linux-h9wr/ReaRbackup4/backup.log
  4620314        4 -rw-------   1  root     root             927 Dec  8 15:32 /mnt/rear/linux-h9wr/ReaRbackup4/syslinux.cfg
  4620317     1768 -rw-------   1  root     root         1803619 Dec  8 15:32 /mnt/rear/linux-h9wr/ReaRbackup4/rear-linux-h9wr.log
  4620315     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup4/kernel
  4620309   333564 -rw-r--r--   1  root     root       341227521 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/initrd.cgz
  4620312 10553488 -rw-------   1  root     root     10796205992 Dec  8 12:45 /mnt/rear/linux-h9wr/ReaRbackup3/backup.tar.gz
  4620313    24884 -rw-------   1  root     root        25446956 Dec  8 12:45 /mnt/rear/linux-h9wr/ReaRbackup3/backup.log
  4620307        4 -rw-------   1  root     root             927 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/syslinux.cfg
  4620310     1768 -rw-------   1  root     root         1802701 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/rear-linux-h9wr.log
  4620308     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup3/kernel
  7159810        0 -rw-------   1  root     root               0 Dec  8 15:32 /mnt/linux-h9wr/.lockfile
  2654225        4 -rw-------   1  root     root             961 Dec  8 15:32 /mnt/boot/syslinux/rear.help
  2654229     1188 -rw-------   1  root     root         1210506 Dec  8 15:32 /mnt/boot/syslinux/pci.ids
  2654214        8 -rw-------   1  root     root            4712 Dec  7 13:24 /mnt/boot/syslinux/config.c32
  2654231        4 -rw-------   1  root     root             239 Dec  7 13:24 /mnt/boot/syslinux/poweroff.com
  2654218        8 -rw-------   1  root     root            4440 Dec  7 13:24 /mnt/boot/syslinux/host.c32
  2654219        8 -rw-------   1  root     root            5276 Dec  7 13:24 /mnt/boot/syslinux/kbdmap.c32
  2654230        4 -rw-------   1  root     root             812 Dec  7 13:24 /mnt/boot/syslinux/reboot.c32
  2654215        4 -rw-------   1  root     root             832 Dec  7 13:24 /mnt/boot/syslinux/cmd.c32
  2654216        8 -rw-------   1  root     root            5468 Dec  7 13:24 /mnt/boot/syslinux/cpuid.c32
  2654211        4 -rw-------   1  root     root             267 Dec  8 15:32 /mnt/boot/syslinux/message
  2654223       40 -rw-------   1  root     root           40088 Dec  7 13:24 /mnt/boot/syslinux/sysdump.c32
  2654213        8 -rw-------   1  root     root            5824 Dec  7 13:24 /mnt/boot/syslinux/cat.c32
  2654222       24 -rw-------   1  root     root           21492 Dec  7 13:24 /mnt/boot/syslinux/rosh.c32
  2654232       32 -r--------   1  root     root           32256 Dec  7 13:24 /mnt/boot/syslinux/ldlinux.sys
  2654217        8 -rw-------   1  root     root            5344 Dec  7 13:24 /mnt/boot/syslinux/disk.c32
  2654212        4 -rw-------   1  root     root            1892 Dec  8 15:32 /mnt/boot/syslinux/extlinux.conf
  2654221      240 -rw-------   1  root     root          241412 Dec  7 13:24 /mnt/boot/syslinux/lua.c32
  2654226       60 -rw-------   1  root     root           54388 Dec  7 13:24 /mnt/boot/syslinux/menu.c32
  2654224      156 -rw-------   1  root     root          151740 Dec  7 13:24 /mnt/boot/syslinux/vesamenu.c32
  2654220       12 -rw-------   1  root     root            9428 Dec  7 13:24 /mnt/boot/syslinux/ls.c32
  2654227       20 -rw-------   1  root     root           19784 Dec  7 13:24 /mnt/boot/syslinux/chain.c32
  2654228      280 -rw-------   1  root     root          278552 Dec  7 13:24 /mnt/boot/syslinux/hdt.c32

jsmeix commented at 2020-12-10 12:30:

Still works with two more backups so now the syslinux boot menue is
(linux-h9wr is the hostname and the sub-menue labels are shown indented here):

Recovery images
linux-h9wr
    ReaRbackup backup
    ReaRbackup backup - AUTOMATIC RECOVER
    ReaRbackup2 backup
    ReaRbackup2 backup - AUTOMATIC RECOVER
    ReaRbackup3 backup
    ReaRbackup3 backup - AUTOMATIC RECOVER
    ReaRbackup4 backup
    ReaRbackup4 backup - AUTOMATIC RECOVER
    ReaRbackup5 backup
    ReaRbackup5 backup - AUTOMATIC RECOVER
    ReaRbackup6 backup
    ReaRbackup6 backup - AUTOMATIC RECOVER
    Back
Other actions
Help for Relax-and-Recover
Boot First local disk (hd0)
Boot Second local disk (hd1)
Boot BIOS disk (0x81)
Boot Next device
Hardware Detection tool
Reboot system
Power off system

The USB disk usage is

# df -h /dev/sdb1
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1       115G   63G   46G  58% /mnt

Recently changed files on the USB disk are

# find /mnt -type f -ls | grep 'Dec  9'
  4620293      4 -rw-------   1  root     root          790 Dec  9 15:19 /mnt/rear/syslinux.cfg
  4620323   333568 -rw-r--r--   1  root     root       341232798 Dec  9 14:16 /mnt/rear/linux-h9wr/ReaRbackup5/initrd.cgz
  4620326 10571188 -rw-------   1  root     root     10814315856 Dec  9 14:43 /mnt/rear/linux-h9wr/ReaRbackup5/backup.tar.gz
  4620327    24992 -rw-------   1  root     root        25556403 Dec  9 14:43 /mnt/rear/linux-h9wr/ReaRbackup5/backup.log
  4620321        4 -rw-------   1  root     root             927 Dec  9 14:16 /mnt/rear/linux-h9wr/ReaRbackup5/syslinux.cfg
  4620324     1780 -rw-------   1  root     root         1815064 Dec  9 14:16 /mnt/rear/linux-h9wr/ReaRbackup5/rear-linux-h9wr.log
  4620316   333560 -rw-r--r--   1  root     root       341223580 Dec  9 09:43 /mnt/rear/linux-h9wr/ReaRbackup4/initrd.cgz
  4620319 10549212 -rw-------   1  root     root     10791835906 Dec  9 10:12 /mnt/rear/linux-h9wr/ReaRbackup4/backup.tar.gz
  4620320    24840 -rw-------   1  root     root        25400939 Dec  9 10:12 /mnt/rear/linux-h9wr/ReaRbackup4/backup.log
  4620314        4 -rw-------   1  root     root             927 Dec  9 09:43 /mnt/rear/linux-h9wr/ReaRbackup4/syslinux.cfg
  4620317     1776 -rw-------   1  root     root         1813937 Dec  9 09:43 /mnt/rear/linux-h9wr/ReaRbackup4/rear-linux-h9wr.log
  4620330   333536 -rw-r--r--   1  root     root       341200768 Dec  9 15:19 /mnt/rear/linux-h9wr/ReaRbackup6/initrd.cgz
  4620333 10577212 -rw-------   1  root     root     10820480177 Dec  9 15:45 /mnt/rear/linux-h9wr/ReaRbackup6/backup.tar.gz
  4620334    25036 -rw-------   1  root     root        25602919 Dec  9 15:45 /mnt/rear/linux-h9wr/ReaRbackup6/backup.log
  4620328        4 -rw-------   1  root     root             927 Dec  9 15:19 /mnt/rear/linux-h9wr/ReaRbackup6/syslinux.cfg
  4620331       84 -rw-------   1  root     root           78623 Dec  9 15:19 /mnt/rear/linux-h9wr/ReaRbackup6/rear-linux-h9wr.log
  7159810        0 -rw-------   1  root     root               0 Dec  9 15:19 /mnt/linux-h9wr/.lockfile
  2654225        4 -rw-------   1  root     root             961 Dec  9 15:19 /mnt/boot/syslinux/rear.help
  2654229     1188 -rw-------   1  root     root         1210506 Dec  9 15:19 /mnt/boot/syslinux/pci.ids
  2654211        4 -rw-------   1  root     root             267 Dec  9 15:19 /mnt/boot/syslinux/message
  2654212        4 -rw-------   1  root     root            1892 Dec  9 15:19 /mnt/boot/syslinux/extlinux.conf

It contains /mnt/rear/linux-h9wr/ReaRbackup4/ because accidentally
I had re-done the one with USB_SUFFIX="ReaRbackup4" in etc/rear/local.conf
again on Dec 9. so the existing one that I had done on Dec. 8. was overwritten
(i.e. I had forgotten to adapt USB_SUFFIX="ReaRbackup..." before).

All files on the USB disk are

# find /mnt -type f -ls
  4620293      4 -rw-------   1  root     root          790 Dec  9 15:19 /mnt/rear/syslinux.cfg
  4620295 333580 -rw-r--r--   1  root     root     341244047 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/initrd.cgz
  4620298 10613808 -rw-------   1  root     root     10857915440 Dec  7 13:53 /mnt/rear/linux-h9wr/ReaRbackup/backup.tar.gz
  4620299    25232 -rw-------   1  root     root        25802343 Dec  7 13:53 /mnt/rear/linux-h9wr/ReaRbackup/backup.log
  4620292        4 -rw-------   1  root     root             915 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/syslinux.cfg
  4620296     1768 -rw-------   1  root     root         1803961 Dec  7 13:24 /mnt/rear/linux-h9wr/ReaRbackup/rear-linux-h9wr.log
  4620294     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup/kernel
  4620323   333568 -rw-r--r--   1  root     root       341232798 Dec  9 14:16 /mnt/rear/linux-h9wr/ReaRbackup5/initrd.cgz
  4620326 10571188 -rw-------   1  root     root     10814315856 Dec  9 14:43 /mnt/rear/linux-h9wr/ReaRbackup5/backup.tar.gz
  4620327    24992 -rw-------   1  root     root        25556403 Dec  9 14:43 /mnt/rear/linux-h9wr/ReaRbackup5/backup.log
  4620321        4 -rw-------   1  root     root             927 Dec  9 14:16 /mnt/rear/linux-h9wr/ReaRbackup5/syslinux.cfg
  4620324     1780 -rw-------   1  root     root         1815064 Dec  9 14:16 /mnt/rear/linux-h9wr/ReaRbackup5/rear-linux-h9wr.log
  4620322     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup5/kernel
  4620302   333564 -rw-r--r--   1  root     root       341228652 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/initrd.cgz
  4620305 10521884 -rw-------   1  root     root     10763876597 Dec  7 14:51 /mnt/rear/linux-h9wr/ReaRbackup2/backup.tar.gz
  4620306    24672 -rw-------   1  root     root        25228789 Dec  7 14:51 /mnt/rear/linux-h9wr/ReaRbackup2/backup.log
  4620300        4 -rw-------   1  root     root             927 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/syslinux.cfg
  4620303     1764 -rw-------   1  root     root         1801783 Dec  7 14:24 /mnt/rear/linux-h9wr/ReaRbackup2/rear-linux-h9wr.log
  4620301     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup2/kernel
  4620316   333560 -rw-r--r--   1  root     root       341223580 Dec  9 09:43 /mnt/rear/linux-h9wr/ReaRbackup4/initrd.cgz
  4620319 10549212 -rw-------   1  root     root     10791835906 Dec  9 10:12 /mnt/rear/linux-h9wr/ReaRbackup4/backup.tar.gz
  4620320    24840 -rw-------   1  root     root        25400939 Dec  9 10:12 /mnt/rear/linux-h9wr/ReaRbackup4/backup.log
  4620314        4 -rw-------   1  root     root             927 Dec  9 09:43 /mnt/rear/linux-h9wr/ReaRbackup4/syslinux.cfg
  4620317     1776 -rw-------   1  root     root         1813937 Dec  9 09:43 /mnt/rear/linux-h9wr/ReaRbackup4/rear-linux-h9wr.log
  4620315     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup4/kernel
  4620330   333536 -rw-r--r--   1  root     root       341200768 Dec  9 15:19 /mnt/rear/linux-h9wr/ReaRbackup6/initrd.cgz
  4620333 10577212 -rw-------   1  root     root     10820480177 Dec  9 15:45 /mnt/rear/linux-h9wr/ReaRbackup6/backup.tar.gz
  4620334    25036 -rw-------   1  root     root        25602919 Dec  9 15:45 /mnt/rear/linux-h9wr/ReaRbackup6/backup.log
  4620328        4 -rw-------   1  root     root             927 Dec  9 15:19 /mnt/rear/linux-h9wr/ReaRbackup6/syslinux.cfg
  4620331       84 -rw-------   1  root     root           78623 Dec  9 15:19 /mnt/rear/linux-h9wr/ReaRbackup6/rear-linux-h9wr.log
  4620329     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup6/kernel
  4620309   333564 -rw-r--r--   1  root     root       341227521 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/initrd.cgz
  4620312 10553488 -rw-------   1  root     root     10796205992 Dec  8 12:45 /mnt/rear/linux-h9wr/ReaRbackup3/backup.tar.gz
  4620313    24884 -rw-------   1  root     root        25446956 Dec  8 12:45 /mnt/rear/linux-h9wr/ReaRbackup3/backup.log
  4620307        4 -rw-------   1  root     root             927 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/syslinux.cfg
  4620310     1768 -rw-------   1  root     root         1802701 Dec  8 12:16 /mnt/rear/linux-h9wr/ReaRbackup3/rear-linux-h9wr.log
  4620308     8844 -rw-r--r--   1  root     root         9035952 Dec  5 09:58 /mnt/rear/linux-h9wr/ReaRbackup3/kernel
  7159810        0 -rw-------   1  root     root               0 Dec  9 15:19 /mnt/linux-h9wr/.lockfile
  2654225        4 -rw-------   1  root     root             961 Dec  9 15:19 /mnt/boot/syslinux/rear.help
  2654229     1188 -rw-------   1  root     root         1210506 Dec  9 15:19 /mnt/boot/syslinux/pci.ids
  2654214        8 -rw-------   1  root     root            4712 Dec  7 13:24 /mnt/boot/syslinux/config.c32
  2654231        4 -rw-------   1  root     root             239 Dec  7 13:24 /mnt/boot/syslinux/poweroff.com
  2654218        8 -rw-------   1  root     root            4440 Dec  7 13:24 /mnt/boot/syslinux/host.c32
  2654219        8 -rw-------   1  root     root            5276 Dec  7 13:24 /mnt/boot/syslinux/kbdmap.c32
  2654230        4 -rw-------   1  root     root             812 Dec  7 13:24 /mnt/boot/syslinux/reboot.c32
  2654215        4 -rw-------   1  root     root             832 Dec  7 13:24 /mnt/boot/syslinux/cmd.c32
  2654216        8 -rw-------   1  root     root            5468 Dec  7 13:24 /mnt/boot/syslinux/cpuid.c32
  2654211        4 -rw-------   1  root     root             267 Dec  9 15:19 /mnt/boot/syslinux/message
  2654223       40 -rw-------   1  root     root           40088 Dec  7 13:24 /mnt/boot/syslinux/sysdump.c32
  2654213        8 -rw-------   1  root     root            5824 Dec  7 13:24 /mnt/boot/syslinux/cat.c32
  2654222       24 -rw-------   1  root     root           21492 Dec  7 13:24 /mnt/boot/syslinux/rosh.c32
  2654232       32 -r--------   1  root     root           32256 Dec  7 13:24 /mnt/boot/syslinux/ldlinux.sys
  2654217        8 -rw-------   1  root     root            5344 Dec  7 13:24 /mnt/boot/syslinux/disk.c32
  2654212        4 -rw-------   1  root     root            1892 Dec  9 15:19 /mnt/boot/syslinux/extlinux.conf
  2654221      240 -rw-------   1  root     root          241412 Dec  7 13:24 /mnt/boot/syslinux/lua.c32
  2654226       60 -rw-------   1  root     root           54388 Dec  7 13:24 /mnt/boot/syslinux/menu.c32
  2654224      156 -rw-------   1  root     root          151740 Dec  7 13:24 /mnt/boot/syslinux/vesamenu.c32
  2654220       12 -rw-------   1  root     root            9428 Dec  7 13:24 /mnt/boot/syslinux/ls.c32
  2654227       20 -rw-------   1  root     root           19784 Dec  7 13:24 /mnt/boot/syslinux/chain.c32
  2654228      280 -rw-------   1  root     root          278552 Dec  7 13:24 /mnt/boot/syslinux/hdt.c32

github-actions commented at 2021-02-09 01:59:

Stale issue message


[Export of Github issue for rear/rear.]