|
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。+ |+ W2 c% g) @6 S
apt install ntfs-3g
- s" B; y" \. {以下为全过程
+ k t* I/ D0 b) G7 c4 r& L: \/ \6 ~- i0 H: {( I+ k( ^0 u/ J3 ^
- root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk5 |% K. m5 c; E3 {7 _" M! E4 Q6 c1 X
- mount: /mnt/udisk: unknown filesystem type 'ntfs'.
$ d+ J9 ^+ [" e7 r: U - root@catdrive:/mnt/udisk# apt install ntfs-3g
! N: z+ x2 x( n1 J6 K - Reading package lists... Done
* p( _% v- z9 d2 d4 r5 j+ m - Building dependency tree1 c; D V( \" s# f7 R2 }
- Reading state information... Done g* A- v6 @ L* V; _! M! ^' m- u
- The following additional packages will be installed:; x& m$ P f' t X
- fuse libfuse2 libntfs-3g883: r1 |% a' w! j( Z
- The following NEW packages will be installed:
) v/ I# ]6 o3 Q - fuse libfuse2 libntfs-3g883 ntfs-3g% G! B. M/ a7 G5 k7 d6 O
- 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
6 l7 D9 F2 q% t$ p - Need to get 729 kB of archives.
* D( M6 C* q i, A; X - After this operation, 2,278 kB of additional disk space will be used." x: A j7 |) E) V
- Do you want to continue? [Y/n] y0 k, n3 d0 b9 y6 ^$ \$ m( O. Z
- Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]
9 V6 y A8 e9 Z6 I! h3 g/ u - Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]1 L2 f8 }& ? B; r1 o; R ]
- Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]" _8 |# t! B, w& @. k- L2 ^
- Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]
6 i$ ?* P7 Z6 T* f$ Y1 a - Fetched 729 kB in 0s (1,862 kB/s)8 L$ n0 W! `0 `- ]9 @5 t& T+ o; f) S
- Selecting previously unselected package libfuse2:arm64.: M6 b6 ^; u- |! |( Q# ]" M3 A' d
- (Reading database ... 48017 files and directories currently installed.)
; f3 F I2 ]. c0 ?. E& ~" o3 ? - Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...; y6 ` \5 F0 Y* h- A/ z
- Unpacking libfuse2:arm64 (2.9.9-1) ...$ A l/ f0 {3 R5 {! G1 ]
- Selecting previously unselected package fuse./ }! r x1 g3 a, ]4 |
- Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...- r) J: g' t7 n2 T( y% k' C3 t
- Unpacking fuse (2.9.9-1) ...
6 G# m( Q; m9 K, H* H$ O5 g - Selecting previously unselected package libntfs-3g883.
8 `' e% a7 U* {' S$ E4 i - Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
& d9 B' ?2 { x6 Q% c* S9 d: z# a - Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...( ?! P$ y7 h+ S+ ?
- Setting up libfuse2:arm64 (2.9.9-1) ...
8 S) c3 `% u, {$ z3 u! D3 L - Setting up fuse (2.9.9-1) ...0 K, _' N0 `& T0 J7 O
- Selecting previously unselected package ntfs-3g.1 q9 Y* _0 X. S @3 I( ^
- (Reading database ... 48049 files and directories currently installed.)( B' F# t9 I2 Y" ?
- Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...& K9 l( Q. e' Z' A8 q2 s8 d
- Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...
( n* K" `$ f$ |* u1 X: |) [7 W# G: I - Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...& r V5 [0 L( p4 p/ Y
- Setting up ntfs-3g (1:2017.3.23AR.3-3) ...; y) s, G; b* u4 z2 _
- Processing triggers for man-db (2.8.5-2) ...
) A7 ~+ q/ F( V - Processing triggers for libc-bin (2.28-10) ...
0 z/ }: v2 q2 u - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd: u) L$ Q3 S( x
- sda sda1 sdb sdb1 sdb2
/ w+ ?' I) Z* Q* U3 Z - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/& W' J6 j/ ]/ x: }" \' f3 x6 L/ e
复制代码 ; f1 v& f$ T1 i
" D6 `( {2 x8 }7 j
|
评分
-
查看全部评分
|