Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Migration from Rpi1 -> Rpi2
7th Jul, 2017, 04:26 AM
Post: #1
Migration from Rpi1 -> Rpi2
Having seen that this should now work I tried it today.

I took a microSD and flashed the pi1 backup to it, placed it in a SD adaptor and tested it in Pi1 - No problem. It worked as expected. I removed from /boot/config.txt all the cpu/memory clock speeds and also the mpeg licence.

I placed the microSD into a Pi2 and it seems to get stuck in the boot process. The activity light flickers a little and then it just sits there. Huh I have no screen attached so can't see how far it got, maybe try again tomorrow.....

Is there something else I need to do, or is this not possible with Xbian image?

Thanks.
Find all posts by this user
Quote this message in a reply
7th Jul, 2017, 05:39 AM
Post: #2
RE: Migration from Rpi1 -> Rpi2
(7th Jul, 2017 04:26 AM)Skywatch Wrote:  Having seen that this should now work I tried it today.

I took a microSD and flashed the pi1 backup to it, placed it in a SD adaptor and tested it in Pi1 - No problem. It worked as expected. I removed from /boot/config.txt all the cpu/memory clock speeds and also the mpeg licence.

You do not have to remove/change mpeg license. Up to 8 comma separated licenses can be put there (I have three configured Smile)

Quote:I placed the microSD into a Pi2 and it seems to get stuck in the boot process. The activity light flickers a little and then it just sits there. Huh I have no screen attached so can't see how far it got, maybe try again tomorrow.....

Is there something else I need to do, or is this not possible with Xbian image?

Yes / No Big Grin

I did this when I bought first RPi2 (about two years ago), was too lazy to configure everything from scratch Tongue. But you have to install Kernel for RPi2 when card is still plugged in a RPi1, because kernel built for RPi1 does NOT support RPi2/3 and vice versa.
Find all posts by this user
Quote this message in a reply
19th Jul, 2017, 06:22 PM
Post: #3
RE: Migration from Rpi1 -> Rpi2
Thanks for the helpful info. Sorry for delay in replying, been in bed with a bad back.

As for the update to pi2, it sounds like a recipe for disaster based on my previous luck, so will leave it a while until I have more time to look into it. Maybe in a month or two..... Smile
Find all posts by this user
Quote this message in a reply
20th Jul, 2017, 04:34 AM
Post: #4
RE: Migration from Rpi1 -> Rpi2
(19th Jul, 2017 06:22 PM)Skywatch Wrote:  Thanks for the helpful info. Sorry for delay in replying, been in bed with a bad back.

Oops, does not sound good Sad

Quote:As for the update to pi2, it sounds like a recipe for disaster based on my previous luck, so will leave it a while until I have more time to look into it. Maybe in a month or two..... Smile

Ok, so you know what you have to do then ...
Find all posts by this user
Quote this message in a reply
20th Jul, 2017, 06:56 PM
Post: #5
RE: Migration from Rpi1 -> Rpi2
(20th Jul, 2017 04:34 AM)Nachteule Wrote:  Ok, so you know what you have to do then ...

Yes / No Tongue

In theory it looks simple. Power up Pi1, install pi2 kernel, power down and move card to pi2.

In practice I need to do more research and then check in with what I think the process is before I do it and make a mess of things.
It's a new learning curve for me, that's going to do me some good I hope. As a hint, is the kernel for pi2 in xbian github, or where?
Find all posts by this user
Quote this message in a reply
24th Jul, 2017, 07:53 PM (This post was last modified: 24th Jul, 2017 10:24 PM by Nachteule.)
Post: #6
RE: Migration from Rpi1 -> Rpi2
(20th Jul, 2017 06:56 PM)Skywatch Wrote:  
(20th Jul, 2017 04:34 AM)Nachteule Wrote:  Ok, so you know what you have to do then ...

Yes / No Tongue

Learning by doing Big Grin

Quote:In theory it looks simple. Power up Pi1, install pi2 kernel, power down and move card to pi2.

In practice I need to do more research and then check in with what I think the process is before I do it and make a mess of things.
It's a new learning curve for me, that's going to do me some good I hope. As a hint, is the kernel for pi2 in xbian github, or where?

Kernel package is like all other packages in XBian's repository, for example you can find kernel for rpi2/3 here

You have to do a bit more:

1) you have to modify file /etc/apt/sources.list.d/xbian
change everything you find rpi_jessie (or rpi_stretch) to rpi2_jessie (resp rpi2_stretch)
2) sudo apt-get update # refresh package list
3) cd /tmp; apt-get download linux-image-bcm2836 # download latest kernel package for rpi2/3
4) sudo dpkg --force-all -r xbian-package-kernel # remove rp1 kernel
5) sudo dpkg -i linux-image-bcm2836*.deb # install rpi2/3 kernel
6) if dpkg complains any dependency errors, you have to run sudo apt-get install -f
7) shut down and move sd-card into rpi2
Find all posts by this user
Quote this message in a reply
29th Jul, 2017, 07:04 PM
Post: #7
RE: Migration from Rpi1 -> Rpi2
@Nachteule

Thank you for taking the time to post this. Clear step-by step instructions. Marvelous! - This should be in the FAQ on the main web page for others who might be going down the same route...

I'll be able to try this much sooner now Smile
Find all posts by this user
Quote this message in a reply
29th Jul, 2017, 08:29 PM
Post: #8
RE: Migration from Rpi1 -> Rpi2
(29th Jul, 2017 07:04 PM)Skywatch Wrote:  @Nachteule

Thank you for taking the time to post this. Clear step-by step instructions. Marvelous! - This should be in the FAQ on the main web page for others who might be going down the same route...

I'll be able to try this much sooner now Smile

When you have finished successfully, you can write an article on our wiki Dodgy
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
Question [PROBLEM] Migration from OpenElec? zurdar 4 3,292 14th May, 2015 07:20 PM
Last Post: CurlyMo

Forum Jump: