您尚未登录。

#1 2024-09-09 20:48:11

kind_kid
会员
注册时间: 2011-10-06
帖子: 15

debian12进入恢复模式,无法进入正常模式

以下为手机拍的照片,然后识别出来的日志


/dev/sda2: recovering journal
/dev/sda2:clean, 708731/60956672 f1les, 11429984/243809024 blocks
6.339892] systemd-fstab-generator [294]: Failed to create unit file '/run/systemd/generator/-.mount', as it already exists. Duplicate entry In '/etc/fstab'?
6.379237j systemd-fstab-generator [294j: Failed to create unit fiie
6.379426j systemd-fstab-generator [294]: Failled to create unit fiie '/run/systend/generator/boot-ef 1.mount' , as it"aiready exists, oupiicate entry In etc/fstab‘?
6.381039j (sd-execut [291j:/usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit "status 1.
[FAILED] Faiied'to mount run-user-1000-doc.mount'-/run/user/1800/doc.
s'/run/systemd/generator/dev-disk-by\x2duuid-79aaif6d'x2db7d3(x204d5f÷x2da307\X2d05ccf5ac7891.suap', as it already exists. Duplicate entry in '/etc/
DEPENDj Dependency faiied for local-fs.target- Local Fiie systems
Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File system...
OK ] FInished plymouth-read-urlte.service - Tell Piymouth TO Nrite out Runt ime Data.
OK
j Finished systemd- journal-flush.service - Flush Journal to Persistent Storage.
Starting systemd-tmpfiles-setup.service - Create system Files and Directories..
、] Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable Fiie Formats File system.
j Finished systend-binfmt.service -set Up Additional Binary Formats.
ok j started systemd-udevd.service - Rule-based Hanager for Device Events and Files.
starting plymouth-start.service -show Plymouth Boot Screen...
OK ] Finished systemd-tmpfiles-setup.service -Create system Files and Directories.
Starting systemd-update-utmp.service - Record System Boot/Shutdoun in UTMP...
OK ] Finished systend-update-utmp.service - Record system Boot/shutdoun in UTMP.
Starting systemd-update-utmp-runilevel.service - Record Runlevel Change In UTMP...
OK ] Finished systemd-update-utmp-runlevel.service - Record Runlevel change in UMP
OK j Listening on systemd-rfkiii.socket-Load/Save RF Ki1i Switch status/dev/rfkiil Hatch.
OK j started plymouth-start.service"show Piymouth Boot"screen.
j Started systend-ask-passuord-plymouth.path - Forward Passuord Requests to Plymouth Directory Hatch.
:j Finished apparmor.service - Load AppArmor profiles.
or j Found device dev-disk-by x2duuid-cdasfesixedaóa\x2d4263\x2dBf801x2d297cBcb4Bfe7.device - ST4000VXO07-2DT166 1.
Starting systemd-fsckedev-disk-bynx2duuid-cdesfes9ìx2da6ad\x2d4263\x2d8f8ex2d297cBcb48fe7.service - F1le system check on /dev/disk/by-wuid/cd85fe59-a6a8-4263-8f80-297ccb48fe7....
You are In emergency mode. After logging in, type "journaicti -xb" to vieu
system logs, “systemctl reboot" 'to reboot, "systemcti defauit'" or "exit
to boot into default mode.7? root ?????
(?? Control-D???):
7????
?? root ?????
(?? Control-D ???):
?????
?? root ?????
(?? Control-D ???):
?????
?? root ?????
(?? Control-D???):
eloading system manager conf iguration
50.999730] systemd-fstab-generator [779]: Falled to create unit fIle
"/run/systemd/generator/-.mount', as it already exists. ouplicate entry In '/etc/fstab'?
51.000095j systend-fstab-generator i779j: Failed to create unit fi
/run/systemd/generator/boot -ef 1.mount as It already exlsts, Duplicate entry in
etcifstab'?
51.000166j systemd-fstab-generator [77g]: Falled to create unit f1I
'/run/systend/generator/dev-disk-by x2duuid-i9aaitod vxedbidswedfdsf xzdajeiX2dosccfsac:a91.suap', as it already exists. Duplicate entry In '/etc/fsta
starting default.target
You are In emergency mode. After logging in, type "journalctl.. -xb'to vlew
"systemctl default'" or "exit
system logs, "systemctl reboot'" to reboot,
to boot into default mode.
pootr
(?? Control-D ???):

我应该如何排查?

离线

#2 2024-09-09 20:56:33

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

Re: debian12进入恢复模式,无法进入正常模式

看看 /etc/fstab?

离线

#3 2024-09-10 10:49:43

kind_kid
会员
注册时间: 2011-10-06
帖子: 15

Re: debian12进入恢复模式,无法进入正常模式

依云 说:

看看 /etc/fstab?

我怎么贴图

离线

#4 2024-09-10 10:53:09

kind_kid
会员
注册时间: 2011-10-06
帖子: 15

Re: debian12进入恢复模式,无法进入正常模式

依云 说:

看看 /etc/fstab?

66dfb3b8bbad8.jpg
上面是开机显示的
下面是fstab
66dfb3b874684.jpg

请大佬查阅指点。我是debian下用的 archlinux的genfstab 生成的。挂载sdb1 到opt 出问题后,我又把注释取消了。

离线

#5 2024-09-10 11:04:29

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

Re: debian12进入恢复模式,无法进入正常模式

确实重复了啊。把重复的都删掉吧,另外 portal 的挂载不要写 fstab 里。

离线

#6 2024-09-10 16:41:34

kind_kid
会员
注册时间: 2011-10-06
帖子: 15

Re: debian12进入恢复模式,无法进入正常模式

依云 说:

确实重复了啊。把重复的都删掉吧,另外 portal 的挂载不要写 fstab 里。

谢谢大佬 恢复正常了

离线

页脚