can't make fixed-size VDI

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Bijay
Posts: 5
Joined: 9. Feb 2017, 11:49

can't make fixed-size VDI

Post by Bijay »

Hi You all,

I'm using virtualbox(.deb) 5.1.10 without GuestAdsn.
Host os Ubuntu 14.04
Guest os for virtual-machine Fedora.
HDD with all 3 partitions e.g. linux(ext4), Windows7(ntfs), General(ntfs-logical).
I'm perfectly using dynamically allocated VDI file on General(ntfs) partition. but I can't make a Fixed-size VDI file on that partition. It has 200GB free space & yet showing 'Result code:VBOX_E_FILE_ERROR(0X80BB0004)'

why was that? where did I mistake? if anyone can help me to do it successfully, it would be thankful. :?: :?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: can't make fixed-size VDI

Post by socratis »

What did you do to create the fixed size VDI? Did you use the VirtualBox Manager GUI for the Fedora VM? Or did you use the VBoxManage command-line interface? Full details please...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bijay
Posts: 5
Joined: 9. Feb 2017, 11:49

Re: can't make fixed-size VDI

Post by Bijay »

Thanks for your help.

I used the GUI program
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: can't make fixed-size VDI

Post by socratis »

Bijay, I said FULL DETAILS. Step-by-step.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: can't make fixed-size VDI

Post by mpack »

Please also provide evidence for your assertion about the amount of free space on the target partition. E.g. a screenshot of the free space being reported, plus evidence that you're using that volume to create the VDI in.

Also, it might be relevant to ask why you would want to create a fixed size VDI anyway.
Bijay
Posts: 5
Joined: 9. Feb 2017, 11:49

Re: can't make fixed-size VDI

Post by Bijay »

Thank you both for your time.

Q:"Also, it might be relevant to ask why you would want to create a fixed size VDI anyway."
A: because Oracle gave that option for users

OK
(actual evidence! with step-by-step!) :wink:

step1: started virtualbox
step2: clicked New
step3: 'create virtual machine' window appears. name:xyz type:Linux version:other linux(32 bit)
step4: memory: 777MB
step5: marked 'create virtual disk now' > Create
step6: marked 'VDI' > Next
step7: marked 'Fixed size' > Next
step8: chose /media/'user_name'/General(ntfs)/xyz.vdi & size:8 GB > Create
step9: next appears
'VirtualBox Error' - Failed to create Hard disk storage.
Details:
Could not create the medium storage unit .......
VDI: setting image size failed for......(VERR_INVALID_PARAMETER)

Result Code:
VBOX_E_FILE_ERROR (0x80BB0004)

Component:
MediumWrap
Interface:
IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
Attachments
evidence 1&2
evidence 1&2
evidence2.png (85.47 KiB) Viewed 1753 times
Bijay
Posts: 5
Joined: 9. Feb 2017, 11:49

Re: can't make fixed-size VDI

Post by Bijay »

sorry, other evidence too big to upload. 146KB
will try later
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: can't make fixed-size VDI

Post by socratis »

Bijay wrote:step8: chose /media/'user_name'/General(ntfs)/xyz.vdi & size:8 GB > Create
[color=#0000BF]From the picture[/color] wrote:/dev/sda7, NTFS - Mounted at /media/'user_name'/Common Drive
These two don't agree. Any explanations?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Bijay
Posts: 5
Joined: 9. Feb 2017, 11:49

Re: can't make fixed-size VDI

Post by Bijay »

OMG!
both are same partitions.

linux = ubuntu_14.04
general = 'Common Drive' = NTFS
should not be misunderstood :)
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: can't make fixed-size VDI

Post by mpack »

Good. The only thing we're missing now is a VM log file. Any VM will do. Zip the log before attaching it.
Post Reply