Having issues accessing files in packaged boxes in Vagrant
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:
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:
and the 0.img file:
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
add a comment |
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:
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:
and the 0.img file:
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
add a comment |
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:
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:
and the 0.img file:
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
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:
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:
and the 0.img file:
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
vagrant
edited Jan 22 at 1:09
JakeGould
32k1098140
32k1098140
asked Jan 22 at 0:49
mos fetishmos fetish
1061
1061
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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:
- In partition #1, (
1.lvm
) - Sure, change your disk configuration prior to packaging it up.
- Yes, for the above reasons
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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:
- In partition #1, (
1.lvm
) - Sure, change your disk configuration prior to packaging it up.
- Yes, for the above reasons
add a comment |
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:
- In partition #1, (
1.lvm
) - Sure, change your disk configuration prior to packaging it up.
- Yes, for the above reasons
add a comment |
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:
- In partition #1, (
1.lvm
) - Sure, change your disk configuration prior to packaging it up.
- Yes, for the above reasons
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:
- In partition #1, (
1.lvm
) - Sure, change your disk configuration prior to packaging it up.
- Yes, for the above reasons
answered Jan 22 at 2:03
Rafael RiveraRafael Rivera
62636
62636
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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