Page 1 of 1
More than 2TB
Posted: 17. Jul 2020, 17:15
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
Re: More than 2TB
Posted: 17. Jul 2020, 18:45
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 (19.68 KiB) Viewed 3925 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.
Re: More than 2TB
Posted: 19. Jul 2020, 23:44
by jcpamart
Hi, thanks for your help
But this command doesn't run on windows CMD....
Anyway to use it ?
Re: More than 2TB
Posted: 20. Jul 2020, 00:22
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
Re: More than 2TB
Posted: 20. Jul 2020, 12:14
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
Re: More than 2TB
Posted: 20. Jul 2020, 13:02
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.