gemeinsamen Ordner als lokales Laufwerk in virtualbox

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

gemeinsamen Ordner als lokales Laufwerk in virtualbox

Post by jehaf87 »

Hallo,

ist es möglich den gemeinsamen Ordner in der Virtualbox nicht als Netzlaufwerk sondern gleich als lokale Festplatte zu hinterlegen? Oder müsste ich gleich den Ordner als .vdi packen oder konvertieren?

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

Re: gemeinsamen Ordner als lokales Laufwerk in virtualbox

Post by scottgus1 »

Virtualbox does not have a way to use a host folder as the VM's drive.

Virtualbox has Raw Disk Access, which allows taking a full drive (on a Windows host) or a drive partition (on a Linux host) for the VM to exclusively use.

But not a folder in the host OS. Most modern OS's expect exclusive use of the drive they use, and both the VM and host would have access to the folder, and data corruption would happen.

A real shared folder, shared over a Bridged or Host-Only network, can allow both host and VM access to a host folder without data corruption; however, the VM OS needs its own exclusive drive to boot from.

What kind of arrangement do you want? Maybe someone can suggest a workable setup.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: gemeinsamen Ordner als lokales Laufwerk in virtualbox

Post by mpack »

VirtualBox does have the virtual ISO feature to allow you to treat a host folder as a virtual CD. However being a simple data CD it will be read-only.

IMO it's much less practical to do that with hard disks because there is no standard filesystem for hard disks. I also don't really see the point: the virtual ISO feature is most useful when dealing with really ancient guests (e.g. DOS, Win3.x) which have no GAs support and no modern networking capability either. For any modern guest OS the shared folder is a much more convenient paradigm.
Post Reply