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

[教程] 猫盘debian下挂载ntfs

[复制链接]

46

主题

617

回帖

2764

积分

中级渣柚V3

积分
2764
发表于 2019-11-12 22:20:33 | 显示全部楼层 |阅读模式
装的debian,想要挂载外置的3.5寸硬盘。发现无法mount ntfs系统。搜索一下找到一个方法,ntfs-3g就可以解决。
) w9 K0 w' l$ t3 O. Uapt install ntfs-3g( r+ |. u3 L( d/ @3 f% f
以下为全过程
* A& d& J/ z* k4 h4 w9 r5 t
5 \7 n$ L3 S4 y) P
  1. root@catdrive:/dev# mount /dev/sdb1 /mnt/udisk* }/ T# d) f2 z, M: Z7 v: Y
  2. mount: /mnt/udisk: unknown filesystem type 'ntfs'.
    9 b* N0 I) t' g( w1 i7 U
  3. root@catdrive:/mnt/udisk# apt install ntfs-3g
    ( Y3 ]( O* B" c2 D& U
  4. Reading package lists... Done$ w' g" Y: T6 D) i# L- I* ~0 u
  5. Building dependency tree6 d$ m# `) H! x% u) Y8 J
  6. Reading state information... Done
    ' h  ^3 A# |# s+ j. X
  7. The following additional packages will be installed:0 G4 h& t7 x" k) z( c  R
  8.   fuse libfuse2 libntfs-3g8835 I2 H% Q; f6 e9 {
  9. The following NEW packages will be installed:
    * `' _/ D1 G* Q8 B
  10.   fuse libfuse2 libntfs-3g883 ntfs-3g! w( W! \6 ~& T) F
  11. 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    ) w' ?  K( W$ r  C5 O
  12. Need to get 729 kB of archives.
    3 z+ a# Q& w$ E0 v
  13. After this operation, 2,278 kB of additional disk space will be used.
    , r1 K8 ~- u! S5 P3 U; z
  14. Do you want to continue? [Y/n] y# d% `7 ~" q1 i, D3 b) Q, u
  15. Get:1 https://mirrors.huaweicloud.com/debian buster/main arm64 libfuse2 arm64 2.9.9-1 [122 kB]# S$ ?+ r& T/ X( K& t9 V3 v* _
  16. Get:2 https://mirrors.huaweicloud.com/debian buster/main arm64 fuse arm64 2.9.9-1 [71.4 kB]
    6 h0 n- p0 f" e6 b& N5 Z# _2 z' \
  17. Get:3 https://mirrors.huaweicloud.com/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB]$ a. M) ]; F1 I, n0 w
  18. Get:4 https://mirrors.huaweicloud.com/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB]
    & g+ s  m/ c0 T) z
  19. Fetched 729 kB in 0s (1,862 kB/s)+ R+ z( M% k. `5 G/ E& W3 X" O9 Y
  20. Selecting previously unselected package libfuse2:arm64.) ^( M0 a0 T, }; u1 B
  21. (Reading database ... 48017 files and directories currently installed.)
    * R" y4 `" b# g7 e3 K8 ~
  22. Preparing to unpack .../libfuse2_2.9.9-1_arm64.deb ...
    6 r' z$ p' D1 N7 I. s1 L3 T5 V& n
  23. Unpacking libfuse2:arm64 (2.9.9-1) ...) ?8 \; [$ B3 E; f- p
  24. Selecting previously unselected package fuse.
    & d3 X7 J) h' Y- {8 K$ ~
  25. Preparing to unpack .../fuse_2.9.9-1_arm64.deb ...
      C7 N* `) k. B" x8 d
  26. Unpacking fuse (2.9.9-1) ...
    " g$ a  Z4 ?2 j/ f* ]* Q
  27. Selecting previously unselected package libntfs-3g883.
    2 u/ z/ t* [9 I+ L! T- v# f* N
  28. Preparing to unpack .../libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ...0 ?# ^. t( L* \8 Z$ w1 U; C
  29. Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ...
    ; H: z, j6 d) @" d, w
  30. Setting up libfuse2:arm64 (2.9.9-1) .... H$ l1 G% X( C1 g
  31. Setting up fuse (2.9.9-1) ...
    , p! r0 w$ b4 z: m# _6 Y
  32. Selecting previously unselected package ntfs-3g.
    * N8 g  L  L$ a' {( N  ]% u7 F
  33. (Reading database ... 48049 files and directories currently installed.)
    / ]1 J! s5 y, o8 ~4 `& X$ \: P
  34. Preparing to unpack .../ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ...# I! G& n2 o, u; M% m% l* M
  35. Unpacking ntfs-3g (1:2017.3.23AR.3-3) ...1 X3 u8 K. N" B* G: P
  36. Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...' B6 u4 J; }! w
  37. Setting up ntfs-3g (1:2017.3.23AR.3-3) ..., t) U5 B' E1 K! q* U2 j0 l" s
  38. Processing triggers for man-db (2.8.5-2) ...3 L7 D- ^; L5 [6 p: @- {, |. k; l3 T
  39. Processing triggers for libc-bin (2.28-10) ...5 S0 O2 {- t9 ^1 t
  40. root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sd
    ' ^  _! q# B- R& ^' q) S
  41. sda   sda1  sdb   sdb1  sdb2. c, O1 K( K$ `' w* N
  42. root@catdrive:/mnt/udisk# mount -t ntfs-3g /dev/sdb1 /mnt/udisk/
    - `3 o- R8 g! u1 [
复制代码
, r6 F0 H1 o# O9 N$ f
- M  ]. x- a- V3 k# @/ Z

评分

参与人数 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:47 , Processed in 0.049548 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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