[rear-users] can´t format USB Sticke

Johannes Meixner jsmeix at suse.de
Tue Jan 25 11:48:20 CET 2022


Hello

On 2022-01-25 09:16, Tobias Bergmann wrote (excerpts)
> When I try to use rear with SLES15 i´m just getting:
> 
>  rear format /dev/sdi
...
> ERROR: Failed to create vfat filesystem on EFI system partition 
> /dev/sdi1
...
>   /usr/share/rear/format/USB/default/300_format_usb_disk.sh: line 217:
>   mkfs.vfat: command not found
> 
> but the is no mkfs.vfat anymore :-(

on my SLES 15 SP3 I have

# type -a mkfs.vfat
mkfs.vfat is /sbin/mkfs.vfat
mkfs.vfat is /usr/sbin/mkfs.vfat

# file /sbin/mkfs.vfat
/sbin/mkfs.vfat: symbolic link to /usr/sbin/mkfs.vfat

# file /usr/sbin/mkfs.vfat
/usr/sbin/mkfs.vfat: symbolic link to mkfs.fat

# file /usr/sbin/mkfs.fat
/usr/sbin/mkfs.fat: ELF 64-bit LSB shared object, x86-64, ...

# rpm -qf /sbin/mkfs.vfat /usr/sbin/mkfs.vfat /usr/sbin/mkfs.fat
dosfstools-4.1-1.39.x86_64
dosfstools-4.1-1.39.x86_64
dosfstools-4.1-1.39.x86_64

# rpm -e --test dosfstools
error: Failed dependencies:
dosfstools is needed by (installed) udisks2-2.8.1-1.39.x86_64

I got those RPMs installed by default.


Kind Regards
Johannes Meixner
-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5 - 90409 Nuernberg - Germany
(HRB 36809, AG Nuernberg) GF: Ivo Totev


More information about the rear-users mailing list