r/linuxquestions • • 3d ago

Advice Windows guest, Linux host -- what filesystem should I use?

/r/virtualbox/comments/1ya23gk/windows_guest_linux_host_what_filesystem_should_i/
0 Upvotes

4 comments sorted by

4

u/fellipec 3d ago

The disk should be formatted for the host system.

Unless you want to use it RAW in the VM, then you simple don't format it at all.

1

u/ipsirc 3d ago

Try both.

1

u/Jwhodis 3d ago

Linux can read+write to NTFS but it's specifically for Windows, it's best to use EXT4 or another format that Linux has better support for.

1

u/_Lost-In-The-Weeds_ 3d ago edited 3d ago

In the Linux native Virtmanager, AKA GUI KVM/QMEU, the guest never actually sees the partitions and file system its image actually lives on in the real world bare metal.

So for instance on my server my VMs all get an individual bare metal dataset on disk in a ZFS pool managed by the host. 

The guest systems do not need to have ZFS installed, they could not write to the real bare metal disk if they even tried. 

The guest instead writes to the virtual machine, and then the host which has ZFS installed makes the actual read/writes to disk. 

I have never had a Windows VM, nor have I run Virtualbox but it should be similar, Linux file system on the hardware, Windows will create a NTFS file system in the Virtual Mchine during installation.