页次: 1
最近编辑记录 phoenixlzx (2013-08-05 18:29:51)
离线
根分区没有被挂载为「读写」模式,也就是根分区是「只读」(Read-only)。检查你的 fstab 文件是否正确。
PS. 每次都要我帮你改帖子吗?你发了帖子看都不看就跑了?BBcode 用法不对图贴不出来你不知道去看下论坛帮助?
离线
不好意思,刚进论坛,不是很了解,下次注意,顺便说一下根分区是可以读写的,但就是有这个提示,不懂!
离线
同问啦
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid,size=2G 0 0
UUID=7a6c7d70-9235-4a9d-bd32-85be5a01a78f /home ext4 defaults 0 1
UUID=dea5dc50-2c86-474d-8150-7de5f845ca45 /opt ext4 defaults 0 1
UUID=7c17c918-b4ec-4be3-b7dc-28aecea62e4f / ext4 defaults 0 1
UUID=b4cbf8be-bdd0-4c0f-8dce-adf39ae51912 swap swap defaults 0 0
UUID=64BE9400BE93C946 /media/WinC ntfs defaults 0 0
UUID=726E9D026E9CBFF1 /media/WinD ntfs defaults 0 0
不知道有什么问题, 但是root是可写的呀(可以安装软件的)
离线
我也遇到了这个问题。不过使用正常,就无视了。应该与fstab无关,而与 mkinitcpio 更新有关。这是警告,不是错误
原因如下:
Previously, if you included the 'fsck' hook in mkinitcpio.conf, early init would write to /run/initramfs/root-fsck after fsck'ing root. This flag file would tell systemd that root has already been checked, and there's no need to check it again. Support for reading this flag file has been removed and now the only indication that systemd should not fsck the root device is that it's mounted read-write. So, if you now include the 'fsck' hook in /etc/mkinitcpio.conf and specify neither 'ro' or 'rw' on your kernel commandline, or explicitly specify 'ro', systemd will fsck your root device again. This is why the warning exists.
目前对解决这个没有兴趣。想要解决的话,可参考下列两个帖子:
1. root device is not configured to be mounted read-write?( Archlinux forums)
2. root device not read-write warning( Archlinux forums)
最近编辑记录 nopriler (2013-08-06 16:43:07)
离线
修复方法是,进入/boot/grub/grub.cfg 然后找到你引导进入arch系统的那一项,有一行是linux开头的,然后把那一行的ro修改成rw,重启即正常
离线
页次: 1