Hi,

I've been trying to back up a Pi installation using a tool called image-utils 
(written by a contributor to the Pi Forums).  This tool backs up the running 
system and writes the image to a specified destination.  I've used it many 
times before but I recently had an issue because my image file was bigger than 
the 4 GB limit on FAT32.  I was advised by the author to format the stick with 
ext2.

This I have done, but can no longer mount the stick on the Pi.  Initially I 
thought that the problem was due to ownership and permissions; formatting 
creates a partition owned by root.  I've now changed ownership and permissions 
on the stick (labelled Backup) to:

drwxrwxrwx  3 terry terry 4096 Nov 28 13:04 Backup

using my PC.  However, I still get an issue when I plug the stick into the Pi.  
 
Having created the directory /media/usb/ on the Pi, I do: 

pi@minster-music:~ $ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Nov 28 13:05 5183463e-4eee-4e13-99c2-f0871ad6d8b8 -> 
../../sda1
lrwxrwxrwx 1 root root 15 Nov 28 11:10 568caafd-bab1-46cb-921b-cd257b61f505 -> 
../../mmcblk0p2
lrwxrwxrwx 1 root root 15 Nov 28 11:10 C839-E506 -> ../../mmcblk0p1

then I do:

pi@minster-music:~ $ sudo mount /dev/sda1 /media/usb/ -o uid=pi,gid=pi
mount: /media/usb: wrong fs type, bad option, bad superblock on /dev/sda1, 
missing codepage or helper program, or other error.

As you can see, the Pi doesn't like this.

This procedure works if I use a FAT32 Stick.

What have I mised?


-- 



                Terry Coles



-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-12-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to