Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 945  / 2 Years ago, fri, july 15, 2022, 7:38:57

When I am trying to create a Virtual Hard Disk for my Ubuntu 18.04 Virtual Machine I am getting this error...


Could not create the medium storage unit '/home/mir/VirtualBox VMs/Linux/Ubuntu/Ubuntu.vdi'.

VD: The given disk size 13529146982 is not aligned on a sector boundary (512 bytes) (VERR_VD_INVALID_SIZE).

Result Code:
VBOX_E_FILE_ERROR (0x80BB0004)
Component:
MediumWrap
Interface:
IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}

img_VirtualBox_Error


I am giving 12.60 GB of space for the virtual Hard Disk as you can see in the image below


img_Disk_size


What is the problem? It is not a disk space problem for sure, because once I installed it in 10 GB of space and it was working completely fine.


More From » 18.04

 Answers
5

12.60 GB is 13,529,146,982 bytes, so it is not a multiple of 512 bytes


Disk capacity must be a multiple of 512 bytes
You can use a capacity that is a multiple of 512 bytes, such as 12GB or 12.5GB
The reason is that 512 bytes of a hard disk are 1 sector, so the number of sectors must be a natural number


[#1520] Saturday, July 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ardingiba

Total Points: 497
Total Questions: 95
Total Answers: 109

Location: Gabon
Member since Sat, Jan 15, 2022
2 Years ago
;