Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chiedo aiuto con installazione Gentoo [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
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 7:34 pm    Post subject: Chiedo aiuto con installazione Gentoo [RISOLTO] Reply with quote

Seguendo la guida sono arrivato al punto di dover fare:

Codice 1.6: Installare il Kernel

(Installate i sorgenti del kernel) # emerge <kernel-package-here>
(Configurate il vostro kernel usando genkernel... # emerge genkernel; genkernel --menuconfig all
(o (1) Create manualmente il vostro kernel) # cd /usr/src/linux; make menuconfig;
( (2) Includete il VM fs, /proc fs, /dev fs, /dev fs mount automatico al boot)
( (3) Compilate il vostro kernel) # make dep && make clean bzImage modules modules_install
( (4) Copiate la sua immagine nella directory /boot) # cp arch/i386/boot/bzImage /boot; cp System.map /boot

il problema è che non so cosa devo scrivere al posto di <kernel-package-here> perchè è la mia prima installazione da solo, e quando DvD l'ha installato a me mi stavo quasi per addormentare :D !!

Vi ringrazio in anticipo, AlexTM


Last edited by AlexTM on Sat Oct 09, 2004 2:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Fri Oct 08, 2004 7:37 pm    Post subject: Reply with quote

Beh metti uno dei kernel disponibili. Io ti consiglio di mettere gentoo-dev-sources
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 7:44 pm    Post subject: Reply with quote

grazie!!!! s
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 8:12 pm    Post subject: Reply with quote

ho seguito il tuo consiglio ed ho scritto:

emerge gentoo-dev-sources

dopo un po' che scaricava roba ha iniziato la compilazione ma ha dato il seguente errore:

checking for C compiler default output... configure: error: C compiler cannot create executable

Che fo?!?!

Grazie per l'aiuto
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Fri Oct 08, 2004 8:16 pm    Post subject: Reply with quote

Posta il tuo make.conf
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 8:25 pm    Post subject: Reply with quote

CFLAGS="-02 -mcpu=i686 -formit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
questo è quello che ci sta dentro
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Fri Oct 08, 2004 8:41 pm    Post subject: Reply with quote

Sei sicuro che quel -O2 sia un O ("o" grande) al posto di uno zero?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 8:56 pm    Post subject: Reply with quote

deve essere uno zero oppure una o?
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 9:08 pm    Post subject: Reply with quote

il valore che c'e' dentro e' o(maiuscolo) lho sostituito con 0 ma e' lo stesso mi da lo stesso errore nel momento dell'emerge
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Fri Oct 08, 2004 9:10 pm    Post subject: Reply with quote

AlexTM wrote:
il valore che c'e' dentro e' o(maiuscolo) lho sostituito con 0 ma e' lo stesso mi da lo stesso errore nel momento dell'emerge

No o maiuscola e' giusto
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Fri Oct 08, 2004 9:10 pm    Post subject: Reply with quote

Una O grande.

EDIT: non ho visto che era gia risposto...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Fri Oct 08, 2004 9:11 pm    Post subject: Reply with quote

Prova a mettere
Code:
CFLAGS="-O2 -march=i686 -formit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 9:17 pm    Post subject: Reply with quote

ho cambiato lo 0(zero) con O e cambiato mcpu in march ma stessa cosa!!!
avee altre idee?
mi da questo preciso errore:
checking for C compiler default output...configure: error: C compiler cannot create executables
!!!ERROR: dev-libs/ucl-1.01-r1 failed.
!!!Function econf, line362,exitcode 77.
!!!econf failed
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Fri Oct 08, 2004 11:10 pm    Post subject: Reply with quote

è bastato sostituire l'esempio con CPU athlon xp riportato in make.conf.exaple... grazie a tutti per l'aiuto!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Fri Oct 08, 2004 11:15 pm    Post subject: Reply with quote

Metti il tag [risolto] al titolo
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Sat Oct 09, 2004 1:42 am    Post subject: Reply with quote

No, aspè, ora c'è un altro problema...
Ho messo grub proprio come dice la guida, ma quando poi riavvio il pc continua a dire che l'hd non è un disco di avvio valido...
ho ripetuto la procedura 2 volte dall'inizio (avvio da cd, montaggio dei device, chroot, grub -> root (hd0,0); setup (hd0); quit -> poi ho modificato il file /boot/grub/grub.conf e messo tutto come dice la guida e come anche sull'altro mio pc funziona, ma niente da fare... stasera sono proprio stanco e non ci capisco + niente...

Vi ringrazio in anticipo, AlexTM
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Sat Oct 09, 2004 7:39 am    Post subject: Reply with quote

Come hai fatto le partizioni? Su che disco?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Sat Oct 09, 2004 7:48 am    Post subject: Reply with quote

Il modello di HD non te lo so dire in questo momento.
Le partizioni sono 3 sul PrimaryMaster (hda1,hda2,hda3)
la prima (64M) è ext2, per il boot
la seconda (520M) è swap,
la terza (tutto il resto) è ext3 (ext2 -j).

Una cosa che ho notato è la seguente: quando avvio da livecd e monto su /mnt/gentoo/boot la partizione 1 dopo aver montato in /mnt/gentoo la partizione 3 mi dice che il tipo di filesystem non è verificato e che dovrei lanciare un comando per farlo: ho provato a lanciarlo ma dice che è POTENZIALMENTE PERICOLOSO eseguire quell'operazione su un filesystem montato. Allora per timore di perdere quello che già c'è su hda1 non ho smontato/eseguito il controllo
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Sat Oct 09, 2004 12:38 pm    Post subject: Reply with quote

Finalmente ho fatto quel cavolo di controllo sulla partizione 1 ed ho reinstallato da capo GRUB, ma il problema rimane sempre lo stesso: non riconosce sto cavolo di HD come boot
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Sat Oct 09, 2004 12:43 pm    Post subject: Reply with quote

Hai impostato la partizione /dev/hda1 come attiva (da fdisk comando a) e hai detto a grub di installarsi nell'mbr?????

Semmai prova così!

ps. per essere più precisi, grub ti parte e quando scegli cosa avviare ti da quell'errore o non parte proprio????

Ciriciao
mouser :wink:
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Sat Oct 09, 2004 1:06 pm    Post subject: Reply with quote

Perfetto, e anche questa è andata!! Non avevo messo il flag di boot...
Ora però all'avvio mi dice di mettere il supporto per DEVFS... da dove lo faccio questo? e soprattutto... a che serve?

Vi ringrazio veramente tanto, credo che la prossima volto la volerò st'installazione!!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31477
Location: here

PostPosted: Sat Oct 09, 2004 1:09 pm    Post subject: Reply with quote

Io ti consiglio di mettere udev http://www.gentoo.org/doc/it/udev-guide.xml che sara' il sostituto di devfs. Leggi l'howto per sapere cosa e' spiega meglio di quello che farei io :wink:
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Sat Oct 09, 2004 1:40 pm    Post subject: Reply with quote

porc**, mi so accorto che uno degli errori lo da l'avvio della rete, quindi mi resta difficile emergere qualsiasi cosa... dice che /dev/eth0 non esiste... mi sono perso qualche passaggio?
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Sat Oct 09, 2004 1:41 pm    Post subject: Reply with quote

probabilmente questo può essere di aiuto:
modprobe dà errore sia in fase di avvio che in fase di arresto perchè dice che manca il file modules.dep... ??
Back to top
View user's profile Send private message
AlexTM
n00b
n00b


Joined: 08 Oct 2004
Posts: 23
Location: Pisa

PostPosted: Sat Oct 09, 2004 2:23 pm    Post subject: Reply with quote

mentre aspettavo vostre notizie ho ricompilato il kernel e rifatto i moduli: l'errore "modules.dep" non lo da più, ma continua a non esserci la periferica eth0... uff. senza emerge non posso andare avanti... :-(
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