|
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。
3 s/ d$ G6 ?3 Gapt install ntfs-3g4 `7 ?$ R @4 o
以下为全过程
9 r" \- N e4 ?4 U! j) l; ?- o- |
q9 O. I) c5 X7 J: e- root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk; q2 v* ]- |' B: ?# q$ S
- mount: /mnt/udisk: unknown filesystem type 'ntfs'.
; u1 h6 T; w$ C- y - root@catdrive:/mnt/udisk# apt install ntfs-3g
) W: A$ i2 h8 c+ \$ n" @ - Reading package lists... Done
2 m+ }7 h& m7 [" ?8 e - Building dependency tree( D8 u) x- }( E4 u0 P9 c
- Reading state information... Done
7 f8 m8 V2 v! o3 u* e X, e - The following additional packages will be installed:8 q' r0 k+ T; Q0 U4 r
- fuse libfuse2 libntfs-3g883
+ \( @ y1 ~6 p' O - The following NEW packages will be installed:
@2 O1 @/ ?/ l4 l- F8 v - fuse libfuse2 libntfs-3g883 ntfs-3g
4 m9 p) t- C5 h" T. q- ]" @ - 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.1 d/ O# k4 ~, x1 c
- Need to get 729 kB of archives.
) p4 j( M* @: J; G, T! B, r0 n - After this operation, 2,278 kB of additional disk space will be used.8 Q! ^# x8 ]1 b$ ~+ p3 d8 W
- Do you want to continue? [Y/n] y
& T5 q I8 v0 w+ i0 f - Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]5 N* e0 C' D" J+ |' S8 X* U/ S
- Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]
' m' S! P* ?6 B' i0 x4 Z5 E. X6 | - Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]" ~- g# U' h) j6 N9 O9 S5 m3 e
- Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]
( k1 |4 u8 I; @2 v - Fetched 729 kB in 0s (1,862 kB/s)4 c4 I2 e i. |; o# B
- Selecting previously unselected package libfuse2:arm64.' w# k- X+ z( }! N8 @8 t8 [$ z5 h
- (Reading database ... 48017 files and directories currently installed.)
0 R( b8 ]9 ]: }1 x9 v - Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...' H7 m; j1 V; @: r9 j/ {
- Unpacking libfuse2:arm64 (2.9.9-1) ...
5 p- E ]$ ?5 u& Y- q2 U8 d - Selecting previously unselected package fuse.
) F) a# h7 ~' D; j& g+ m- T. n - Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...: u+ |% |8 B1 Z
- Unpacking fuse (2.9.9-1) ...
$ H- J$ f0 E9 T" `; d - Selecting previously unselected package libntfs-3g883.2 G @" S; g8 E* A( r/ s* C+ [
- Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
1 I3 _% k! ]2 ~) o- t - Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...; J7 u* ^6 U ?3 r6 P9 g3 G
- Setting up libfuse2:arm64 (2.9.9-1) ...2 Q ^3 \. ^0 X( h* f# T, u
- Setting up fuse (2.9.9-1) ...
$ E4 t% T& H3 c S: b8 `* M! X - Selecting previously unselected package ntfs-3g.* [5 ?6 a6 a/ q8 u, G
- (Reading database ... 48049 files and directories currently installed.): q, H( {4 F j" v6 }
- Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...( ]6 p, N& v9 ~
- Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...; D6 k% v4 M0 i, L% I0 ^
- Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...
3 U6 }5 G/ T) x% K' e - Setting up ntfs-3g (1:2017.3.23AR.3-3) ...7 ?/ ~ \: r0 ]) l( Z* |6 f( j% F
- Processing triggers for man-db (2.8.5-2) ...9 h# `" R0 i0 P& a7 y
- Processing triggers for libc-bin (2.28-10) ..." b8 r) c+ v2 h8 i i2 ]) d
- root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd: H0 c5 p5 e% S: v7 N, O
- sda sda1 sdb sdb1 sdb2) ?* W- O+ u# ?0 p
- root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/. }: L- t- x8 \' j
复制代码
- I8 ]6 L8 w8 H. ~& d2 I: w8 y' U" I
|
评分
-
查看全部评分
|