shv
Re: Bricked GoFlex Home? :(
June 09, 2013 12:09AM
Cloning to HDD: Put the Debian boot stick into Linux device and use tar to save and restore its content.
Yes, you can return to original FW: http://forum.doozan.com/read.php?3,12506
Re: Bricked GoFlex Home? :(
June 09, 2013 06:16PM
It must be a bit tricky to transfer system from usb stick to SATA.
I executed command

sudo tar cvzpf /media/SATAHDD/Backup.tgz --same-owner --exclude=/home/Backup.tgz --exclude=/home/error.log --exclude=/proc/* --exclude=/media/* --exclude=/dev/* --exclude=/mnt/* --exclude=/sys/* --exclude=/tmp/* / 2>/home/error.log

Then

cd /media/SATAHDD
tar xvzf Backup.tgz

Then tried to load with only SATA in cradle.
I got these errors

U-Boot 2011.12 (Feb 12 2012 - 21:33:07)
Seagate FreeAgent DockStar
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot:  0 
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported

** Invalid boot device **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error 22
** Block device usb 0 not supported
** Block device usb 1 not supported
** Block device usb 2 not supported
** Block device usb 3 not supported
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS:  done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS:  done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
resetting ...

and it continiously reboots...
Re: Bricked GoFlex Home? :(
June 09, 2013 06:59PM
dave.opc,

First, "sudo tar ..." might not work! you should do both steps (tar -c and tar -x) as root.

Second, it's easier to clone a disk if it's not a system disk. So you should clone it using another Linux box. Doing this as root user:

1. Mount both to a running Linux machine (eg. laptop, desktop, or another plug if you have one)

2. Make sure the HDD is formatted as ext3 and the boot flag is on (use fdisk)

3. Assuming the USB is sda1 and the HDD is sdb1, and they are both mounted under /media:
cp -aR /media/sda1/* /media/sdb1/

4. Label the HDD disk as rootfs
tune2fs -L rootfs /dev/sdb1

5. Done. Try booting with the HDD.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 06/09/2013 06:59PM by bodhi.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: