Welcome! Log In Create A New Profile

Advanced

Rescue install failed.

Posted by rfanch3r 
Rescue install failed.
July 28, 2011 02:30AM
I accidently quit the install_rescue.sh script and reran it but i am getting the following:


# 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 @ 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: 256 eraseblocks are supposedly empty
ubiformat: error!: file "/tmp/rootfs-mtd2.img" (size 3764513 bytes) is not multiple of eraseblock size (131072 bytes)
error 0 (Success)
Installation failed.
root@debian:/tmp# ls -la
total 7292
drwxrwxrwt 2 root root 100 Jan 1 03:06 .
drwxr-xr-x 21 root root 4096 Jul 27 2011 ..
-rwxr-xr-x 1 root root 7743 Oct 26 2010 install_rescue.sh
-rw-r--r-- 1 root root 3764513 Jan 1 02:51 rootfs-mtd2.img
-rw-r--r-- 1 root root 3670016 Feb 17 2011 uImage-mtd1.img

Anyone point me to the fix or show me a similar forum post on the same issue, I couldn't find one.
Re: Rescue install failed.
July 28, 2011 04:50AM
I actually fixed this by removing the 2 img files and re-running the rescue script again.
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: