[SOLVED] Arch Linux ARM on new flash drive on Pogoplug 4?

This forum is for discussion about general software issues.

[SOLVED] Arch Linux ARM on new flash drive on Pogoplug 4?

Postby geeman » Sun Jan 04, 2015 12:25 am

I am running Arch Linux ARM on a Pogoplug 4 device (Model POGO-V4-A3-01), with the operating system on a USB flash drive. I'd like to use a different flash drive and upgrade to the latest Arch Linux ARM release. There are instructions on http://archlinuxarm.org/platforms/armv5 ... g-series-4 for a fresh setup, but nothing about how to swap flash drives and upgrade.

What's the best approach here? Should I look into imaging the existing memory stick onto my new one, and then upgrade? Or is there some way I could just insert the new memory stick and set up Arch Linux ARM from scratch?
Last edited by geeman on Mon Jan 05, 2015 1:56 am, edited 1 time in total.
geeman
 
Posts: 7
Joined: Fri Jan 02, 2015 8:14 pm

Re: Install Arch Linux ARM on new flash drive on Pogoplug 4?

Postby grayman4hire » Sun Jan 04, 2015 6:43 pm

Since your have a Pogoplug Series 4 with the additional USB Ports, all you have to do is plug in your new USB flash drive and then partition, format and extract the arch rootfs onto it. Unplug your old USB drive and plug in your new one on the top usb port (only bootable usb port on PP Series 4).

$this->bbcode_second_pass_code('', '
#Partition your USB flash/hard drive
/sbin/fdisk /dev/sdb

#format and label partition
./mke2fs -L ROOTFS -j /dev/sdb1

#mount usb flash drive
mkdir -p /tmp/usb
mount /dev/sda1 /tmp/usb

#Download Arch Linux ARM (aka ALARM)
#and extract to USB Drive:
cd /tmp/usb
wget http://archlinuxarm.org/os/ArchLinuxARM-kirkwood-latest.tar.gz
tar -xzvf ArchLinuxARM-kirkwood-*.tar.gz #Unmount USB Drive and reboot
rm ArchLinuxARM-kirkwood-*.tar.gz
sync # Takes a while when using a flash drive
cd ..
umount /tmp/usb
')
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Install Arch Linux ARM on new flash drive on Pogoplug 4?

Postby geeman » Mon Jan 05, 2015 1:54 am

I tried the technique described above, but did not get it to work. Instead, I had another identical Pogoplug 4 running off of an identical USB drive. So I imaged the working USB drive, creating a copy which runs on the second Pogoplug 4. I did the imaging on a separate Xubuntu machine, using the commands described on http://ubuntuforums.org/showthread.php?t=1043014.

This thread can be marked as [SOLVED].
geeman
 
Posts: 7
Joined: Fri Jan 02, 2015 8:14 pm


Return to General

Who is online

Users browsing this forum: No registered users and 23 guests