|
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。3 M% K9 ^" ]# [+ g8 t+ Y) H
apt install ntfs-3g/ c% P; |2 _$ N7 ]- q r
以下为全过程
6 R9 g. W& {# e: a0 `. r! V
/ [4 J% n2 k, D' t1 l- root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk$ P N/ E& V9 {5 l1 O
- mount: /mnt/udisk: unknown filesystem type 'ntfs'.
5 E% g, g9 g4 w" c4 O - root@catdrive:/mnt/udisk# apt install ntfs-3g9 X% R+ Z5 o8 E( k. ]+ M
- Reading package lists... Done4 Q) M: ?+ m( S- N+ x
- Building dependency tree
, z4 F% p8 A( m- K - Reading state information... Done5 X4 c5 O$ E& v6 p. E
- The following additional packages will be installed:4 g+ u$ V; W4 h2 N; ?! V
- fuse libfuse2 libntfs-3g883
" c+ R$ s [$ v- A8 c6 k ` - The following NEW packages will be installed:- K( l$ ^; P( {
- fuse libfuse2 libntfs-3g883 ntfs-3g/ k! J2 x( i+ ]) g" R; ~+ y |
- 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.2 {) M6 q4 @9 g* i4 ?
- Need to get 729 kB of archives.
% c! M6 `* c- L5 O - After this operation, 2,278 kB of additional disk space will be used.9 W- W9 \' d% H: B
- Do you want to continue? [Y/n] y
) j# ]3 [; |: S" k - Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]- @; ]" q# \: ]: X
- Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]
; x3 g; J; B: O# N5 J) E - Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]
8 T5 k, o6 X& w) e3 F* { - Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]
* F9 y3 I! R. U; N5 E y+ ? - Fetched 729 kB in 0s (1,862 kB/s)
+ P8 Z6 E% K8 I6 e# a) W2 g$ b - Selecting previously unselected package libfuse2:arm64.9 F; U) _0 B+ T! \* ]
- (Reading database ... 48017 files and directories currently installed.)
& T% D5 Y+ {1 n1 S K - Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...9 g( t9 D* P) g! c% f1 U
- Unpacking libfuse2:arm64 (2.9.9-1) ..." q0 M6 Q$ B9 q* d; Z
- Selecting previously unselected package fuse.+ }: P1 B* k1 }
- Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...
, [& u! N* w0 I5 o) V - Unpacking fuse (2.9.9-1) ...
* F* x: S) x4 v4 o8 k - Selecting previously unselected package libntfs-3g883.% ?7 n) w' B% a3 c& Y: \4 Q5 F
- Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
8 s8 C% f! R1 A5 A2 B; h - Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...+ H: b0 U" M5 x. G, ]
- Setting up libfuse2:arm64 (2.9.9-1) ...
, B# o6 S1 b& \* |$ I# c - Setting up fuse (2.9.9-1) ...& R* z0 h* ~9 \) F/ F( U, B
- Selecting previously unselected package ntfs-3g.
# Z' u0 r" w1 C+ I: u - (Reading database ... 48049 files and directories currently installed.)
& m* X1 x! @+ y# Q0 u; R9 R! g1 \ - Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...5 Y0 D/ Q# U' C) A5 r( r" `
- Unpacking ntfs-3g (1:2017.3.23AR.3-3) ..., I& T0 |+ i- G. H% |
- Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...' u! L/ J: u; U2 z4 N
- Setting up ntfs-3g (1:2017.3.23AR.3-3) ...
6 [* l! o! E6 b9 E+ V+ ]0 `- h - Processing triggers for man-db (2.8.5-2) ...1 N3 J3 d& a0 ~& i
- Processing triggers for libc-bin (2.28-10) ...
+ }0 u! N. U. t. r9 M) ^( ?! H - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd
" h, u& h5 d5 n7 }7 O+ q& E - sda sda1 sdb sdb1 sdb2
# K% z8 y* v& |; u - root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/; G" Z; @8 r) U; `/ T1 J; \
复制代码 $ f# S2 E3 L" O2 e% F( V+ }
# y6 V+ W1 k1 h6 a* y |
评分
-
查看全部评分
|