More than 2TB

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jcpamart
Posts: 7
Joined: 30. Nov 2008, 19:56

More than 2TB

Post by jcpamart »

Hi, I'm new with virtual box.
I want to create a VM on a 8To disk, but it's looks likes impossible more than 2TB.
How can I do to install an ubuntu in all of my disk space ?

Thanks
JC
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: More than 2TB

Post by scottgus1 »

This command makes an 8TB VDI: (or really an 8388608MB VDI, 8*1024*1024)

vboxmanage createmedium disk --filename "C:\Users\SnC\VirtualBox VMs\8TB.vdi" --size 8388608 --format VDI
8TB vdi.png
8TB vdi.png (19.68 KiB) Viewed 3924 times
I haven't tried this disk, and I don't have an 8TB host disk to fill it up on for a test.

Keep in mind there are less than 8TB actual storage on an "8TB" drive. Tune to the MB your host OS reports, perhaps leave a 100MB for overhead. Also, you probably need GPT partitioning and a compatible OS to use such a large disk.
jcpamart
Posts: 7
Joined: 30. Nov 2008, 19:56

Re: More than 2TB

Post by jcpamart »

Hi, thanks for your help
But this command doesn't run on windows CMD....

Anyway to use it ?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: More than 2TB

Post by scottgus1 »

Your command prompt has to be in the Virtualbox folder where vboxmanage exists, usually C:\Program Files\Oracle\Virtualbox. Try this:

cd "C:\Program Files\Oracle\Virtualbox"
vboxmanage createmedium disk --filename "C:\Users\SnC\VirtualBox VMs\8TB.vdi" --size 8388608 --format VDI
jcpamart
Posts: 7
Joined: 30. Nov 2008, 19:56

Re: More than 2TB

Post by jcpamart »

Hi,
Thanks a lot
To create a VM it's OK, but when I try to install ubuntu, it's seems have problem.....
See the pic under
Attachments
error.jpg
error.jpg (86.58 KiB) Viewed 3876 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: More than 2TB

Post by mpack »

Did you enable EFI in the VM? The legacy MBR BIOS does not support drives larger than 2TB. EFI includes support for GPT partitions, which do allow it.

Please include a zipped log when asking such questions in future. Contrary to popular belief, a log is usually at least as useful as a picture (especially one that's fuzzy and in a language I don't speak). E.g. a log would allow me to check if you were using EFI, I would not need to ask.
Post Reply