系统启动失败,检测修复磁盘坏道badblocks、smartctl、fsck

2170阅读 0评论2019-12-13 可怜的猪头
分类:LINUX

磁盘挂载不上,系统启动失败报错

systemd-fsck : /dev/mapper/fedora--server-root contains a file system with errors, check forced

一般系统重启会自动修复,修复不了,进到 Secure Boot安全启动模式,是能够挂载上的,把所需的lib库头文件倒出来


另外一种方式,制作U盘linux系统,centos系统即可,进入救援模式,把设备里面的磁盘挂载上,检测并修复

blk_update_request: I/O error, dev fd0, sector 0




badblocks命令与smartctl命令详解
https://www.cnblogs.com/fiberhome/p/8275961.html
https://blog.csdn.net/dapeng0112/article/details/37971923


$ sudo fsck.vfat /dev/sda1

dosfsck 3.0.16, 01 Mar 2013, FAT32, LFN
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Leaving file system unchanged.
/dev/sda1: 3 files, 33/130812 clusters

For some reason I've same problem and "-a" made it work. So I guess it's a bug in fsck


1.关于如何改变linux中,对只有Read-only filesystem的文件,如何改为为可写、可读权限?

I、可以执行 mount -o remount,rw /
II、执行完毕后,会出现以下字样


上一篇:k8s部署问题
下一篇:docker源码的编译加速