|
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。
8 Y p6 p. y$ M! W3 L9 V# M! ^- \: s$ `apt install ntfs-3g
- ]' f7 w$ ]3 h1 b以下为全过程
/ ~, v5 K% `' a9 t6 N- I8 s5 \& o E+ j9 [# F$ Y
- root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk
$ u4 _. k. _( w9 }$ J - mount: /mnt/udisk: unknown filesystem type 'ntfs'., w5 m" Z0 Y" Y: M A! K3 ]
- root@catdrive:/mnt/udisk# apt install ntfs-3g2 e" H" V8 p& j7 d
- Reading package lists... Done3 }" `$ x' A1 e, i3 w0 @
- Building dependency tree
/ E+ F1 X9 w0 p7 F+ T - Reading state information... Done0 Q/ K& f1 ~% i2 d
- The following additional packages will be installed:
% E3 P- i; D6 X& ~" k2 A6 q$ P - fuse libfuse2 libntfs-3g8839 o. G& N' b5 \4 j- q( J; b% S- Q
- The following NEW packages will be installed:
. s; {% L1 z. C% F" f& t - fuse libfuse2 libntfs-3g883 ntfs-3g' I2 z( e" t3 P, b3 k" l
- 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
! a( U" g: X6 I* P( D/ C - Need to get 729 kB of archives.1 ?9 B5 m/ _: k# r/ j
- After this operation, 2,278 kB of additional disk space will be used.3 B2 d* q1 t8 w2 j
- Do you want to continue? [Y/n] y
7 L% x/ G9 f: S x2 m - Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]
5 S: _1 [' D* W9 Y% f" ] - Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]7 X0 R* f8 a- z& _
- Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]( X: y; d8 W8 X3 d1 c
- Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]# H. l1 @- o q7 g; J5 }- T
- Fetched 729 kB in 0s (1,862 kB/s): H6 X5 p+ H' G0 N, V
- Selecting previously unselected package libfuse2:arm64.
{, {, Z6 F7 P! z0 m% f - (Reading database ... 48017 files and directories currently installed.)
6 P. A" \% ~9 ~' v3 E5 o - Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...6 R! @6 ?" x, d* o$ q
- Unpacking libfuse2:arm64 (2.9.9-1) ...
# |' v! }2 Q; z( n0 R/ D8 F - Selecting previously unselected package fuse.
9 d+ ~& b& @2 i& r. g - Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...
, l! E& K+ M* ^1 P9 E, G) g - Unpacking fuse (2.9.9-1) ...; n0 x# H' m3 H c/ B& R) V+ d
- Selecting previously unselected package libntfs-3g883.2 A- t; @& K! Z3 p
- Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
9 F% O0 i$ _" ~8 b - Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...
7 H. s6 @( S0 R# ^; ?. K - Setting up libfuse2:arm64 (2.9.9-1) ...5 i' r- X% k/ l4 n5 k8 i
- Setting up fuse (2.9.9-1) ...
! a/ \. G* h, P- { - Selecting previously unselected package ntfs-3g.
! F% s, S& D9 S: ~7 x0 H, t - (Reading database ... 48049 files and directories currently installed.)
; Z- m; g L( G) N - Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...; p/ ] w/ _9 L1 I+ A
- Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...
0 E- n$ P( G( r/ m$ b9 Y$ X1 v2 ^ - Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...
" R7 |8 W) M9 I1 |( N - Setting up ntfs-3g (1:2017.3.23AR.3-3) ...
# q# ?4 D& O% M - Processing triggers for man-db (2.8.5-2) ...1 X' E+ H( }0 H, L7 f
- Processing triggers for libc-bin (2.28-10) ...
: W1 w" t0 t* N9 [! c6 c1 M - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd5 b# i$ u! H. N j$ K4 S
- sda sda1 sdb sdb1 sdb2
% P, `, O- r2 w8 r2 s' N - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/8 D8 c; I9 B+ B- @. ?1 }. Q
复制代码 / B+ E6 I" ]& F
" q$ W1 q0 e. H, C% _" Q1 l! | |
评分
-
查看全部评分
|