Repair usb drive from the pogoplug prompt? [SOLVED]

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Repair usb drive from the pogoplug prompt? [SOLVED]

Postby guiyoforward » Thu Mar 07, 2013 2:52 am

Hi everyone, I have a botched setup - I need to add the ext3 thingie. Before formatting or re-installing (I had a nice working config before re-booting), is there any way I can repair my usb drive within the pogoplug, or do I need to boot a linux distro on a pc to do that? Im trying to run e2fsck from the popoplug prompt (I can login, and I can mount and see my usb drive) without success, but I'm a total noob with linux anyway.
thanks!

EDIT:
Answering my own question. There's a crucial line missing (IMHO) from the install instructions:
/usr/sbin/fw_setenv usb_rootfstype 'ext3'
To repair botched install: You need login to the pogoplug prompt - remove the usb drive before power on, wait, logon with putty (root/ceadmin or root/root) and then plug your drive. Then:
mkdir /tmp/usb
mount /dev/sda1 usb
/usr/sbin/fw_setenv usb_rootfstype 'ext3'
cd ..
umount /tmp/usb
/sbin/reboot

hope this helps!
guiyoforward
 
Posts: 15
Joined: Tue Mar 05, 2013 8:45 pm

Re: Repair usb drive from the pogoplug prompt? [SOLVED]

Postby moonman » Thu Mar 07, 2013 10:42 am

You are not repairing the drive with this command, but rather changing the uboot environment variable. So fw_setenv line is enough.
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 Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 12 guests