Festplatte größer als 2TB

Allgemeine Diskussionen über den Einsatz von VirtualBox.
jehaf87
Posts: 19
Joined: 27. Jun 2022, 21:45

Festplatte größer als 2TB

Post by jehaf87 »

Hallo,

Wie kann ich eine Festplatte größer als 2TB in der Virtualbox einrichten? Ich habe eine Command Zeile gefunden. Wie kann ich diese eingeben?

vboxmanage createhd --filename 3TB.vdi --size 3000000 --format VDI --variant Standard

Mfg
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Festplatte größer als 2TB

Post by scottgus1 »

jehaf87
Posts: 19
Joined: 27. Jun 2022, 21:45

Re: Festplatte größer als 2TB

Post by jehaf87 »

Und wo kann ich den command eingeben?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Festplatte größer als 2TB

Post by scottgus1 »

vboxmanage is a typical command-line app, which gets run in the Windows Command Prompt or the Linux/MacOS Terminal.
jehaf87
Posts: 19
Joined: 27. Jun 2022, 21:45

Re: Festplatte größer als 2TB

Post by jehaf87 »

Also geb ich das einfach in windows Eingabeaufforderung ein?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Festplatte größer als 2TB

Post by scottgus1 »

jehaf87 wrote:So I just type that in windows command prompt?
scottgus1 wrote:vboxmanage is a typical command-line app, which gets run in the Windows Command Prompt
QED. What more is there to say? :lol:
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Festplatte größer als 2TB

Post by mpack »

Since the OP has a Windows host he may also like to read: Run VBoxManage without having to type the program path.
jehaf87
Posts: 19
Joined: 27. Jun 2022, 21:45

Re: Festplatte größer als 2TB

Post by jehaf87 »

ich erhalte immer wieder eine Fehlermeldung.

Microsoft Windows [Version 10.0.20348.405]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Administrator>vboxmanage createhd --filename 3TB.vdi --size 3000000 --format VDI --variant Standard
Der Befehl "vboxmanage" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

C:\Users\Administrator>VBoxManage createhd --filename 3TB.vdi --size 3000000 --format VDI --variant Standard
Der Befehl "VBoxManage" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.


VBoxManage createmedium [disk|dvd|floppy] --filename <filename> [--size <megabytes>|--sizebyte <bytes>] [--diffparent <uuid>|<filename>] [--format VDI|VMDK|VHD] (default: VDI)] [--variant Standard,Fixed,Split2G,Stream,ESX, Formatted] [[--property <name>=<value>] --property <name>=<value]... Syntax error: Invalid parameter 'format'
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Festplatte größer als 2TB

Post by scottgus1 »

Ah yes. Those errors are because Windows does not know where 'vboxmanage' is located. Please see Mpack's link for his universal vboxmanage batch file. Install it, then the command will work.
jehaf87
Posts: 19
Joined: 27. Jun 2022, 21:45

Re: Festplatte größer als 2TB

Post by jehaf87 »

Was ist mit dem syntax error?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Festplatte größer als 2TB

Post by mpack »

Let's discuss that after you follow the advice.
jehaf87
Posts: 19
Joined: 27. Jun 2022, 21:45

Re: Festplatte größer als 2TB

Post by jehaf87 »

Ich verstehe nicht. Wo liegt nun mein Fehler? Ich alles bisherige befolgt.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Festplatte größer als 2TB

Post by scottgus1 »

Please post the output of the command again.
jehaf87
Posts: 19
Joined: 27. Jun 2022, 21:45

Re: Festplatte größer als 2TB

Post by jehaf87 »

Syntax error: Invalid parameter 'format'
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Festplatte größer als 2TB

Post by scottgus1 »

I should have asked for the command you used too. But the 'format' parameter starts with two hyphens '--format', maybe that's the problem.

You should be able to run the command without the --format and --variant parameters, if you want VDI and Standard; those are the defaults.

Try this:

VBoxManage createmedium --filename 3TB.vdi --size 3000000
Post Reply