Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

How to migrate from Debian to Arch Linux on PogoPlug series 4 (1 reply)

$
0
0
I have a Pogoplug Series 4 (POGO-V4-A3-01) and boot from SD card, installed Debian version is :
Linux DebianPlug 3.18.5-kirkwood-tld-1

Now I want to change from Debian to Archlinux and I intend to follow this post:

Qiu's techNOLOGY Blog: Hacking Pogo Series 4 and Mobile

As my current pogo-v4 already installed uBoot, so I think I can start from "Debian/ALARM Installation on SD Card (or USB Hard/Flash Drive)",below are my planned steps:

1. prepare another new SD card

2. Insert this new SD card to a USB card reader and plug this USB card reader in current pogo-v4 (running Debian)

3. SSH connect to Pogo-v4 and input below command:

#stop my.pogoplug.com service (just in case)
killall hbwd

#Partition USB Flash
/sbin/fdisk /dev/sda

p # list current partitions
o # to delete all partitions
n # new partition
p # primary partition
1 (one) # first partition
<enter> # default start block
<enter> # default end block (to use the whole drive)
w # write new partition to disk

#download format utility
cd /tmp
wget http://archlinuxarm.org/os/pogoplug/mke2fs
chmod +x mke2fs

#format USB Flash
/tmp/mke2fs -L rootfs -j /dev/sda1

#create mount point
mkdir /tmp/mnt

#mount USB Flash
mount /dev/sda1 /tmp/mnt

#download Arch Linux ARM
cd /tmp/mnt
wget http://archlinuxarm.org/os/ArchLinuxARM-kirkwood-latest.tar.gz
tar -xzvf ArchLinuxARM-kirkwood-latest.tar.gz
rm ArchLinuxARM-kirkwood-latest.tar.gz

#Sync
sync
cd ..
umount /tmp/mnt

4. shutdown the pogo-v4, then unplug the USB card reader--> inject my old SD card (Debian system) --> insert the new SD Card with Arch Linux--> power on the pogo-v4

Can anybody have a look and give some suggestions if my plan works?

Thanks!

Viewing all articles
Browse latest Browse all 3247

Trending Articles