Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[LIVECD]X86-universal-2004.2.iso e chroot[risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Tue Sep 14, 2004 8:13 pm    Post subject: [LIVECD]X86-universal-2004.2.iso e chroot[risolto] Reply with quote

visto che la mia gentoo ha qualche problemino ho dovuto fare il boot con il livecd in oggetto e purtroppo ho un problema a chrootare. INfatti sia
Code:
chroot /mnt/gentoo /bin/bash
che
Code:
chroot /mnt/gentoo
danno come output "illegal instruction". Guardando su altri post ho visto che era un problema relativo al livecd utilizzato, ma pur cercando a fondo fra le dir dei vari mirror ho trovato solo la iso in questione per architettura x86, non c e piu distinzione fra i586 ed i686. Dico questo perche sono su un p2 350 Mhz. Secondo voi xche non funzia?
Grazie mille a tutti.
Ciao
Jaco


Last edited by JacoMozzi on Thu Sep 16, 2004 9:39 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Tue Sep 14, 2004 9:00 pm    Post subject: Reply with quote

Sei sicuro di avere scaricato la x86 universal?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 7:18 am    Post subject: Reply with quote

fedeliallalinea wrote:
Sei sicuro di avere scaricato la x86 universal?


Sì, l'ho scaricata da qui:
ftp://mirror.switch.ch/mirror/gentoo/releases/x86/2004.2/livecd/install-x86-universal-2004.2.iso

Prima ho scaricato anche la minimal ma non bootava :(

Grazie mille
Ciao>
Jaco[/url]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Wed Sep 15, 2004 7:21 am    Post subject: Reply with quote

Prova a scaricare la 2004.0 che dava meno problemi solo per vedere se non e' un problema di livecd.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 7:38 am    Post subject: Reply with quote

infatti...per non sbagliare ho addirittura scaricato la 1.4 ;-)

A mezzodì provo e poi riferisco

Grazie Fedeliallalinea

Ciao
Jaco
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 12:29 pm    Post subject: Reply with quote

Eccomi qui...

Dunque x86-1.4-20030911.cd1.iso scaricato, masterizzato, bootato ed il problema persiste :(

Ecco i passi che ho fatto:
Code:

# mount /dev/miaroot /mnt/gentoo
# mount /dev/miaboot /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# chroot /mnt/gentoo /bin/bash
# Illegal instruction



Grazie mille
ciao
Jaco
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Sep 15, 2004 12:34 pm    Post subject: Reply with quote

Strano... a questo punto fai cifra tonda e prova con la Knoppix
_________________
Ciao da me!
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 12:44 pm    Post subject: Reply with quote

randomaze wrote:
Strano... a questo punto fai cifra tonda e prova con la Knoppix


Sî, ma cmq uno si affida al livecd come ancora di salvezza e poi viene tradito in questo modo :roll:

Ciao
Jaco
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Wed Sep 15, 2004 2:10 pm    Post subject: Reply with quote

Strano a me vanno tutti i livecd. Poi Illegal instruction di solito capita quando si compila per un arch sbagliata
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 2:41 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Strano a me vanno tutti i livecd. Poi Illegal instruction di solito capita quando si compila per un arch sbagliata


Anch'io pensavo fosse quello il problema ma della 2004.2 c'é solamente la iso x86 universal.

Cmq...può darsi che il chroot non vada a buon fine perché io tento di chrootarmi nell'installazione della gentoo fatta sull'altro pc.

Mi spiego meglio: visto che ho problemi alla scheda madre ed harddisk su un pc, ho deciso di attaccare il disco all'altro.

IL pc con i problemi é un athlon xp 2000+ mentre quello che sto usando adesso per cercare di chrootarmi nell'installazione é un p2...

Ciao
Jaco
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Wed Sep 15, 2004 2:46 pm    Post subject: Reply with quote

Allora e' normale se hai compilato con l'ottimizzazione athlon-xp per quello che io sui desktop metto sempre i686
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 2:57 pm    Post subject: Reply with quote

quindi é praticamente impossibile fare il chroot da un p2 su una installazione ottimizzata per athlon xp?

NOn riesco come fa a capire il chroot che l'installazione in cui sto per chrootarmi é stata ottimizzata per athlon xp :roll:

Ciao
Jaco
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Wed Sep 15, 2004 2:59 pm    Post subject: Reply with quote

Infatti ora mi sorge il dubbio ma se fosse per quello l'errore avrebbe un senso
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Wed Sep 15, 2004 3:03 pm    Post subject: Reply with quote

Code:
Con questo comando, si fa in modo che venga utilizzata la funzione chroot() perché /tmp/nuova_root/ diventi la directory radice per il processo avviato con /bin/bash. È importante comprendere che /bin/bash va inteso qui come parte del sotto-file system e si tratta in generale di /tmp/nuova_root/bin/bash.

Quindi puo' essere un problema del /bin/bash compilato per athlon-xp che non va sotto p2, se ho capito bene quello che intendono.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 3:17 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
Con questo comando, si fa in modo che venga utilizzata la funzione chroot() perché /tmp/nuova_root/ diventi la directory radice per il processo avviato con /bin/bash. È importante comprendere che /bin/bash va inteso qui come parte del sotto-file system e si tratta in generale di /tmp/nuova_root/bin/bash.

Quindi puo' essere un problema del /bin/bash compilato per athlon-xp che non va sotto p2, se ho capito bene quello che intendono.


Infatti, non é che sia chiarissima la spiegazione :roll:

Ciao
Jaco
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Wed Sep 15, 2004 3:30 pm    Post subject: Reply with quote

Per quello che ho capito io (non che ho fatto molta ricerca) usa /bin/bash dell'ambiente chrootato quindi quella compilata per athlon-xp ora il problema che sei su un p2 quindi da quell'errore
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Sep 15, 2004 3:32 pm    Post subject: Reply with quote

JacoMozzi wrote:
Infatti, non é che sia chiarissima la spiegazione :roll:


Il comando:

Code:
chroot /mnt/gentoo /bin/bash


avvia la shell /mnt/gentoo/bin/bash facendogli credere che /mnt/gentoo sia la root directory .

Va da se che se tale shell é compilata con le ottimizzazioni dell'athlon-xp difficilmente riuscirai a eseguirla su un pentium4, basta qualunque istruzione "proprietaria" dell'athlon per spaccare tutto.
_________________
Ciao da me!
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 3:41 pm    Post subject: Reply with quote

randomaze wrote:
JacoMozzi wrote:
Infatti, non é che sia chiarissima la spiegazione :roll:


Il comando:

Code:
chroot /mnt/gentoo /bin/bash


avvia la shell /mnt/gentoo/bin/bash facendogli credere che /mnt/gentoo sia la root directory .

Va da se che se tale shell é compilata con le ottimizzazioni dell'athlon-xp difficilmente riuscirai a eseguirla su un pentium4, basta qualunque istruzione "proprietaria" dell'athlon per spaccare tutto.


AH, dunque il problema sta tutto nella shell che utilizzo chrootandomi (quella dell'installazione in cui sto entrando (athlon XP)).

Quindi non c'é soluzione per chrootarmi nella mia installazione da un processore diverso da quello per cui l'ho ottimizzata :(

Questo vuol dire che chroot va bene solamente se mi trovo su sistemi con ottimizzazioni per la stessa architettura?

Grazie mille
Ciao
Jaco
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Wed Sep 15, 2004 3:42 pm    Post subject: Reply with quote

Beh se usavi i686 con -O2 il problema non sorgeva :wink:
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Sep 15, 2004 3:43 pm    Post subject: Reply with quote

JacoMozzi wrote:
Questo vuol dire che chroot va bene solamente se mi trovo su sistemi con ottimizzazioni per la stessa architettura?


Se ho capito la domanda si, non puoi fare un chroot verso un'altra architettura.
_________________
Ciao da me!
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 4:56 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Beh se usavi i686 con -O2 il problema non sorgeva :wink:


:evil: :evil: :cry:
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 4:57 pm    Post subject: Reply with quote

randomaze wrote:
JacoMozzi wrote:
Questo vuol dire che chroot va bene solamente se mi trovo su sistemi con ottimizzazioni per la stessa architettura?


Se ho capito la domanda si, non puoi fare un chroot verso un'altra architettura.


Dopo vado da un mio amico, anche lui possessore di un athlon XP, metto il livecd ed attacco il mio HD e provo a chrootarmi.

Secondo logica deve funzionare per forza ;-)

Ciao
Jaco
Back to top
View user's profile Send private message
ballero
n00b
n00b


Joined: 10 Jul 2004
Posts: 62

PostPosted: Wed Sep 15, 2004 5:54 pm    Post subject: Reply with quote

randomaze wrote:

[...]
Va da se che se tale shell é compilata con le ottimizzazioni dell'athlon-xp difficilmente riuscirai a eseguirla su un pentium4, [...]


Puoi eseguirla senza difficolta' caricando l'smp.
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 6:03 pm    Post subject: Reply with quote

ballero wrote:
randomaze wrote:

[...]
Va da se che se tale shell é compilata con le ottimizzazioni dell'athlon-xp difficilmente riuscirai a eseguirla su un pentium4, [...]


Puoi eseguirla senza difficolta' caricando l'smp.

:?: :?: :?:
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Wed Sep 15, 2004 6:05 pm    Post subject: Reply with quote

ballero wrote:
randomaze wrote:

[...]
Va da se che se tale shell é compilata con le ottimizzazioni dell'athlon-xp difficilmente riuscirai a eseguirla su un pentium4, [...]


Puoi eseguirla senza difficolta' caricando l'smp.

:?: :?: :?:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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