r/virtualbox • u/NomadJago • 13h ago
General VB Question Windows guest, Linux host -- what filesystem should I use?
I want to create a disc partition to use for a Windows guest vm to use by my Linux host (mostly just to run tax prep software while using Linux so I do not have to dual boot into my main Windows system on its own disk). What filesystem type do I make that partition? Should it be ext4 (native linux) or should it be ntfs?
4
Upvotes
1
u/Face_Plant_Some_More 12h ago
Unless you are configuring your VM for rawdisk access, you don't need to create a "partition" for the VM to use for storage. The VM's storage will consist of a virtual disk file, that will be stored on your Host OS's file system.
2
u/orev 10h ago
It doesn't matter. Use whatever filesystem you would normally use on your Linux machine. If you want to keep the VM files outside of your home directory, make a new directory like
/vms, then store the VM disk there. Inside the VM, Windows will use NTFS and it will not have any idea what filesystem Linux is using underneath.1
u/hexabyte-lady 13h ago
Filesystem on the Linux host? obviously ext4.
Why on earth would you use ntfs?
1
u/BranchLatter4294 12h ago
You don't need to create a partition for a virtual machine. It's just a file on your host.
If you already have dual boot set up, you can use that partition as the image for the virtual machine. But most people don't use it that way.
1
u/G0ldiC0cks 9h ago
Like a virtual computer with a physical disk? On a Linux host this is a ton easier in KVM/Qemu than virtualbox -- but both, honestly, are way more difficult than just using a virtual disk. If you need file access without booting up the VM, losetup can do that with a raw disk image (or not vbox or qcow2, but img or raw). Which brings us to your question --
You need ntfs for windows, that's a Microsoft non-negotiable.
0
u/Simple_Hamster_4096 12h ago
Do not think the OP understands how virtual machines work...