mnipgaard
Posts: 5
Joined: Wed Dec 09, 2015 2:39 pm

image from one raspberry to another

Wed Dec 09, 2015 3:06 pm

Hi Forum

I'm trying to make an image from an raspbian to use in several raspberry PI's.
But it seems that the image can only be used in the same raspberry that it came from ??
I use win32diskimager, to make my image. Which works fine when I use the original Raspberry.
I guess something is written on the sdcard (image), from the original PI.
can someone give a hint how to do this ??

Thanks
Michael

User avatar
hansotten
Posts: 341
Joined: Fri Jul 13, 2012 6:01 am
Contact: Website

Re: image from one raspberry to another

Wed Dec 09, 2015 5:53 pm

I am not aware of something Pi specific in Raspbian preventing cloning except the name of the machine will be identical, which may confuse bonjour/zeroconf.

Did you install samba? Another name conflict perhaps.

How did you clone?
http://duinorasp.hansotten.com for Raspberry Pi and Arduino and ESP8266
http://retro.hansotten.nl for retrocomputing with the 6502 cpu

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: image from one raspberry to another

Wed Dec 09, 2015 5:54 pm

Images made from cards that work in old RPis do not always work in newer RPis.

Does the original card that you are imaging from work in the other RPis?

If not you should update the card in the RPI that it does work in before making an image.

If yes you may be encountering the problem that cards are labelled with their nominal size. The actual size of every card tends to be different. Even cards from the same batch from the same manufacturer may not be exactly the same size. So your image may be too large for the cards.

mnipgaard
Posts: 5
Joined: Wed Dec 09, 2015 2:39 pm

Re: image from one raspberry to another

Thu Dec 10, 2015 7:49 am

Thanks for your reply's

I used win32diskimage to make the image.
I only have two RPI's.
When I take the sd-card from the one RPI and insert it in to the the other RPI, the RPI dose not boot, it only shows the rainbow screen.

/Michael

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: image from one raspberry to another

Thu Dec 10, 2015 7:57 am

is this raspbian ?
are the sd card exactly the same size [not nominal]
is the old Pi an older version of the hardware
.
as you have a backup take one of those put it in the old pi and
sudo apt-get update && sudo apt-get upgrade -y
then shutdown
and try in new pi

does a new raspbian as downloaded today and installed on one of the cards work in the new PI
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

mnipgaard
Posts: 5
Joined: Wed Dec 09, 2015 2:39 pm

Re: image from one raspberry to another

Thu Dec 10, 2015 9:15 am

I just tried to update and upgrade everything.
But the same thing happends.
The sd-cards are the same size, but not he same manufacture.
But both sd-cards work in the original RPI with the image I made.
One thing I haven't thought of before now is that the original RPI is an "RPI model B v1.2"
and the other RPI is an "RPI2 model B v1.1."
Could that be the problem??

/Michael

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: image from one raspberry to another

Thu Dec 10, 2015 9:18 am

mnipgaard wrote:I just tried to update and upgrade everything.
But the same thing happends.
The sd-cards are the same size, but not he same manufacture.
But both sd-cards work in the original RPI with the image I made.
One thing I haven't thought of before now is that the original RPI is an "RPI model B v1.2"
and the other RPI is an "RPI2 model B v1.1."
Could that be the problem??

/Michael
Could be if you have not fully upgrade & dist-upgrade as was already mentioned...
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
rpdom
Posts: 17170
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: image from one raspberry to another

Thu Dec 10, 2015 9:19 am

If the card was installed using NOOBS then there are some additional steps you need to do in order to update the software so it will work on the Pi2.

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: image from one raspberry to another

Thu Dec 10, 2015 9:22 am

rpdom wrote:If the card was installed using NOOBS then there are some additional steps you need to do in order to update the software so it will work on the Pi2.
Yep could forgeting the stupid NOBS dance, good reason not to use it....
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

mnipgaard
Posts: 5
Joined: Wed Dec 09, 2015 2:39 pm

Re: image from one raspberry to another

Thu Dec 10, 2015 10:34 am

No NOOB's here. only Raspbian.
I just tried to do a clean install on the new RPI and I found a secong Kernel.img file called "Kernel7.img"
I copied this to the old img and now I can boot.
But now I have some troubles mounting.Error stating "mount error: cifs filesystem not supported by the system"
I am right now doing an update/upgrade which is taking some time.
I will get back with an update.

But for the main issue I solved it by copying Kernel7.img to the old image.

/Michael

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: image from one raspberry to another

Thu Dec 10, 2015 12:37 pm

RPi2s have a different version of ARM CPU than all other RPis. That is why it needs a different kernel.

mnipgaard
Posts: 5
Joined: Wed Dec 09, 2015 2:39 pm

Re: image from one raspberry to another

Thu Dec 10, 2015 1:50 pm

Yes. I got it working.
Thanks for all your reply's

To summon up.
I installed an raw raspbian on the new RPI.
I copied the kernel7.img onto the original SD card.
I then booted the new RPI up with the original SD card, ran an RPI-update.
Rebooted.
And everything is running on the new RPI and the old RPI with same sd card.
Now I can mass distribute my img. *<:0)

/Michael

Return to “Troubleshooting”