Score:0

Kernel panic while loading shared libraries libc.so.6

kp flag

I was developing my so library it wasn't working properly

I ran the command ln -nsf /myLibrary /libc.so.6 in order to link my lib to libc but it linked libc to my lib as I understood, then I rebooted pc, know I’m getting kernel panic:

enter image description here

Is there any way to fix it? I even can't enter command-line mode

j0h avatar
au flag
j0h
what wasnt working about the previous version? is this x86_64? For 64-bit Ubuntu: `sudo ln -s /lib64/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6` to get back to the original. can you boot into single user mode? else, you might need a boot disk
Tipok avatar
kp flag
thanks mate for help, I explained how I was able to fix it, you helped me understand that I can do nothing without boot disk
Score:1
kp flag

I made a flash disk with ubuntu, ran it in try mode, found my file /medium/../usr/lib/x86_64-linux-gnu/libc.so.6

I ran commands:

unlink /medium/../usr/lib/x86_64-linux-gnu/libc.so.6

then I copied live cd libc.so.6 version of file to my hard disk.

and checked shared libraries by calling

sudo ldd /medium/../usr/lib/x86_64-linux-gnu/libc.so.6

then rebooted PC

I don't know what exactly helped me, but now I'm able to boot my Ubuntu

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.