Manjaro Linux 系统从2016年4月13 安装到现在,实际上一直以来都是很稳定的。故障的原因都是我自己作死
查看系统安装时间参考manjaro forum
To determine which is the root partition of our linux installation can type:
mount | grep “on / “
This is the date of my first installation Manjaro and still works great.tune2fs -l /dev/sda5 | grep “created”
Filesystem created: Tue Jan 8 09:10:23 2013
晒出我的安装时间:
以下是我在这段时间内碰到的问题与修复经验
Filesystem check failed
这个故障是 i3 崩溃了我强行关机导致的。在我碰到的情形中,实际上文件系统并没有损坏,根据archlinux forum 上面的这一篇帖子:
Fixed the problem.
The /dev/sda2 and /dev/sda5 were being mounted in the wrong place.
Instead of being mounted in /home and /boot as per /etc/fstab, they were being mounted in new directories in /media called /media/usbhd-sda2 and /media/usbhd-sda5. Upon deleting those folders, everything has gone back to normal.
I have no idea how those new folders got created…but problem solved now.
问题在于 udev的 automount 生成的 /media 目录。使用Ubuntu的live cd 进入系统,由系统报错信息中看出manjaro系统根分区在/dev/sda3 . 在终端下执行:
1 | sudo mount /dev/sda3 /mnt |
可以看到根分区下产生了 /media 文件夹。把它删掉:
1 | sudo rm -rf media |
重启问题解决。