root@debian:/tmp# wget http://jeff.doozan.com/debian/rescue/install_rescue.sh --2010-11-09 20:08:55-- http://jeff.doozan.com/debian/rescue/install_rescue.sh Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7743 (7.6K) [application/x-sh] Saving to: `install_rescue.sh' 100%[===================================================================================================================================================================================================>] 7,743 --.-K/s in 0.07s 2010-11-09 20:08:56 (112 KB/s) - `install_rescue.sh' saved [7743/7743] root@debian:/tmp# chmod +x install_rescue.sh root@debian:/tmp# ./install_rescue.sh This script will install a rescue system on your NAND. It will OVERWRITE ALL OF THE POGOPLUG FILES. This script will replace the kernel on on mtd1 and the rootfs on mtd2. This installer will only work on a Seagate Dockstar or Pogoplug Pink. Do not run this installer on any other device. By typing ok, you agree to assume all liabilities and risks associated with running this installer. If you agree, type 'ok' and press ENTER to continue: ok # checking for /usr/sbin/nandwrite... # checking for /usr/sbin/nanddump... # checking for /usr/sbin/ubiformat... # Installing /usr/sbin/ubiformat... --2010-11-09 20:12:11-- http://jeff.doozan.com/debian/rescue/ubiformat.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 44 [text/plain] Saving to: `/usr/sbin/ubiformat.md5' 100%[===================================================================================================================================================================================================>] 44 --.-K/s in 0s 2010-11-09 20:12:12 (1.34 MB/s) - `/usr/sbin/ubiformat.md5' saved [44/44] --2010-11-09 20:12:12-- http://jeff.doozan.com/debian/rescue/ubiformat Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 62264 (61K) [text/plain] Saving to: `/usr/sbin/ubiformat' 100%[===================================================================================================================================================================================================>] 62,264 23.8K/s in 2.6s 2010-11-09 20:12:15 (23.8 KB/s) - `/usr/sbin/ubiformat' saved [62264/62264] # Successfully installed /usr/sbin/ubiformat. # checking for /usr/sbin/flash_eraseall... # Installing /usr/sbin/flash_eraseall... --2010-11-09 20:12:15-- http://jeff.doozan.com/debian/uboot/flash_eraseall.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 49 [text/plain] Saving to: `/usr/sbin/flash_eraseall.md5' 100%[===================================================================================================================================================================================================>] 49 --.-K/s in 0s 2010-11-09 20:12:16 (1.62 MB/s) - `/usr/sbin/flash_eraseall.md5' saved [49/49] --2010-11-09 20:12:16-- http://jeff.doozan.com/debian/uboot/flash_eraseall Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11648 (11K) [text/plain] Saving to: `/usr/sbin/flash_eraseall' 100%[===================================================================================================================================================================================================>] 11,648 30.9K/s in 0.4s 2010-11-09 20:12:17 (30.9 KB/s) - `/usr/sbin/flash_eraseall' saved [11648/11648] # Successfully installed /usr/sbin/flash_eraseall. # checking for /usr/sbin/fw_printenv... # checking for /etc/fw_env.config... ## Verifying new uBoot... Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... --2010-11-09 20:12:17-- http://jeff.doozan.com/debian/uboot/valid-uboot.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 643 [text/plain] Saving to: `/tmp/valid-uboot.md5' 100%[===================================================================================================================================================================================================>] 643 --.-K/s in 0s 2010-11-09 20:12:17 (18.2 MB/s) - `/tmp/valid-uboot.md5' saved [643/643] ## uBoot is good # Downloading Rescue System --2010-11-09 20:12:17-- http://jeff.doozan.com/debian/rescue/uImage-mtd1.img.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 50 [text/plain] Saving to: `/tmp/uImage-mtd1.img.md5' 100%[===================================================================================================================================================================================================>] 50 --.-K/s in 0s 2010-11-09 20:12:18 (1.76 MB/s) - `/tmp/uImage-mtd1.img.md5' saved [50/50] --2010-11-09 20:12:18-- http://jeff.doozan.com/debian/rescue/uImage-mtd1.img Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3670016 (3.5M) [text/plain] Saving to: `/tmp/uImage-mtd1.img' 100%[===================================================================================================================================================================================================>] 3,670,016 72.8K/s in 56s 2010-11-09 20:13:15 (64.1 KB/s) - `/tmp/uImage-mtd1.img' saved [3670016/3670016] --2010-11-09 20:13:15-- http://jeff.doozan.com/debian/rescue/rootfs-mtd2.img.md5 Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 50 [text/plain] Saving to: `/tmp/rootfs-mtd2.img.md5' 100%[===================================================================================================================================================================================================>] 50 --.-K/s in 0s 2010-11-09 20:13:16 (1.57 MB/s) - `/tmp/rootfs-mtd2.img.md5' saved [50/50] --2010-11-09 20:13:16-- http://jeff.doozan.com/debian/rescue/rootfs-mtd2.img Resolving jeff.doozan.com... 69.163.187.226 Connecting to jeff.doozan.com|69.163.187.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 26738688 (26M) [text/plain] Saving to: `/tmp/rootfs-mtd2.img' 100%[===================================================================================================================================================================================================>] 26,738,688 429K/s in 3m 23s 2010-11-09 20:16:43 (128 KB/s) - `/tmp/rootfs-mtd2.img' saved [26738688/26738688] # Installing Rescue System Erasing 128 Kibyte @ 400000 -- 100 % complete. Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 Writing data to block 4 at offset 0x80000 Writing data to block 5 at offset 0xa0000 Writing data to block 6 at offset 0xc0000 Writing data to block 7 at offset 0xe0000 Writing data to block 8 at offset 0x100000 Writing data to block 9 at offset 0x120000 Writing data to block 10 at offset 0x140000 Writing data to block 11 at offset 0x160000 Writing data to block 12 at offset 0x180000 Writing data to block 13 at offset 0x1a0000 Writing data to block 14 at offset 0x1c0000 Writing data to block 15 at offset 0x1e0000 Writing data to block 16 at offset 0x200000 Writing data to block 17 at offset 0x220000 Writing data to block 18 at offset 0x240000 Writing data to block 19 at offset 0x260000 Writing data to block 20 at offset 0x280000 Writing data to block 21 at offset 0x2a0000 Writing data to block 22 at offset 0x2c0000 Writing data to block 23 at offset 0x2e0000 Writing data to block 24 at offset 0x300000 Writing data to block 25 at offset 0x320000 Writing data to block 26 at offset 0x340000 Writing data to block 27 at offset 0x360000 Erasing 128 Kibyte @ 1300000 -- 59 % complete. Skipping bad block at 0x01320000 Erasing 128 Kibyte @ 1c80000 -- 89 % complete. Skipping bad block at 0x01ca0000 Erasing 128 Kibyte @ 2000000 -- 100 % complete. ubiformat: mtd2 (nand), size 33554432 bytes (32.0 MiB), 256 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes libscan: scanning eraseblock 255 -- 100 % complete ubiformat: 254 eraseblocks are supposedly empty ubiformat: bad eraseblocks: 153, 229 ubiformat: flashing eraseblock 204 -- 100 % complete ubiformat: formatting eraseblock 255 -- 100 % complete # Rescue System installation has completed successfully.