You are not logged in.

#1 2013-02-02 11:08:21

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] Complete system crash after last update

Hello guys,

I did not update my system for the last 4 weeks because I was on holiday. Yesterday then I ran pacman -Syu as the last news on the change of filesystem suggests.

During the update process I received the first errors such as /usr/bin/foo cannot be found.

I was not even able to open a new shell. I thought it's wise to restart the system but now I cannot even boot into my system. After the GRUB start menu I receive the following error before I am dropped to the recovery shell.

/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
No volume groups found
ERROR: resume: hibernation device '/dev/mapper/VolGroup00-Swap' not found
ERROR: device '/dev/mapper/VolGroup00-Arch' not found. Skipping fsck.
ERROR: Unable to find root device '/dev/mapper/VolGroup00-Arch'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty: job control turned off
[rootfs /]#

Can I somehow rescue my system?

Last edited by orschiro (2013-02-07 19:04:39)

Offline

#2 2013-02-02 13:13:13

rebootl
Member
Registered: 2012-01-10
Posts: 427
Website

Re: [solved] Complete system crash after last update

Hi

Not sure if this will get you any further, but in your error it says

Type 'exit' to try and continue booting

, what happens if you do so ?

And there was this thread about the update, you probably saw it already: https://bbs.archlinux.org/viewtopic.php?pid=1226064

As far as I understood, if you could get to that point.

All Arch Linux packages that had files in this directory have been updated, so update these individually first.

$ pacman -Qo /usr/lib64/{foo,bar}
/usr/lib64/foo is owned by foopkg
/usr/lib64/bar is owned by barpkg
$ sudo pacman -S foopkg barpkg

Regards


Personal website: cem.revamp-it.ch
GitHub: github.com/rebootl

Offline

#3 2013-02-02 19:14:08

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Complete system crash after last update

, what happens if you do so ?

I get the message:

mount: you must specify the filesystem type
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty: job control turned off

My filesystem is ext4. I guess I will have to mount the volume group manually. Is this possible from the recovery shell?

Refering to your advice to update the packages manually. Through pacman -Syu I already updated them but probably filesystem before the others.

I would really like to understand what has caused this complete crash now.

Offline

#4 2013-02-02 21:39:34

rebootl
Member
Registered: 2012-01-10
Posts: 427
Website

Re: [solved] Complete system crash after last update

There are a few topics on this already. The one I mentioned above.
Then this one
https://bbs.archlinux.org/viewtopic.php?id=156942
and https://bbs.archlinux.org/viewtopic.php?id=156821
In the last one is a reference to:
https://wiki.archlinux.org/index.php/Pa … onger_boot
That might help for your case.

Last edited by rebootl (2013-02-02 21:42:54)


Personal website: cem.revamp-it.ch
GitHub: github.com/rebootl

Offline

#5 2013-02-07 13:47:49

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Complete system crash after last update

So I went into this further.

Since I am using a volume group I did the following:

# vgchange -ay

# mount /dev/VolGroup00/Arch /mnt

# arch-chroot /mnt

chroot: failed to run command /bin/sh: No such file or directory

Ideas?

What the hell happened to my /bin directory?

Last edited by orschiro (2013-02-07 13:50:45)

Offline

#6 2013-02-07 14:20:52

WorMzy
Forum Moderator
From: England
Registered: 2010-06-16
Posts: 5,059

Re: [solved] Complete system crash after last update

I suspect your /bin directory is fine, and you just need to complete the glibc/filesystem update.  From a live environment, with your root partition mounted to /mnt and your network up and running, run

# pacman -r /mnt -Syu filesystem glibc

Any problems, check the links rebootl posted for solutions.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#7 2013-02-07 19:03:57

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Complete system crash after last update

Thanks a lot WorMzy!

This finally solved the problem. Indeed there must have gone something wrong during the original update procedure. Very nice. I did not know about the pacman -r /mnt way.

After running your command I was able to use arch-chroot and to rebuild the boot image.

Now I am writing to you from my restored system. smile

Regards from a very happy

Robert

Offline

Board footer

Powered by FluxBB