Re: Seagate Goflex Home turned into paperweight, please help. January 13, 2017 02:24PM |
Registered: 8 years ago Posts: 26 |
Re: Seagate Goflex Home turned into paperweight, please help. January 13, 2017 03:44PM |
Admin Registered: 14 years ago Posts: 19,523 |
mkimage -A arm -0 linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage sync
Re: Seagate Goflex Home turned into paperweight, please help. January 13, 2017 04:54PM |
Registered: 8 years ago Posts: 26 |
My username # mkdir /media/sdd1 mkdir: cannot create directory ‘/media/sdd1’: File existsSame result, the Goflex did't boot. Please see the full log below.
My username # dmesg | tail [ 2598.255965] sd 4:0:0:0: [sdd] Assuming drive cache: write through [ 2598.265590] sdd: sdd1 [ 2598.278560] sd 4:0:0:0: [sdd] Attached SCSI removable disk [ 2598.700746] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem [ 2598.716324] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null) [ 3533.572216] sda: sda1 [ 3533.580580] sda: sda1 [ 3534.041486] sda: sda1 [ 3664.002092] sdd: [ 3664.353463] sdd: sdd1 My username # fdisk dev/sdd Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. fdisk: cannot open dev/sdd: No such file or directory My username # fdisk /dev/sdd Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): o Created a new DOS disklabel with disk identifier 0x7a730a37. Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-31711231, default 2048): 2048 Last sector, +sectors or +size{K,M,G,T,P} (2048-31711231, default 31711231): 31711231 Created a new partition 1 of type 'Linux' and of size 15.1 GiB. Command (m for help): a Selected partition 1 The bootable flag on partition 1 is enabled now. Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. My username # mkfs.ext3 -L rootfs /dev/sdd1 mke2fs 1.42.13 (17-May-2015) /dev/sdd1 contains a vfat file system labelled 'USB Stick' Proceed anyway? (y,n) y Creating filesystem with 3963648 4k blocks and 991232 inodes Filesystem UUID: 36795708-b6f7-4de4-b520-1e863c73b519 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done My username # mkdir /media/sdd1 mkdir: cannot create directory ‘/media/sdd1’: File exists My username # mount /dev/sdd1 /media/sdd1 My username # cd /media/sdd1 My username sdd1 # tar -xjf Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 My username sdd1 # cd /media/sdd1/boot My username boot # cp -a zImage-4.4.0-kiirkwood-tld-1 zImage.fdt cp: cannot stat 'zImage-4.4.0-kiirkwood-tld-1': No such file or directory My username boot # cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt My username boot # cat dts/kirkwood-goflexhome.dtb >> zImage.fdt My username boot # mv uImage uImage.orig My username boot # mkimage -A arm -O Linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage Image Name: Linux-4.4.0-kirkwood-tld-1 Created: Fri Jan 13 18:46:25 2017 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3165437 Bytes = 3091.25 kB = 3.02 MB Load Address: 00008000 Entry Point: 00008000 My username boot # sync My username boot # sync My username boot #
Re: Seagate Goflex Home turned into paperweight, please help. January 13, 2017 08:30PM |
Admin Registered: 14 years ago Posts: 19,523 |
su
Re: Seagate Goflex Home turned into paperweight, please help. January 13, 2017 08:52PM |
Registered: 8 years ago Posts: 26 |
Re: Seagate Goflex Home turned into paperweight, please help. January 14, 2017 12:42AM |
Admin Registered: 14 years ago Posts: 19,523 |
whoami
Re: Seagate Goflex Home turned into paperweight, please help. January 14, 2017 12:44AM |
Admin Registered: 14 years ago Posts: 19,523 |
Re: Seagate Goflex Home turned into paperweight, please help. January 14, 2017 02:14AM |
Registered: 8 years ago Posts: 26 |
My username # ping debian.local PING debian.local (xxx.xxx.xx.x) 56(84) bytes of data. 64 bytes from xxx.xxx.xx.x: icmp_seq=1 ttl=64 time=3.15 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=2 ttl=64 time=8.32 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=3 ttl=64 time=1.55 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=4 ttl=64 time=2.72 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=5 ttl=64 time=1.46 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=6 ttl=64 time=3.90 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=7 ttl=64 time=2.01 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=8 ttl=64 time=1.56 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=9 ttl=64 time=1.28 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=10 ttl=64 time=1.37 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=11 ttl=64 time=1.25 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=12 ttl=64 time=1.51 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=13 ttl=64 time=2.34 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=14 ttl=64 time=1.60 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=15 ttl=64 time=2.17 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=16 ttl=64 time=1.47 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=17 ttl=64 time=2.08 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=18 ttl=64 time=1.33 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=19 ttl=64 time=1.64 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=20 ttl=64 time=1.80 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=21 ttl=64 time=3.50 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=22 ttl=64 time=1.65 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=23 ttl=64 time=1.54 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=24 ttl=64 time=1.31 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=25 ttl=64 time=1.85 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=26 ttl=64 time=1.18 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=27 ttl=64 time=1.53 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=28 ttl=64 time=1.27 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=29 ttl=64 time=2.33 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=30 ttl=64 time=2.14 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=31 ttl=64 time=7.11 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=32 ttl=64 time=1.39 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=33 ttl=64 time=2.92 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=34 ttl=64 time=1.20 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=35 ttl=64 time=1.62 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=36 ttl=64 time=1.20 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=37 ttl=64 time=1.54 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=38 ttl=64 time=1.34 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=39 ttl=64 time=1.48 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=40 ttl=64 time=4.71 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=41 ttl=64 time=2.05 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=42 ttl=64 time=1.37 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=43 ttl=64 time=1.69 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=44 ttl=64 time=1.18 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=45 ttl=64 time=1.92 ms 64 bytes from xxx.xxx.xx.x: icmp_seq=46 ttl=64 time=1.38 ms ...
Re: Seagate Goflex Home turned into paperweight, please help. January 14, 2017 02:39AM |
Admin Registered: 14 years ago Posts: 19,523 |
ssh root@debian.local
uname -a
Re: Seagate Goflex Home turned into paperweight, please help. January 14, 2017 10:42AM |
Registered: 8 years ago Posts: 26 |
My username # ssh root@debian.local ssh: Could not resolve hostname debian.local: Name or service not known My username # uname -a My Linuxbox Name 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux My username #
My Username # ssh root@debian.local The authenticity of host 'debian.local (xxx.xxx.xx.x)' can't be established. RSA key fingerprint is SHA256:3w8lhtM2U+2PuKpadNZsyiesUrKAO9BTgJ4k013Fxnk. Are you sure you want to continue connecting (yes/no)? y Please type 'yes' or 'no': yes Warning: Permanently added 'debian.local,xxx.xxx.xx.x' (RSA) to the list of known hosts. root@debian.local's password: Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Feb 19 20:08:26 2016 from 192.168.0.100 root@debian:~#
Re: Seagate Goflex Home turned into paperweight, please help. January 14, 2017 04:05PM |
Admin Registered: 14 years ago Posts: 19,523 |
Re: Seagate Goflex Home turned into paperweight, please help. January 14, 2017 09:37PM |
Registered: 8 years ago Posts: 26 |
Re: Seagate Goflex Home turned into paperweight, please help. January 15, 2017 02:57AM |
Admin Registered: 14 years ago Posts: 19,523 |
dmesg cat /proc/mtd fw_printenv
Re: Seagate Goflex Home turned into paperweight, please help. January 15, 2017 10:54AM |
Registered: 8 years ago Posts: 26 |
Re: Seagate Goflex Home turned into paperweight, please help. January 15, 2017 03:57PM |
Admin Registered: 14 years ago Posts: 19,523 |
shutdown -h nowAnd observe the LED. After it has turned off, wait a few seconds before pushing the power button to release it. And then unplug the USB.
apt-get install ....
Re: Seagate Goflex Home turned into paperweight, please help. January 15, 2017 11:55PM |
Registered: 8 years ago Posts: 26 |
Re: Seagate Goflex Home turned into paperweight, please help. January 16, 2017 12:08AM |
Admin Registered: 14 years ago Posts: 19,523 |
Re: Seagate Goflex Home turned into paperweight, please help. January 16, 2017 11:19AM |
Registered: 8 years ago Posts: 26 |
My username # cd /media/sdd1 My username sdd1 # time tar -cjf /media/sda1/my-rootfs.tar.bz2 . & [1] 2646 My username sdd1 # tar (child): /media/sda1/my-rootfs.tar.bz2: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now real 0m0.019s user 0m0.004s sys 0m0.004s [1]+ Exit 141 time tar -cjf /media/sda1/my-rootfs.tar.bz2 . My username sdd1 #
177.401179] usb 1-3.3: USB disconnect, device number 7 [ 197.053862] usb 1-3.3: new high-speed USB device number 8 using ehci-pci [ 197.147953] usb 1-3.3: New USB device found, idVendor=1307, idProduct=0165 [ 197.147971] usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 197.147981] usb 1-3.3: Product: USB Mass Storage Device [ 197.147989] usb 1-3.3: Manufacturer: USBest Technology [ 197.147997] usb 1-3.3: SerialNumber: 00000000002325 [ 197.154202] usb-storage 1-3.3:1.0: USB Mass Storage device detected [ 197.155815] scsi host4: usb-storage 1-3.3:1.0 [ 198.162958] scsi 4:0:0:0: Direct-Access Ut165 USB2FlashStorage 0.00 PQ: 0 ANSI: 2 [ 198.172469] sd 4:0:0:0: Attached scsi generic sg3 type 0 [ 198.174914] sd 4:0:0:0: [sdd] 15794176 512-byte logical blocks: (8.09 GB/7.53 GiB) [ 198.176506] sd 4:0:0:0: [sdd] Write Protect is off [ 198.176523] sd 4:0:0:0: [sdd] Mode Sense: 00 00 00 00 [ 198.177292] sd 4:0:0:0: [sdd] Asking for cache data failed [ 198.177305] sd 4:0:0:0: [sdd] Assuming drive cache: write through [ 198.513686] sdd: sdd1 sdd2 [ 198.527842] sd 4:0:0:0: [sdd] Attached SCSI removable disk [ 199.071387] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem [ 278.812796] EXT4-fs (sdd1): warning: checktime reached, running e2fsck is recommended [ 279.112168] EXT4-fs (sdd1): recovery complete [ 279.114383] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null) [ 967.022327] usb 1-3.3: USB disconnect, device number 8
ssh root@debian.local ssh root@squeezeplugSsh with the above two guesses can't get me root so now I can't shut it down.