I figured out how to mount the original Pogo PPFS in ArchLinux on Dockstar. Looking at:
$this->bbcode_second_pass_code('', 'Pogoplug:/$ dmesg
[ 1.270000] Creating 4 MTD partitions on "nand_mtd":
[ 1.270000] 0x00000000-0x00100000 : "u-boot"
[ 1.280000] 0x00100000-0x00500000 : "uImage"
[ 1.280000] 0x00500000-0x02500000 : "root"
[ 1.290000] 0x02500000-0x20000000 : "data"
----------------------------
[ 11.170000] VFS: Mounted root (jffs2 filesystem) readonly.
Pogoplug:/$ cat /proc/partitions
major minor #blocks name
31 0 1024 mtdblock0
31 1 4096 mtdblock1
31 2 32768 mtdblock2
31 3 486400 mtdblock3
')
To mount in ArchLinux, install package
mtd-utils from ARM repository, create empty dir, and mount the Pogo rootfs into it as
JFFS2 file system. If you want to write something to it, remount with rw permission:
$this->bbcode_second_pass_code('', 'pacman -S mtd-utils
mkdir /tmp/pogoplug
mount -r -t jffs2 /dev/mtdblock2 /tmp/pogoplug
ls /tmp/pogoplug
mount -o umount,rw /tmp/pogoplug')
After mounting the Pogo FS you can for example fix your broken network settings, assign static IP, or restore original Pogo functionality in its config and save the file. Make sure Pogo won't download updates when booted to:
$this->bbcode_second_pass_code('', '
cd /tmp/pogoplug
echo "127.0.0.1 upgrade.pogoplug.com" >> /etc/hosts
nano /etc/init.d/rcS
# uncomment Pogo startup script
/etc/init.d/hbmgr.sh start
-------------------
fuser -m /tmp/pogoplug
umount /tmp/pogoplug
reboot')
Reboot to the original Pogo and get connected to
Pogoplug website. Uboot doesn't need to be restored to original Pogo bootloader, it will allow you to boot either into Pogo on NAND, or ArchLinux ARM on USB if present.
If you can't unmount the Pogo FS, run
lsof or
fuser to see what process is using it, and try to kill it or re-login to Dockstar.
Be careful not to mess up your Pogo FS on NAND...
For some reason, it mounts with rw access ignoring ro setting in
mount command. If you broke anything, mount again and correct, or reflush the NAND with the original Pogo package, if you want to boot into the original Pogo or restore its functionality.