how to know which version i have to use? i used 2 versions and still same...
maybe as you said... i have to mention the size also... once i reach home i will give it a try....
Not sure as I won't put gemini on my box (clone killer) but is'nt gemini a maxvar image ?
Not sure if this method works with maxvar images ? you could try specifying the blocksize with -b <blocksize> , I think the default is 65535
./mksquashfs -help
will give more info
Another thing to check is that you have the correct version of mksquashfs.
Last edited by scruff1963; 28th January, 2009 at 06:12 PM.
how to know which version i have to use? i used 2 versions and still same...
maybe as you said... i have to mention the size also... once i reach home i will give it a try....
Last edited by drhg; 29th January, 2009 at 10:21 PM.
Dreambox Developer
--CLi Team--
--U.R Team--
Devilfish hi
how i can extract all xxxx.img and compress this after edit enything
plase
this method works with mtd0 too?
22222222222222222222222222222222
Last edited by micromouse; 12th September, 2013 at 11:45 AM.
Hi All
Perhaps the ones who got this to work could let us know which distro they are using and any additional software they installed on there x86 machine.
I couldn't get this to work with Slax 6.1.1 mounted on HDD which has squashfs-lzma 3.x support built in. I don't know how to check if the byte order patch has been built in to squashfs? PPC big endian, x86 little endian.
I did get a different solution working tho using the dreambox itself to put the image back together after editing.
1. On the dreambox mount an NFS share to your x86 machine.
2. Create a swap file, format it and turn on swap.
3. Put your tools and image you want edit in the mounted HDD.
4. Now you can open a complete image, edit it then pack it back together again.
Tools and scripts needed:
mkcramfs
mkdreamboxfs
mksquashfs
uncramfs
undreamboxfs
NOTE: The tools I have will not pack it as the same version of squashfs as the newest images, so the image will be slightly larger, but I can CONFIRM this works.
PS
This is not a tutorial, just a summary of what I did to edit an image. If there is much interest I will try and document more of what I did.
Best regards
I followed the steps by devilfish using ubuntu 9.04...
I got upto "
./mksquashfs root mtd5.img -be
After putting in that command I got the following error:
bash: ./mksquashfs: No such file or directory
So I tried the above command without "./" at the begining of mksquashfs and it created the image...I then typed the following in telnet:
cd /tmp && eraseall /dev/mtd/5 && cp mtd5.img /dev/mtd/5 && reboot
It erased successfully but then gave the error:
cp: Write Error: No space left on device
I did not make many alterations...I also tried the above process without any changes but still got the above error...
Any suggestions on how to resolve this? Thanks
@badboy123
Try a reboot of the dreambox before you FTP mtd5.img back to the dreambox, lets us know how you get on.
I tried rebooting before I uploaded the image but still the same issue...do you have any other suggestions?
Thanks
@badboy123
What is the size of your .img file?
5.29 MB...This transfers across with no problems
Are you using mksquashfs from the the dreambox cdk?
Code:/home/ubuntu/tuxbox-cvs/root/cdkflash/mksquashfs
I wasnt using that mksquashfs...tried it with that and managed to sort it out...
Thanks.
Hi Guys
I too kept experiencing the blank screen issue after following the Devilfish Tut. I found that the problem was down to the wrong mksquashfs file. The one attatched works perfect for me. Put it on my Desktop (Ubuntu) along with the tuxbox-cvs & root directory. The ''./mksquashfs'' is a correct command. A big thanks to Devilfish for an excellent Tut.
Regards
Wizard
Last edited by Wizard1; 11th January, 2010 at 11:37 AM.
Bookmarks