您尚未登录。

#1 2020-06-23 00:05:24

HIDE
会员
注册时间: 2020-06-22
帖子: 12

[已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

开机后的内容:

[FAILED] Failed to start File System Check on /dev/sdb4.
[DEPEND] Dependency failed for /home.
[DEPEND] Dependency failed for Local File Systems.
You are in emergency mode,After logging in, .........

journalctl -xb的部分内容如下(我认为有用的部分):

Jun 22 22:22:34 ArchLinux audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=emergency comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 22:22:34 ArchLinux kernel: audit: type=1131 audit(1592835754.060:42): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=emergency comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 22:22:34 ArchLinux systemd-fsck[442]: /dev/sdb4 contains a file system with errors, check forced.
Jun 22 22:22:52 ArchLinux systemd-fsck[442]: /dev/sdb4: Directory inode 25639, block #0, offset 0: directory corrupted
Jun 22 22:22:52 ArchLinux systemd-fsck[442]: /dev/sdb4: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Jun 22 22:22:52 ArchLinux systemd-fsck[442]:         (i.e., without -a or -p options)
Jun 22 22:22:52 ArchLinux systemd-fsck[440]: fsck failed with exit status 4.
Jun 22 22:22:52 ArchLinux systemd-fsck[440]: Running request emergency.target/start/replace
Jun 22 22:22:52 ArchLinux systemd[1]: systemd-ask-password-console.path: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit systemd-ask-password-console.path has successfully entered the 'dead' state.
Jun 22 22:22:52 ArchLinux systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
-- Subject: A stop job for unit systemd-ask-password-console.path has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A stop job for unit systemd-ask-password-console.path has finished.
-- 
-- The job identifier is 561 and the job result is done.
Jun 22 22:22:52 ArchLinux systemd[1]: systemd-ask-password-wall.path: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit systemd-ask-password-wall.path has successfully entered the 'dead' state.
Jun 22 22:22:52 ArchLinux systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
-- Subject: A stop job for unit systemd-ask-password-wall.path has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A stop job for unit systemd-ask-password-wall.path has finished.
-- 
-- The job identifier is 562 and the job result is done.
Jun 22 22:22:52 ArchLinux systemd[1]: Started Emergency Shell.
-- Subject: A start job for unit emergency.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit emergency.service has finished successfully.
-- 
-- The job identifier is 555.
Jun 22 22:22:52 ArchLinux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=emergency comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 22:22:52 ArchLinux systemd[1]: Reached target Emergency Mode.
-- Subject: A start job for unit emergency.target has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit emergency.target has finished successfully.
-- 
-- The job identifier is 554.
Jun 22 22:22:52 ArchLinux systemd[1]: systemd-fsck@dev-sdb4.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- An ExecStart= process belonging to unit systemd-fsck@dev-sdb4.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
Jun 22 22:22:52 ArchLinux systemd[1]: systemd-fsck@dev-sdb4.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit systemd-fsck@dev-sdb4.service has entered the 'failed' state with result 'exit-code'.
Jun 22 22:22:52 ArchLinux systemd[1]: Failed to start File System Check on /dev/sdb4.
-- Subject: A start job for unit systemd-fsck@dev-sdb4.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit systemd-fsck@dev-sdb4.service has finished with a failure.
-- 
-- The job identifier is 471 and the job result is failed.
Jun 22 22:22:52 ArchLinux systemd[1]: Dependency failed for /home.
-- Subject: A start job for unit home.mount has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit home.mount has finished with a failure.
-- 
-- The job identifier is 470 and the job result is dependency.
Jun 22 22:22:52 ArchLinux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-sdb4 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jun 22 22:22:52 ArchLinux systemd[1]: Dependency failed for Local File Systems.
-- Subject: A start job for unit local-fs.target has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit local-fs.target has finished with a failure.
-- 
-- The job identifier is 450 and the job result is dependency.
Jun 22 22:22:52 ArchLinux systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
Jun 22 22:22:52 ArchLinux systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'.
Jun 22 22:22:52 ArchLinux systemd[1]: Condition check resulted in Rebuild Dynamic Linker Cache being skipped.
-- Subject: A start job for unit ldconfig.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit ldconfig.service has finished successfully.
-- 
-- The job identifier is 495.
Jun 22 22:22:52 ArchLinux systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
-- Subject: A start job for unit systemd-boot-system-token.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit systemd-boot-system-token.service has finished successfully.
-- 
-- The job identifier is 503.
Jun 22 22:22:52 ArchLinux systemd[1]: Condition check resulted in Rebuild Journal Catalog being skipped.
-- Subject: A start job for unit systemd-journal-catalog-update.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit systemd-journal-catalog-update.service has finished successfully.
-- 
-- The job identifier is 485.
Jun 22 22:22:52 ArchLinux systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
-- Subject: A start job for unit systemd-machine-id-commit.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit systemd-machine-id-commit.service has finished successfully.
-- 
-- The job identifier is 498.
Jun 22 22:22:52 ArchLinux systemd[1]: Condition check resulted in Update is Completed being skipped.
-- Subject: A start job for unit systemd-update-done.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- A start job for unit systemd-update-done.service has finished successfully.
-- 
-- The job identifier is 497.
Jun 22 22:22:52 ArchLinux kernel: audit: type=1130 audit(1592835772.770:43): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=emergency comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 22 22:22:52 ArchLinux kernel: audit: type=1130 audit(1592835772.770:44): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-sdb4 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Jun 22 22:22:52 ArchLinux systemd[444]: emergency.service: Executable /bin/plymouth missing, skipping: No such file or directory
-- Subject: Process /bin/plymouth could not be executed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The process /bin/plymouth could not be executed and failed.
-- 
-- The error number returned by this process is ERRNO.
Jun 22 22:23:15 ArchLinux kernel: psmouse serio2: TouchPad at isa0060/serio2/input0 lost synchronization, throwing 5 bytes away.
Jun 22 22:23:36 ArchLinux kernel: psmouse serio2: TouchPad at isa0060/serio2/input0 lost synchronization, throwing 4 bytes away.
Jun 22 22:24:37 ArchLinux kernel: psmouse serio2: TouchPad at isa0060/serio2/input0 lost synchronization, throwing 4 bytes away.

最近编辑记录 HIDE (2020-07-15 16:15:16)

离线

#2 2020-06-23 00:06:49

HIDE
会员
注册时间: 2020-06-22
帖子: 12

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

对了。这个论坛怎么上传本地图片啊。弄了半天都不行:D

离线

#3 2020-06-23 00:47:42

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,960
个人网站

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

Jun 22 22:22:34 ArchLinux systemd-fsck[442]: /dev/sdb4 contains a file system with errors, check forced.
Jun 22 22:22:52 ArchLinux systemd-fsck[442]: /dev/sdb4: Directory inode 25639, block #0, offset 0: directory corrupted
Jun 22 22:22:52 ArchLinux systemd-fsck[442]: /dev/sdb4: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Jun 22 22:22:52 ArchLinux systemd-fsck[442]:         (i.e., without -a or -p options)
Jun 22 22:22:52 ArchLinux systemd-fsck[440]: fsck failed with exit status 4.

不是滚坏的。你的 sdb4 上的文件系统坏了。
这是你的 /home。它是什么文件系统格式呀?你之前做了什么呢?突然断电、死机、重启过么?存储设备受过损伤?

离线

#4 2020-06-23 08:22:31

xtricman
エクス·トリクマン
注册时间: 2012-12-26
帖子: 1,267

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

论坛没有直接上传图片的功能(不支持富文本帖子),要上传到图床然后用img]标签贴图


反社会,精神极其不稳定,随时可能炸碎身边所有人

离线

#5 2020-06-23 09:16:27

luxni
会员
注册时间: 2014-06-08
帖子: 281

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

盲猜:一个机械硬盘分了几个部分,然后在上面装了windows和linux。


虽然人菜菜的,但也想做个有趣的人。

离线

#6 2020-06-23 23:07:52

HIDE
会员
注册时间: 2020-06-22
帖子: 12

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

我其实也没做什么啊。我装了双系统。那天我切换了一下系统。回到arch工作。晚上关机而已。第二天回来就这样了。虽然我现在用fsck修复了解决了。但是感觉挺奇怪的是。之前开机好像都会clean一下磁盘,现在我修复好的磁盘它没有clean,但是一样能进系统

依云 说:
Jun 22 22:22:34 ArchLinux systemd-fsck[442]: /dev/sdb4 contains a file system with errors, check forced.
Jun 22 22:22:52 ArchLinux systemd-fsck[442]: /dev/sdb4: Directory inode 25639, block #0, offset 0: directory corrupted
Jun 22 22:22:52 ArchLinux systemd-fsck[442]: /dev/sdb4: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Jun 22 22:22:52 ArchLinux systemd-fsck[442]:         (i.e., without -a or -p options)
Jun 22 22:22:52 ArchLinux systemd-fsck[440]: fsck failed with exit status 4.

不是滚坏的。你的 sdb4 上的文件系统坏了。
这是你的 /home。它是什么文件系统格式呀?你之前做了什么呢?突然断电、死机、重启过么?存储设备受过损伤?

离线

#7 2020-06-23 23:08:59

HIDE
会员
注册时间: 2020-06-22
帖子: 12

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

感觉好麻烦~

xtricman 说:

论坛没有直接上传图片的功能(不支持富文本帖子),要上传到图床然后用img]标签贴图

离线

#8 2020-06-23 23:09:56

HIDE
会员
注册时间: 2020-06-22
帖子: 12

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

确实是这样的情况。这样装不行么。为什么会出现这中情况?

luxni 说:

盲猜:一个机械硬盘分了几个部分,然后在上面装了windows和linux。

离线

#9 2020-06-23 23:47:44

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,960
个人网站

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

HIDE 说:

确实是这样的情况。这样装不行么。为什么会出现这中情况?

luxni 说:

盲猜:一个机械硬盘分了几个部分,然后在上面装了windows和linux。

请 lsblk -o+FSTYPE,FSSIZE,PARTLABEL,LABEL

离线

#10 2020-06-24 22:16:23

HIDE
会员
注册时间: 2020-06-22
帖子: 12

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

感觉这个也看不出什么啊。

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT FSTYPE FSSIZE PARTLABEL LABEL
sda      8:0    0 119.2G  0 disk
└─sda1   8:1    0 119.2G  0 part            ntfs
sdb      8:16   0 931.5G  0 disk
├─sdb1   8:17   0 296.8G  0 part /mnt/D     ntfs   296.8G           软件
├─sdb2   8:18   0 439.5G  0 part /mnt/E     ntfs   439.5G           学习
├─sdb3   8:19   0   100G  0 part /          ext4      98G
└─sdb4   8:20   0  95.3G  0 part /home      ext4    93.3G
依云 说:
HIDE 说:

确实是这样的情况。这样装不行么。为什么会出现这中情况?

luxni 说:

盲猜:一个机械硬盘分了几个部分,然后在上面装了windows和linux。

请 lsblk -o+FSTYPE,FSSIZE,PARTLABEL,LABEL

离线

#11 2020-06-24 23:22:25

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,960
个人网站

Re: [已解决]今晚回来发现我的arch启动不了了。是滚挂了么?新人求助。详细信息如下

原来是 ext4。确实看不出为什么会出错。

离线

页脚