|
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。
+ L B8 D7 T4 D8 {# ]) s4 capt install ntfs-3g
$ d" o' D- m7 w. I3 s/ ~: O& L( ]以下为全过程
" m9 D7 |4 s2 x( V
- D% N4 |/ G2 O; z2 u1 Q- root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk
" r1 `0 W+ C# g& @+ k) @ - mount: /mnt/udisk: unknown filesystem type 'ntfs'.# _9 C2 `/ i v) }6 N6 A/ K% E
- root@catdrive:/mnt/udisk# apt install ntfs-3g3 V9 g# V/ {, }; r
- Reading package lists... Done+ a/ x! d! U, \2 z; Q! v
- Building dependency tree
" D4 @$ v U/ d; Y$ p4 K( b7 D - Reading state information... Done7 o' ~! R+ W' E$ r) E, r6 J9 n' U
- The following additional packages will be installed:
4 v8 v5 H6 M/ q7 c5 U" _$ { - fuse libfuse2 libntfs-3g883# Y1 E8 A3 {3 p% d" M5 C' h
- The following NEW packages will be installed:
# e. t/ p0 W3 e, R6 `6 v - fuse libfuse2 libntfs-3g883 ntfs-3g
K9 \/ ]5 \+ F7 W K/ M - 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
% O9 C0 N% C& C; J2 j - Need to get 729 kB of archives.
( K, \: A$ L3 M" x1 U& ]9 E5 F - After this operation, 2,278 kB of additional disk space will be used.! S ], L& B1 X0 b* L$ f
- Do you want to continue? [Y/n] y+ Y( a6 j/ O4 [8 F; B: ?
- Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]0 I5 X6 ]7 G* n. L, ?2 m/ ]
- Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]9 H, }9 r3 d* Z8 O# _( b: e% K
- Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]
) e3 P/ k( w! Z! }) s - Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]
" F: `5 j1 e" ?1 c! Q6 K6 e - Fetched 729 kB in 0s (1,862 kB/s)
, q. i: l7 J; y4 B: J% I0 q9 } - Selecting previously unselected package libfuse2:arm64.1 m; d) j+ c; w3 q
- (Reading database ... 48017 files and directories currently installed.)
: ]: x% U8 c+ P$ H& A3 t& A C - Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...
( v6 l1 W3 h; R) L - Unpacking libfuse2:arm64 (2.9.9-1) ...
2 W0 H3 |' n8 H5 e - Selecting previously unselected package fuse.
) X, p( M/ P- X/ Z - Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...0 z3 d3 S, t* t
- Unpacking fuse (2.9.9-1) ..." e$ X. a. \: }, W
- Selecting previously unselected package libntfs-3g883.; F5 }! q1 m, x3 A8 ?
- Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
6 ? E) a3 Y: c - Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...4 ^5 f3 ]; Q1 u/ U5 V2 V. N. f
- Setting up libfuse2:arm64 (2.9.9-1) ...& D0 M) l$ a( {9 f I$ Y
- Setting up fuse (2.9.9-1) ...
, _) v# M$ O; Y" L/ ]( \6 a$ H - Selecting previously unselected package ntfs-3g.
# ^* g1 S( ?$ b9 Y6 }! j - (Reading database ... 48049 files and directories currently installed.)/ s6 r8 b! r& `4 ]) P
- Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...
4 m- a4 i" T! y& {3 U7 R - Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...3 f8 R) P T9 c
- Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...4 f/ ?# g( c, I0 [, a* G+ Y/ u1 |
- Setting up ntfs-3g (1:2017.3.23AR.3-3) ...: i- q+ J5 B' V: b' e$ O, \
- Processing triggers for man-db (2.8.5-2) ...! `+ P- c& N# L$ E
- Processing triggers for libc-bin (2.28-10) ...
. F5 m4 o7 ~$ c! `/ } - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd8 m1 Z; Z& K* p
- sda sda1 sdb sdb1 sdb2
" g/ B( V* t% f2 m) M7 u( ? - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/; e W G7 G% x( b
复制代码
9 _% i( N5 W, z/ s( h! U0 e; F! l% N; q# `2 D( q/ ]
|
评分
-
查看全部评分
|