Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problema con il boot: non trova la partizione root
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
Dimmy
n00b
n00b


Joined: 29 Dec 2004
Posts: 19
Location: Trst

PostPosted: Mon Nov 21, 2005 8:29 am    Post subject: problema con il boot: non trova la partizione root Reply with quote

Salve. Ho appena installato la gentoo 2005.1.
Al boot mi si presenta un problemino:

>> Determining root device...
!! The root device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell...
boot() ::

Poi, digitando la partizione di root con : /dev/hda9 il sistema viene caricato correttamente.

A me sembra che i file fstab e grub.conf siano configurati correttamente.

Infatti nel fstab ho :
/dev/hda9 / ext3 noatime 0 1

E in grub.conf:
title=Gentoo Linux
root (hd0,6)
kernel /kernel-genkernel-x86-2.6.14-gentoo-r2 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda9 vga=795
initrd /initramfs-genkernel-x86-2.6.14-gentoo-r2

Qualcuno sa indicarmi dove sta il problema? Come posso risolverlo?
Grazie

Dimmy
_________________
Dual Boot - GENTOO GNU/Linux 2005.1 (/boot ext2, swap, /ext3, /home ext3)
Notebook: DELL INSPIRON 8200, Pentium 4 M, 1400x1050, ATI 9000 M, 768 MB RAM, HD 60 GB 7200 rpm, CDRW/DVD, ADSL Flat
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1560
Location: switzerland

PostPosted: Mon Nov 21, 2005 8:41 am    Post subject: Re: problema con il boot: non trova la partizione root Reply with quote

Dimmy wrote:

/dev/hda9 / ext3 noatime 0 1


prova con
Code:
/dev/hda9   /   ext3   noatime  0 0


anche se non so se sia veramente quello il problema..
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
Opossum
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2005
Posts: 104

PostPosted: Wed Nov 23, 2005 7:48 am    Post subject: Reply with quote

Ciao Dimmy, nel tuo post leggo che in grub.conf hai scritto

Code:

Poi, digitando la partizione di root con : /dev/hda9 il sistema viene caricato correttamente.


e successivamente che il tuo grub.conf riporta la riga

Code:

root (hd0,6)


il 6 è un refuso oppure è effettivamente quello che hai scritto? Se non ricordo male (io uso lilo che ha una notazione per i device leggermente diversa) grub conta su base 0, quindi (hd0,0) sarebbe /dev/hda1.
Pertanto se la tua root è /dev/hda9 penso che tu dovresti sostituire la tua linea un grub.conf con root (hd0,8)

Fammi sapere come va!!
Back to top
View user's profile Send private message
Opossum
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2005
Posts: 104

PostPosted: Wed Nov 23, 2005 7:51 am    Post subject: Reply with quote

Scusa, volevo dire che devi sostituire root (hd0, 6 ) con root (hd0, 8 )
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Wed Nov 23, 2005 11:33 am    Post subject: Reply with quote

Questo penso dipenda dal fatto che lui (se non ho capito male) usa la partiziona di boot separata....ma non ne sono sicuro...
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Nov 23, 2005 11:36 am    Post subject: Re: problema con il boot: non trova la partizione root Reply with quote

Dimmy wrote:
kernel /kernel-genkernel-x86-2.6.14-gentoo-r2 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda9 vga=795
initrd /initramfs-genkernel-x86-2.6.14-gentoo-r2


Prova ad eliminare il bootsplah sostituendo le due righe che ti ho evidenziato con:

Code:
kernel /kernel-genkernel-x86-2.6.14-gentoo-r2 root=/dev/hda9 vga=795

_________________
Ciao da me!
Back to top
View user's profile Send private message
richard77
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 281

PostPosted: Wed Nov 23, 2005 3:41 pm    Post subject: Reply with quote

Credo sia

root(hd0,0)

(è il root di grub, non quello di linux)

Però dipende come è stato installato, e se c'è anche windows.

EDIT: secondo me ha ragione nick_spacca: in root(hd0,X) X è la partizione di boot, se separata.
Come già detto la notazione di grub è leggermente diversa: /dev/hdaN -> (hd0,N-1)
EDIT2: Prova a postare tutto fstab
_________________
Fletto i muscoli e sono nel vuoto
Back to top
View user's profile Send private message
Lestaat
Guru
Guru


Joined: 13 Jan 2005
Posts: 412
Location: Perugia

PostPosted: Wed Nov 23, 2005 4:29 pm    Post subject: Reply with quote

richard77 wrote:
Credo sia

root(hd0,0)

(è il root di grub, non quello di linux)

Però dipende come è stato installato, e se c'è anche windows.

EDIT: secondo me ha ragione nick_spacca: in root(hd0,X) X è la partizione di boot, se separata.
Come già detto la notazione di grub è leggermente diversa: /dev/hdaN -> (hd0,N-1)
EDIT2: Prova a postare tutto fstab



EHM...
nn vorrei dire un eresia ma deve essere root(hd0,8) in qualsiasi caso
La sistemazione delle partizioni dipende si da come uno ha configurato il sistema ma /dev/hda9 sarà sempre e cmq hd0,8 in grub.
_________________
Vorrei salvare il mondo...
...ma non so con che estensione!!!
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Wed Nov 23, 2005 4:43 pm    Post subject: Reply with quote

Lestaat wrote:

EHM...
nn vorrei dire un eresia ma deve essere root(hd0,8) in qualsiasi caso
La sistemazione delle partizioni dipende si da come uno ha configurato il sistema ma /dev/hda9 sarà sempre e cmq hd0,8 in grub.


È vero che /dev/hda9 è sempre (hd0,8) ma non sono sicuro che,avendo la partizione di boot separata si debba mettere quella di root li...purtroppo ora non sono con Linux (lo so non mi fa onore :oops: ...ma non è il mio pc... :twisted: ) + tardi controllo...

PS: comunque
Code:
man grub
dovrebbe aiutare :wink:
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
Lestaat
Guru
Guru


Joined: 13 Jan 2005
Posts: 412
Location: Perugia

PostPosted: Wed Nov 23, 2005 4:46 pm    Post subject: Reply with quote

nick_spacca wrote:
Lestaat wrote:

EHM...
nn vorrei dire un eresia ma deve essere root(hd0,8) in qualsiasi caso
La sistemazione delle partizioni dipende si da come uno ha configurato il sistema ma /dev/hda9 sarà sempre e cmq hd0,8 in grub.


È vero che /dev/hda9 è sempre (hd0,8) ma non sono sicuro che,avendo la partizione di boot separata si debba mettere quella di root li...purtroppo ora non sono con Linux (lo so non mi fa onore :oops: ...ma non è il mio pc... :twisted: ) + tardi controllo...

PS: comunque
Code:
man grub
dovrebbe aiutare :wink:


ma ovunque sia il boot se dando /dev/hda9 carica correttamente vuol dire che root è (hd0,8)..
ti pare?
8O :lol:
_________________
Vorrei salvare il mondo...
...ma non so con che estensione!!!
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Wed Nov 23, 2005 5:12 pm    Post subject: Reply with quote

Lestaat wrote:

ma ovunque sia il boot se dando /dev/hda9 carica correttamente vuol dire che root è (hd0,8)..
ti pare?
8O :lol:


Forse non ho capito io, o meglio non mi sono spiegato bene....

Non è che lui non sappia DOVE è la sua root di sistema, SEMPLICEMENTE quel comando
Code:
 grub> root (hdaX, Y)
NON è la root di sistema, bensi quella dove grub va a cercare il file che genericamente è /vmlinuz ( infatti se la tua root di sistema comprende anche /boot devi dargli /boot/vmlinuz)
Comunque maggiori info le trovate qui
Spero questa volta di essere stato + chiaro.....altrimenti spiegatemi meglio se sto dicendo solo cazzate :wink:
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
Dimmy
n00b
n00b


Joined: 29 Dec 2004
Posts: 19
Location: Trst

PostPosted: Wed Nov 23, 2005 6:26 pm    Post subject: Re: problema con il boot: non trova la partizione root Reply with quote

Grazie a tutti per l'interessamento.

luna80 mi ha consigliato di cambiare nel file fstab la linea "/dev/hda9 / ext3 noatime 0 1" con 0 0 finale. Ho provato questa strada (immaginando che comunque non mi portava da nessuna parte), e non ha funzionato - infatti nel manuale e' spiegato chiaramente che serve per determinare l'ordine in cui dovrebbero essere controllati i filesystem se il sistema non è stato spento correttamente - il filesystem root dovrebbe avere 1, mentre gli altri filesystem dovrebbero avere 2 (o 0 se non è necessario un controllo)
.
Per quanto riguarda le partizioni sul mio pc, bastava leggere nella firma :wink:
root (hd0,6) infatti si riferisce alla partizione di boot (come giustamente ipotizzato da nick_spacca)



Dopo qualche tentativo, ho seguito il consiglio di randomaze, ed ora va tutto liscio. Però non mi spiego il perchè. Eppure mi è sembrato di aver seguito il manuale correttamente :roll: .

Grazie a tutti

Dimmy
_________________
Dual Boot - GENTOO GNU/Linux 2005.1 (/boot ext2, swap, /ext3, /home ext3)
Notebook: DELL INSPIRON 8200, Pentium 4 M, 1400x1050, ATI 9000 M, 768 MB RAM, HD 60 GB 7200 rpm, CDRW/DVD, ADSL Flat
Back to top
View user's profile Send private message
Lestaat
Guru
Guru


Joined: 13 Jan 2005
Posts: 412
Location: Perugia

PostPosted: Thu Nov 24, 2005 2:15 pm    Post subject: Re: problema con il boot: non trova la partizione root Reply with quote

Dimmy wrote:
Grazie a tutti per l'interessamento.

luna80 mi ha consigliato di cambiare nel file fstab la linea "/dev/hda9 / ext3 noatime 0 1" con 0 0 finale. Ho provato questa strada (immaginando che comunque non mi portava da nessuna parte), e non ha funzionato - infatti nel manuale e' spiegato chiaramente che serve per determinare l'ordine in cui dovrebbero essere controllati i filesystem se il sistema non è stato spento correttamente - il filesystem root dovrebbe avere 1, mentre gli altri filesystem dovrebbero avere 2 (o 0 se non è necessario un controllo)
.
Per quanto riguarda le partizioni sul mio pc, bastava leggere nella firma :wink:
root (hd0,6) infatti si riferisce alla partizione di boot (come giustamente ipotizzato da nick_spacca)



Dopo qualche tentativo, ho seguito il consiglio di randomaze, ed ora va tutto liscio. Però non mi spiego il perchè. Eppure mi è sembrato di aver seguito il manuale correttamente :roll: .

Grazie a tutti

Dimmy


metti il tag risolto allora :P
_________________
Vorrei salvare il mondo...
...ma non so con che estensione!!!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Nov 24, 2005 2:42 pm    Post subject: Re: problema con il boot: non trova la partizione root Reply with quote

Dimmy wrote:
Dopo qualche tentativo, ho seguito il consiglio di randomaze, ed ora va tutto liscio. Però non mi spiego il perchè. Eppure mi è sembrato di aver seguito il manuale correttamente :roll: .


Beh, adesso hai una entry corretta (senza splashimage) e puoi farne un'altra per provare a sistemare lo splash ;-)

Magari controlla che messaggi da prima dell'errore che hai incollato in questo post...
_________________
Ciao da me!
Back to top
View user's profile Send private message
Dimmy
n00b
n00b


Joined: 29 Dec 2004
Posts: 19
Location: Trst

PostPosted: Fri Nov 25, 2005 7:33 am    Post subject: Re: problema con il boot: non trova la partizione root Reply with quote

randomaze wrote:
Dimmy wrote:
Dopo qualche tentativo, ho seguito il consiglio di randomaze, ed ora va tutto liscio. Però non mi spiego il perchè. Eppure mi è sembrato di aver seguito il manuale correttamente :roll: .


Beh, adesso hai una entry corretta (senza splashimage) e puoi farne un'altra per provare a sistemare lo splash ;-)

Magari controlla che messaggi da prima dell'errore che hai incollato in questo post...



Scusami, ma purtroppo non ho capito niente :cry: Anche se è già qualche anno che sto cercando di usare Linux, per mancanza di tempo non riesco a studiarlo... in fin dei conti sono ancora un newbie.

Dimmy
_________________
Dual Boot - GENTOO GNU/Linux 2005.1 (/boot ext2, swap, /ext3, /home ext3)
Notebook: DELL INSPIRON 8200, Pentium 4 M, 1400x1050, ATI 9000 M, 768 MB RAM, HD 60 GB 7200 rpm, CDRW/DVD, ADSL Flat
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Fri Nov 25, 2005 7:55 am    Post subject: Re: problema con il boot: non trova la partizione root Reply with quote

Dimmy wrote:

Scusami, ma purtroppo non ho capito niente :cry: Anche se è già qualche anno che sto cercando di usare Linux, per mancanza di tempo non riesco a studiarlo... in fin dei conti sono ancora un newbie.

Dimmy


Non ti preoccupare, non ha detto nulla di particolare :wink: ....
Ti ha detto semplicemente che ora che hai configurato per bene grub, TIENITI questa parte cosi' com'e', e aggiungine un'altra per fare le prove con lo stesso kernel ma provando ad attivare lo splash...per capirci:
Code:


#vim /boot/grub/menu.lst
(...)
title=Gentoo Linux
root (hd0,6)
kernel /kernel-genkernel-x86-2.6.14-gentoo-r2 root=/dev/hda9 vga=795

title=Gentoo Linux splash (TEST)
root (hd0,6)
kernel /kernel-genkernel-x86-2.6.14-gentoo-r2 root=/dev/ram0 init=linuxrc ramdisk=8192 real_root=/dev/hda9 vga=795      <----- e giochi a cambiare
initrd /initramfs-genkernel-x86-2.6.14-gentoo-r2                                                                                                                 <----- queste righe

_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
Cristian75
Apprentice
Apprentice


Joined: 30 Nov 2005
Posts: 234

PostPosted: Fri Dec 02, 2005 1:42 pm    Post subject: [BOOT]problemi al boot con grub Reply with quote

Salve. Ho appena installato la gentoo 2005.1.
Al boot mi si presenta un problemino:

>> Determining root device...
!! The root device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell...
boot() ::

Poi, digitando la partizione di root con : /dev/hda3 il sistema viene caricato correttamente.

ho anche letto alcuni post al riguardo su questo forum ma non ho risolto...
che possa essere stato quando ho dato grub-install?
mi si sono verificate degli errori... :cry:
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Fri Dec 02, 2005 3:17 pm    Post subject: Reply with quote

l'fstab è a posto? non è che non l'hai configurato a dovere?
puoi postare anche la linea di avvio del kernel e le tue partizioni?
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 Dec 02, 2005 5:04 pm    Post subject: Reply with quote

si credo che abbia ragione Ic3M4n, posta il tuo fstab, magari hai fatto qualche errore di configurazione lì, capita spesso di sbagliare nell'fstab, sapessi quante volte ho scazzato io :lol: ciao
Back to top
View user's profile Send private message
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Fri Dec 02, 2005 6:15 pm    Post subject: Reply with quote

Ti posto la parte relativa del mio grub.conf:
Quote:

title Gentoo 2.6.9
root (hd0,2)
kernel /boot/Gentoo root=/dev/hda3 vga=791 splash=verbose,theme:Linux
initrd /boot/fbsplash-linux-1024x768


Posta comunque un
Quote:

cat /etc/fstab && fdisk -l /dev/hda
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Sat Dec 03, 2005 12:11 am    Post subject: Reply with quote

fatto il merge del thread... usiamo la ricerca la prossima volta :roll:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Cristian75
Apprentice
Apprentice


Joined: 30 Nov 2005
Posts: 234

PostPosted: Sun Dec 04, 2005 6:28 pm    Post subject: Reply with quote

Ciao ragazzi grazie in anticipo per avermi risposto vi posto il tutto e grazie ancora
Code:

# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1               /boot           ext2            defaults,noatime        1 2
/dev/hda2               none            swap            sw              0 0
/dev/hda3               /               raiserfs        noatime         0 1
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro       0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

# NOTE: The next line is critical for boot!
none                    /proc/openprom          openpromfs              defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0


Code:
Disk /dev/hda: 20.5 GB, 20525137920 bytes
255 heads, 63 sectors/track, 2495 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           5       40131   83  Linux
/dev/hda2               6          68      506047+  82  Linux swap / Solaris
/dev/hda3              69        2495    19494877+  83  Linux


ops scusatemi mi ero dimenticato un pezzo :)
oggi non sto bene

Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r6
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/hda3
initrd /boot/initramfs-genkernel-x86-2.6.12-gentoo-r6


Edit gutter: Per favore usiamo i tag bbcode
_________________
La musica che ascolto : http://www.last.fm/user/Cristian75/
La mia Webradio ---> http://95.211.15.229:8000/
utente numero 381833 su Linux Counter
http://counter.li.org.
Coltiva Linux che tanto Windows si pianta da solo
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