rpi-clone icon indicating copy to clipboard operation
rpi-clone copied to clipboard

Missing 'boot' partition, and 'recovery' partition contains 'boot' content with NOOBS 1.3.4

Open bhamail opened this issue 11 years ago • 4 comments

I've just made a few attempts at running rpi-clone. The image I was cloning is Raspian from NOOBS 1.3.4. I used -f to force a new SDCard to be partitioned. No errors are printed during the process. I am running the latest script directly from a github clone.

When done, the new SDCard has only one partition, named 'RECOVERY' (1.5G) and it contains the files from the original SDCard that were in the partition named 'BOOT'. The new card has no partition named 'BOOT'. Not surprising this new SDCard does not boot either. Anybody else seeing this? Thanks!

Original card: 'RECOVERY', FAT32, 1.45gb - files: recovery.img, ... 'BOOT', FAT32, 61.9mb - files: config.txt, ...

New card: 'RECOVERY', FAT32, 1.45gb - file: config.txt (this is wrong, these are the 'boot' dir files). (missing 'BOOT' partition)

bhamail avatar Feb 08 '14 01:02 bhamail

I am not sure how I am included on this email thread. But it appears NOOBS with this tool doesn't work. I had the same issue. It assumes two portions. The raspbian imaged work fine as test with Jan build.

Saman

Sent from my iPhone

On Feb 7, 2014, at 8:07 PM, Dan Rollo [email protected] wrote:

I've just made a few attempts at running rpi-clone. The image I was cloning is Raspian from NOOBS 1.3.4. I used -f to force a new SDCard to be partitioned. No errors are printed during the process. I am running the latest script directly from a github clone.

When done, the new SDCard has only one partition, named 'RECOVERY' (1.5G) and it contains the files from the original SDCard that were in the partition named 'BOOT'. The new card has no partition named 'BOOT'. Not surprising this new SDCard does not boot either. Anybody else seeing this? Thanks!

Original card: 'RECOVERY', FAT32, 1.45gb - files: recovery.img, ... 'BOOT', FAT32, 61.9mb - files: config.txt, ...

New card: 'RECOVERY', FAT32, 1.45gb - file: config.txt (this is wrong, these are the 'boot' dir files). (missing 'BOOT' partition)

— Reply to this email directly or view it on GitHub.

samighi avatar Feb 08 '14 01:02 samighi

I have the same problem.

I see lots of posts on how to clone to a smaller SD card for Raspbian, but I can't find anything for an SD where Rasbian was installed from NOOBS.

I don't understand what all the partitions are, which one(s) to resize etc--I think that's the key. I guess I'll try harder to figure that out rather than keep searching for a detailed "how to"

davthomaspilot avatar Jul 08 '14 00:07 davthomaspilot

I am not sure how to properly reply to this (or why I am getting these emails) However

this rpi-clone script assumes the basic two partitions and not based on NOOBS. And it is intended to build from SD card to SD card of similar size. You can go from an 8 GB to 4 GB if it fits.

i have taken a copy of this to enhance it, but it is too complicated to touch. It is strictly intended to make SD to SD image for raw image install. /boot with FAT16 and / with EXT 4 file system.

I hope that someone can enhance it to allow NOOBS live backup and copy. If anyone is interested, I can provide help and testing. I just don't have the PARTED expertise to do what this script does.

I have reduced the rsync (core command) to below. it build a clone /boot directory, mounts it in /mtn/clone and copies your whole SD card over to the new SD card. I have my own version that copies this to a another Raspi with a 500 GB HD, so I can save multiple images. However the reverse build process is not ready yet .

rsync --force -rltWDEgoptv --delete --exclude .gvfs --exclude /dev --exclude /media --exclude /mnt --exclude /proc --exclude /run --exclude /sys --exclude /tmp --exclude lost+found // /mnt/clone

Anyone interested, please keep in touch. Saman

On Jul 7, 2014, at 8:31 PM, davthomaspilot [email protected] wrote:

I have the same problem.

I see lots of posts on how to clone to a smaller SD card for Raspbian, but I can't find anything for an SD where Rasbian was installed from NOOBS.

I don't understand what all the partitions are, which one(s) to resize etc--I think that's the key. I guess I'll try harder to figure that out rather than keep searching for a detailed "how to"

— Reply to this email directly or view it on GitHub.

V

samighi avatar Jul 08 '14 13:07 samighi

@bhamail @samighi @davthomaspilot rpi-clone doesn't support NOOBS, so you should expect errors. I have just released a new tool ClonePi that aims to fill the NOOBS gap...

https://github.com/SpoddyCoder/clonepi

SpoddyCoder avatar Jun 19 '17 12:06 SpoddyCoder