Migration from archlinux armv5(dockstar) to armv6(raspberry)

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Migration from archlinux armv5(dockstar) to armv6(raspberry)

Postby atlaware » Tue Feb 12, 2013 9:21 am

Hi, I have an archlinuxarm installed on a dockstar (armv5), work perfect and is up to date.
In the next day I want to upgrade hardware to raspberry pi(armv6), there is some standard step for do this? (software level)
I need to change kernel? change configuration or some files in etc?

Thank You!

Atla
atlaware
 
Posts: 8
Joined: Fri Nov 05, 2010 9:37 am

Re: Migration from archlinux armv5(dockstar) to armv6(raspbe

Postby pepedog » Tue Feb 12, 2013 10:11 am

There is no easy way to do this, and I don't know what media you have now.
The pi must boot from an sd card, 1st partition is fat32 hand has kernel and firmware. It gets mounted as /boot later.
I would get what packages are installed now (pacman -Qq), less kernel
Boot from sd card, mount old media, make a directory on it called old, move everything on it into that folder
Copy whats on second partition on card to root of old media
Edit cmdline.txt to point to old drive as rootfs
Now you start pi again with root fs on old media, update and install packages, pick an choose what data and config you want from the /old directory.
Warning, always sync before reboot, and to turn off use poweroff command

If you have a new drive for the pi that's a different story, with both running you could rsync data over the network
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Migration from archlinux armv5(dockstar) to armv6(raspbe

Postby atlaware » Tue Feb 12, 2013 11:09 am

$this->bbcode_second_pass_quote('pepedog', '
')If you have a new drive for the pi that's a different story, with both running you could rsync data over the network


Luckily I have a new drive from rasp without problems. I can also poweroff the 2 arms and work on another linux for copy and tweek filesystem and partition.

In your opinion the best practice is to install a new archlinuxarm on rasp and sync from the old dockstar?
atlaware
 
Posts: 8
Joined: Fri Nov 05, 2010 9:37 am

Re: Migration from archlinux armv5(dockstar) to armv6(raspbe

Postby pepedog » Tue Feb 12, 2013 11:41 am

Carefull what you sync, no binaries and check config. Binaries are not compatable
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Migration from archlinux armv5(dockstar) to armv6(raspbe

Postby moonman » Wed Feb 13, 2013 4:13 am

What are you going to be using rpi for? if you will use it as a NAS, i would consider this as a downgrade.

You can install everything from scratch and then just copy the config files over.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 4 guests