You are not logged in.

#1 2010-06-01 20:08:05

solidpace
Member
Registered: 2010-06-01
Posts: 2

[SOLVED] Lost Power During pacman -Syu; Any Hope of Rescuing...?

Hi,
I was just doing pacman -Syu when all the power in my neighbourhood went out, resulting in these errors during  boot:

mg0106.th.jpg

I've tried chrooting into the system from the Arch CD following many different online instructions, but it won't work (Input/output error). Is there anything else I can try to resuscitate this installation, or is the only solution to backup, wipe the HD and start from scratch?

Thanks!:)
-solidpace

Last edited by solidpace (2010-06-02 06:23:28)

Offline

#2 2010-06-01 20:11:53

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Lost Power During pacman -Syu; Any Hope of Rescuing...?

Boot off the Arch CD, mount up your root partition (I'll assume you put it on /mnt) and run the following:

pacman -Syu -r /mnt

Let it run, and the reinstall the kernel for good measure.

pacman -S kernel26 -r /mnt

Offline

#3 2010-06-01 20:17:01

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: [SOLVED] Lost Power During pacman -Syu; Any Hope of Rescuing...?

solidpace wrote:

(Input/output error).

The filesystem seems to be broken if you're lucky. If you're not your hard disk is...

Try booting from a live medium and fsck on the partition.

Maybe also try reinstalling sysvinit: pacman -S sysvinit since

~ % LC_ALL=C pacman -Qo $(which init)
/sbin/init is owned by sysvinit 2.86-5

฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4 2010-06-01 21:13:57

solidpace
Member
Registered: 2010-06-01
Posts: 2

Re: [SOLVED] Lost Power During pacman -Syu; Any Hope of Rescuing...?

falconindy wrote:

Boot off the Arch CD, mount up your root partition (I'll assume you put it on /mnt) and run the following:

pacman -Syu -r /mnt

Let it run, and the reinstall the kernel for good measure.

pacman -S kernel26 -r /mnt

That was quick! big_smile
Thanks a million to you, this (along with the forced reinstallation of glibc according to the same method) solved the problem.

Thanks again!

Offline

#5 2010-06-02 00:38:20

schen
Member
Registered: 2009-06-06
Posts: 468

Re: [SOLVED] Lost Power During pacman -Syu; Any Hope of Rescuing...?

Remember to mark as solved.

Offline

Board footer

Powered by FluxBB