博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux fsck ntfs,fsck找不到 fsck.ntfs
阅读量:5013 次
发布时间:2019-06-12

本文共 1834 字,大约阅读时间需要 6 分钟。

源址

Question :

on several machines that i've upgraded from Natty to Oneiric, i get an error every boot (one for every NTFS partition) :Serious errors were found while checking the disk drive for /windows/c.

Press I to ignore, S to skip mounting, or M for manual recovery

following the suggestion in this answer, i ran fsck from the manual recovery shell.i got this output :fsck from util-linux 2.19.1

fsck: fsck.ntfs: not found

fsck: Error 2 while executing fsck.ntfs for /dev/sda1

i can't find fsck.ntfs , and command-not-found doesn't help either.how can i make this error go away?

by the way, i've tried booting into Windows (XP) several times, thinking that Windows would repair the filesystems.but apparently Windows thinks the filesysystems are just fine.and it's odd that all NTFS filesystems are affected.

Also, i can work around this problem by dropping to a recovery shell and issuing mount -a , but for my coworkers'sakes i need unattended boot.Answer 1 :

fsck.ntfs is usually only a link to ntfsfix which is an utility from the package ntfsprogs that is already available with a standard installation of Ubuntu.

you can make a simbolic link between fsck.ntfs and ntfsfix to solve this permanently :sudo ln -s /usr/bin/ntfsfix /sbin/fsck.ntfs

sudo ln -s /usr/bin/ntfsfix /sbin/fsck.ntfs-3g

keep in mind that this utility came from a reverse engineering process and are not the best option to manage your filesystem, the NTFS filesystem does not belong to the GNU/ linux world.Answer 2 :

i think it could be noted for some people that ntfsfix gets installed into /bin/ instead of /usr/bin .sosudo ln -nsf /bin/ntfsfix /sbin/fsck.ntfs

sudo ln -nsf /bin/ntfsfix /sbin/fsck.ntfs-3g

if you have already created the symlink from /usr/bin/sudo rm -f /sbin/fsck.ntfs

sudo rm -f /sbin/fsck.ntfs-3g

and then create the symlinks again.

转载地址:http://cqggp.baihongyu.com/

你可能感兴趣的文章
EasyUI datagrid 格式 二
查看>>
Android虹软人脸识别sdk使用工具类
查看>>
UI:基础
查看>>
浅谈 @RequestParam 和@PathVariable
查看>>
设计模式之---装饰器设计模式
查看>>
基于WordNet的英文同义词、近义词相似度评估及代码实现
查看>>
Equation漏洞混淆利用分析总结(上)
查看>>
shell学习1shell简介
查看>>
Qt 【无法打开 xxxx头文件】
查看>>
JAVA项目将 Oracle 转 MySQL 数据库转换(Hibernate 持久层)
查看>>
三层架构(我的理解及详细分析)
查看>>
Django模板语言相关内容
查看>>
前端开发工程师如何在2013年里提升自己【转】--2016已更新升级很多何去何从?...
查看>>
markdown语法测试集合
查看>>
running and coding
查看>>
实现QQ第三方登录、网站接入
查看>>
HTML CSS 层叠样式表 三
查看>>
Qt pro pri 文件学习1
查看>>
软件工程概论第六周学习进度条
查看>>
[思路]导入导出功能
查看>>