Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Advanced users • Re: Image File Utilities

$
0
0
Trying to make an image backup from a 32GB SD card (mmcblk0p1) to an empty 225GB SSD (formatted to FAT32), (sda2, mounted in /mnt/usb1) with

Code:

pi@raspberrypi-OpenCPN:~/bin $ sudo ./image-backup
the program starts up, asks for 'Image file to create?', and I enter /mnt/usb1/backup.img
and it then asks 'Initial image file ROOT filesystem size MB [18530]?' I leave blank and press 'Enter",
then it asks 'Added space... etc..' which I also ignore and press 'Enter',
then 'Create /mnt/usb1/backup.img (y/n)?' I press 'y' but then an error message:

Code:

truncate: shortening of '/mnt/usb1/backup.img' on 19698548736 bytes fails: file too largeUnable to create image file
What did I do wrong, and how to do it correctly please?

Statistics: Posted by Erik84750 — Tue Jan 07, 2025 6:02 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles