В случае, если вам потребовался доступ из Windows к данным на разделе диска с файловой системой Linux — ext4/ext3/ext2, встроенными средствами системы сделать это не получится. Однако, возможности есть, причем реализовать это можно встроенными средствами системы или с помощью сторонних инструментов.
В этой инструкции подробно о способах подключить раздел диска в файловой системе Linux в Windows 11 и Windows 10 для доступа к данным на этом разделе как для чтения, так и для записи.
Ext2 File System Driver (Ext2Fsd) — самый простой способ открыть раздел ext4/ext3/ext2 в Windows
Ext2 File System Driver или Ext2Fsd — сторонний и полностью бесплатный драйвер для подключения разделов Linux во всех версиях Windows начиная с XP. Несмотря на название, поддерживаются не только разделы не только с файловой системой ext2, но и более новые ext4 и ext3.
Порядок использования Ext2 File System Driver для доступа к дискам Linux будет следующим:
- Загрузите установщик Ext2Fsd с сайта https://sourceforge.net/projects/ext2fsd/
- Установите драйвер, в параметрах установки как правило не требуется ничего изменять.
- По завершении установки вам будет предложено запустить Ext2 Volume Manager (менеджер томов), запустите его.
- Нажмите правой кнопкой мыши по разделу Linux ext4, ext3, ext2 и выберите пункт «Assign Drive Letter» — назначить букву диска.
- Для раздела будет автоматически назначена буква диска, и вы увидите раздел в Проводнике Windows с возможностью чтения и записи файлов на нём.
В дальнейшем вы тем же способом сможете удалить букву диска с раздела (опция «Change letter» — «Remove»).
Доступ к разделам Linux средствами Подсистемы Windows для Linux (WSL)
Подсистема Windows для Linux (WSL) также может быть использована для подключения дисков Linux в Windows таким образом, чтобы доступ к ним был возможен из проводника. Шаги будут следующими:
- Запустите командную строку, Терминал или PowerShell от имени администратора и по порядку введите команды
wsl --install wsl --set-default-version 2 dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart wsl --install -d Ubuntu
- После выполнения последней команды откроется окно консоли Linux (командную строку при этом не закрывайте, она еще пригодится) с предложением настроить имя пользователя и пароль, сделайте это. Если в окне консоли вы увидите сообщение об ошибке, скачайте и установите обновление WSL, перезагрузите компьютер и запустите Ubuntu из меню «Пуск».
- В консоли Ubuntu введите команду
sudo mkdir -p /mnt/ext-drives/
для создания папки, к которой будут монтироваться диски.
- В консоли Windows (командная строка, терминал, Powershell) введите команду
wmic diskdrive list brief
- Обратите внимание на DeviceID диска, который нужно подключить и введите команду (так же в консоли Windows) указав соответствующий номер в имени PHYSICALDRIVE
wsl --mount \\.\PHYSICALDRIVE
- В консоли Ubuntu введите команду lsblk — это отобразит список подключенных дисков, разделов на них и их размер. В следующей команде используем имя нужного раздела для монтирования:
sudo mount /dev/sdИМЯ /mnt/ext-drives/
- После успешного выполнения всех указанных шагов вы можете зайти в Проводник Windows, выбрать пункт «Linux» в панели быстрого доступа, перейти в папку mnt\ext-drives и получить доступ к файлам на подключенном разделе Linux с возможностью записи и чтения.
В дальнейшем для отключения диска от WSL можно использовать ту же команду, которая использовалась на 5-м шаге, заменив mount на unmount.
Есть и другие программы (драйверы) для доступа к разделам Linux из Windows, но не полностью бесплатные. Среди них:
- DiskInternals Linux Reader — в бесплатной версии доступно только чтение данных с разделов.
- Paragon Linux File Systems for Windows — бесплатная работа в течение пробной версии, затем необходимо приобретать лицензию.
Содержание статьи:
- Как «прочитать» информацию на разделах с файловыми системами Ext2, Ext3, Ext4
- Способ 1 (через спец. драйвер)
- Способ 2 (через дополнения к TC)
- Способ 3 (с помощью LiveCD)
- Вопросы и ответы: 4
Доброго дня!
К сожалению «обычная» версия Windows не позволяет работать с дисками, отформатированными в файловые системы (ФС) Ext2, Ext3, Ext4 (используются в Linux). Всё, что доступно — это узнать о их существовании в управлении дисками, а вот скопировать файл — уже проблема…
Что делать?
Наиболее сподручный и самый удобный вариант (на мой взгляд) — установить в Windows спец. драйвер, который позволит ОС работать с дисками Ext2/3/4 также, как если бы они были отформатированы в NTFS (скажем). Т.е. любая программа в Windows (тот же проводник) сможет в обычном режиме работать с диском. Удобно?
Теперь о том, «что» выбрать…
*
Как «прочитать» информацию на разделах с файловыми системами Ext2, Ext3, Ext4
Способ 1 (через спец. драйвер)
Подобные «драйверы» есть от нескольких производителей. Я бы выделил продукт от Paragon (ссылка на офиц. сайт с драйвером). Почему:
- поддержка ФС: Ext2, Ext3, Ext4 (чтение + запись); Btrfs, XFS (только чтение);
- после установки драйвера — ничего «делать» не нужно: просто Windows начинает видеть накопители с Ext4+;
- совместим с ОС Windows 7/8/10 (плюс есть пробный период, которого хватает для возникшей задачи (обычно)).
Драйвер от Paragon
Обратите внимание, что «ненужные» разделы диска можно откл. и не монтировать. Настройка драйвера позволяет это сделать.
Главное окно (Linux File Systems for Windows by Paragon Software)
На скрине ниже привел окно проводника: как видите, раздел отображает как «обычный» — на него также можно что-нибудь скопировать / удалить.
Этот компьютер — диски с ФС EXT4 появились в проводнике
👉 Дополнение!
На Sourceforge можно также найти бесплатный драйвер файловой системы Ext2/3/4 для Windows 7/8/10* (ориг. название: Ext2Fsd).
Сразу отмечу, что на некоторых ОС Windows 10 — драйвер этот ведет себя нестабильно, и не позволяет прочитать информацию с нужного раздела…
Продукт от Paragon, конечно, выигрывает…
*
Способ 2 (через дополнения к TC)
TC — это сокращенное название файлового коммандера Total Commander (некая замена проводнику). К этой программе есть очень много плагинов, и, разумеется, для чтения Ext2/3/4 ФС тоже есть!
Покажу по шагам, как в нем открыть подобный раздел диска…
1) Сначала устанавливаем сам Total Commander. Ссылка на офиц. сайт.
2) Далее необходимо загрузить плагин DiskInternals Reader с офиц. сайта (он идет в архиве ZIP — извлекать не нужно).
3) После необходимо запустить TC от имени администратора (просто кликните правой кнопкой мыши по значку…). 👇
Запуск TC от имени админа
4) Затем необходимо открыть архив ZIP с плагином DiskInternals Reader в Total Commander — тогда он предложит вам установить плагин. Разумеется, соглашаетесь! 👌
Установка плагина
5) Далее необходимо закрыть TC и снова его запустить от имени админа. В меню выбора диска укажите вариант «Сеть / FS-плагины» — далее кликните по значку DiskInternals Reader (см. стрелки 1, 2 на скрине ниже 👇).
DiskInternals Reader
6) Собственно, далее появиться список всех дисков (в том числе и Ext2/3/4) — их можно открыть и скопировать с них нужную информацию. Задача решена?! 👌
Файлы читаются, можно копировать
*
Способ 3 (с помощью LiveCD)
Вообще, этот вариант, конечно, не относится к работе из-под Windows… Однако, он вполне себе годен для какой-то разовой работы (например, для копирования и переноса папки с файлами). К тому же аварийный LiveCD с Linux никогда не помешает — вдруг чего… 👌
1) Дистрибутивы Linux с поддержкой работы LiveCD — 👉 можете найти в моей подборке
2) Загруженный ISO-файл с нужной версией дистрибутива Linux необходимо правильно записать на флешку.
3) Далее останется только загрузиться с этой флешки с помощью Boot Menu (вызывается сразу после вкл. ПК). Если вы выберите дистрибутив Linux для новичка — то работать с ним весьма просто (ничуть не сложнее, чем с проводником Windows).
Linux Mint загружена с LiveCD
*
Дополнения приветствуются!
Успехов!
👌
Linux Reader — с помощью данной программы вы можете читать файлы с различных файловых систем, получать удаленный доступ через SSH-соединение, создавать виртуальный диск, экспортировать файлы по FTP и многое другое.
Поддерживает работу с Ext2/3/4, ReiserFS, Reiser4, HFS, HFS+(в режиме чтения), FAT, exFAT, NTFS, ReFS, UFS2, RomFS(в режиме чтения), RAID 0, 1, 4, 5, 50, 10, и JBOD, APFS (в режиме чтения), ZFS (в режиме просмотра), XFS (в режиме просмотра), Hikvision NAS and DVR (в режиме просмотра).
Возможности Linux Reader:
- Чтение файлов со всех типов жестких дисков, включая SSD, HDD, флеш-накопители, карты памяти и другие.
- Доступ к файлам на дисках Linux только для чтения, оставляя оригинальные файлы нетронутыми.
- Предварительный просмотр содержимого файлов для обеспечения целостности.
- Доступ к любым файлам в системе Linux в обход политик безопасности.
- Создание образа диска дисков, к которым у вас есть доступ. В случае потери данных вы можете восстановить весь диск из этого образа.
На данный момент DiskInternals Linux Reader является лучшим программным инструментом на рынке, обеспечивающим доступ из Windows к различным файловым системам Linux, таким как Ext2/Ext3/Ext4, HFS, ReiserFS и другим.
In this article, we will be discussing five different ways to access Linux files from Windows. We’ll work on Ubuntu in this article, but you can use any distribution. Just identify the partition type that you’re using on your system and download the appropriate tool from this list.
Ubuntu supports Windows NTFS partitions but Windows can’t access Ubuntu partitions i.e. Ext4, Ext3, Ext2, etc. To access these partitions from windows when dual-booted with Ubuntu, this can only be done using third-party software. We will discuss some of the software to read and write Linux partitions.
Here are some free tools to access Linux files from windows without booting into Linux:
1. ext2fsd
ext2fsd can read Ext4, Ext3, Ext2 file systems and can even provide write access on enabling write support during the setup. You have to start it manually in Tools > Service Management and click on Start or you can set it to start automatically when the system boots. It is free and easy to install.
It assigns a drive letter to the Linux partitions or you can set it manually using Ext2 Volume Manager and can change ext2fsd’s settings. You can choose to assign the drive letter automatically in Tools > Service Management. Assigning a drive letter to Linux partitions allows apps to directly access Linux Files on Windows!
2. DiskInternals Linux Reader
Unlike ext2fsd, Linux Reader also supports ReiserFS, Reiser 4, HFS, HFS+(Apple’s file system), APFS, XFS, etc along with Ext4, Ext3, Ext2. It provides read-only access to keep the original files secure. It previews the contents of the files and bypasses the security policies of files which gives you access to any file on your Linux partition. It is free software for non-commercial use and works on Windows 7, 8, and 10.
It also has a pro version i.e. Linux Reader Pro which provides some extra features such as remote access via SSH, Exporting files to an FTP server. You can download it through this link. Instead of assigning a drive letter, it shows the files in its application window. You can save the files to windows which you want to use.
3. Ext2Read
Ext2read is a free and open-source utility that works the same as the Linux Reader. It provides read-only access only to Ext4, Ext3, Ext2, and Ext4 Extents. It does not need to be installed, It is just a .exe file that should be run as an administrator. You can copy folders and even whole directories from Linux partitions. You can download the .exe file through this link.
4. Explore2fs
Explore2fs is a tool that gives you access to Ext2 and Ext3 file systems. It supports all versions of windows, especially the older versions. This tool is used for the old hardware as it supports Floppy disks, CD-ROM, Jazz Disk and can export files as binary, text, or even directories. While not the best option, if you need to access Linux files on Windows on a old device, go for this one. You can download it from here.
5. Ext2 IFS
Ext2 IFS is a tool used to access the Ext2 file system with read and write access. You can read, write, rename, move and delete files or directories. It works on Windows 7 and 8, Windows Server 2003, 2008, 2012, Windows XP, Windows Vista, and other old versions.
During installation, it will give the option to choose a drive letter for your Linux partition and after the installation, you will find the Linux file system in your file explorer.
Unlike other software discussed above, this tool can only access Ext2 file systems. You can download it through this link.
FAQs
What are some tools to access Linux files on Windows?
You can use tools like DiskInternals Linux Reader, Ext2Fsd, Explore2fs, WSL (Windows Subsystem for Linux), and Linux File Systems for Windows by Paragon to access Linux files on Windows.
How can I access Linux partitions from Windows?
You can use tools like Ext2Fsd or Linux File Systems for Windows by Paragon to access Linux partitions from Windows. These tools allow you to browse and save files from Linux partitions on your Windows system.
Can I access Ext4 partitions from Windows?
Yes, you can access Ext4 partitions from Windows using tools like Linux File Systems for Windows by Paragon which supports the Ext4 file system and allows you to access files from Ext4 partitions on your Windows PC.
Does Windows 10 have built-in support for accessing Linux files?
Windows 10 does not have built-in support for accessing Linux files. However, you can use third-party tools like DiskInternals Linux Reader or Linux File Systems for Windows by Paragon to access Linux files from Windows 10.
How can I transfer files between Windows and Linux systems?
You can transfer files between Windows and Linux systems by using tools like WSL (Windows Subsystem for Linux) or third-party applications like DiskInternals Linux Reader or Linux File Systems for Windows by Paragon.
Conclusion
So, We discussed different ways to access Ubuntu files from Windows without shutting windows and booting into Linux. Explore2fs and Ext2 IFS can be used for older versions of windows and can access old hardware as discussed.
Quick Links
-
DiskInternals Linux Reader
-
Linux File Systems For Windows
Summary
You must install a third-party application, like Linux Reader, Ext2explore, or Linux File Systems for Windows to view files on your Linux partitions from within Windows. You can also use Windows Subsystem for Linux 2 to view your Linux files on Windows if your Linux partition is on a separate drive.
If you’re dual-booting Windows and Linux, you’ll probably want to access files on your Linux system from Windows at some point. Linux has built-in support for Windows NTFS partitions, but Windows can’t usually read Linux partitions without third-party software.
We’ve rounded up some third-party software to help. This list is focused on applications that support the Ext4 file system, which most new Linux distributions use by default. These applications all support Ext2 and Ext3, too — and one of them even supports ReiserFS.
UPDATE: 9/8/22
This article previously recommended Ext2Fsd as one of these three options. Ext2fsd is still available on GitHub and SourceForge, and currently functions, but everything indicates that the project has been abandoned. You can use it for the present, but there is no telling if it will continue to work in the future without updates. We’ve swapped our recommendations to include only software that has been updated recently (or whose developers are still active), and we’ve confirmed works on Windows 10 and Windows 11.
What About WSL2?
You can also use the Windows Subsystem for Linux (WSL2) to mount Ext4 drives, but the drive with the Ext4 filesystem must be a different physical drive from your NTFS drive.
Additionally, Windows 10 doesn’t support the feature. Microsoft has gradually stopped pushing new WSL features to Windows 10, and that includes the
mount
command necessary for that method.
DiskInternals Linux Reader
Linux Reader is a freeware application from DiskInternals, developers of data recovery software. In addition to the Ext file systems, Linux Reader also supports ReiserFS and Apple’s HFS and HFS+ file systems. It’s read-only, so it can’t damage your Linux file system.
Linux Reader doesn’t provide access via a drive letter — instead, it’s a separate application you launch to browse your Linux partitions.
Linux Reader shows previews of your files, making it easy to find the right one.
If you want to work with a file in Windows, you’ll have to save the file from your Linux partition to your Windows file system with the Save option. You can also save entire directories of files.
Ext2explore
Ext2explore hasn’t been updated since 2012, but as of September 2022, it works perfectly. Performance might be slow if you’re dealing with large (a few terabytes or bigger) hard drives, but it will get the job done.
We’ve covered Ext2explore in the past. It’s an open-source application that works similarly to DiskInternals Linux Reader — but only for Ext4, Ext3, and Ext2 partitions. It also lacks file previews, but it has one advantage: it doesn’t have to be installed; you can just download the .exe and run it.
The Ext2explore.exe program must be run as administrator, though, or you’ll get an error. Extract the executable from the ZIP file using a file archiving program or File Explorer first. Then right-click the executable to access the context menu and click «Run as Administrator.»
You can enable the «Run This Program As An Administrator» to save some time in the future.
Right-click the executable, ext2explore.exe, then click «Properties.» Click on the «Compatibility» tab, tick the box next to «Run This Program As An Administrator,» then click «Apply.»
There is a good chance Ext2explore won’t detect any Ext4 partitions or drives when you first run the application. The fix is simple: click on «File» in the top-left-hand corner, then select «Rescan System» from the drop-down menu.
Ext2explore basically works like every other file explorer. You have a hierarchy view in the left pane and folder view on the right. You navigate around it just like you would on Windows, Linux, or macOS.
As with Linux Reader, you’ll have to save a file or directory to your Windows system before you can open it in other programs.
Linux File Systems For Windows
Linux File Systems for Windows by Paragon Software is significantly newer than the previous two options. It supports reading and writing to Ext2, Ext3, and Ext4, and supports Btrfs and XFS in read-only mode.
Linux File Systems for Windows isn’t open source or freeware — it costs $20 dollars for a license. Whether that’s worth it will depend on your needs, but we’ve tested it and it works very well.
After the installation is complete, any Linux partitions attached to your system will be detected and mounted automatically. It also adds itself to the startup programs — that basically enables plug and play with any Ext2, Ext3, or Ext4 formatted external drives you might connect.
Of course, if you don’t want a a drive to mount automatically, you can always disable that functionality. You can also disable «Mount in Read/Write Mode» if you’re concerned about accidentally corrupting your data.
Linux File System for Windows also has a tool to format partitions built-in. Formatting a partition will completely wipe all data stored on it, so don’t click «Format» unless you’re sure you’re ready to do that. If you do use it, be sure to change the default format from «Ext2» to «Ext4.»
If it fails to detect your drive, click on the three dots in the middle, and then click «Restart the Service.»
Paragon’s Linux File Systems for Windows mounts your Linux partitions in File Explorer just like any other internal or external storage device and assigns it a letter correspondingly. It isn’t a necessary feature, but it is extremely convenient.
It means that you can interact with anything on your Linux partition seamlessly, using all of the usual Windows controls and shortcuts.
Whether the $20 IS worthwhile really depends on how often you need to work with a Linux partition in Windows. If you’re just going to interact with a Linux partition from Windows once, then it probably isn’t worth spending the money. If it is something you’re going to do regularly — especially if you’ll be reading and writing to the Linux partition on a PC with Linux— then $20 is a fairly compelling value.