Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read-only file? #32

Open
robustini opened this issue Nov 4, 2016 · 2 comments
Open

Read-only file? #32

robustini opened this issue Nov 4, 2016 · 2 comments

Comments

@robustini
Copy link

robustini commented Nov 4, 2016

I try the latest version of your script and i've a lot of error during the cloning.
I execute the script as root:

Starting the filesystem rsync to sda
(This may take several minutes)...rsync: write failed on "/mnt/clone/usr/bin/git-upload-pack": Read-only file system (30)

Another if i use "-f" option:

rsync: chown "/mnt/clone/boot/bootcode.bin" failed: Operation not permitted (1)

rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [sender=3.1.1]
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) [generator=3.1.1]
./rpi-clone: line 494: /mnt/clone//var/log/rpi-clone.log: No such file or directory

@robustini
Copy link
Author

robustini commented Nov 5, 2016

For help you in a possible debug this simply manual step work fine here:

http://sysmatt.blogspot.it/2014/08/backup-restore-customize-and-clone-your.html

The important switch for rsync imho is this one, it doesn't use "dd" for clone both the partition:

rsync -av --one-file-system / /boot /tmp/newpi/

@SpoddyCoder
Copy link
Contributor

Hi @robustini - this issue should be resolved by the 1.6 release, please download & install latest rpi-clone. If this fixes your issue, please click close thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants