华强北电脑城 龙岗电子世界 龙华电脑城  凯尔电脑

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1120|回复: 0

WinBTRFS – Access your BTRFS partitions from Windows

[复制链接]
发表于 2022-11-20 17:33:37 | 显示全部楼层 |阅读模式
WinBTRFS – Access your BTRFS partitions from Windows
# d! B2 X( `1 f
8 d# q2 n: G+ f- z* Z

) M2 J) x% J6 U) N, [8 X% ], H: q
1 n' b) T# r3 k, p$ B
( ]$ u  v  A$ G0 a# R  T

  g9 b- C/ ^2 f
Windows 10 or 11, which are based on the NT kernel, by default only supports file systems such as FAT16, FAT32, and NTFS. Linux-based distributions, on the other hand, use file systems such as EXT4 or BTRFS. Which makes the Linux drive impossible to access while Windows is turned on, and you have to reboot every time you want to move data between the two drives if you are dual-booting Windows as well as any Linux distribution.
However, if you are using BTRFS (pronounced Butter FS) which is mainly available on Fedora but is available for many Linux distributions as well, you can install a Windows utility called ‘WinBTRFS’ which basically acts as a driver for BTRFS file systems and hence, you can access your BTRFS partitions as well as BTRFS formatted Hard Drives/ USB drives.
Also read [color=var(--color-primary)]EXT4 vs BTRFS, which one should you choose?

0 w) b4 v8 e, T: b/ t9 q7 C( S# ^  n
' e! |0 Q" g, [* f% t
7 {& ~' ]. K, }8 {; F* E
, ]; y7 |+ t& B9 t2 w

) Y( M: [* t. f* {6 z
, M. W6 s" ~7 `" B/ _, |

  p' {2 r; H( C, W1 O. \9 I1 C
+ Z/ X$ A% S$ m" ]; Y2 {3 H  I4 m

5 y" c7 r+ _( O6 B; Q! E$ Y
' @# v+ m" W" l1 U6 @- j2 X' T5.2M
5 o7 P% z& N  C& i: \6 ]5 X/ G
( r: ]4 R: I! }2 M2 a$ d0 P
! s- u+ I) v5 B3 d0 X7 c5 B2 }
Linux File Permissions: Commands with Examples - Linux Tutorial 6
+ a! X0 K7 @( ?" W3 C3 N/ r

! V' Y# P4 E( L+ a: G& `4 w" w; O5 E
! |* w0 ^' {% U! N+ T. s

: A0 j1 {4 X6 k. z- d% M% u
' Q# B3 G/ H3 D: Z- e5 B* D

2 g+ y$ g) p) H2 ^2 D* J6 `3 X4 N, a& l) N7 d3 R

) u0 c) c+ {! }5 B

* A8 {  j0 h8 p  y# {
; a- j+ }8 C/ I, o- [

8 S1 B" |+ Q9 M# W# [, f+ d

; \2 X( \$ q  M. a
& X% @- H3 Q, T; I- r# O8 D
3 {2 n* V( r" O! V3 r

# q$ t( n2 b- [# H* l$ z% N) E7 H  Y0 p
/ V/ y% |& Y/ A* p3 w, U% d

" X  S& J' w  z, B: ~3 J. h
& X% z6 o& Z! L6 y% H8 V

$ [0 U# Z# P* C6 j* `# q

+ J! [6 x% p1 W8 x/ J

$ i& F  R. U: a! ^3 V1 e
: p% z1 @2 k& @0 ~1 a
/ \* u  F7 T5 {" m

' o5 k* _3 c) _/ S: L, o: h# x0 Y5 v2 ~1 k7 I
Note that if you are using Secure boot, then you have to do a registry edit on Windows to use this workaround.
Table of Contents

/ h& }" E' d3 J8 M" r* a
% I/ ?5 U, n4 ?1 ^( [% B7 H
Make sure you have a BTRFS partition on Linux
As mentioned earlier, WinBTRFS only works for BTRFS, but the majority of Linux distributions use EXT4 by default when you install them. So first, check whether you are using EXT4 or BTRFS partitioning scheme by typing the following commands in your Linux Terminal :
lsblk -f
% J' N" f) m6 i$ A7 E5 {1 {My Root Partition Is BTRFS
As you can see, I’m using BTRFS on my root drive on Fedora 36. If you are using EXT4, then you can consider reinstalling your OS (or formatting it with BTRFS if you are using a separate home partition).

$ c5 b# k; U2 [0 F/ |& \5 H, s( p
[color=var(--color-primary)]Report this ad1 I( G( w/ \5 c( \5 D
6 [. a2 ?. {$ |1 ~9 L, u/ {
4 E7 @9 R. t6 O4 s8 F+ @
Installing WinBTRFS
Boot into your Windows installation again, now let’s install this handy tool on our PC. Visit the Official [color=var(--color-primary)]GitHub download page of WinBTRFS and then download the zip file from the releases section. Now, open our file manager and extract the downloaded zip file using either 7zip or WinRAR.
Extract The Downloaded Zip File
Now, right-click on the btrfs.inf file and click ‘Install’. If you do not have secure boot enabled, then simply reboot our system and our Linux partition should be detected automatically, If you have secure boot enabled, then you can follow the procedures mentioned below :
Edit Registry
Press the Windows and R keys together to open the Run menu, type regedit and hit enter to launch the registry editor.
Now, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CI\Policy, and right click and create a new DWORD named UpgradedSystem.
Create A New DWORD Named UpgradedSystem
Now, double-click on this new DWORD and set the Value Data to 1, and base to Hexadecimal. Now, simply reboot your system. After the reboot, you can see in your file manager that a second drive is available.
0 l$ Q4 r+ K9 [+ e( w- E) F

: z2 Q/ C$ e. d6 P3 A[color=var(--color-primary)]Report this ad" b. W) `! I- h8 \1 y
8 K; u9 E& ]+ c* s& Y5 V/ G7 W; w
& {5 H! i% R9 C' z& q. U6 Q
Fedora’s Root Partition Is Accessible From WindowsSummary
You can also plug in your USB drives with BTRFS partition and WinBTRFS will still be able to recognize it without any problem. Formatting using the Windows default tool is also not possible, and you will have to use the WinBTRFS command line to access such features. [color=var(--color-primary)]You can read more about the commands here.

4 U! ~* ^2 u7 P. T: Z$ v8 |" n- {
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|华强北 电脑城 龙岗电子世界 龙华电脑城 pc4g.com ( 粤ICP备16039863号 )

GMT+8, 2024-9-18 17:41 , Processed in 0.143298 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表