找回密码
 立即注册
查看: 915|回复: 3

[教程] 猫盘debian下挂载ntfs

[复制链接]

46

主题

617

回帖

2764

积分

中级渣柚V3

积分
2764
发表于 2019-11-12 22:20:33 | 显示全部楼层 |阅读模式
装的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 ^
  1. root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk5 |% K. m5 c; E3 {7 _" M! E4 Q6 c1 X
  2. mount: /mnt/udisk: unknown filesystem type 'ntfs'.
    $ d+ J9 ^+ [" e7 r: U
  3. root@catdrive:/mnt/udisk# apt install ntfs-3g
    ! N: z+ x2 x( n1 J6 K
  4. Reading package lists... Done
    * p( _% v- z9 d2 d4 r5 j+ m
  5. Building dependency tree1 c; D  V( \" s# f7 R2 }
  6. Reading state information... Done  g* A- v6 @  L* V; _! M! ^' m- u
  7. The following additional packages will be installed:; x& m$ P  f' t  X
  8.   fuse libfuse2 libntfs-3g883: r1 |% a' w! j( Z
  9. The following NEW packages will be installed:
    ) v/ I# ]6 o3 Q
  10.   fuse libfuse2 libntfs-3g883 ntfs-3g% G! B. M/ a7 G5 k7 d6 O
  11. 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    6 l7 D9 F2 q% t$ p
  12. Need to get 729 kB of archives.
    * D( M6 C* q  i, A; X
  13. After this operation, 2,278 kB of additional disk space will be used." x: A  j7 |) E) V
  14. Do you want to continue? [Y/n] y0 k, n3 d0 b9 y6 ^$ \$ m( O. Z
  15. 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
  16. 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  ]
  17. 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 ^
  18. 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
  19. Fetched 729 kB in 0s (1,862 kB/s)8 L$ n0 W! `0 `- ]9 @5 t& T+ o; f) S
  20. Selecting previously unselected package libfuse2:arm64.: M6 b6 ^; u- |! |( Q# ]" M3 A' d
  21. (Reading database ... 48017 files and directories currently installed.)
    ; f3 F  I2 ]. c0 ?. E& ~" o3 ?
  22. Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...; y6 `  \5 F0 Y* h- A/ z
  23. Unpacking libfuse2:arm64 (2.9.9-1) ...$ A  l/ f0 {3 R5 {! G1 ]
  24. Selecting previously unselected package fuse./ }! r  x1 g3 a, ]4 |
  25. Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...- r) J: g' t7 n2 T( y% k' C3 t
  26. Unpacking fuse (2.9.9-1) ...
    6 G# m( Q; m9 K, H* H$ O5 g
  27. Selecting previously unselected package libntfs-3g883.
    8 `' e% a7 U* {' S$ E4 i
  28. Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
    & d9 B' ?2 {  x6 Q% c* S9 d: z# a
  29. Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...( ?! P$ y7 h+ S+ ?
  30. Setting up libfuse2:arm64 (2.9.9-1) ...
    8 S) c3 `% u, {$ z3 u! D3 L
  31. Setting up fuse (2.9.9-1) ...0 K, _' N0 `& T0 J7 O
  32. Selecting previously unselected package ntfs-3g.1 q9 Y* _0 X. S  @3 I( ^
  33. (Reading database ... 48049 files and directories currently installed.)( B' F# t9 I2 Y" ?
  34. Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...& K9 l( Q. e' Z' A8 q2 s8 d
  35. Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...
    ( n* K" `$ f$ |* u1 X: |) [7 W# G: I
  36. Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...& r  V5 [0 L( p4 p/ Y
  37. Setting up ntfs-3g (1:2017.3.23AR.3-3) ...; y) s, G; b* u4 z2 _
  38. Processing triggers for man-db (2.8.5-2) ...
    ) A7 ~+ q/ F( V
  39. Processing triggers for libc-bin (2.28-10) ...
    0 z/ }: v2 q2 u
  40. root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd: u) L$ Q3 S( x
  41. sda   sda1  sdb   sdb1  sdb2
    / w+ ?' I) Z* Q* U3 Z
  42. 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

评分

参与人数 1渣金 +5 经验值 +2 收起 理由
zystbbs + 5 + 2 赞一个!

查看全部评分

4

主题

79

回帖

479

积分

中级渣柚V1

积分
479
发表于 2019-11-13 00:22:45 | 显示全部楼层
很好、很强大,这个一定得支持!!!

42

主题

394

回帖

1956

积分

中级渣柚V3

积分
1956
发表于 2019-11-13 08:01:13 | 显示全部楼层
厉害了!

46

主题

617

回帖

2764

积分

中级渣柚V3

积分
2764
 楼主| 发表于 2019-11-13 09:19:17 | 显示全部楼层
我挂的3T硬盘,两个分区。debian应该有usb休眠机制,过一会硬盘自己会停下来。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|矿渣社区 ( 黔ICP备2024020525号-1 )

GMT+8, 2024-12-23 14:58 , Processed in 0.047861 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表