Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root block device unspecified
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
Crema83
Apprentice
Apprentice


Joined: 06 Oct 2004
Posts: 207
Location: Settimo Milanese (MI)

PostPosted: Sun Jul 17, 2005 2:07 pm    Post subject: root block device unspecified Reply with quote

Ciao a tutti, ho da poco acquistato un notebook Asus con processore AMD-Turion64 ... ieri insieme ad amici ci siamo lanciati nell'installazione di Gentoo64 ma al reboot :
Code:

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


Ho trovato mille posts in giro a riguardo ma nessuno che mi abbia aiutato ... nel kernel sembra tutto ok, tutto ciò che serve x i device è compilato come built-in.

Questo è il mio grub.conf:

Code:
# Boot automatically after 30 secs.
timeout 30

default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Linux
title  Gentoo64 kernel-2.6.12-gentoo-r4
root (hd0,5)
kernel (hd0,5)/kernel-genkernel-x86_64-2.6.12-gentoo-r4 real_root=/dev/hda8 udev nodevfs splash=verbose
initrd (hd0,5)/initramfs-genkernel-x86_64-2.6.12-gentoo-r4

# For booting Windows NT or Windows95
title WindowsXP
rootnoverify (hd0,1)
makeactive
chainloader  +1



E questo l'fstab

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

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda6               /boot           ext2            noauto,noatime                          1 2
/dev/hda8               /               reiserfs        noatime                                 0 1
/dev/hda7               none            swap            sw                                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro,user                          0 0

# NOTE: The next line is critical for boot!

none                    /proc           proc            defaults                0 0


none                    /dev/shm        tmpfs           defaults                0 0



Cosa può essere???
_________________
Cream

" We live as we dream : ALONE "


Last edited by Crema83 on Sun Jul 17, 2005 11:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Sun Jul 17, 2005 2:14 pm    Post subject: Reply with quote

Così a occhio pare tutto a posto. Cmq un consiglio, prova a rifare compilando il kernel a mano, senza usare genkernel. Io l'ho provato un paio di volta ma mi ha sempre dato problemi (ricordati di mettere come incluso e NON modulo il supporto al filsystem di / e del chipset che usi)
_________________
about:mozilla
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sun Jul 17, 2005 2:15 pm    Post subject: Reply with quote

sembra un problema relativo ad udev...
al prossimo reboot prova a scrivere in sequenza:
Code:
shell
udevstart
exit
boot


dovresti essere in grado di bootare la macchine e risolvere il problema con
udev dal tuo nuovo sistema, se cosi non fosse reboota -> livecd -> chroot
e ricontrolla la configurazione di udev e di /etc/conf.d/rc

edit: hai usato genkernel? argh
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
Crema83
Apprentice
Apprentice


Joined: 06 Oct 2004
Posts: 207
Location: Settimo Milanese (MI)

PostPosted: Sun Jul 17, 2005 4:16 pm    Post subject: Reply with quote

X-Drum wrote:
sembra un problema relativo ad udev...
al prossimo reboot prova a scrivere in sequenza:
Code:
shell
udevstart
exit
boot


dovresti essere in grado di bootare la macchine e risolvere il problema con
udev dal tuo nuovo sistema,


Nada ... non va cmq!!!

X-Drum wrote:
se cosi non fosse reboota -> livecd -> chroot
e ricontrolla la configurazione di udev e di /etc/conf.d/rc

edit: hai usato genkernel? argh


Configurazione di udev??? Cosa intendi x configurazione? Il caricamento dei moduli relativi nel kernel o lo sbatacchio dell'udev primer http://www.gentoo.it/doc/UDEVprimer.html?

Questo è il mio rc

Code:
# /etc/conf.d/rc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/rc,v 1.13 2004/02/26 18:01:29 azarah Exp $

RC_TTY_NUMBER=11

RC_PARALLEL_STARTUP="yes"

RC_NET_STRICT_CHECKING="no"

RC_DEVICE_TARBALL="no"

RC_DEVFSD_STARTUP="no"

RC_RETRY_KILL="yes"

RC_RETRY_TIMEOUT=1

RC_RETRY_COUNT=5

RC_FAIL_ON_ZOMBIE="no"

svcdir="/var/lib/init.d"

svcmount="no"

svcfstype="tmpfs"

svcsize=2048


Mi sono accorto ora che sul fisso che ho nell'rc ho settato RC_DEVICE_TARBALL="yes" ... ???
_________________
Cream

" We live as we dream : ALONE "
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sun Jul 17, 2005 4:26 pm    Post subject: Reply with quote

hai su un baselayout un po vecchiotto forse,
non vedo nel tuo /etc/conf.d/rc l'opzione:
Code:
# Use this variable to control the /dev management behavior.
#  auto   - let the scripts figure out what's best at boot
#  devfs  - use devfs (requires sys-fs/devfsd)
#  udev   - use udev (requires sys-fs/udev)
#  static - let the user manage /dev

RC_DEVICES="udev"


per configurazione di udev intendo cheil tuo sistema sia
adeguatamente configurato e _pronto_ per udev -.-

quindi la guida da te linkata contiene gran parte dei requisiti
che il tuo sistema deve avere per essere pronto per l'utilizzo
di udev in favore di devfs..

fossi in te proverei prima quindi a ricompilarmi un kernel *decente*
a mano seguendo le indicazioni di tale guida.
e dopo se il problema persiste proverei ad aggiornare il baselayout
alla versione 1.11.12-r4 che cmq è stabile
(ammesso sempre che tu non lo abbia già fatto)
poiche da quella versione in poi ho notato che il supporto per udev
ed altro è migliorato parecchio


good luck

edit:
Crema83 wrote:

Mi sono accorto ora che sul fisso che ho nell'rc ho settato RC_DEVICE_TARBALL="yes" ... ???

su tutti i pc che gestisco tengo quell'opzione su "no" dato che mi interessa un sistema con udev puro
e non ho dei devices particolari in dev creati a mano...
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Sun Jul 17, 2005 5:07 pm    Post subject: Reply with quote

[1/2 OT]Genkernel di per sè non fa male ad una mosca. Io lo uso sempre MA non in versione automatica, bensì scegliendo io a manina tutti le vociche mi interessano. Non parlate male di un così utile sw, ma al più specificate che è solo lasciando fare TuTTO a genkernel che si possono avere alcuni problemi. /etc/genkernel.conf non è lì per caso ;-)
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Crema83
Apprentice
Apprentice


Joined: 06 Oct 2004
Posts: 207
Location: Settimo Milanese (MI)

PostPosted: Sun Jul 17, 2005 5:30 pm    Post subject: Reply with quote

.:deadhead:. wrote:
[1/2 OT]Genkernel di per s� non fa male ad una mosca. Io lo uso sempre MA non in versione automatica, bens� scegliendo io a manina tutti le vociche mi interessano. Non parlate male di un cos� utile sw, ma al pi� specificate che � solo lasciando fare TuTTO a genkernel che si possono avere alcuni problemi. /etc/genkernel.conf non � l� per caso ;-)


Quoto a pieno ... genkernel di x sè non mi ha mai dato troppi problemi, è vero può creare una configurazione un pò ridondante ma x i meno esperti in kernel (come me) è un comodo aiuto ... ovvio che poi è sempre meglio metterci mano!!!

Vabbè xò il mio problema non riesco a risolverlo . :cry: .... :wink:
_________________
Cream

" We live as we dream : ALONE "
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sun Jul 17, 2005 5:46 pm    Post subject: Reply with quote

.:deadhead:. wrote:
[1/2 OT]Genkernel di per sè non fa male ad una mosca. Io lo uso sempre MA non in versione automatica, bensì scegliendo io a manina tutti le vociche mi interessano. Non parlate male di un così utile sw, ma al più specificate che è solo lasciando fare TuTTO a genkernel che si possono avere alcuni problemi. /etc/genkernel.conf non è lì per caso ;-)

se scegli a manina tutte le vochi che tiinteressano che lo usi a fare ?_?
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
bender86
Guru
Guru


Joined: 18 Mar 2005
Posts: 484

PostPosted: Sun Jul 17, 2005 6:37 pm    Post subject: Reply with quote

Ma se usi initrd, non dovresti specificare come root /dev/ram0?
Qualcosa del genere:
Code:
kernel (hd0,5)/kernel-genkernel-x86_64-2.6.12-gentoo-r4 real_root=/dev/hda8 udev nodevfs splash=verbose root=/dev/ram0
initrd (hd0,5)/initramfs-genkernel-x86_64-2.6.12-gentoo-r4

Mi dava un errore simile quando provavo a farmi un livecd personalizzato.
Back to top
View user's profile Send private message
Crema83
Apprentice
Apprentice


Joined: 06 Oct 2004
Posts: 207
Location: Settimo Milanese (MI)

PostPosted: Sun Jul 17, 2005 6:43 pm    Post subject: Reply with quote

bender86 wrote:
Ma se usi initrd, non dovresti specificare come root /dev/ram0?
Qualcosa del genere:
Code:
kernel (hd0,5)/kernel-genkernel-x86_64-2.6.12-gentoo-r4 real_root=/dev/hda8 udev nodevfs splash=verbose root=/dev/ram0
initrd (hd0,5)/initramfs-genkernel-x86_64-2.6.12-gentoo-r4

Mi dava un errore simile quando provavo a farmi un livecd personalizzato.


Niente di niente ... non so veramente dove sbattere la testa!!!!!
_________________
Cream

" We live as we dream : ALONE "
Back to top
View user's profile Send private message
alx15
n00b
n00b


Joined: 17 Feb 2005
Posts: 8

PostPosted: Mon Jul 18, 2005 1:48 pm    Post subject: Reply with quote

Non so se sia strettamente necessario, ma nei miei, fatti con genkernel, c'è anche
Code:
init=/linuxrc
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Mon Jul 18, 2005 7:16 pm    Post subject: Reply with quote

X-Drum wrote:
se scegli a manina tutte le vochi che tiinteressano che lo usi a fare ?_?
per evitare di dare make e tutta la trafila di altri comandi e per trovarmi già il kernel in /boot con il suo initrd già pronto...
Come dici? pigro? già!:D :D c'era un thread in cui si asseriva che gentoo è per i pigri: cmq alla fine genkernelcome altri non sono altro che script e programmini che non fanno altro che semplificarti la vita...

Unico svantaggio? Se mi chiedi di farmi a mano un kernel, potrei aver qualche problema :oops: [ma google aiuta]
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Crema83
Apprentice
Apprentice


Joined: 06 Oct 2004
Posts: 207
Location: Settimo Milanese (MI)

PostPosted: Thu Jul 21, 2005 12:37 am    Post subject: Reply with quote

Risolto ... era un problema del kernel!!!
_________________
Cream

" We live as we dream : ALONE "
Back to top
View user's profile Send private message
XstefanoX
n00b
n00b


Joined: 11 Jan 2005
Posts: 54
Location: Baggio, Milano Far West

PostPosted: Thu Jul 21, 2005 7:13 am    Post subject: Reply with quote

Scusa, puoi postare in che modo hai risolto? Perchè anche io ho lo stesso problema.
Grazie.
Back to top
View user's profile Send private message
Crema83
Apprentice
Apprentice


Joined: 06 Oct 2004
Posts: 207
Location: Settimo Milanese (MI)

PostPosted: Thu Jul 21, 2005 7:33 am    Post subject: Reply with quote

XstefanoX wrote:
Scusa, puoi postare in che modo hai risolto? Perch� anche io ho lo stesso problema.
Grazie.


Guarda ho semplicemente ricompilato il kernel con

Code:
genkernel --menuconfig kernel


e ho ridato un occhio al kernel!!!
_________________
Cream

" We live as we dream : ALONE "
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