在ubuntu下访问data(window的磁盘文件)

在ubuntu下访问data(window的磁盘文件)

遇到这个问题两次了,这次开机后不能正常访问data,显示挂载有问题。
顺便记录一下小白的研究生成长之旅,组会也开了好四周大概## 标题,每周汇报一下自己的学习状况,非常喜欢自己的方向。
第一步:

zhy@zhy-Inspiron-7460:sudo apt-get install ntfs-3g``

会有如下界面

zhy@zhy-Inspiron-7460:~$ sudo apt-get install ntfs-3g
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
ntfs-3g 已经是最新版 (1:2015.3.14AR.1-1ubuntu0.3)。
下列软件包是自动安装的并且现在不需要了:
  snapd-login-service
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 22 个软件包未被升级。

第二步:

zhy@zhy-Inspiron-7460:~$ sudo ntfsfix /dev/sda2

会有如下界面

zhy@zhy-Inspiron-7460:~$ sudo ntfsfix /dev/sda2
Mounting volume... The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
FAILED
Attempting to correct errors... 
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda2 was processed successfully.

其中要注意点击你的data注意是sda2还是其他区域
其中尝试过其他方案:
第一步:

zhy@zhy-Inspiron-7460:~$ sudo fdisk -l 
[sudo] zhy 的密码: 
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 82CE200D-E11A-4A3B-9340-3CD73D247204

设备           Start    末尾    扇区   Size 类型
/dev/sda1       2048    264191    262144   128M Microsoft reserved
/dev/sda2     264192 669573119 669308928 319.2G Microsoft basic data
/dev/sda3  669573120 670623743   1050624   513M EFI System
/dev/sda4  670623744 957732863 287109120 136.9G Linux filesystem
/dev/sda5  957732864 976771071  19038208   9.1G Linux swap


Disk /dev/sdb: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1B947FF6-4937-4DFA-9CF7-B5FFB7F29D8A

设备           Start    末尾    扇区   Size 类型
/dev/sdb1    1024000   1228799    204800   100M EFI System
/dev/sdb2    1228800   1261567     32768    16M Microsoft reserved
/dev/sdb3    1261568 244744191 243482624 116.1G Microsoft basic data
/dev/sdb4  244744192 250068991   5324800   2.6G EFI System

第二步:

zhy@zhy-Inspiron-7460:~$ sudo ntfsfix /dev/sdb2
Mounting volume... NTFS signature is missing.
FAILED
Attempting to correct errors... NTFS signature is missing.
FAILED
Failed to startup volume: Invalid argument
NTFS signature is missing.
Trying the alternate boot sector
Unrecoverable error
Volume is corrupt. You should run chkdsk.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值