Code Monkey home page Code Monkey logo

Comments (7)

scargill avatar scargill commented on June 17, 2024

I believe I installed from a NOOBS setup so this would be really useful.

from rpi-clone.

Jeppedy avatar Jeppedy commented on June 17, 2024

I didn't understand Linux partitioning and file system usage. But I did some research and it made sense. Basically:

  • create two partitions on the new SD card
  • 'cp' the contents of each partition, the boot and the root partitions, to the new card
  • CRITICAL! Edit the boot files and fstab to reflect the new partition numbers. (Other references to this process on the web don't mention this)

All Done!

(See elsewhere on web for specifics for each step. I'd recommend creating a fresh non-NOOBS card for a clean reference as you do this.)

On Apr 6, 2015, at 17:44, scargill [email protected] wrote:

I believe I installed from a NOOBS setup so this would be really useful.


Reply to this email directly or view it on GitHub.

from rpi-clone.

samighi avatar samighi commented on June 17, 2024

If I understand it, the original and this copy both copy only two partitions. I have tried to modify it for NOOBS, but it is more complicated due to size issues. 4gb to 8gb or 8gb to 4gb rsync process.

The NOOBSs installs 3 or more partitions. If I remember right it creates 6 partions.

I am surprised no one has updated this for NOOBS. I use this for raspian all the time. It is the only way to ensure accurate copies while the system is operational. Also, keeps refreshing easy.

from rpi-clone.

jproehl avatar jproehl commented on June 17, 2024

So I'm puzzled. I installed Raspian from the NOOBS distribution and chose to try the rpi-clone route to duplicate the filesystem. I did so, because I wanted to get the image off of a 16Gb MicroSD card and put it on an 8Gb one. Will this script work in its current form?

I actually started the script before posting this message and I am wondering how long it should take for an 868mb filesystem? It's been working for about 3 hours + and I have no idea if it's hung or just grinding along. I started with a blank (just purchased) MicroSD card and got the warning about needing to initialize the disk (/dev/sda1), which I told it to do. The last message printed was:

Imaging the partition structure, copying 868 megabytes ...

Any way to tell if it's hung or working??

Thanks!

from rpi-clone.

samighi avatar samighi commented on June 17, 2024

See other posts. rpi-clone doesn’t work work with NOOBS. Having said that, there are several other factors that would take a long time.

rpi-clone uses rsync. using control+t might give you a status like dd does.
it only excludes sda sdb and a few others, so if you have a lot of drives attached, it will try to copy them also. I had to exclude sde, sdf for example. Change this line
OPTIONAL_MNT_DIRS="clone mnt sda sdb rpi0 rpi1"
the other factor is your card reader or your SD card. i have seen a factor of 4x 6x difference between SD class 4 and class 10+. Also some card readers are super slow. 20 min+ for 4 GB, but 3 hours for your file seems like a lot.
Since it uses rsync, unless it has bad blocks on the destination, I am not sure what else could be wrong. if you cancel (control-c) add v to this list, you will see what it is doing

SYNC_OPTIONS="--force -rltWDEgopt"

On Apr 16, 2015, at 1:01 AM, jproehl [email protected] wrote:

So I'm puzzled. I installed Raspian from the NOOBS distribution and chose to try the rpi-clone route to duplicate the filesystem. I did so, because I wanted to get the image off of a 16Gb MicroSD card and put it on an 8Gb one. Will this script work in its current form?

I actually started the script before posting this message and I am wondering how long it should take for an 868mb filesystem? It's been working for about 3 hours + and I have no idea if it's hung or just grinding along. I started with a blank (just purchased) MicroSD card and got the warning about needing to initialize the disk (/dev/sda1), which I told it to do. The last message printed was:

Imaging the partition structure, copying 868 megabytes ...

Any way to tell if it's hung or working??

Thanks!


Reply to this email directly or view it on GitHub #12 (comment).

from rpi-clone.

SpoddyCoder avatar SpoddyCoder commented on June 17, 2024

@Jeppedy @scargill @samighi not intended as a competitor - I hope to keep contributing to rpi-clone core functionality - but I've just released a new tool called ClonePi tool which supports NOOBS multi-partition setups...

https://github.com/SpoddyCoder/clonepi

from rpi-clone.

samighi avatar samighi commented on June 17, 2024

from rpi-clone.

Related Issues (20)

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.