Page 1 of 1
image from one raspberry to another
Posted: Wed Dec 09, 2015 3:06 pm
by mnipgaard
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
Re: image from one raspberry to another
Posted: Wed Dec 09, 2015 5:53 pm
by hansotten
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?
Re: image from one raspberry to another
Posted: Wed Dec 09, 2015 5:54 pm
by drgeoff
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.
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 7:49 am
by mnipgaard
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
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 7:57 am
by RaTTuS
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
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 9:15 am
by mnipgaard
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
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 9:18 am
by fruitoftheloom
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...
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 9:19 am
by rpdom
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.
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 9:22 am
by fruitoftheloom
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....
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 10:34 am
by mnipgaard
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
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 12:37 pm
by drgeoff
RPi2s have a different version of ARM CPU than all other RPis. That is why it needs a different kernel.
Re: image from one raspberry to another
Posted: Thu Dec 10, 2015 1:50 pm
by mnipgaard
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