r/virtualbox • • 2h 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?

2 Upvotes

6 comments sorted by

1

u/Face_Plant_Some_More 1h 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.

1

u/NomadJago 1h ago

My thought was to lower the size of my home folder for purposes of home folder backups; having the vm in my home folder would add considerable size to the home folder. The vm would not need to be backed up, no harm if lost, i plan to use it only for tax software to use once a year and I can back up the tax data via email, etc.

1

u/Face_Plant_Some_More 1h ago edited 1h ago

And? You don't have to put the virtual storage volume for your VM in your "Home" directory. It can exist anywhere on your Host's filesystem, so long the user you are using to run said VM has read / right privileges for said file, and you appropriately configure the VM to use said file.

Alternatively, if you want to keep the virtual storage volume in your Home directory, and don't want to back up said virtual storage volume when doing backups of your Host's Home directory, just exclude said virtual storage volume or file from your backup script.

1

u/hexabyte-lady 2h ago

Filesystem on the Linux host? obviously ext4.
Why on earth would you use ntfs?

1

u/Simple_Hamster_4096 2h ago

Do not think the OP understands how virtual machines work...

1

u/BranchLatter4294 1h 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.