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: 453
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
Forum Moderator
Posts: 26515
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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”