Code Monkey home page Code Monkey logo

Comments (8)

thediveo avatar thediveo commented on June 17, 2024 2

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.

framps avatar framps commented on June 17, 2024 1

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.

SpoddyCoder avatar SpoddyCoder commented on June 17, 2024 1

@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.

billw2 avatar billw2 commented on June 17, 2024 1

@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.

SpoddyCoder avatar SpoddyCoder commented on June 17, 2024

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.

framps avatar framps commented on June 17, 2024

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.

thediveo avatar thediveo commented on June 17, 2024

@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.

thediveo avatar thediveo commented on June 17, 2024

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)

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.