how to mount img file (Virtually) WITHOUT loop or fuse or any loadable module in ubuntu 14.04 (running in...











up vote
0
down vote

favorite












I am trying it from many years (yes years) to mount (plain-ext4-format) .img files in a ubuntu 14.04 running in c9.io without ability to load module or kernel tweak or fstab tweak (because it ignores fstab).
i tried-:




  1. loop - (kernel don't know about loop devices or load it)

  2. fuse - (same)

  3. qemu-nbd - ( can't add/load nbd module)

  4. qemu-system-x86_64 - (booted ubuntu 14.04 instance successfully but damn slow even with -smp 8 (cpu-8) option, my host has cpu 8)

  5. user-mode-linux - ( i think it starts graphic mode, "i want text only mode!!!" i hope this is somethig i can get success with).


so please tell me any non-priviledge and fully fake or Virtual but working method to mount a disk image file with read-write access. or is there any reverse mount function from qemu or similar. or any script to make img file use as if that is a folder !!!










share|improve this question









New contributor




Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I am trying it from many years (yes years) to mount (plain-ext4-format) .img files in a ubuntu 14.04 running in c9.io without ability to load module or kernel tweak or fstab tweak (because it ignores fstab).
    i tried-:




    1. loop - (kernel don't know about loop devices or load it)

    2. fuse - (same)

    3. qemu-nbd - ( can't add/load nbd module)

    4. qemu-system-x86_64 - (booted ubuntu 14.04 instance successfully but damn slow even with -smp 8 (cpu-8) option, my host has cpu 8)

    5. user-mode-linux - ( i think it starts graphic mode, "i want text only mode!!!" i hope this is somethig i can get success with).


    so please tell me any non-priviledge and fully fake or Virtual but working method to mount a disk image file with read-write access. or is there any reverse mount function from qemu or similar. or any script to make img file use as if that is a folder !!!










    share|improve this question









    New contributor




    Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying it from many years (yes years) to mount (plain-ext4-format) .img files in a ubuntu 14.04 running in c9.io without ability to load module or kernel tweak or fstab tweak (because it ignores fstab).
      i tried-:




      1. loop - (kernel don't know about loop devices or load it)

      2. fuse - (same)

      3. qemu-nbd - ( can't add/load nbd module)

      4. qemu-system-x86_64 - (booted ubuntu 14.04 instance successfully but damn slow even with -smp 8 (cpu-8) option, my host has cpu 8)

      5. user-mode-linux - ( i think it starts graphic mode, "i want text only mode!!!" i hope this is somethig i can get success with).


      so please tell me any non-priviledge and fully fake or Virtual but working method to mount a disk image file with read-write access. or is there any reverse mount function from qemu or similar. or any script to make img file use as if that is a folder !!!










      share|improve this question









      New contributor




      Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am trying it from many years (yes years) to mount (plain-ext4-format) .img files in a ubuntu 14.04 running in c9.io without ability to load module or kernel tweak or fstab tweak (because it ignores fstab).
      i tried-:




      1. loop - (kernel don't know about loop devices or load it)

      2. fuse - (same)

      3. qemu-nbd - ( can't add/load nbd module)

      4. qemu-system-x86_64 - (booted ubuntu 14.04 instance successfully but damn slow even with -smp 8 (cpu-8) option, my host has cpu 8)

      5. user-mode-linux - ( i think it starts graphic mode, "i want text only mode!!!" i hope this is somethig i can get success with).


      so please tell me any non-priviledge and fully fake or Virtual but working method to mount a disk image file with read-write access. or is there any reverse mount function from qemu or similar. or any script to make img file use as if that is a folder !!!







      boot kernel mount virtualization fstab






      share|improve this question









      New contributor




      Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 19 mins ago





















      New contributor




      Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 41 mins ago









      Sheikh Rameez

      11




      11




      New contributor




      Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Sheikh Rameez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You can't mount without some cooperation from the kernel, period.





          share





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });






            Sheikh Rameez is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092455%2fhow-to-mount-img-file-virtually-without-loop-or-fuse-or-any-loadable-module-in%23new-answer', 'question_page');
            }
            );

            Post as a guest
































            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            You can't mount without some cooperation from the kernel, period.





            share

























              up vote
              0
              down vote













              You can't mount without some cooperation from the kernel, period.





              share























                up vote
                0
                down vote










                up vote
                0
                down vote









                You can't mount without some cooperation from the kernel, period.





                share












                You can't mount without some cooperation from the kernel, period.






                share











                share


                share










                answered 6 mins ago









                muru

                133k19281478




                133k19281478






















                    Sheikh Rameez is a new contributor. Be nice, and check out our Code of Conduct.










                     

                    draft saved


                    draft discarded


















                    Sheikh Rameez is a new contributor. Be nice, and check out our Code of Conduct.













                    Sheikh Rameez is a new contributor. Be nice, and check out our Code of Conduct.












                    Sheikh Rameez is a new contributor. Be nice, and check out our Code of Conduct.















                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092455%2fhow-to-mount-img-file-virtually-without-loop-or-fuse-or-any-loadable-module-in%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest




















































































                    Popular posts from this blog

                    How to make a Squid Proxy server?

                    Is this a new Fibonacci Identity?

                    19世紀