7

I have an SD card formatted as ext4 for use with SteamOS and EmuDeck. I want to add files to this SD card from my Windows 11 PC using a SD to USB adapter. Most of the the ext4 programs I've found only support reading without writing. WSL2 doesn't support mounting USB drives. I can't switch my drive format to NTFS as it's not compatible with EmuDeck.

How do I write files to an ext4 partition on a USB drive in Windows 11?

Note: This differs from How to read ext4 partitions on Windows? which only covers reading from ext4 partitions. The linked question was also asked in 2009, meaning several of the answers are outdated and no longer work.

3
  • 2
    The easiest way is to install any mainstream Linux distro like Ubuntu as a VM so you have a normal graphical desktop. Second best thing is what was suggested in the answer. Oct 19, 2022 at 17:49
  • Have you checked whether wsl mount with --bare instead of --partition N works? (You probably need to perform some mount command from within WSL after that.)
    – Tom Yan
    Oct 27, 2022 at 3:40
  • You can setup a middle man system to read and write to/from the sd card. For example, using a raspberry pi setup as a simple file server and have the card connected to it. Oct 27, 2022 at 6:55

3 Answers 3

2
+50

You need an ext4 file system driver for windows. As others stated, windows doesn't have this built in. But there are third-party solutions for this. For read and write access I'm only aware of this:
Linux File Systems for Windows by Paragon Software

They provide a trial for 10 days.

I'm not affiliated with this company. I just use their tools on a occasional basis.

Previous versions (2.1.440) of this tool seemed to be free for private use. Probably your favorite software/utility download site has it. I found it on this site: wintotal (sorry it's in german).

1
  • Previous version won't work as it still requires online registration for a (free) product key / serial number. And the current website won't give you these but will instead redirect you to a trial version page.
    – hypers
    Nov 14, 2023 at 10:47
1

Windows cannot write to EXT4, because this is a journaling file-system that Windows has not fully implemented. This is why writing is much more difficult than reading.

You have two options :

However, my preference would have been to rather use a file-system format that is fully supported by both operating systems, such as NTFS, exFAT or the limited FAT32.

10
  • 1
    For a dual-boot Windows+Linux I often recommend a NTFS or extFAT data partition. But in this case the OP has a very good reason to keep EXT4 and that reason being SteamOS and the SD card not being a shared drive. Oct 19, 2022 at 17:48
  • 1
    Updated question to clarify WSL2 won't work because it doesn't support USB drives.
    – Stevoisiak
    Oct 19, 2022 at 17:50
  • See this link for a method of mounting NTFS in SteamOS. Although an old article, it might still work.
    – harrymc
    Oct 19, 2022 at 17:58
  • 2
    @harrymc SteamOS or any Steam client in any supported OS including Linux always supported installing games in NTFS, that isn't and never was the question. The performance is better with EXT4 in Linux and SteamOS is Linux. Again, the OP shouldn't have to change to a sub-optimal proprietary file system. And considering what Stevoisiak posted above the only good answer is a VM. Oct 19, 2022 at 23:22
  • @harrymc as the WSL solution does not work, would you mind editing your answer in that regard? Oct 20, 2022 at 2:58
0

I personally set up the SD card as a Samba (windows) network share on the steam deck. Add user account that you use on Windows to the SD card sharing permissions. Then easy access over the network, no problem with filesystems or need to remove the SD card.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .