![]() |
|
|||
|
|
||||
|
||||||
| Dreambox Section All things dreambox here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
UkCvs Newbie
Join Date: Mar 2011
Posts: 6
iTrader: (0)
Casino cash: $9600
Thanks: 0
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
Hi
I seem to have a big problem with my DM800 HD and its a pain in the ass! I made a backup using telnet via the command cat /dev/mtd/3 > /tmp/backup.img This at first didnt work as the file structure on a DM800 is slightly different and mtd is called mtdblock, so I used this command cat /dev/mtdblock/3 > /tmp/backup.img I then had a 60.0mb backup image sitting in my tmp folder which I ftpd out of my box and onto my desktop. felt good as this seemed to have worked. ![]() Now time to flash it back using telnet so I used this command cd /tmp && eraseall /dev/mtdblock/3 && cp backup.img /dev/mtdblock/3 && reboot again using mtdblock otherwise it says path not found but that isnt the error the error is telnet informs me eraseall not found!! ie eraseall isnt in the image and the command doesnt exist. hmmmm Ive searched all over the net and it seems although a DM800 can make a backup.img it cant flash one back and everyone says use an nfi image, but too late I only have a .img backup and cant convert it to nfi. After a quick search around these forums I see a script for DM500s with eraseall comand attached Commando-12-DM500S Ive followed the instructions and ftpd into my box and tried the telnet commands but I get the error "path doesnt exist" as again I think its set to mtd and not mtdblock So my question is how can I edit the script to mtdblock as im thinking if it was edited it might work and im thinking this is my only chance to make the DM800 flash a .img file ![]() Any help would be appretiated and cant believe a box can make an backup.img but cant flash it??? defies logic! |
|
|
|
|
|
#2 (permalink) |
|
Junior Member
UkCvs Newbie
Join Date: Mar 2011
Posts: 6
iTrader: (0)
Casino cash: $9600
Thanks: 0
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
ok i managed to change the flash.sh script file using notepad on windows and all seems ok
This site was usefull LinuxCommand.org: Writing shell scripts. I now think that the eraseall program is the problem as I get /tmp/eraseall: line 1: syntax error: unexpected "(" Ive opened the file with notepad and its gobbledygook
|
|
|
|
|
|
#3 (permalink) |
|
Nagging Old Git
Team-UkCvs Senior Member
Join Date: Aug 2008 Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
TOTW/F/M Award(s): 2Groans: 1
Groaned at 0 Times in 0 Posts
|
Jeez, you're skating on thin ice here...
eraseall is an E1 binary, requiring E1 libs. Your box is E2 (hence the eye-watering 60MB backup image) and an entirely different beast! Even the partitions might have different numbers, as well as names... Remember that it wasn't the image that created the backup for you, but your bastardized 3rd party script line in telnet. You could try omitting the eraseall part of the script altogether, and keep your fingers crossed while you try and just overwrite the existing image with your backup? Good luck! AL
|
|
|
|
|
|
#4 (permalink) |
|
Junior Member
UkCvs Newbie
Join Date: Mar 2011
Posts: 6
iTrader: (0)
Casino cash: $9600
Thanks: 0
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
Thanks for the reply.
I tried ommiting the eraseall and got an error "flash is full no room" or something like that....give up now and flashed another image and start fresh. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|