Stuck on the Starting Switch Root after laptop turned off during the update transaction

General support questions
Post Reply
soheil08
Posts: 3
Joined: 2018/11/13 11:16:14

Stuck on the Starting Switch Root after laptop turned off during the update transaction

Post by soheil08 » 2019/09/13 08:05:45

Hi, My CentOS 7 was updating (yum update) and during the installing package (the first part after downloading package), my laptop turned off suddenly because of lack of the battery! Turning on the laptop again, on the starting up the CentOS stuck on the line

Code: Select all

Starting Switch Roor ...

I even can not go to the command line in rescue mode! I removed the

Code: Select all

rhgb quite
and I observed the below lines (those are not all contents but some contents that I guess is important, there were only 5 or 6 lines) at the starting time:

Code: Select all

Starting Switch Root...
received SIGTERM from PID 1
failed to execute /sbin/init, giving up. Exec format error
ACPI_WARNING \_SB_.PCI argument #4 type mismatch
failed to evaluate _DSM
Using the boot media I can access the CentOS files but I don't know what should I change to solve the issue.
Any help is appreciated

MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Re: Stuck on the Starting Switch Root after laptop turned off during the update transaction

Post by MartinR » 2019/09/13 08:54:18

First, and most importantly, do a full backup unless you did one immediately before starting the upgrade.

soheil08
Posts: 3
Joined: 2018/11/13 11:16:14

Re: Stuck on the Starting Switch Root after laptop turned off during the update transaction

Post by soheil08 » 2019/09/13 09:34:04

MartinR wrote:
2019/09/13 08:54:18
First, and most importantly, do a full backup unless you did one immediately before starting the upgrade.
Thanks and what should I do after doing full backup?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Stuck on the Starting Switch Root after laptop turned off during the update transaction

Post by TrevorH » 2019/09/13 10:17:44

Pick an older kernel off the boot menu and see if it works.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply