[Solved] Best way to de-brick B01 pogo, no rootfs

This forum is for all other ARMv5 devices

[Solved] Best way to de-brick B01 pogo, no rootfs

Postby teetee1 » Sat Jan 19, 2013 7:55 pm

I recently purchased a B01 revision pogoplug and after installing arch linux on it, I realized the kernel remains on 2.6.x and no systemd booting support. I removed the system drive (USB thumbdrive) and format it for other purposes, not aware of the unit won't be able to boot from NAND like the E02 if the USB drive is not present.

So now when I power on the B02 unit, it keeps blinking and not showing up on the network.

Can anyone suggest the easiest way to get it back so I can revert it back to stock system? One way I can think of is to rebuild the rootfs on a usb drive manually. I tried it by plugging the drive into a E02 arch unit, formatted it and mounted it as /tmp/sdb1, and followed the instructions on
http://archlinuxarm.org/platforms/armv6 ... provideov3
but instead of running the "oxnas-install.sh" installation script, I downloaded ArchLinuxARM-oxnas-latest.tar.gz, uncompressed it on /tmp/sdb1, and that's as far as I went. The rest of the steps in oxnas-install.sh seem to involve in writing info from the B01 unit into the new system on /tmp/sdb1 and I am not sure how to do that.
Last edited by teetee1 on Sat Jan 19, 2013 10:04 pm, edited 1 time in total.
teetee1
 
Posts: 2
Joined: Sun Oct 09, 2011 7:27 pm

Re: Best way to de-brick B01 pogo, no rootfs

Postby xenoxaos » Sat Jan 19, 2013 8:28 pm

All you need to do is extract the rootfs to an ext3 formatted flash drive AS ROOT and then unmount and put it in the plug.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Best way to de-brick B01 pogo, no rootfs

Postby Socaltom » Sat Jan 19, 2013 8:37 pm

There are reinstall instructions on the installation page. basically you extract the rootfs tarball to you usb drive, then it should boot.

Link to install page ( reinstall instructions at the bottom)
http://archlinuxarm.org/platforms/armv6 ... provideov3


1) Format USB drive as follows ( it MUST use DOS partition table)
Start fdisk to partition the USB or SATA drive:
$this->bbcode_second_pass_code('', '/sbin/fdisk /dev/sdX')
At the fdisk prompt, delete old partitions and create a new one:
Type o. This will clear out any partitions on the drive.
Type p to list partitions. There should be no partitions left.
Now type n, then p for primary, 1 for the first partition on the drive, and then press ENTER, accepting default values.
Exit by typing w.

2)Create the ext3 filesystem:


3)Download and extract the root filesystem tarball onto the new ext3 partition as the root user, not just sudo.

4)Create a file at /usr/local/mac_addr and place in it your Pro's MAC address (its on the bottom of the unit) in the format XX:XX:XX:XX:XX:XX.

5)Safely umount the drive from the computer, plug it back in to the powered-off Pogoplug, and then plug in the Pogoplug.

Once booted you can revert as follows

1) Copy blparam from NAND
$this->bbcode_second_pass_code('', '# premake the destination
mkdir -p /usr/local/cloudengines/bin
# make tmp mountpoint
mkdir /tmp/ce
# mount NAND fs.
mount -t ubifs -o ro ubi0:rootfs /tmp/ce
# copy what we need
cp /tmp/ce/usr/local/cloudengines/bin/blparam /usr/local/cloudengines/bin/
cp /tmp/ce/usr/local/cloudengines/bin/xce.ko /usr/local/cloudengines/bin/
cp /tmp/ce/usr/sbin/nandwrite /usr/local/cloudengines/bin/
cp /tmp/ce/usr/sbin/flash_erase /usr/local/cloudengines/bin/
# unmount
umount /tmp/ce
# DONE.')

5) Get the revert script
$this->bbcode_second_pass_code('', 'wget http://os.archlinuxarm.org/os/oxnas/oxnas-revert.sh')

6) make it executable
$this->bbcode_second_pass_code('', 'chmod +x oxnas-revert.sh')

7) run it
oxnas-revert.sh

8) shutdown & reboot
$this->bbcode_second_pass_code('', 'shutdown -r now')
Last edited by Socaltom on Sat Jan 19, 2013 10:41 pm, edited 1 time in total.
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Best way to de-brick B01 pogo, no rootfs

Postby teetee1 » Sat Jan 19, 2013 10:04 pm

Thanks! It's now back in stock and the whole process was pain-less. :)
teetee1
 
Posts: 2
Joined: Sun Oct 09, 2011 7:27 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 52 guests