Editing the read-only parts of an image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jeza67
    Newbie
    • Jul 2009
    • 2

    #46
    Ok...
    Thx for tut...
    I have one problem...
    I want to implement OpenVPN in Gemini image.
    I managed to do that on 500+ w.o. problem on Gemini 4.60
    Now I want to do that on dm500.
    Problem is that I need to put some libs in lib dir which is read-only.
    libcrypto.so.0.9.7
    liblzo.so.1
    libssl.so.0.9.7
    and tun.ko in /modules/net
    When I put only liblzo.so.1 and tun.ko, everything is ok db reboots after flashing, but openvpn want start for some ssl problems.
    I figure that problem is with two remaining libs libssl.so.0.9.7 and libcrypto.so.0.9.7 .
    Then I try to put all 3 libs, flash it, but no joy...
    Box do not want to reboot and blank screen.
    Any suggestions?

    Solved , work like charm!!!!
    Last edited by Jeza67; 6 October, 2009, 23:10. Reason: Solved

    Comment

    • pentiumdb
      Newbie
      • Aug 2009
      • 1

      #47
      Hello i have followed the tut but black screen, i'm using ubuntu 9.10 desktop and mksquashfs from tuxbox-cvs
      I have tried it on Gemini 4.2 and Gemini 4.7

      Has anyone a vmware linux image with all the working utilites ?

      any other ideas?

      Thanks

      Comment

      • GuJack20
        Newbie
        • Jan 2010
        • 4

        #48
        Originally posted by Wizard1
        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
        I don't know why but i can't download this file. Is there any other place where can i download it??

        Thanks guys

        Comment

        • Wizard1
          Junior Member
          • Nov 2008
          • 25

          #49
          Hi GuJack20

          Try again, as I've uploaded it as rar & zip.

          Regards

          Wizard

          Comment

          • GuJack20
            Newbie
            • Jan 2010
            • 4

            #50
            Originally posted by Wizard1
            Hi GuJack20

            Try again, as I've uploaded it as rar & zip.

            Regards

            Wizard
            Yeah...i downloaded it.

            Thanks Wizard1

            Comment

            • ajeeb
              Newbie
              • Jan 2009
              • 12

              #51
              well much better to uncompress the complete image !!!
              write the ROM area not good idea with gemini


              br
              Last edited by ajeeb; 26 January, 2010, 16:42.

              Comment

              • digital-kaos
                Member
                • May 2009
                • 43

                #52
                Can this about method to edit the Read only parts be used for all dreambox's or is it only confined to the dm500 ?

                Comment

                • peque
                  Newbie
                  • Mar 2009
                  • 3

                  #53
                  Well - I'm trying to update my busybox on a image (peterPan / gemini etc) I've used for seperate commands in shell - like arp nohup etc.

                  But each time I reboot my dm500 - it just goes into blanckscreen and nothing happends.
                  I've tried squash the file - with ArchLinux,Debian and the special mksquashfs file earlier in the thread.

                  I got no errors etc - so what can I do to make it work - reflashing the image. Is it possible to update busybox in another way ????
                  outprint from more /proc/mtd
                  Code:
                  dev:    size   erasesize  name
                  mtd0: 00500000 00020000 "DreamBOX cramfs+squashfs"
                  mtd1: 002c0000 00020000 "DreamBOX jffs2"
                  mtd2: 00040000 00020000 "DreamBOX OpenBIOS"
                  mtd3: 007c0000 00020000 "DreamBOX (w/o bootloader)"
                  mtd4: 00800000 00020000 "DreamBOX (w/ bootloader)"
                  mtd5: 003e0000 00020000 "DreamBOX SquashedFS"
                  mtd6: 00120000 00020000 "DreamBOX Cramfs"
                  I've tried almost everything so what can I do - to upgraqde the busybox placed on the image!
                  tia
                  P

                  Comment

                  • kegsie
                    Junior Member
                    • Apr 2008
                    • 27

                    #54
                    For some reason my user name and password have changed on my dm800hd clone is there a way to get me back into the box without having to start again ftp comes back with a fault in the user name and password
                    Thanks

                    Comment

                    • harrop106
                      Newbie
                      • Apr 2011
                      • 3

                      #55
                      hi
                      I know this is an old thread but its still very relevant. Thank you for the tutorials but i still seem to be having an issue with the blank screen after reboot. I know this seems to be an issue with the mksquhuashfs file and i have downloaded the file earlier in this post. When i try to run it i get denied although i think this has something to do withe the ttuxbox-cvs folder mentioned. I cant find this to put it on the desktop. Any chance someone could point me in the right direction.

                      Thanks

                      Comment

                      • testubuntu
                        Newbie
                        • May 2011
                        • 1

                        #56
                        thanks! I will try this.

                        Comment

                        • blackangel82
                          Junior Member
                          • Dec 2011
                          • 20

                          #57
                          hi i try this method with edg nemesis 4.4 and gemini 4.7 and have black screen after erase and reboot

                          i use mksquashfs from debian squeeze maybe this is wrong ??

                          log mksquashfs after edit :
                          root@*****:/home/boss/nemesis# mksquashfs root mtd5.img -be -lzma
                          Parallel mksquashfs: Using 2 processors
                          Creating big endian 3.1 filesystem on mtd5.img, block size 131072.
                          lzmadic 131072
                          [================================================== ================================================== =========================================] 730/730 100%
                          Exportable Big endian filesystem, data block size 131072, compressed data, compressed metadata, compressed fragments, duplicates are removed
                          lzmadic 131072
                          Filesystem size 4845.15 Kbytes (4.73 Mbytes)
                          40.59% of uncompressed filesystem size (11936.32 Kbytes)
                          Inode table size 8874 bytes (8.67 Kbytes)
                          28.99% of uncompressed inode table size (30610 bytes)
                          Directory table size 9614 bytes (9.39 Kbytes)
                          59.39% of uncompressed directory table size (16189 bytes)
                          Number of duplicate files found 18
                          Number of inodes 975
                          Number of files 674
                          Number of fragments 36
                          Number of symbolic links 206
                          Number of device nodes 0
                          Number of fifo nodes 0
                          Number of socket nodes 0
                          Number of directories 95
                          Number of uids 2
                          root (0)
                          boss (1000)
                          Number of gids 0
                          any sugestions ??

                          EDIT
                          attachment from this topic help me

                          What is a max size for mtd5 partition ??
                          BR
                          BlackAngel82
                          Last edited by blackangel82; 26 December, 2011, 04:13.

                          Comment

                          • DontUseMe2011
                            Newbie
                            • Dec 2011
                            • 1

                            #58
                            thanks for the file.

                            Originally posted by badboy123
                            5.29 MB...This transfers across with no problems
                            thanks! I will try this.

                            Comment

                            • petrosza
                              Newbie
                              • Sep 2009
                              • 2

                              #59
                              hello to everyone!

                              it worked it for me.

                              Devilfish thanks, very good post.
                              ---------
                              i think that the block size value is important in order to work...

                              on my pc, mksquash.... gave me...
                              Creating big endian 2.1 filesystem on mtd5.img, block size 65536.


                              and not :
                              eating big endian 3.1 filesystem on mtd5.img, block size 131072.

                              thank U

                              Comment

                              • knifeparty
                                Newbie
                                • Jan 2012
                                • 8

                                #60
                                I would like to say THANK YOU MR Devilfish, because i just got sucess trying to add libcrypto to lib folder after read you post.... thank youuuuuuu !

                                Comment

                                Working...