Comments (8)
While I can somehow understand people trying advertising their own solutions in every conceivable situation, I would like to ask commenters here to refrain from further sales pitches. My issue is directed at rpi-clone which works just fine, thank you.
To bring this issue discussion to a sensible, technical level instead of sales pitching: the number of places where mmcblk0
is used is limited. For partitions it's the stem mmcblk0p
plus partition number or stem sda
plus partition number. No rocket science here. Nothing that couldn't be handled in the form of devicestem+partdesig+partno. For mSD: devicestem mmcblk0
, partdesig p
; while for other block device names the partdesig will be simply empty "".
from rpi-clone.
Support for the new Raspi3 feature you're asking for, to boot from USB only, is available in raspiBackup. Just give it a try.
from rpi-clone.
@thediveo Pffft - I'm a contributer to rpi-clone too. As @framps says - there are other free tools out there that can do what you need now. Pardon me for trying to be helpful...
Look at the pull request history & commit history for rpi-clone and you will find that it moves quite slowly, you'll likely be waiting a while for this feature to be added.
from rpi-clone.
@thediveo I've removed the hardwired mmcblk0 and rpi-clone should now work from your booted USB disk. The booted disk should be automatically determined from /etc/mtab, but if that doesn't work for some reason, there is a command line option for source disk as you mentioned. Hopefully you won't need to use that and running rpi-clone will just work with usage as before.
from rpi-clone.
This is quite a big change, so it may be a while before it's made. The source device is referenced at several points in the rpiclone script and has some implicit assumptions about partition identifiers - which may be different for your device.
ClonePi which performs a similar function to rpiclone, but extends it in a number of ways to be more flexible can be found here...
https://github.com/SpoddyCoder/clonepi
... this allows the block device and partition identifiers can be specified in conf. I haven't tested your specific use case, but it should work.
from rpi-clone.
Looks like you didn't follow the link: raspiBackup is OpenSource and free as rpi-clone is. I thought I do you a favor pointing to raspiBackup which supports the feature you asked for. Instead you want to use rpi-clone and wait for somebody to add this support to rpi-clone. Maybe this guy can grab some code from raspiBackup to speed up the implementation. It took me a while to get this feature implemented and in particular tested.
Frankly I wouldn't have created raspiBackup if I would have known about this famous rpi-clone when I bought my first Raspi.
@billw2 Please let me know if you have an issue with my comments and I'll delete them.
from rpi-clone.
@billw2 Many thanks for the quick response, this is highly appreciated. So we can use the bug tracker for tracking issues, not as a discussion forum. ;)
from rpi-clone.
Tried the updated script today on a Pi 3B and it works like a charm. Thank you very much!
from rpi-clone.
Related Issues (20)
- rsync errors??
- 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)
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.