|
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。
6 V. P* v5 ^% {9 F) Gapt install ntfs-3g- E1 M% E1 ?& j% w. o0 C, \, T
以下为全过程
+ V: y3 p8 @8 B' f) H; \; R8 Z% Y3 J% G2 s8 @
- root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk* ?4 K& J6 D4 O5 V8 O5 k
- mount: /mnt/udisk: unknown filesystem type 'ntfs'.; Z4 z6 @$ |7 t8 A& r- A. l
- root@catdrive:/mnt/udisk# apt install ntfs-3g. u5 N* K! p# h6 l# w
- Reading package lists... Done
U$ t: E- Q, P0 f1 e# o: R - Building dependency tree
1 E8 ~0 m( |! d# t - Reading state information... Done) _/ p2 Z5 L3 j; U/ m0 P
- The following additional packages will be installed:
9 @9 t( U# l! q5 o7 D* U - fuse libfuse2 libntfs-3g883
3 S9 o& m" Y" a0 d - The following NEW packages will be installed:
- ~2 S! @( f/ Z1 a4 \ - fuse libfuse2 libntfs-3g883 ntfs-3g7 i. @- W, r* v8 B3 m! s2 i
- 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
6 `* m& r; [" g" K$ |( ^/ K - Need to get 729 kB of archives.1 N Q2 ^+ U) J9 |9 {6 O
- After this operation, 2,278 kB of additional disk space will be used.. K% l& s r0 z! n R; l" \+ K
- Do you want to continue? [Y/n] y6 `, s# i$ A+ r' a7 Z; {1 h% m
- Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]
* e' C2 t) a% e4 \ - Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]. k9 u" w* P% d
- Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]
9 p( o: l7 K/ C9 H - Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]- K u- y1 o; h- S- C( u/ y
- Fetched 729 kB in 0s (1,862 kB/s)) W" N& j4 A% j R* A
- Selecting previously unselected package libfuse2:arm64.7 p" B) F4 ~- e& C# a
- (Reading database ... 48017 files and directories currently installed.)
, f+ }) `( y M g1 f7 }& e+ I - Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...
. K1 L# I. C6 _4 R' W e - Unpacking libfuse2:arm64 (2.9.9-1) ...& D }. Q6 x$ j, n1 W% p
- Selecting previously unselected package fuse.
( M5 v! C; K9 f) Z @8 P. o - Preparing to unpack .../fuse_2.9.9-1_arm64.deb .../ \- p! W3 b& u5 S( r
- Unpacking fuse (2.9.9-1) ...
1 e4 u3 C4 q: `7 U1 X( J- T - Selecting previously unselected package libntfs-3g883.$ d- f( ^! W+ x3 C9 M' v
- Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ... U0 \4 k* A, `: g+ }
- Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...
! g5 ~# N/ u* q$ ^8 j( M; J - Setting up libfuse2:arm64 (2.9.9-1) ...
) T% S1 e4 U- B& S! H - Setting up fuse (2.9.9-1) ...6 o. t" T4 i# U2 W' ?/ V( }! @
- Selecting previously unselected package ntfs-3g.
" W! D( r3 I2 P8 @ V7 i, U - (Reading database ... 48049 files and directories currently installed.); s. l; W3 F, G- |3 ?
- Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...' v, S% Q% f& |9 d0 z& w6 T( L
- Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...
2 _3 X8 ~ U+ f* [8 I - Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...
; W, D) H' [ A0 Z - Setting up ntfs-3g (1:2017.3.23AR.3-3) ...4 H! T& w5 V8 G1 C
- Processing triggers for man-db (2.8.5-2) ...
$ ~% R' \6 r: @$ c1 y - Processing triggers for libc-bin (2.28-10) ...4 m6 X1 Z% o2 g
- root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd7 ~: ?+ k% S. @
- sda sda1 sdb sdb1 sdb2
. D' k+ v9 p( e+ C - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/8 i* x) [# W% K
复制代码 & d. `' t) [5 y, }
+ W Y! {# z* `" h6 i8 A4 u! z
|
评分
-
查看全部评分
|