Dual-boot with a shared partition?

lux
2023-07-01T15:46:26Z

Hey,

I use Windows 10 and Arch in a dual boot configuration.

I use both of them for software development and want a shared partition to store all the projects.
Unfortunately, it's not as easy as I had thought.

Initially, I tried NTFS as the Linux support seemed fine. I tried both, ntfs-3g and the kernel implementation.
Besides the issue that hibernate could lock the drive - which you can disable - it periodically caused problems during compilation and other stages.

Especially Rust based projects have thrown weird errors during builds, but I also had this on certain Go projects as well.
It sometimes felt like, that the NTFS driver returned the wrong files when the compiler asked for them. Unmet dependencies, missing files, etc. Usually, when the project is huge.

In certain scenarios symbolic links didn't work and permissions were not set correctly - which you can fix by adding some args to the fstab mount - never got it really stable though.

I then tried to format to Ext4, and all issues were instantly gone on the Linux side.

Fortunately, there are tools such as Linux FileSystem from Paragon which promise to make it work (I even bought a proper license) - and it did for a while, until it didn't.

I once copied a bigger folder that included a bigger node_modules folder and during copy, files were missing, corrupted, the copy process hung - then crashed.

I was so desperate that I even tried out FAT32, but I quickly found out that it doesn't support symbolic links at all, and therefore breaks Git and other tools depending on it.

Is it still so hard in 2023 to have a shared partition between two OS? Has anyone made better experiences?
I really don't want to split the partitions as I sometimes work on the same project on different OSes.

Thanks in advance!

Comments URL: https://tildes.net/~comp/17bx/dual_boot_with_a_shared_partition

Votes: 7

Comments: 10