You are not logged in.

#1 2013-02-01 14:10:21

SgrA
Member
Registered: 2011-06-08
Posts: 41

libc not found after kernel update and reboot

I updated to latest kernel on Jan 30, and after reboot, I have this:

Booting the kernel.
/usr/bin/ash: error while loading shared libraries: libc.so.6: cannot open shared object files: No such file or directory
[        1.010168] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

I tried mkinitcpio -p linux but that didn't help.  D:

Please help!

Thanks in Advance!

Offline

#2 2013-02-01 14:18:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: libc not found after kernel update and reboot

SgrA wrote:

I updated to latest kernel ...

Did you update everything else as well?  Have you been ignoring any package updates?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2013-02-01 14:20:33

SgrA
Member
Registered: 2011-06-08
Posts: 41

Re: libc not found after kernel update and reboot

I have only svn on ignore list because the latest version doesn't work with other software I use. Everything else is up to date.

And thanks for the quick reply! big_smile

Offline

#4 2013-02-01 14:36:35

SgrA
Member
Registered: 2011-06-08
Posts: 41

Re: libc not found after kernel update and reboot

I noticed that, unlike earlier, I cannot chroot into the Arch Linux partition:

# mount /dev/sda4 /mnt/
# mount /dev/sda1 /mnt/boot/
# mount -o bind /dev/ /mnt/dev/
# mount -o bind /dev/pts/ /mnt/dev/pts/
# mount -t proc none /mnt/proc/
# mount -t proc sysfs /mnt/sys/
# chroot /mnt/ /bin/bash
chroot: failed to run command ‘/bin/bash’: No such file or directory

Secondly, both files are very much present there:

  File: ‘/mnt/bin/bash’ -> ‘../usr/bin/bash’
  File: ‘/lib/libc.so.6’ -> ‘libc-2.16.so’

Last edited by SgrA (2013-02-01 14:36:54)

Offline

#5 2013-02-01 18:50:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: libc not found after kernel update and reboot

What does your pacman log show? Maybe you're having problems with the glibc/filesystem update. There's a number of other threads about it.

Last edited by Scimmia (2013-02-01 18:52:06)

Offline

#6 2013-02-01 18:51:33

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: libc not found after kernel update and reboot

Double post

Last edited by Scimmia (2013-02-01 18:51:52)

Offline

#7 2013-02-01 19:38:10

mir
Member
Registered: 2010-08-25
Posts: 59

Re: libc not found after kernel update and reboot

Hmm, I remember vaguely that I had similar problems after a huge update of a netbook I had not used for over a year. I think ld-linux-x86 changed its place in the file system.

Perhaps this can help you with the chroot:

- try chroot /mnt /usr/lib/ld-linux.so /bin/bash
- add a compatibility link, in /lib or /usr/lib or wherever ...

No idea, though, why it's broken in the first place.

Offline

#8 2013-02-02 02:56:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: libc not found after kernel update and reboot

This solved thread looks related.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB