开发者社区> 问答> 正文

ubuntu修改系统时间的问题?报错

Hello我用图形界面,或是通过date命令修改了ubuntu(12.04.1 LTS)的系统时间,比如

date -s "2013-02-01 12:00:00"

然后重启,结果系统就进不去了!!报错
/dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

mountall: Filesystem has errors: /home
...

mountall: Filesystem has errors: /var
...

mountall: Filesystem has errors: /
...

mountall: fsck /boot[283] terminated with status 4
mountall: Filesystem has errors: /boot

等等.重启后多出个
Ubuntu, with Linux 3.2.0-36-generic (recovery mode)
通过这个菜单进入到命令行后.我在用date -s命令将系统时间改回去,就又正常了!!

难道ubuntu不支持修改系统时间吗???





展开
收起
爱吃鱼的程序员 2020-06-22 14:56:12 761 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    <imgsrc="http://www.oschina.net/js/ke/plugins/emoticons/images/36.gif"alt=""/> 闻所未闻

    2020-06-22 14:56:31
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载