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

[教程] 猫盘debian下挂载ntfs

[复制链接]

46

主题

617

回帖

2764

积分

中级渣柚V3

积分
2764
发表于 2019-11-12 22:20:33 | 显示全部楼层 |阅读模式
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。
& P! u6 G; |" a4 J7 M  ~apt install ntfs-3g4 s8 H5 J& b' s, s/ M" @5 t% D
以下为全过程; A$ L+ e! `& e+ C: k" L+ u( [
9 J" x: Y8 e" T9 L0 f2 m. j+ [
  1. root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk
    ! p. U8 }; x6 q5 b6 W: a
  2. mount: /mnt/udisk: unknown filesystem type 'ntfs'.  P1 A8 ]) i) t3 U; V
  3. root@catdrive:/mnt/udisk# apt install ntfs-3g
    . f2 P: {$ O) r9 C
  4. Reading package lists... Done: {* o1 Z8 p# H$ V7 d* f4 W7 L
  5. Building dependency tree
    ) k) ^: k7 `; u' X9 s+ G& _2 G
  6. Reading state information... Done
    ( x; K5 t' S: T3 n$ x
  7. The following additional packages will be installed:
    : I, P; B* P2 L2 v+ B1 z9 r
  8.   fuse libfuse2 libntfs-3g883; y, n" T1 ]' |5 v/ r
  9. The following NEW packages will be installed:  Z7 T4 j' h4 u+ ]3 Q
  10.   fuse libfuse2 libntfs-3g883 ntfs-3g' R. ^& L/ M, a1 q6 W/ I% C  T6 [
  11. 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    : D. Z/ P: S0 `# |( _  [: P
  12. Need to get 729 kB of archives.
    : Z2 K* t% o2 Q$ w7 M
  13. After this operation, 2,278 kB of additional disk space will be used.
    * a$ R  B+ C/ N* X% B" e9 E
  14. Do you want to continue? [Y/n] y, N5 t7 H' n2 f  u' r" W. u5 ^
  15. Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]
    ' K. N0 r8 n0 v' ]) E0 ?% F2 H
  16. Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]6 ~3 u7 W. j( _% S
  17. Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]
    ' y& A6 Y5 [  l* U; j
  18. Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]4 S) B  w- @% n! W  h9 p7 T
  19. Fetched 729 kB in 0s (1,862 kB/s)# D* k  Q: O8 O7 L
  20. Selecting previously unselected package libfuse2:arm64.
    # f1 t; X7 z& d7 ~; s
  21. (Reading database ... 48017 files and directories currently installed.)/ m7 f" [' O0 Y; H. q! C
  22. Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...
    $ e5 V6 ]! R; k' }4 e4 Q/ T5 k% q3 u
  23. Unpacking libfuse2:arm64 (2.9.9-1) ...# i, c4 t8 C& I. G0 S; I8 N1 i
  24. Selecting previously unselected package fuse.* g+ S, `8 W& B* P+ t
  25. Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...* F- F7 C0 O' a3 A9 D
  26. Unpacking fuse (2.9.9-1) ...
    # e1 X; R3 S# j2 @" Y7 v
  27. Selecting previously unselected package libntfs-3g883.
    ; o& }7 x+ V2 [8 Q
  28. Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...
    & {" V6 t: y9 \9 ^, }4 a- ]
  29. Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...# ?8 q0 X% W/ v
  30. Setting up libfuse2:arm64 (2.9.9-1) ...( n* f5 P3 P% t8 ^! E% x( v
  31. Setting up fuse (2.9.9-1) ..." \7 g8 V, c7 ~* f2 `2 R
  32. Selecting previously unselected package ntfs-3g.' D" C1 n7 D6 L6 P+ u) {9 o# Y. L: x
  33. (Reading database ... 48049 files and directories currently installed.)1 b, L- J' `4 N. \) p# K1 S
  34. Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...
    7 @; p" \0 {2 [: O! [/ @, X
  35. Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...- F# L' n8 ^, P* J
  36. Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...
    ' D2 m2 l6 x4 d; e, Y
  37. Setting up ntfs-3g (1:2017.3.23AR.3-3) ...
    , P- ^" k% }0 P2 [4 ]9 P
  38. Processing triggers for man-db (2.8.5-2) ...
    3 v( l0 S* p/ Z3 ^( M, j. _- Q
  39. Processing triggers for libc-bin (2.28-10) ...5 K) t/ `0 F) S$ p
  40. root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd2 f  n6 Z: f$ g: R) ^" w: B. ~
  41. sda   sda1  sdb   sdb1  sdb2
    6 k5 r  K/ o3 ~$ n
  42. root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/1 g' G0 H4 m1 \( d6 i/ J) p( v
复制代码
# t$ q5 K' }4 f/ ~; w8 q- U

- n/ I; d# P# a5 q4 Z

评分

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

查看全部评分

4

主题

79

回帖

479

积分

中级渣柚V1

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

42

主题

394

回帖

1965

积分

中级渣柚V3

积分
1965
发表于 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, 2025-1-23 11:32 , Processed in 0.062314 second(s), 7 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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