how to create virtualbox vmdk file from zip
I have a .zip
file I'd like to turn into a .vmdk
file.
I've tried the command:
VBoxManage internalcommands createrawvmdk -filename usb.vmdk -rawdisk "c:Contents.zip"
but I receive error:
VBoxManage.exe: error: Detected size of raw disk 'c:Contents.zip' is 6014441999, an invalid value
VBoxManage.exe: error: The raw disk vmdk file was not created
Help appreciated.
virtualbox
add a comment |
I have a .zip
file I'd like to turn into a .vmdk
file.
I've tried the command:
VBoxManage internalcommands createrawvmdk -filename usb.vmdk -rawdisk "c:Contents.zip"
but I receive error:
VBoxManage.exe: error: Detected size of raw disk 'c:Contents.zip' is 6014441999, an invalid value
VBoxManage.exe: error: The raw disk vmdk file was not created
Help appreciated.
virtualbox
add a comment |
I have a .zip
file I'd like to turn into a .vmdk
file.
I've tried the command:
VBoxManage internalcommands createrawvmdk -filename usb.vmdk -rawdisk "c:Contents.zip"
but I receive error:
VBoxManage.exe: error: Detected size of raw disk 'c:Contents.zip' is 6014441999, an invalid value
VBoxManage.exe: error: The raw disk vmdk file was not created
Help appreciated.
virtualbox
I have a .zip
file I'd like to turn into a .vmdk
file.
I've tried the command:
VBoxManage internalcommands createrawvmdk -filename usb.vmdk -rawdisk "c:Contents.zip"
but I receive error:
VBoxManage.exe: error: Detected size of raw disk 'c:Contents.zip' is 6014441999, an invalid value
VBoxManage.exe: error: The raw disk vmdk file was not created
Help appreciated.
virtualbox
virtualbox
asked Dec 15 at 4:32
Steve
1,121104590
1,121104590
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You cannot use createrawvmdk
in this manner. createrawvmdk
is for using real, physical hard disks instead of virtual drives in a virtual machine. It is not used for mounting a file is a disk.
The error most likely stems from the fact that createrawvmdk
is trying to get the size of a physical disk, but is just reading what is essentially random data from the ZIP file. It seems to be aware 6 petabytes isnt correct.
For example, the correct way to use createrawvmdk
is this: I have two SSDs in my machine, one has Windows and one has Linux. I can boot off either hard drive. However, I created a VM in Windows, and used the createrawvmdk
to allow me to boot my real, physical Linux drive in a a VM in Windows.
Read more about createrawvmdk
here.
It looks like you are trying to use a ZIP file as a disk. I dont know if that is possible. However, I would doubt it, as the ZIP would have to be completely decompressed to be read and completely recompressed when done. That is very resource intensive and depending on the size, could take a very long time. Using a ZIP file in this manner doesnt make much sense.
Perhaps your ZIP file contains a disk image? If so, you would need to extract it. VirtualBox is compatible with many disk image types. Therefore if the image was supported, you could then mount it as a drive.
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%2f1383755%2fhow-to-create-virtualbox-vmdk-file-from-zip%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 cannot use createrawvmdk
in this manner. createrawvmdk
is for using real, physical hard disks instead of virtual drives in a virtual machine. It is not used for mounting a file is a disk.
The error most likely stems from the fact that createrawvmdk
is trying to get the size of a physical disk, but is just reading what is essentially random data from the ZIP file. It seems to be aware 6 petabytes isnt correct.
For example, the correct way to use createrawvmdk
is this: I have two SSDs in my machine, one has Windows and one has Linux. I can boot off either hard drive. However, I created a VM in Windows, and used the createrawvmdk
to allow me to boot my real, physical Linux drive in a a VM in Windows.
Read more about createrawvmdk
here.
It looks like you are trying to use a ZIP file as a disk. I dont know if that is possible. However, I would doubt it, as the ZIP would have to be completely decompressed to be read and completely recompressed when done. That is very resource intensive and depending on the size, could take a very long time. Using a ZIP file in this manner doesnt make much sense.
Perhaps your ZIP file contains a disk image? If so, you would need to extract it. VirtualBox is compatible with many disk image types. Therefore if the image was supported, you could then mount it as a drive.
add a comment |
You cannot use createrawvmdk
in this manner. createrawvmdk
is for using real, physical hard disks instead of virtual drives in a virtual machine. It is not used for mounting a file is a disk.
The error most likely stems from the fact that createrawvmdk
is trying to get the size of a physical disk, but is just reading what is essentially random data from the ZIP file. It seems to be aware 6 petabytes isnt correct.
For example, the correct way to use createrawvmdk
is this: I have two SSDs in my machine, one has Windows and one has Linux. I can boot off either hard drive. However, I created a VM in Windows, and used the createrawvmdk
to allow me to boot my real, physical Linux drive in a a VM in Windows.
Read more about createrawvmdk
here.
It looks like you are trying to use a ZIP file as a disk. I dont know if that is possible. However, I would doubt it, as the ZIP would have to be completely decompressed to be read and completely recompressed when done. That is very resource intensive and depending on the size, could take a very long time. Using a ZIP file in this manner doesnt make much sense.
Perhaps your ZIP file contains a disk image? If so, you would need to extract it. VirtualBox is compatible with many disk image types. Therefore if the image was supported, you could then mount it as a drive.
add a comment |
You cannot use createrawvmdk
in this manner. createrawvmdk
is for using real, physical hard disks instead of virtual drives in a virtual machine. It is not used for mounting a file is a disk.
The error most likely stems from the fact that createrawvmdk
is trying to get the size of a physical disk, but is just reading what is essentially random data from the ZIP file. It seems to be aware 6 petabytes isnt correct.
For example, the correct way to use createrawvmdk
is this: I have two SSDs in my machine, one has Windows and one has Linux. I can boot off either hard drive. However, I created a VM in Windows, and used the createrawvmdk
to allow me to boot my real, physical Linux drive in a a VM in Windows.
Read more about createrawvmdk
here.
It looks like you are trying to use a ZIP file as a disk. I dont know if that is possible. However, I would doubt it, as the ZIP would have to be completely decompressed to be read and completely recompressed when done. That is very resource intensive and depending on the size, could take a very long time. Using a ZIP file in this manner doesnt make much sense.
Perhaps your ZIP file contains a disk image? If so, you would need to extract it. VirtualBox is compatible with many disk image types. Therefore if the image was supported, you could then mount it as a drive.
You cannot use createrawvmdk
in this manner. createrawvmdk
is for using real, physical hard disks instead of virtual drives in a virtual machine. It is not used for mounting a file is a disk.
The error most likely stems from the fact that createrawvmdk
is trying to get the size of a physical disk, but is just reading what is essentially random data from the ZIP file. It seems to be aware 6 petabytes isnt correct.
For example, the correct way to use createrawvmdk
is this: I have two SSDs in my machine, one has Windows and one has Linux. I can boot off either hard drive. However, I created a VM in Windows, and used the createrawvmdk
to allow me to boot my real, physical Linux drive in a a VM in Windows.
Read more about createrawvmdk
here.
It looks like you are trying to use a ZIP file as a disk. I dont know if that is possible. However, I would doubt it, as the ZIP would have to be completely decompressed to be read and completely recompressed when done. That is very resource intensive and depending on the size, could take a very long time. Using a ZIP file in this manner doesnt make much sense.
Perhaps your ZIP file contains a disk image? If so, you would need to extract it. VirtualBox is compatible with many disk image types. Therefore if the image was supported, you could then mount it as a drive.
edited Dec 15 at 6:56
answered Dec 15 at 4:52
Keltari
50.8k18117169
50.8k18117169
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f1383755%2fhow-to-create-virtualbox-vmdk-file-from-zip%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