Giter Club home page Giter Club logo

Comments (15)

tom-2015 avatar tom-2015 commented on June 19, 2024 1

Sorry, maybe try to swap -d and -p parameter imgclone -p -d <imagename>.img

from imgclone.

tom-2015 avatar tom-2015 commented on June 19, 2024

Depends on the access speed of your SD card, destination card, Raspberry Pi version and maybe other programs running on the Pi.

from imgclone.

Mikem124 avatar Mikem124 commented on June 19, 2024

from imgclone.

tom-2015 avatar tom-2015 commented on June 19, 2024

It is not as simple as 64Gb/66.3Mb because after creating the .img file it runs a file copy command. This means all files will be copied individually, each file generates overhead because it needs to be created / space assigned in the new file system. If you have a lot of small files there will be more overhead than the actual copying takes. Some USB drives/SD cards are more optimized for copying large files like photos and movies. But I must admit 4h for a 16GB card is quite long.

If you want high speed, remove the card use something like dd or Win32Diskimager.

from imgclone.

Mikem124 avatar Mikem124 commented on June 19, 2024

from imgclone.

tom-2015 avatar tom-2015 commented on June 19, 2024

Never had any problems with Win32Diskimager when reading a card.
You could also try CloneDisk if you don't like the Win32Diskimager.

from imgclone.

Nikhchan avatar Nikhchan commented on June 19, 2024

I am sitting here at 4:43 AM Copying an 8gb sd card to a USB drive. Its been over 3:30 hours. Can II just stop it in the middle? just shutdown?

from imgclone.

tom-2015 avatar tom-2015 commented on June 19, 2024

Yes you can stop and shutdown but the image will just not be complete.

from imgclone.

Nikhchan avatar Nikhchan commented on June 19, 2024

Yes you can stop and shutdown but the image will just not be complete.

Thanks I did that. May be it has to do with the non-discript Chinese sd card I got along with my Genesis flash cart.

from imgclone.

LahaLuhem avatar LahaLuhem commented on June 19, 2024

Not the most elegant solution, but if you have a rough estimate of your current file-system size, you van keep running clear && df -h continuously. You'll see the 'Used space' change continuously for your plugged in device, and check that against the file-system size from before.

from imgclone.

tom-2015 avatar tom-2015 commented on June 19, 2024

That's what the -p command line parameter does automatically to show copy progress.

from imgclone.

LahaLuhem avatar LahaLuhem commented on June 19, 2024

That's what the -p command line parameter does automatically to show copy progress.

I tried running imgclone -dp <imagename>.img with a sudo vairant and separating the flags, but it didn't work for me that way
Is it that the flags are to be used separately (as in -p instead of -d)?

from imgclone.

tom-2015 avatar tom-2015 commented on June 19, 2024

Yes, like imgclone -d -p <imagename>.img

from imgclone.

LahaLuhem avatar LahaLuhem commented on June 19, 2024

Yes, like imgclone -d -p <imagename>.img

I tried imgclone -d -p test.img (while in /media//<drive_name>), but I get a Invalid argument test.img error.

Should I make a new issue instead?

from imgclone.

LahaLuhem avatar LahaLuhem commented on June 19, 2024

Sorry, maybe try to swap -d and -p parameter imgclone -p -d <imagename>.img

Yes, this was accepted!

from imgclone.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.