|
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。
& P! u6 G; |" a4 J7 M ~apt install ntfs-3g4 s8 H5 J& b' s, s/ M" @5 t% D
以下为全过程; A$ L+ e! `& e+ C: k" L+ u( [
9 J" x: Y8 e" T9 L0 f2 m. j+ [
- root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk
! p. U8 }; x6 q5 b6 W: a - mount: /mnt/udisk: unknown filesystem type 'ntfs'. P1 A8 ]) i) t3 U; V
- root@catdrive:/mnt/udisk# apt install ntfs-3g
. f2 P: {$ O) r9 C - Reading package lists... Done: {* o1 Z8 p# H$ V7 d* f4 W7 L
- Building dependency tree
) k) ^: k7 `; u' X9 s+ G& _2 G - Reading state information... Done
( x; K5 t' S: T3 n$ x - The following additional packages will be installed:
: I, P; B* P2 L2 v+ B1 z9 r - fuse libfuse2 libntfs-3g883; y, n" T1 ]' |5 v/ r
- The following NEW packages will be installed: Z7 T4 j' h4 u+ ]3 Q
- fuse libfuse2 libntfs-3g883 ntfs-3g' R. ^& L/ M, a1 q6 W/ I% C T6 [
- 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
: D. Z/ P: S0 `# |( _ [: P - Need to get 729 kB of archives.
: Z2 K* t% o2 Q$ w7 M - After this operation, 2,278 kB of additional disk space will be used.
* a$ R B+ C/ N* X% B" e9 E - Do you want to continue? [Y/n] y, N5 t7 H' n2 f u' r" W. u5 ^
- Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]
' K. N0 r8 n0 v' ]) E0 ?% F2 H - Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]6 ~3 u7 W. j( _% S
- Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]
' y& A6 Y5 [ l* U; j - Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]4 S) B w- @% n! W h9 p7 T
- Fetched 729 kB in 0s (1,862 kB/s)# D* k Q: O8 O7 L
- Selecting previously unselected package libfuse2:arm64.
# f1 t; X7 z& d7 ~; s - (Reading database ... 48017 files and directories currently installed.)/ m7 f" [' O0 Y; H. q! C
- Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...
$ e5 V6 ]! R; k' }4 e4 Q/ T5 k% q3 u - Unpacking libfuse2:arm64 (2.9.9-1) ...# i, c4 t8 C& I. G0 S; I8 N1 i
- Selecting previously unselected package fuse.* g+ S, `8 W& B* P+ t
- Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...* F- F7 C0 O' a3 A9 D
- Unpacking fuse (2.9.9-1) ...
# e1 X; R3 S# j2 @" Y7 v - Selecting previously unselected package libntfs-3g883.
; o& }7 x+ V2 [8 Q - Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
& {" V6 t: y9 \9 ^, }4 a- ] - Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...# ?8 q0 X% W/ v
- Setting up libfuse2:arm64 (2.9.9-1) ...( n* f5 P3 P% t8 ^! E% x( v
- Setting up fuse (2.9.9-1) ..." \7 g8 V, c7 ~* f2 `2 R
- Selecting previously unselected package ntfs-3g.' D" C1 n7 D6 L6 P+ u) {9 o# Y. L: x
- (Reading database ... 48049 files and directories currently installed.)1 b, L- J' `4 N. \) p# K1 S
- Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...
7 @; p" \0 {2 [: O! [/ @, X - Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...- F# L' n8 ^, P* J
- Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...
' D2 m2 l6 x4 d; e, Y - Setting up ntfs-3g (1:2017.3.23AR.3-3) ...
, P- ^" k% }0 P2 [4 ]9 P - Processing triggers for man-db (2.8.5-2) ...
3 v( l0 S* p/ Z3 ^( M, j. _- Q - Processing triggers for libc-bin (2.28-10) ...5 K) t/ `0 F) S$ p
- root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd2 f n6 Z: f$ g: R) ^" w: B. ~
- sda sda1 sdb sdb1 sdb2
6 k5 r K/ o3 ~$ n - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/1 g' G0 H4 m1 \( d6 i/ J) p( v
复制代码 # t$ q5 K' }4 f/ ~; w8 q- U
- n/ I; d# P# a5 q4 Z |
评分
-
查看全部评分
|