Comments (7)
I believe I installed from a NOOBS setup so this would be really useful.
from rpi-clone.
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.
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.
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.
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.
@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.
from rpi-clone.
Related Issues (20)
- Is it possible de restore a clone ? HOT 2
- grub problem
- Feature request: Do not fully use target drive
- SDA partitions created then not found -> abort HOT 34
- Rpi-clone on Debian 12 HOT 6
- sys-clone fails to mount cloned sd card on subsequent sync HOT 10
- I opened a separate issue for this here [https://github.com/billw2/rpi-clone/issues/163](url)
- Use a symbolic link instead of copy to /usr/local/sbin/..
- FATAL: partition mismatch HOT 1
- Problem on Orange Pi 3B, Debian Bookworm cloning from /dev/mmcblk0 to /dev/mvme0n1 HOT 6
- official rpios bookworm issue HOT 172
- RPi5 HOT 3
- Destination Disk Label with Space
- Q: clone to USB Flash Stick for backup; how to restore? HOT 3
- nuc and rpi-clone HOT 1
- Unable to boot after cloning from SD to SSD HOT 5
- rpiclone does not handle copying from microsd to ssd pcie 2.0 nvme raspberry pi5 HOT 1
- A friendly fork of rpi-clone (updated for modern Pi) HOT 3
- Date of clone is not available in log file (solution included)
- My rPi SD Card that I attempted to Clone won't boot anymore HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi-clone.