Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic al primo tentativo di installazione
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
albe99
n00b
n00b


Joined: 10 Nov 2006
Posts: 3

PostPosted: Fri Nov 10, 2006 7:06 am    Post subject: Kernel panic al primo tentativo di installazione Reply with quote

Salve a tutti, sono totalmente newbie di questa distro che mi affascina tanto ma non mi riesce proprio di installare.. :lol: spero abbiate un po' di pazienza..

Seguendo la guida (http://www.gentoo.it/doc/gentoo-x86-quickinstall.html) ho partizionato quel che resta del mio hdd SATA:

/dev/sda4 per il boot
/dev/sda5 per swap
/dev/sda6 per root

arrivato alla fine ho installato lilo e configurato cosi:

boot=/dev/sda4
prompt
timeout=50
default=gentoo
image=/boot/kernel
label=Gentoo
read-only
root=/dev/sda6

al riavvio pero' lilo si pianta con il messaggio:

VFS: Cannot open root device "806" or unknow-block(8,6)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,6)

grazie mille,
Alberto.
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Fri Nov 10, 2006 7:35 am    Post subject: Reply with quote

Ciao Alberto!

L'errore che hai significa che il kernel non riesce ad accedere alla partizione di root, nella maggior parte dei casi è perchè non hai compilato staticamente nel kernel il supporto al chipset del controller SATA dov'è collegato il disco fisso.

Comunque ti consiglio di leggere e seguire attentamente, per l'installazione, il manuale Gentoo: http://www.gentoo.org/doc/it/handbook/index.xml (la guida che hai seguito tu forse non è aggiornata, ed è indirizzata a chi già ha avuto esperienze di installazione di Gentoo)
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
albe99
n00b
n00b


Joined: 10 Nov 2006
Posts: 3

PostPosted: Fri Nov 10, 2006 8:03 am    Post subject: Reply with quote

grazie mille, ritentero' l'installazione seguendo quella guida..
Ciao.
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Fri Nov 10, 2006 8:31 am    Post subject: Reply with quote

fai senza ritentare l'installazione, basta che metti a posto il kernel
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Nov 10, 2006 9:15 am    Post subject: Reply with quote

Onip wrote:
fai senza ritentare l'installazione, basta che metti a posto il kernel


Meglio ancora, se hai usato grub, quando appare il menu di boot premi 'e' ed edita la linea modificandola opportunamente.

Altrimenti, se hai usato lilo, segui i passi del manuale fino al chroot, modifichi il lilo.conf, dai il comando lilo e riprovi.


EDIT: Vedo che hai usato lilo... quindi la via da seguire é quella del chroot.
_________________
Ciao da me!
Back to top
View user's profile Send private message
Kerberos
n00b
n00b


Joined: 10 Nov 2006
Posts: 33

PostPosted: Fri Nov 10, 2006 11:53 am    Post subject: Reply with quote

Mi scuso con albe99 se uso il suo post ma ho lo stesso suo problema!

Dopo l'installazione esce il solito errore:
Code:
VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Premetto che penso di aver configurato tutto bene.. cmq il mio grub.conf è:
Code:
default 0
timecode 30

title=gentoo
root (hd0,0)
kernel /boot/kernel root=/dev/hda3


naturalmente il kernel è in /boot/kernel e hda3 è la partizione di root...
Cosa posso fare per rimettere apposto il kernel senza rifare da 0 l'installazione?
_________________
Kerberos at anxalug.org
Back to top
View user's profile Send private message
bender86
Guru
Guru


Joined: 18 Mar 2005
Posts: 484

PostPosted: Fri Nov 10, 2006 1:59 pm    Post subject: Reply with quote

Kerberos wrote:
naturalmente il kernel è in /boot/kernel e hda3 è la partizione di root...

Il kernel lo trova, è proprio lui che va in panic.

Kerberos wrote:
Cosa posso fare per rimettere apposto il kernel senza rifare da 0 l'installazione?

Non è affatto complicato:
- Parti con il livecd
- Monta le partizioni in /mn/gentoo (per esempio)
- Monta proc in /mnt/gentoo/proc
- Chroot dentro /mnt/gentoo (tutto questo nello stesso modo di quando hai installato)
- cd /usr/src/linux
- make menuconfig (qui devi configurare il kernel)
- make
- make modules_install
- Copia il nuovo kernel in /boot
- Aggiorna il bootloader
- Esci dal chroot
- Smonta tutto
- Riavvia
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Fri Nov 10, 2006 4:21 pm    Post subject: Reply with quote

Kerberos wrote:
Mi scuso con albe99 se uso il suo post ma ho lo stesso suo problema!

Dopo l'installazione esce il solito errore:
Code:
VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Premetto che penso di aver configurato tutto bene.. cmq il mio grub.conf è:
Code:
default 0
timecode 30

title=gentoo
root (hd0,0)
kernel /boot/kernel root=/dev/hda3


naturalmente il kernel è in /boot/kernel e hda3 è la partizione di root...
Cosa posso fare per rimettere apposto il kernel senza rifare da 0 l'installazione?


hai installato solo gentoo sul tuo hdd????
che kernel dovrebbe caricare??? /boot/kernel-quale???? manca la versione se nn sbaglio...

ciauz
Back to top
View user's profile Send private message
Gitanovic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2004
Posts: 101
Location: Italy

PostPosted: Fri Nov 10, 2006 5:00 pm    Post subject: Reply with quote

Forse dico una cacchiata, ma potrebbe anche essere il file system utilizzato non compilato staticamente nel kernel
Ah, tra l'altro è successo anche a me, e nel mio caso era mancante il driver ahci, vedi di abilitare anche quello
_________________
Gipsy
Back to top
View user's profile Send private message
Kerberos
n00b
n00b


Joined: 10 Nov 2006
Posts: 33

PostPosted: Sat Nov 11, 2006 10:36 am    Post subject: Reply with quote

Ok grazie per i consigli, poi provo.
Il fatto è che ho provato anche la configurazione e compilazione usando genkernel e il problema è rimasto.... anzi peggiorato...

Ah, sull'hd c'è solo gentoo e il /boot/linux dovrebbe andare bene dato che il bzImage l'ho copiato lì.

Ciao gipsy! :wink:
_________________
Kerberos at anxalug.org
Back to top
View user's profile Send private message
Kerberos
n00b
n00b


Joined: 10 Nov 2006
Posts: 33

PostPosted: Sat Nov 11, 2006 1:45 pm    Post subject: Reply with quote

Mancava un module ide... :roll:
_________________
Kerberos at anxalug.org
Back to top
View user's profile Send private message
albe99
n00b
n00b


Joined: 10 Nov 2006
Posts: 3

PostPosted: Sat Nov 11, 2006 2:56 pm    Post subject: Reply with quote

..finalmente ci sono riuscito! :D :D
reinstallando pero'..

il problema stava proprio nella compilazione dei moduli SATA del kernel, ho risolto con l'installer GUI del liveCD che me li ha riconosciuti autimaticamente..
ora pero' mi vado a vedermi bene la configurazione del kernel, non voglio ricascarci la prossima volta... :wink:
ciao e grazie.
Back to top
View user's profile Send private message
Gitanovic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2004
Posts: 101
Location: Italy

PostPosted: Sat Nov 11, 2006 6:26 pm    Post subject: Reply with quote

Buono per entrambi allora :D
Mettete il tag risolto ;)
_________________
Gipsy
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