Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nach reparatur (lost+found) geht kein chroot
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
DOCi
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Fri Jun 02, 2006 1:13 pm    Post subject: Nach reparatur (lost+found) geht kein chroot Reply with quote

Hallo

Ich habe da ein kleinen PlattenCrash hinter mir und habe soweit alles wieder herstellen können oder auch nicht!

wenn ich ein
/mnt/gentoo/bin/bash aufrufe kommt die Meldung
/mnt/gentoo/bin/bash: /lib/libc.so.6: version `GLIBC_2.3.4' not found (required by /mnt/gentoo/bin/bash)

laut ls /mnt/gentoo/lib/ ist die libc-2.3.5.so vorhanden aber keine 2.3.4 habe ich da was vergessen?

würde gerne chroot machen um weiter zu machen aber wie gesagt scheitert es momentan an der libc!

Danke!


mfg DOCi
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Fri Jun 02, 2006 10:09 pm    Post subject: Re: Nach reparatur (lost+found) geht kein chroot Reply with quote

DOCi wrote:
wenn ich ein
/mnt/gentoo/bin/bash aufrufe

Das verstehe ich nicht ganz. Du bootest von irgendeiner LiveCD und rufst die Shell deiner Installation ohne chroot auf? Ich bin verwirrt... :?
Falls du so vorgehst, wundert mich das nicht, denn so sucht er die libc auf der CD, auf der sich aber vermutlich eine zu alte Version der Bibliothek befindet.

Kurz gefragt, machst du wirklich das hier:
Code:
chroot /mnt/gentoo /bin/bash

_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
DOCi
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Fri Jun 02, 2006 11:16 pm    Post subject: Reply with quote

Ja das mach ich schon es geht nur darum das der
chroot bei /bin/bash fehlschlägt.
Code:
chroot /mnt/gentoo /bin/bash


Das habe ich auch hinbekommen, habe einfach von der LiveCD die bash rüber
kopiert und die alte natürlich aufgehoben.


Aber danke !

gruß DOCi
Back to top
View user's profile Send private message
DOCi
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Sat Jun 03, 2006 12:11 pm    Post subject: Weiteres Problem Reply with quote

Also bin in meiner chroot und will was mergen dann kommt

/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file:

Kann das sein das die mir die eine oder andere Datei fehlt oder das irgend eine /etc/xxxx noch fehlt und dashalb
auf die falsche zeigt?
Habe auch festgestellt das viele Datein die wiederhergestellt wurde mit ^@^@^@ geüllt wurden auch im /bin

gcc-config -l
1] i386-pc-linux-gnu-3.3.5-20050130
[2] i386-pc-linux-gnu-3.3.5-20050130-hardened
[3] i386-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i386-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
[5] i386-pc-linux-gnu-3.3.5-20050130-hardenednossp
[6] i686-pc-linux-gnu-3.3.5-20050130-hardened
[7] i686-pc-linux-gnu-3.4.4 *
[8] i686-pc-linux-gnu-3.4.4-hardened
[9] i686-pc-linux-gnu-3.4.4-hardenednopie
[10] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[11] i686-pc-linux-gnu-3.4.4-hardenednossp
Back to top
View user's profile Send private message
DOCi
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Sat Jun 03, 2006 12:27 pm    Post subject: Hmm Reply with quote

Sie ist vorhanden unter
usr/lib/gcc/i686-pc-linux-gnu/3.4.4/

aber wieso findet python diese nicht ?
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Sat Jun 03, 2006 12:31 pm    Post subject: Reply with quote

Die beste Lösung dürfte das einfache Einspielen eines Backups sein, da du eben nicht weißt, was noch alles kaputt gegangen ist.
Ansonsten könntest du das hier mal probieren: :arrow: http://gentoo-wiki.com/HOWTO_Recover_from_"emerge_--unmerge_gcc"
Danach am besten das ganze System mit emerge -e world neu bauen, um die restlichen Schäden an deinen Programmen zu reparieren. Aber wie gesagt, Backup einspielen ist einfacher und schneller (außer man hat keins :wink:).

EDIT: Da die Bibliothek offenbar noch vorhanden ist, versuche den Cache des Linkers mit ldconfig neu zu bauen. Vielleicht ist die Bibliothek aber auch kaputt und dann hilft nur noch die Anleitung aus dem Wiki.
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
DOCi
n00b
n00b


Joined: 06 Sep 2005
Posts: 11

PostPosted: Sat Jun 03, 2006 12:44 pm    Post subject: Damn Danke! Reply with quote

Danke Danke ldconfig hat was gebracht die Anleitung hatte ich schon ausprobiert.

Und das mit den Backup ist richtig wenn man aber gerade sein Backup
geschrottet hat ist das ein riesen Problem ;)


Aber Dabke danke danke!

gruß DOCi
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Sat Jun 03, 2006 4:54 pm    Post subject: Re: Damn Danke! Reply with quote

DOCi wrote:
Und das mit den Backup ist richtig wenn man aber gerade sein Backup
geschrottet hat ist das ein riesen Problem ;)


Sag mal, was machst denn du für Sachen... 8O
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum