Having issues accessing files in packaged boxes in Vagrant












0















I'm trying to access files contained in box packages created with



vagrant package


Creating the boxes is no problem and I can open them with a something like 7-Zip to reveal the vmdk file inside, but, they don't seem to contain the same files I see in a vmdk downloaded from the Vagrant box repository.



For instance, this is the file structure of an Ubuntu box downloaded from the repository:



vmdk file listing



It looks like a regular Linux file system and I can extract any files I want.



And this is the vmdk of a box made with Vagrant package:



vmdk file listing



and the 0.img file:



vmdk file listing



Now I can drill down into some of those but the folders and files are not organised in the same way as the regular listing above. But in particular I can't see any sign of the folders and files I've created within the box which are certainly packaged by Vagrant package since that's its function.



I'm on Windows and some of those listed files I can't get into such as the System.map which may hold the gold I'm after.



So, my questions are:




  • where would I expect to find the files I'm after?

  • is it possible to package a Vagrant box so it has a regular file system output as in boxes downloaded from the repository?

  • also, the 1.lvm file listed is a massive 42GB which I can't quite extract to my current drive. Is that likely to be important to my quest? I can't seem to look inside it without extracting it.










share|improve this question





























    0















    I'm trying to access files contained in box packages created with



    vagrant package


    Creating the boxes is no problem and I can open them with a something like 7-Zip to reveal the vmdk file inside, but, they don't seem to contain the same files I see in a vmdk downloaded from the Vagrant box repository.



    For instance, this is the file structure of an Ubuntu box downloaded from the repository:



    vmdk file listing



    It looks like a regular Linux file system and I can extract any files I want.



    And this is the vmdk of a box made with Vagrant package:



    vmdk file listing



    and the 0.img file:



    vmdk file listing



    Now I can drill down into some of those but the folders and files are not organised in the same way as the regular listing above. But in particular I can't see any sign of the folders and files I've created within the box which are certainly packaged by Vagrant package since that's its function.



    I'm on Windows and some of those listed files I can't get into such as the System.map which may hold the gold I'm after.



    So, my questions are:




    • where would I expect to find the files I'm after?

    • is it possible to package a Vagrant box so it has a regular file system output as in boxes downloaded from the repository?

    • also, the 1.lvm file listed is a massive 42GB which I can't quite extract to my current drive. Is that likely to be important to my quest? I can't seem to look inside it without extracting it.










    share|improve this question



























      0












      0








      0








      I'm trying to access files contained in box packages created with



      vagrant package


      Creating the boxes is no problem and I can open them with a something like 7-Zip to reveal the vmdk file inside, but, they don't seem to contain the same files I see in a vmdk downloaded from the Vagrant box repository.



      For instance, this is the file structure of an Ubuntu box downloaded from the repository:



      vmdk file listing



      It looks like a regular Linux file system and I can extract any files I want.



      And this is the vmdk of a box made with Vagrant package:



      vmdk file listing



      and the 0.img file:



      vmdk file listing



      Now I can drill down into some of those but the folders and files are not organised in the same way as the regular listing above. But in particular I can't see any sign of the folders and files I've created within the box which are certainly packaged by Vagrant package since that's its function.



      I'm on Windows and some of those listed files I can't get into such as the System.map which may hold the gold I'm after.



      So, my questions are:




      • where would I expect to find the files I'm after?

      • is it possible to package a Vagrant box so it has a regular file system output as in boxes downloaded from the repository?

      • also, the 1.lvm file listed is a massive 42GB which I can't quite extract to my current drive. Is that likely to be important to my quest? I can't seem to look inside it without extracting it.










      share|improve this question
















      I'm trying to access files contained in box packages created with



      vagrant package


      Creating the boxes is no problem and I can open them with a something like 7-Zip to reveal the vmdk file inside, but, they don't seem to contain the same files I see in a vmdk downloaded from the Vagrant box repository.



      For instance, this is the file structure of an Ubuntu box downloaded from the repository:



      vmdk file listing



      It looks like a regular Linux file system and I can extract any files I want.



      And this is the vmdk of a box made with Vagrant package:



      vmdk file listing



      and the 0.img file:



      vmdk file listing



      Now I can drill down into some of those but the folders and files are not organised in the same way as the regular listing above. But in particular I can't see any sign of the folders and files I've created within the box which are certainly packaged by Vagrant package since that's its function.



      I'm on Windows and some of those listed files I can't get into such as the System.map which may hold the gold I'm after.



      So, my questions are:




      • where would I expect to find the files I'm after?

      • is it possible to package a Vagrant box so it has a regular file system output as in boxes downloaded from the repository?

      • also, the 1.lvm file listed is a massive 42GB which I can't quite extract to my current drive. Is that likely to be important to my quest? I can't seem to look inside it without extracting it.







      vagrant






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 22 at 1:09









      JakeGould

      31.3k1096138




      31.3k1096138










      asked Jan 22 at 0:49









      mos fetishmos fetish

      1061




      1061






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You're seeing a representation of the entire disk in 7-Zip. Your experience when opening disk images with 7-Zip may differ, based on the partitioning scheme, partition types, and file systems used on the disk.



          7-Zip understands various partitioning schemes (e.g. MBR, APM, GPT), various partition types, and file systems (e.g. FAT, NTFS, EXT2, EXT3). 7-Zip at this time does not handle Logical Volume Manager (LVM) partitions. You can extract that LVM partition and mount it on a Linux machine to see the files you're expecting.



          So to answer your questions directly:




          1. In partition #1, (1.lvm)

          2. Sure, change your disk configuration prior to packaging it up.

          3. Yes, for the above reasons






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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',
            autoActivateHeartbeat: false,
            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396828%2fhaving-issues-accessing-files-in-packaged-boxes-in-vagrant%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You're seeing a representation of the entire disk in 7-Zip. Your experience when opening disk images with 7-Zip may differ, based on the partitioning scheme, partition types, and file systems used on the disk.



            7-Zip understands various partitioning schemes (e.g. MBR, APM, GPT), various partition types, and file systems (e.g. FAT, NTFS, EXT2, EXT3). 7-Zip at this time does not handle Logical Volume Manager (LVM) partitions. You can extract that LVM partition and mount it on a Linux machine to see the files you're expecting.



            So to answer your questions directly:




            1. In partition #1, (1.lvm)

            2. Sure, change your disk configuration prior to packaging it up.

            3. Yes, for the above reasons






            share|improve this answer




























              0














              You're seeing a representation of the entire disk in 7-Zip. Your experience when opening disk images with 7-Zip may differ, based on the partitioning scheme, partition types, and file systems used on the disk.



              7-Zip understands various partitioning schemes (e.g. MBR, APM, GPT), various partition types, and file systems (e.g. FAT, NTFS, EXT2, EXT3). 7-Zip at this time does not handle Logical Volume Manager (LVM) partitions. You can extract that LVM partition and mount it on a Linux machine to see the files you're expecting.



              So to answer your questions directly:




              1. In partition #1, (1.lvm)

              2. Sure, change your disk configuration prior to packaging it up.

              3. Yes, for the above reasons






              share|improve this answer


























                0












                0








                0







                You're seeing a representation of the entire disk in 7-Zip. Your experience when opening disk images with 7-Zip may differ, based on the partitioning scheme, partition types, and file systems used on the disk.



                7-Zip understands various partitioning schemes (e.g. MBR, APM, GPT), various partition types, and file systems (e.g. FAT, NTFS, EXT2, EXT3). 7-Zip at this time does not handle Logical Volume Manager (LVM) partitions. You can extract that LVM partition and mount it on a Linux machine to see the files you're expecting.



                So to answer your questions directly:




                1. In partition #1, (1.lvm)

                2. Sure, change your disk configuration prior to packaging it up.

                3. Yes, for the above reasons






                share|improve this answer













                You're seeing a representation of the entire disk in 7-Zip. Your experience when opening disk images with 7-Zip may differ, based on the partitioning scheme, partition types, and file systems used on the disk.



                7-Zip understands various partitioning schemes (e.g. MBR, APM, GPT), various partition types, and file systems (e.g. FAT, NTFS, EXT2, EXT3). 7-Zip at this time does not handle Logical Volume Manager (LVM) partitions. You can extract that LVM partition and mount it on a Linux machine to see the files you're expecting.



                So to answer your questions directly:




                1. In partition #1, (1.lvm)

                2. Sure, change your disk configuration prior to packaging it up.

                3. Yes, for the above reasons







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 22 at 2:03









                Rafael RiveraRafael Rivera

                62636




                62636






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396828%2fhaving-issues-accessing-files-in-packaged-boxes-in-vagrant%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to make a Squid Proxy server?

                    Is this a new Fibonacci Identity?

                    19世紀