I hope you are aware of just how much time you have saved the entire RPi community by researching this topic and making it so accessible. Once again I think your channel is invaluable asset to the RPi community and a real gem. Keep it up!
Merry Christmas I had a issue using gparted to expand a larger retro pi image (256GB to 1TB), I used the following in terminal: sudo raspi-config Select "advanced" Select "expand_rootfs" Then reboot, is also much quicker than using gparted
This is great, BUT, I had issues with Disk-Utility letting me image my mounted SSD I was running from. So I had to use the Raspberry SD copier to copy the SSD image I wanted to save to a blank SD card, then I used PI Power tools to make an image file of the SD card, and shrinking was not needed. Either was I ended up with a relatively small image I could save on my NAS and image back to either an SD card or SSD. Thanks for your video
Just what I was looking for to save the pi image. As someone has already commented above, this video is a saviour if one breaks installed pi os. Thank you for your video 😊😊
For some reason I was getting permission errors etc for creating and shrinking the images. But I just re-installed the OS and then the applications and then everything worked as per the video. Thank you, this will make backing up images easier and smaller.
3 things: 1 - Re-claim your sd, hdd or ssd space with raspi-config / advanced options / expand filesystem, this can be done in a second 2 - Too long filename issue: i personaly think it's a matter of spaced between the filename itself, maybe use " on the beginning and end (see %20 between easy word) 3 - Not everyone has enough space to do this imaging on a raspberry pi, usually people has an sd card of 32 or 64 gigs of space and you cant make an image then, so maybe this is personal but there are other ways to do this better
Brilliant! All those retropie images can be shrunk using this method and we wont have problems with different brand cards that have different space for the same capacity.
I did this one a while ago Backing up an OS Image and convert to Berryboot. Ubuntu Mate download Links. Raspberry Pi 4. th-cam.com/video/uSgYorBltl0/w-d-xo.html
Thanks for your videos Lee, they are great resource. I successfully used this image backup procedure using a nfs drive on my main computer a core i7 running kubuntu. I purchased a pi 400 kit packaged with a pico and electronics kit last week for $160 Australian.
So much better than finding a TB drive to back up one of my TB drives that only had 10GB of systems data on it. So much faster, too. Still waiting to test if raspi-config can expand it back, or to a new size.
Thank you for this, I wonder if it due to spaces in the file names is the issue rather than the length of the file names? I simply refuse to allow spaces in file names if I possibly can avoid it.
It makes things so much easier to be able to store a small image that can be copied quickly instead of storing a 64GB image and waiting for that to write every time... ... ... now I've got to figure out how to shrink the full images already stored on NTFS to shrink existing backups... that the Pi won't do anything but copy.
nice one.. i did wonder whether the sd card reader on pi was available if a boot from usb is done.. thats handy to know... just need to get my usb boot to work now.....
If you're going to be using gparted, anyway, then can't you just shrink the partition manually? I've never seen Pi Power Tools. Thank you for showing it. Is that in the Pi repository or do you have to get it from git hub?
If you shrink the partition then try and save it as an image every method I have tried still saves the image as the same size as the sd card. Pi power tools is installed via Pi apps. Link in the description
Hey thanks w13rdguy for the reply, even tho I was shocked to learn that anyone can send anyone an email message about a video. I figure I would directly talk with lee. But, then again, I'm wrong. A lot of things have changed in 3 months, but your email message actually came at a good time (maybe). Tomorrow I'm getting my cable to connect my ssd to my pi and can't wait to start using it. I hope it works. The other news on the fore front is last night I made up my mind. I've gone from using the 32bit OS to the 64bit OS of raspberry pi (bullseye). I'm not back down from it, as everything that I wanted to do so far is working great! But now I'm hoping powertools will load in for me nicely.
Why is it that NO imager app has Shrink as an option. It is such an obvious option yet no app I can find offers this. SO many times I have tried to restore a 16gb image to a different 16gb card but get the 'insufficient space' error.
if to use windows apps Win32DiskImager, It will automatic Expand the root size for you.. however I'm trying to shrink the root size from this tutorial and will try it out later
I was able to use Pi Power Tools (thanks to you for introducing) to rsync from the active 512GB SD card (I know WAY overkill) to 128GB USB drive (also overkill). Pi Power Tools IMG Mode, SD to IMG rsync'd down to 14GB .img on USB, no extra step to go into Disk and Create a Disk Image. I forgot to time it, but it was faster than Create a Disk Image for the whole process. Let me know your thoughts.
Forgot to mention: Rasp Pi 4B, 8GB RAM, OC 2.0GHz/Ice Tower, running latest EEPROM (stable), latest Rasp Pi OS Full Desktop & OMV 5 (had to unmount NAS drives--prevent NAS drive data from being part of .img). All for the purpose of having an rsync'd backup img.
I wrote pi-safe to easily backup a raspberry pi to an image files right on the pi. I could not find a good tool to do this when I needed to make restore points throughout a homebridge project. www.github.com/richardmidnight/pi-safe. This builds on "sd" by adding a simple gui to make is easy for anyone to use. Peace Richard
Lee, I'm followed your examples to the letter. I kept getting errors when it starts to clone the drive. The errors I get are: Error unmounting /dev/mmcblkOp2: target is busy (udisk-error-quark, 14).
Hey Lee I tried to install PI Powertools this morning and it keep error on me. Cloning into 'Pi-Power-Tools'... cp: cannot stat '/home/pi/Pi-Power-Tools.old/data/imglist': No such file or directory cp: cannot stat '/home/pi/Pi-Power-Tools.old/data/ziplist': No such file or directory
at the 3:09 part where you create the image I'm getting an error: Error unmounting filesystem - Error unmounting /dev/mmcblk0p2: target is busy (udisks-error-quark, 14)
it didn't work :( I'm trying to shrink a 64.1gb img to a 63.9 GB flash drivem but I know there's empty space. I waited all night for it to flash the image and I woke up to an error message and a qr code. so frustrating 😔
github.com/Drewsif/PiShrink github.com/lisanet/PiShrink-macOS PiShrink is a bash script that automatically shrink a pi image that will then resize to the max size of the SD card on boot. This will make putting the image back onto the SD card faster and the shrunk images will compress better. In addition the shrinked image can be compressed with gzip and xz to create an even smaller image. Parallel compression of the image using multiple cores is supported.
wouldn't it be easier to do this with the Linux "dd" and "gzip" commands that you can use on *any* version of Linux or any Pi distribution? I mean learning these commands is more useful than some tools that only exist for the Pi.
I use Pi-safe now. I prefer a gui. Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
What else would be valuable is information on how to backup your retropie LARGE SSD image for example. Win32diskimager for example doesn't seem to work and who wants to buy a 1TB microSD card JUST to be able to back up the SSD from linux itself...lol
Hey, i need help, i saw your video of why xbox controllers dont work, Right now i have an Xbox One Wireless Controller, it does connect to bluetooth, but doesn’t work. Do u have any idea, why?
Your Pi is 64bit, the os you are running is 32bit. Pi Apps is mainly compatible with 32bit Raspberry Pi OS, that’s why I was checking as the Pi can run many different operating systems. Try the Pi Apps Discord. link in this page. github.com/Botspot/pi-apps
Thanks, Pi Safe is also a great way of backing up. Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
At the point near 4:30, I clicked on the 'three bars' to create img. "Error unmounting /dev/mmcblk0p2: target is busy (udisks-error-quark, 14)" Google searches provided some direction but nothing worked. What do you suggest as a next step? Thank-you
Are you picking the os that you are running, or a different os? This is a different method if you can’t get it to work. Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
Tried to you disk to make an image and Pi kept asking me for permission because of a "Authentication is required to unmount EB1QT(/dev/mmcblk0p7) mounted by another user". Once I put in my password, it said "Error unmounting filesystem (Error unmounting /dev/mmcblk0p7: target is busy (udisks-error-quark,14)". Any suggestions?
I was delighted when I stumbled across this excellent video I hoped it was the answer I was looking for. Indeed it most likely is and it is operator error (me!). I was under the impression I could create an img file of the sd card in my Pi Zero W. But when I click the create image I get an error "Error unmounting /dev/mnt/mmcblk0p7:targer is busy (udisks-error-quark, 14)" Please can someone tell me where I'm going wrong,? Many thanks Mike M
Not sure why it’s not working. Here is another method that may work. Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
Thanks for the very quick and helpful response, I will follow up your suggestion. Before doing that I am going to create a master Pi so to speak so that I can create the sd backups in a similar way to you and Richard all within the Pi operating system. I have 8 or so Raspberry Pi rigs and have always have had problems creating backups by whatever means I have attempted to use, Windows10 especially has stitched me up so many times. Finding your and Richard's methods is what I have always thought should be the safest but at the time I could not find the complete packages and explanation that you have put together. Thanks
I am currently stuck. I have my original 256 gb sd card with the OS I want to backup, but I dont have a larger card to back up to. I tried backing up to windows, but I couldnt find a way to shrink it there. I wasn't really planning on going out and buying a 512 or 1tb sd card or usb drive, but is that my only option? I also tried shrinking the partition while booted from another drive, but gparted wont allow me to do this.
Not sure if anything with less storage than the original will work. This is another method to try Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
@@leepspvideo Thanks for your videos! I ended up figuring out a solution. I had a 2tb nvme drive that I am going to be installing into my desktop, but I just happened to have gotten my geekworkx1002 bottom hat yesterday... so I am using that temporarily. It was large enough to backup my pi, shrink the image, and then I used it to enlarge the partition to the full size of the new 64gb sd card... Now my omada network has its controller again! next step is pi-hole!
I am getting repeatedly- "Authentication required to unmount 00000(/dev/mmcblk0p2)mounted by another user" even after I provide the password. FYI, I have OMV running on this pi. Could this be an issue? Please Assist.
I’m not sure You could Try this Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
I followed your video and installed pi power tools, but When i try to drag my image file from the desktop to pi power tools i Can NOT do that. The program do NOT accept the file. What have i missed?. Is it something about permissions ?. /michael
Are you using Raspberry Pi OS 32bit? Have you shrunk the file name? If it’s still not working try Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
To add to my previous post. To use "sd read" to automatically make an image file, simply put your sd card in a USB card reader in your RPi. Then in terminal type in "sd read sda newimage.zip" to automatically create an image file that is shrunk and zipped and automatically resizes when written to an sd card. - Best Regards.
help please, no matter which sd card or usb i use. it always shows error allocating space for disk image file; no space left on device. when i started ceating disk img. thanks for help. i tried to format sd card or usb to fat32 or ext4, still the same error message. thanks
Thank you for your channel! A few years ago, I needed to create copies of a Raspberry Pi card throughout steps of a project to create restore points. I created a script file which easily creates and restores image files right on the RPi (this was before the Raspberry Pi Imager). I just posted it to github. Search github for RichardMidnight. Goto the "sd" repository. Here is a link if I can post it: github.com/RichardMidnight/sd. If they add "create image" to Raspberry Pi Imager, this will be unnecessary, but it is really handy now! - Best regards.
Heeeelp! Please can someone help. I am new to Raspberry Pi and have just invested in a Pi4b and was following this tutorial to create a disk image but every time I get to 4:17 in the video and put my password in I get: "Error unmounting /dev/mmcblk0p2: target is busy (udisks-error-quark, 14)" 'mmcblk0p2' being my boot SD card I am trying to image. I have tried a couple of reboots but still the errors persists. Can anyone tell me how fix this problem please without my having to go into a command prompt and start messing about with commands and folders I do not feel confident with? Thanks in advance.
@@roberthopgood1894 try this Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices. th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html What is are you backing up? Windows and Android didn’t work last time I tried
I hope you are aware of just how much time you have saved the entire RPi community by researching this topic and making it so accessible. Once again I think your channel is invaluable asset to the RPi community and a real gem. Keep it up!
I totally agree. This is the hardest working youtuber when it comes to Raspberry Pi. I admire the guy.
Completely agree. I've lost count of how many of Lee's ideas I've used to improve how my pi's run.
instablaster...
You deserve a Novel prize in Pi sd back up. Here I award you one.
Merry Christmas
I had a issue using gparted to expand a larger retro pi image (256GB to 1TB), I used the following in terminal:
sudo raspi-config
Select "advanced"
Select "expand_rootfs"
Then reboot, is also much quicker than using gparted
This is great, BUT, I had issues with Disk-Utility letting me image my mounted SSD I was running from. So I had to use the Raspberry SD copier to copy the SSD image I wanted to save to a blank SD card, then I used PI Power tools to make an image file of the SD card, and shrinking was not needed. Either was I ended up with a relatively small image I could save on my NAS and image back to either an SD card or SSD. Thanks for your video
Just what I was looking for to save the pi image. As someone has already commented above, this video is a saviour if one breaks installed pi os. Thank you for your video 😊😊
For some reason I was getting permission errors etc for creating and shrinking the images. But I just re-installed the OS and then the applications and then everything worked as per the video. Thank you, this will make backing up images easier and smaller.
3 things:
1 - Re-claim your sd, hdd or ssd space with raspi-config / advanced options / expand filesystem, this can be done in a second
2 - Too long filename issue: i personaly think it's a matter of spaced between the filename itself, maybe use " on the beginning and end (see %20 between easy word)
3 - Not everyone has enough space to do this imaging on a raspberry pi, usually people has an sd card of 32 or 64 gigs of space and you cant make an image then, so maybe this is personal but there are other ways to do this better
Thank you so much for the most useful video I've seen in months from anyone. I was so sick of hearing "use windoze" for a solution. Thank You!
Brilliant! All those retropie images can be shrunk using this method and we wont have problems with different brand cards that have different space for the same capacity.
Brilliant !!! thank you very much . been looking for a way to do this .....
you know you are becoming the "go to guy " for us ordinary pi users .
Perfect timing as I was just looking into this and watching old videos. Gonna use this to create custom images for BerryBoot.
I did this one a while ago
Backing up an OS Image and convert to Berryboot. Ubuntu Mate download Links. Raspberry Pi 4.
th-cam.com/video/uSgYorBltl0/w-d-xo.html
Thanks for your videos Lee, they are great resource. I successfully used this image backup procedure using a nfs drive on my main computer a core i7 running kubuntu. I purchased a pi 400 kit packaged with a pico and electronics kit last week for $160 Australian.
Now to check if the Raspi-Config utility can expand the /root partition. Many Thanks for finding these utilities!
So much better than finding a TB drive to back up one of my TB drives that only had 10GB of systems data on it. So much faster, too. Still waiting to test if raspi-config can expand it back, or to a new size.
That is so much simpler, thanks again,and have a great Christmas.
Thank you for this, I wonder if it due to spaces in the file names is the issue rather than the length of the file names? I simply refuse to allow spaces in file names if I possibly can avoid it.
It makes things so much easier to be able to store a small image that can be copied quickly instead of storing a 64GB image and waiting for that to write every time... ... ... now I've got to figure out how to shrink the full images already stored on NTFS to shrink existing backups... that the Pi won't do anything but copy.
github.com/Drewsif/PiShrink
This is great! Thanks for the info. Is there any way to script this? I would love to do this on a schedule with a cron job.
nice one.. i did wonder whether the sd card reader on pi was available if a boot from usb is done.. thats handy to know... just need to get my usb boot to work now.....
EXCELLENT, so much easier than the previous video !
Thanks a LOT for keeping up the effort, especially through the "Holidays" such as they are.
Simplicity at its finest. Thank you so much.
Lots of good stuff here. I need to absorb all of it! Tomorrow's task.
Merry Christmas Lee!
If you're going to be using gparted, anyway, then can't you just shrink the partition manually?
I've never seen Pi Power Tools. Thank you for showing it. Is that in the Pi repository or do you have to get it from git hub?
If you shrink the partition then try and save it as an image every method I have tried still saves the image as the same size as the sd card.
Pi power tools is installed via Pi apps. Link in the description
great vid soeasy to backup all isos ,
on another note do you have a workaround getting a equalizer with some dsp type presets that work on pi 400
Merry Christmas!
MERRY CHRISTMAS DOWN UNDER FROM USA! Keep up the good videos!
Brilliant, thanks Lee, just what I was looking for.
Hey thanks w13rdguy for the reply, even tho I was shocked to learn that anyone can send anyone an email message about a video. I figure I would directly talk with lee. But, then again, I'm wrong. A lot of things have changed in 3 months, but your email message actually came at a good time (maybe). Tomorrow I'm getting my cable to connect my ssd to my pi and can't wait to start using it. I hope it works. The other news on the fore front is last night I made up my mind. I've gone from using the 32bit OS to the 64bit OS of raspberry pi (bullseye). I'm not back down from it, as everything that I wanted to do so far is working great! But now I'm hoping powertools will load in for me nicely.
Wish I had seen this last week
Thanks for working out a simple solution.
Great video 👍
Merry Christmas 🎅 🎄
Hi. Awesome video! 👍 Thank you!
Why is it that NO imager app has Shrink as an option. It is such an obvious option yet no app I can find offers this. SO many times I have tried to restore a 16gb image to a different 16gb card but get the 'insufficient space' error.
if to use windows apps Win32DiskImager, It will automatic Expand the root size for you.. however I'm trying to shrink the root size from this tutorial and will try it out later
I was able to use Pi Power Tools (thanks to you for introducing) to rsync from the active 512GB SD card (I know WAY overkill) to 128GB USB drive (also overkill). Pi Power Tools IMG Mode, SD to IMG rsync'd down to 14GB .img on USB, no extra step to go into Disk and Create a Disk Image. I forgot to time it, but it was faster than Create a Disk Image for the whole process. Let me know your thoughts.
Forgot to mention: Rasp Pi 4B, 8GB RAM, OC 2.0GHz/Ice Tower, running latest EEPROM (stable), latest Rasp Pi OS Full Desktop & OMV 5 (had to unmount NAS drives--prevent NAS drive data from being part of .img). All for the purpose of having an rsync'd backup img.
I loved the video!!! THANK YOU!!!!
I wrote pi-safe to easily backup a raspberry pi to an image files right on the pi.
I could not find a good tool to do this when I needed to make restore points throughout a homebridge project.
www.github.com/richardmidnight/pi-safe. This builds on "sd" by adding a simple gui to make is easy for anyone to use.
Peace Richard
Thanks a lot !!! Very nice video !!!
Lee, I'm followed your examples to the letter. I kept getting errors when it starts to clone the drive. The errors I get are: Error unmounting /dev/mmcblkOp2: target is busy (udisk-error-quark, 14).
Here is an alternative
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
Hey Lee I tried to install PI Powertools this morning and it keep error on me. Cloning into 'Pi-Power-Tools'...
cp: cannot stat '/home/pi/Pi-Power-Tools.old/data/imglist': No such file or directory
cp: cannot stat '/home/pi/Pi-Power-Tools.old/data/ziplist': No such file or directory
Are you using Raspberry pi os 32bit?
Similar issue, I "finded" it in file manager and double-clicked it. "Execute in terminal" option, worked well.
*Buster lite, 10/21
Outstanding research!
at the 3:09 part where you create the image I'm getting an error: Error unmounting filesystem - Error unmounting /dev/mmcblk0p2: target is busy (udisks-error-quark, 14)
This is an excellent video. Thank you.
Merry Christmas
I haven't tried it just yet.. still on step 1 but I have high hopes 🤞
it didn't work :( I'm trying to shrink a 64.1gb img to a 63.9 GB flash drivem but I know there's empty space. I waited all night for it to flash the image and I woke up to an error message and a qr code. so frustrating 😔
Are you sure it has to do with the filename length? I guess it more likely is the "space" or "%20" in the filename. Anyways, thank you very much :)
github.com/Drewsif/PiShrink github.com/lisanet/PiShrink-macOS PiShrink is a bash script that automatically shrink a pi image that will then resize to the max size of the SD card on boot. This will make putting the image back onto the SD card faster and the shrunk images will compress better. In addition the shrinked image can be compressed with gzip and xz to create an even smaller image. Parallel compression of the image using multiple cores is supported.
Thanks for sharing !
wouldn't it be easier to do this with the Linux "dd" and "gzip" commands that you can use on *any* version of Linux or any Pi distribution? I mean learning these commands is more useful than some tools that only exist for the Pi.
I use Pi-safe now. I prefer a gui.
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
What else would be valuable is information on how to backup your retropie LARGE SSD image for example. Win32diskimager for example doesn't seem to work and who wants to buy a 1TB microSD card JUST to be able to back up the SSD from linux itself...lol
Thanks for sharing.
Good work 👍👍 lee
Hey, i need help, i saw your video of why xbox controllers dont work, Right now i have an Xbox One Wireless Controller, it does connect to bluetooth, but doesn’t work. Do u have any idea, why?
I use an xbox 360 controller. Its more compatible.
Try searching TH-cam for
“Xbox one raspberry pi”
Great. Thank you
Lee, I'm not sure which my Pi is 32 or 64 Bit. I do know that the image I use for the OS is 32 bit. Where would I find out this info?
Your Pi is 64bit, the os you are running is 32bit.
Pi Apps is mainly compatible with 32bit Raspberry Pi OS, that’s why I was checking as the Pi can run many different operating systems. Try the Pi Apps Discord. link in this page.
github.com/Botspot/pi-apps
Dude, RPi community should recognise this video, what is the YT algo doing.
Thanks, Pi Safe is also a great way of backing up.
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
At the point near 4:30, I clicked on the 'three bars' to create img. "Error unmounting /dev/mmcblk0p2: target is busy (udisks-error-quark, 14)" Google searches provided some direction but nothing worked. What do you suggest as a next step? Thank-you
Are you picking the os that you are running, or a different os?
This is a different method if you can’t get it to work.
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
I was trying to image the running os
@@larrygundy5739 that’s what I thought.
Tried to you disk to make an image and Pi kept asking me for permission because of a "Authentication is required to unmount EB1QT(/dev/mmcblk0p7) mounted by another user". Once I put in my password, it said "Error unmounting filesystem (Error unmounting /dev/mmcblk0p7: target is busy (udisks-error-quark,14)". Any suggestions?
Try this alternative
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
after you make the file name shorter and shrink it - can you then rename it something longer? (to have the name better show what the img file is of?)
Yes or put it in a named folder
Will solution shown work with RPi OS 64 bit too?
I was delighted when I stumbled across this excellent video I hoped it was the answer I was looking for. Indeed it most likely is and it is operator error (me!). I was under the impression I could create an img file of the sd card in my Pi Zero W. But when I click the create image I get an error "Error unmounting /dev/mnt/mmcblk0p7:targer is busy (udisks-error-quark, 14)" Please can someone tell me where I'm going wrong,? Many thanks Mike M
Not sure why it’s not working. Here is another method that may work.
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
Thanks for the very quick and helpful response, I will follow up your suggestion. Before doing that I am going to create a master Pi so to speak so that I can create the sd backups in a similar way to you and Richard all within the Pi operating system. I have 8 or so Raspberry Pi rigs and have always have had problems creating backups by whatever means I have attempted to use, Windows10 especially has stitched me up so many times. Finding your and Richard's methods is what I have always thought should be the safest but at the time I could not find the complete packages and explanation that you have put together. Thanks
I am currently stuck. I have my original 256 gb sd card with the OS I want to backup, but I dont have a larger card to back up to. I tried backing up to windows, but I couldnt find a way to shrink it there. I wasn't really planning on going out and buying a 512 or 1tb sd card or usb drive, but is that my only option? I also tried shrinking the partition while booted from another drive, but gparted wont allow me to do this.
Not sure if anything with less storage than the original will work. This is another method to try
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
@@leepspvideo Thanks for your videos! I ended up figuring out a solution. I had a 2tb nvme drive that I am going to be installing into my desktop, but I just happened to have gotten my geekworkx1002 bottom hat yesterday... so I am using that temporarily. It was large enough to backup my pi, shrink the image, and then I used it to enlarge the partition to the full size of the new 64gb sd card... Now my omada network has its controller again! next step is pi-hole!
Take your like Bro!!!
I am getting repeatedly- "Authentication required to unmount 00000(/dev/mmcblk0p2)mounted by another user" even after I provide the password. FYI, I have OMV running on this pi. Could this be an issue? Please Assist.
I’m not sure
You could Try this
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
I followed your video and installed pi power tools, but When i try to drag my image file from the desktop to pi power tools i Can NOT do that.
The program do NOT accept the file.
What have i missed?. Is it something about permissions ?.
/michael
Are you using Raspberry Pi OS 32bit?
Have you shrunk the file name?
If it’s still not working try
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
@@leepspvideo I am using twister os and the problem seems to be the thunar filemanager. If I use pcmanfm it works....
But thanks for your suggestions
To add to my previous post. To use "sd read" to automatically make an image file, simply put your sd card in a USB card reader in your RPi. Then in terminal type in "sd read sda newimage.zip" to automatically create an image file that is shrunk and zipped and automatically resizes when written to an sd card. - Best Regards.
Hi, Great Video Lee! Does anyone know where to find the SD Read utility, sounds perfect being able to shrink on the fly? Thanks.
help please, no matter which sd card or usb i use. it always shows error allocating space for disk image file; no space left on device. when i started ceating disk img. thanks for help.
i tried to format sd card or usb to fat32 or ext4, still the same error message. thanks
I use Pi-safe now
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
@@leepspvideo thank you i will give it a try.
Error creating disk image: Not authorized to perform operation (udisks-error-quark, 4)
Try this alternative
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
Can't get this to work. When I click on create disk image i get the options but never get asked for a password and the progress bar get stays at 0
What OS are you using?
buster.
I thought you couldn’t create an image using gnome disk utility on a mounted partition.
Thank you for your channel! A few years ago, I needed to create copies of a Raspberry Pi card throughout steps of a project to create restore points. I created a script file which easily creates and restores image files right on the RPi (this was before the Raspberry Pi Imager). I just posted it to github. Search github for RichardMidnight. Goto the "sd" repository. Here is a link if I can post it: github.com/RichardMidnight/sd. If they add "create image" to Raspberry Pi Imager, this will be unnecessary, but it is really handy now! - Best regards.
Heeeelp! Please can someone help. I am new to Raspberry Pi and have just invested in a Pi4b and was following this tutorial to create a disk image but every time I get to 4:17 in the video and put my password in I get:
"Error unmounting /dev/mmcblk0p2: target is busy (udisks-error-quark, 14)"
'mmcblk0p2' being my boot SD card I am trying to image. I have tried a couple of reboots but still the errors persists.
Can anyone tell me how fix this problem please without my having to go into a command prompt and start messing about with commands and folders I do not feel confident with?
Thanks in advance.
Try this other method
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
Hey Leeps I can't find raspbian xp pro any where. If you have a copy could you send it to me via email?
It’s not mine to share.
@@leepspvideo ok i get it imicrosoft nuked all the links. do you know whos it is to share?
@@bypabon. just use TwisterOS. It has the XP theme included with more updated software. It’s a lot better.
Thank you. Really appreciate the help.👍
each time i made image of my pi sdcard & restored
it would NOT boot
@@roberthopgood1894 try this
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
What is are you backing up? Windows and Android didn’t work last time I tried
ok i tried your stuff but i keep getting errors or problems about space
Here is another method
Pi-Safe. Raspberry Pi 4 / Pi 400. Backup, Shrink and Restore SD cards and USB devices.
th-cam.com/video/XP6ycUR9Ih0/w-d-xo.html
I vote we rename you Dr Pi
How about on a headless?
I prefer a gui
2:52 (uninstalled) Test your internet speed from a terminal!
I don't understand what you mean!?
Click on Pi power tools then install.
Look up partclone and just image the partition and not the whole drive. en.wikipedia.org/wiki/Partclone
sudo apt install rpi-imager
Lee can you try the usb c hut to run windows 10 on the rpi400
Why try to run a virus on the RPi 400
ANY app that does NOT use LONG FILE NAMES is garbage
Merry Christmas!!