Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installazione Gentoo 2004.0 [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
adcares
n00b
n00b


Joined: 11 Dec 2004
Posts: 3
Location: Trento -Italy

PostPosted: Sat Dec 11, 2004 1:26 pm    Post subject: installazione Gentoo 2004.0 [RISOLTO] Reply with quote

Ciao.
Sono un principiante e sto tentando di installare da liveCD Gentoo 2004.0 su una macchina un po datata (pentium 133) non connessa a internet.

Ho scelto lo stage3 come modalità di installazione.
Sequendo scrupolosamente il manuale (versione italiana) riesco ad arrivare senza problemi al punto in cui si effettua il chroot prima di installare e compilare il kernel.

Poi tento di installare una versione del kernel (ho provato senza risultato con vanilla-sources, gentoo-sources, gentoo-dev-sources) mediante ad es. "emerge vanilla-sources" ma sembra che Portage cerchi i sorgenti su internet anzichè nel portage tree della macchina, e quindi l'installazione fallisce.
Utilizzando "emerge -pv vanil ...", infatti, ottengo la conferma che portaqe non trova i files ebuild necessari sulla macchina.

All'interno della directory /usr/portage/ i file ci sono tutti.

Cosa posso fare ?
Grazie


Last edited by adcares on Mon Dec 13, 2004 7:54 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Sat Dec 11, 2004 1:30 pm    Post subject: Reply with quote

Se non c'e' in /usr/portage/ (si chiama linux-xxx) allora non poi fare molto. Dovrai trovare un modo per averlo in distfiles
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
OKreZ
Guru
Guru


Joined: 27 Apr 2003
Posts: 372
Location: Padova (IT)

PostPosted: Sat Dec 11, 2004 1:59 pm    Post subject: Reply with quote

Mi pare di ricordare che fosse un problema della 2004.0, prova a vedere in /usr/portage/distfiles che sorgenti del kernel ci sono, e poi rinomina l'ebuild del kernel di conseguenza
_________________
(HCS)OKreZ
Back to top
View user's profile Send private message
Tùrin_Mormegil
Guru
Guru


Joined: 21 Sep 2004
Posts: 478
Location: Gorizia - Milano

PostPosted: Sat Dec 11, 2004 2:46 pm    Post subject: Reply with quote

magari devi fare un
Code:
emerge -k vanilla-sources

_________________
Как я рад!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Sat Dec 11, 2004 2:52 pm    Post subject: Reply with quote

Tùrin_Mormegil wrote:
magari devi fare un
Code:
emerge -k vanilla-sources

No -k serve solo per i precompilati non per i sorgenti
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Tùrin_Mormegil
Guru
Guru


Joined: 21 Sep 2004
Posts: 478
Location: Gorizia - Milano

PostPosted: Sat Dec 11, 2004 2:56 pm    Post subject: Reply with quote

si, ma non è possibile che ci sia un pacchetto in tbz2 contenente i sorgenti? (non leggerla in chiave polemica, è una domanda)
_________________
Как я рад!
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Sat Dec 11, 2004 3:04 pm    Post subject: Reply with quote

Non ho mai installato gentoo offline ma non basta copiare i sorgenti in /usr/portage/distfiles e dare emerge? (se gli ebuild sono presenti ovviamente)
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Sat Dec 11, 2004 3:06 pm    Post subject: Reply with quote

Tùrin_Mormegil wrote:
si, ma non è possibile che ci sia un pacchetto in tbz2 contenente i sorgenti? (non leggerla in chiave polemica, è una domanda)

Si i sorgnti sono in un tra.bz2 ma non sono i binari quindi non serve a nulla. se metti i sorgenti in distfiles non li cerca in rete
_________________
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: Sat Dec 11, 2004 9:32 pm    Post subject: Reply with quote

Tùrin_Mormegil wrote:
si, ma non è possibile che ci sia un pacchetto in tbz2 contenente i sorgenti?


a meno di un bug non si tratta di qualcosa interessato dal -K (ovvero sono sono pacchetti che si trovano in /usr/portage/packages/All)
_________________
Ciao da me!
Back to top
View user's profile Send private message
adcares
n00b
n00b


Joined: 11 Dec 2004
Posts: 3
Location: Trento -Italy

PostPosted: Sat Dec 11, 2004 11:06 pm    Post subject: Reply with quote

Per quanto riguarda il kernel, in /usr/portage/distfiles ho trovato il file “linux-2.4.24.tar.bz2”.

Quando emergo con “emerge –pv gentoo-source” ottengo :

-----------------------------------------------------------------------------------
These are the packages that i would merge, in order :

Calculating dependencies …. Done !

[ebuild N] sys-apps/module-init-tools-0.9.15_pre4 344 kb
[ebuild N] sys-kernel/gentoo-sources-2.4.22-r7 -Build 32,515 kb

Total size of download : 32,860 kb
-----------------------------------------------------------------------------------

Quindi “emerge” non riesce a trovare i files nel portage tree, mentre in realtà io li trovo in :

a) /usr/portage/sys-apps/module-init-tools/ module-init-tools-0.9.15_pre4.ebuild

b) /usr/portage/sys-kernel/gentoo-sources/ gentoo-sources-2.4.22-r7.ebuild

Perchè non li “vede” ?

Un osservazione.
Lo stage tarball che ho trovato sul liveCD è : ../cdrom/stages/stage3-x86-20040218.tar.bz2
Lo snapshots di portage invece è : ../cdrom/snapshots/portage-20040223.tar.bz2

Possono essere incompatibili ?
Back to top
View user's profile Send private message
OKreZ
Guru
Guru


Joined: 27 Apr 2003
Posts: 372
Location: Padova (IT)

PostPosted: Sun Dec 12, 2004 12:24 am    Post subject: Reply with quote

se provi ad emergere i vanilla-sources ? controlla che l'ebuild relativo ai vanilla sources si chiami vanilla-sources-2.4.24.ebuild
_________________
(HCS)OKreZ
Back to top
View user's profile Send private message
adcares
n00b
n00b


Joined: 11 Dec 2004
Posts: 3
Location: Trento -Italy

PostPosted: Mon Dec 13, 2004 7:53 am    Post subject: Reply with quote

OKreZ wrote:
se provi ad emergere i vanilla-sources ? controlla che l'ebuild relativo ai vanilla sources si chiami vanilla-sources-2.4.24.ebuild


Avevi ragione. Ho dovuto però cancellare da ../portage/sys-kernel/vanilla-sources/vanilla-sources-2.4.25.ebuild.
Così ha funzionato.

Grazie
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
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