Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sx9Offline
15 Post subject: (solved) Accidentally removed /lib64  PostPosted: 07.08.2012, 19:54



Joined: 2010-09-12
Posts: 219
Location: Wiesbaden,Germany
Status: Offline
Hi to all,

I know this sounds kinda stupid, but I accidentally removed /lib64.

Everytime I try to start up aptosid I get a kernel panic printed saying that /sbin/init is not startable.

Is it possible to restore /lib64 somehow without reinstalling the system?

_________________
My new self-made computer:
Intel Core i7-2600k
ASUS Maximus IV Gene-Z (Mainboard)
2x4GB DDR3 RAM
ATI Radeon HD 6770
OCZ Vertex 3 60GB (SSD)
Western Digital Caviar Green WD20EARX 2TB (HDD)
...
aptosid x86_64
 
 View user's profile Send private message Send e-mail Yahoo Messenger  
Reply with quote Back to top
slhOffline
Post subject: RE: Accidentally removed /lib64  PostPosted: 07.08.2012, 20:09



Joined: 2010-08-25
Posts: 758

Status: Offline
In Debian /lib64/ should just be a symlink to /lib/, due to a packaging bug in libc6 that ceased to be the case some time ago…

So the correct approach to return to the expected behaviour would be to start from the aptosid live CD, mount your / under /mnt/ and:
      Code:
$ su
# mkdir --mode=0755 /mnt/lib64
# ln -fs /lib/x86_64-linux-gnu/ld-2.13.so /mnt/lib64/ld-linux-x86-64.so.2
if your system wasn't fully updated at the time you broke it, you may have to adapt the upstream version number of ld-*.so. Fortunately this works, just because Debian policy forbids /lib64/ to be used.
 
 View user's profile Send private message  
Reply with quote Back to top
sx9Offline
Post subject: RE: Accidentally removed /lib64  PostPosted: 08.08.2012, 11:33



Joined: 2010-09-12
Posts: 219
Location: Wiesbaden,Germany
Status: Offline
Thanks a lot slh!!!
My system boots again with your solution!

This is support how it should be - quick and reliable!

Thank you once again for saving my system!

_________________
My new self-made computer:
Intel Core i7-2600k
ASUS Maximus IV Gene-Z (Mainboard)
2x4GB DDR3 RAM
ATI Radeon HD 6770
OCZ Vertex 3 60GB (SSD)
Western Digital Caviar Green WD20EARX 2TB (HDD)
...
aptosid x86_64
 
 View user's profile Send private message Send e-mail Yahoo Messenger  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio