You are not logged in.

#1 2020-12-28 15:43:10

siag
Member
Registered: 2020-12-28
Posts: 2

sometimes arch goes to emergency mode

Hello
I have two hard installed on my laptop. one HDD and another is SSD.
SSD has three partition /dev/sda1 = root /dev/sda2=swap and /dev/sda3 = home partition. HDD has one partition /dev/sdb1. i have installed GRUB on /dev/sda1 and the arch kernel is LTS.
sometimes after press power button to turn my laptop on , grub try to boot from second hard drive that is /dev/sdb1 and after a while system goes to emergency mode and  show these errors

starting version 274.2-1-arch
/dev/sdb1 : clean 210384/2949120 files, 4448155 /11796480 blocks

[Time] Timedout waiting for /dev/sda2
[depend] Dependency filed for /dev/sda2
.
.
.
you are in emergency mode , After logging in type "journalctl -xb" to view ...

how to solve this problem ?

Offline

#2 2020-12-28 16:00:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,646

Re: sometimes arch goes to emergency mode

Edit, ah - doesn't boot from the second drive, it just swaps order…
Please post your grub.cfg and try to add rootdelay or rootwait, https://raw.githubusercontent.com/torva … meters.txt

Last edited by seth (2020-12-28 16:01:51)

Offline

#3 2020-12-28 16:00:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,353

Re: sometimes arch goes to emergency mode

Don't use /dev/sdX as identifiers in fstab, they can and will change from boot to boot: https://wiki.archlinux.org/index.php/Pe … ice_naming

Offline

#4 2020-12-28 16:23:51

siag
Member
Registered: 2020-12-28
Posts: 2

Re: sometimes arch goes to emergency mode

@V1del
Thank you very much. my problem solved

Offline

Board footer

Powered by FluxBB