Hi to all
After the last update, i have the following problem. It appears after a kernel upgrade.
When i am trying to rebuild kernel image (mkinitcpio -p linux) and reboot i have a kernel panic, because whithin the initramfs image the /bin/ash cannot find the libc.so.6 . I did this:
lsinitcpio /boot/initramfs-linux.img |grep libc
The problem is that both libc.so.6 and libc-2.16.so should be in the same folder (/usr/lib). I tried reinstalling the kernel, reinstalling the glibc, rebuilding many times the image, but the problem is still there.
Anyone has any idea of what is happening?
In 3.4.5-1, libc.so.6 is in /usr/lib and there isn't even a /lib64, haven't yet updated to 3.4.6-1 yet.
What does your /etc/mkinitcpio.conf look like?
Last edited by nomorewindows (2012-07-21 17:55:24)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
nomorewindows, i just solved the problem. Within the filesystem, there were some library files in the wrong place. After i removed these libraries everything was ok. someone pleace mark it as [SOLVED]...
Last edited by MadAGu (2012-07-22 07:52:45)
Apologies for a cross-post, but I'm happy this thread wasn't marked as solved, it led me to the only report with a problem identical to mine. I updated my Arch 64 system with 'pacman -Syyu' yesterday, everything went well until reboot. As I said, the panic report is the same as the OP in this thread, with /usr/bin/ash unable to find libc.so.6. I've followed the advice for using the chroot and running 'mkinitcpio -p linux'. The procedure succeeds but when I run 'lsinitcpio initramfs-linux.img |grep libc' nothing is listed. However, pacman reports that glibc 2.16 is up-to-date and living in /usr/lib. Can anyone give me further suggestions for a fix or a pointer to the thread voted most likely to succeed ?
Similis sum folio de quo ludunt venti.
there seems to be a problem with the -l / --list default option of lsinitcpio, try running it with the -lv flag.
Below is the output from my (working) system :
$ lsinitcpio -lv /boot/initramfs-linux.img |grep libc -rwxr-xr-x 1 root root 14608 Nov 6 10:30 ./usr/lib/libcom_err.so.2.1 lrwxrwxrwx 1 root root 17 Nov 6 10:30 ./usr/lib/libcom_err.so.2 -> libcom_err.so.2.1 -rwxr-xr-x 1 root root 2010709 Nov 6 10:30 ./usr/lib/libc-2.16.so lrwxrwxrwx 1 root root 12 Nov 6 10:30 ./usr/lib/libc.so.6 -> libc-2.16.so
Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them