8000 Cannot make USB recovery stick · Issue #3470 · rear/rear · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot make USB recovery stick #3470
Open
@nomiSFI

Description

@nomiSFI

ReaR version

2.6

Describe the ReaR bug in detail

/dev/sda is my 8 GB USB stick, formatted as FAT32:

lsblk:
sda                   8:0    1   7,3G  0 disk 
└─sda1                8:1    1   7,3G  0 part 
nvme0n1             259:0    0   1,8T  0 disk 
└─nvme0n1p1         259:1    0   1,8T  0 part 
  ├─mint--vg-root   253:0    0   1,8T  0 lvm  /
  └─mint--vg-swap_1 253:1    0  15,9G  0 lvm  [SWAP]

ReaR local.conf contains:
OUTPUT=USB
USB_DEVICE=/dev/sda1 (also tried with /dev/sda)

rear -D mkrescue throws:

ERROR: 
====================
BUG in /usr/share/rear/output/USB/Linux-i386/850_make_USB_bootable.sh line 40:
'Filesystem for device '/dev/sda1' could not be found'
--------------------
Please report this issue at https://github.com/rear/rear/issues
and include the relevant parts from /var/log/rear/rear-Boudreaux.log
preferably with full debug information via 'rear -D mkrescue'
====================
Some latest log messages since the last called script 850_make_USB_bootable.sh:
  2025-05-07 23:30:22.293487504 Including output/USB/Linux-i386/850_make_USB_bootable.sh
  2025-05-07 23:30:22.297611675 Entering debugscript mode via 'set -x'.
Aborting due to an error, check /var/log/rear/rear-Boudreaux.log for details
Exiting rear mkrescue (PID 176840) and its descendant processes ...
Running exit tasks
You should also rm -Rf /tmp/rear.xAPc8CW2grQfelI
Beendet
[WARNING] Backup file not found at: 
[ERROR] ReaR backup failed with exit code 143.
(same errors above when I used /dev/sda)

var/log/rear/rear-Boudreaux.log: (same errors when I used /dev/sda)
++ name=/dev/sda1
++ add_dependency /dev/sda1 /dev/sda
++ echo '/dev/sda1 /dev/sda'
++ add_component /dev/sda1 part
++ echo 'todo /dev/sda1 part'
+++ [[ /dev/sda1 = \s\w\a\p\:\/\d\e\v\/\m\a\p\p\e\r\/\m\i\n\t\-\-\v\g\-\s\w\a\p\_\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\i\n\t\-\-\v\g\-\s\w\a\p\_\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\m\i\n\t\-\v\g ]]
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\n\v\m\e\0\n\1\p\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\n\v\m\e\0\n\1\p\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\n\v\m\e\0\n\1 ]]
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\i\n\t\-\-\v\g\-\r\o\o\t ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\m\i\n\t\-\v\g ]]
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\n\v\m\e\0\n\1\p\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\n\v\m\e\0\n\1\p\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\n\v\m\e\0\n\1 ]]
+++ IsInArray /dev/sda1
+++ current=/dev/sda1
+++ echo /dev/sda1
++ Debug 'Marking /dev/sda1 as done (dependent on /dev/sda)'
++ Log 'Marking /dev/sda1 as done (dependent on /dev/sda)'
++ echo '2025-05-07 23:28:29.847772255 Marking /dev/sda1 as done (dependent on /dev/sda)'
2025-05-07 23:28:29.847772255 Marking /dev/sda1 as done (dependent on /dev/sda)
++ mark_as_done /dev/sda1
++ Debug 'Marking /dev/sda1 as done.'
++ Log 'Marking /dev/sda1 as done.'
++ echo '2025-05-07 23:28:29.849342583 Marking /dev/sda1 as done.'
2025-05-07 23:28:29.849342583 Marking /dev/sda1 as done.
++ sed -i 's;todo\ /dev/sda1\ ;done\ /dev/sda1\ ;' /var/lib/rear/layout/disktodo.conf
+++ grep '^/dev/sda1 ' /var/lib/rear/layout/diskdeps.conf
+++ [[ /dev/sda1 = \f\s\:\/ ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\m\a\p\p\e\r\/\m\i\n\t\-\-\v\g\-\r\o\o\t ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\m\i\n\t\-\v\g ]]
+++ [[ /dev/sda1 = \p\v\:\/\d\e\v\/\n\v\m\e\0\n\1\p\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\n\v\m\e\0\n\1\p\1 ]]
+++ [[ /dev/sda1 = \/\d\e\v\/\n\v\m\e\0\n\1 ]]
++++ USB_DEVICE=/dev/sda1
++ '[' /dev/sda -a /dev/sda1 ']'
+++ grep -E '^/dev/sda1 |^/dev/sda1 ' /proc/mounts
++ BugError 'Filesystem for device '\''/dev/sda1'\'' could not be found'
'\''Filesystem for device '\''/dev/sda1'\'' could not be found'\''
'\''Filesystem for device '\''/dev/sda1'\'' could not be found'\''
'\''Filesystem for device '\''/dev/sda1'\'' could not be found'\''
'\''Filesystem for device '\''/dev/sda1'\'' could not be found'\''
'Filesystem for device '/dev/sda1' could not be found'
'\''Filesystem for device '\''/dev/sda1'\'' could not be found'\''
'\''Filesystem for device '\''/dev/sda1'\'' could not be found'\''

Best regards
Frank

Platform

Linux x64

OS version

NAME="Linux Mint"
VERSION="21.3 (Virginia)" ID=linuxmint ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.3" VERSION_ID="21.3"
HOME_URL="https://www.linuxmint.com/" SUPPORT_URL="https://forums.linuxmint.com/" BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/" PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=virginia UBUNTU_CODENAME=jammy

Backup

No response

Storage layout

No response

What steps will reproduce the bug?

rear -D mkrescue

Workaround, if any

No valid workaround found.

Additional information

Tried to create an USB recovery stick since neither OUTPUT=ISO nor OUTPUT=PXE worked with iVentoy IPXE server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    old versionThe issue concerns an old version and could potentially be resolved via an upgrade of ReaRsupport / question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0