Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problema al riavvio
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
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Tue May 17, 2005 7:08 am    Post subject: problema al riavvio Reply with quote

ciao a tutti ieri ho riprovato a installare gentoo. tutto ok (seguendo fedelmente la guida) fino a quando sono arrivato a configurare grub
ho dato emerge grub
# nano -w /boot/grub/grub.conf
la pagina che si è aperta era in bianco: giusto cosi?
ho ricopiato cio che c era sul manuale (parte x chi nn ha usato genkernel)
al riavvio pero mi esce questo (non posso essere tanto preciso perche lo schermo è molto disturbato!):
Code:
bootin gentoo linux
root
filesystem unknow partition type ok
kernel /kernel-2.6.11-gentoo-r1 type root /dev/hda4

error 17: cannot mount selected partition

press any key to continue


a questo punto se clicco qualunque tasto mi cambia schermata e appare la scelta del sistema operativo che voglio avviare (o gentoo o win xp). ma qulunque dei 2 io scelga mi rimanda alla schermata precedente
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue May 17, 2005 10:20 am    Post subject: Reply with quote

Che grub.conf era vuoto e' giusto. Provato a guardare qui per il tuo errore https://forums.gentoo.org/viewtopic.php?p=1569370 ?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


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

PostPosted: Tue May 17, 2005 10:29 am    Post subject: Reply with quote

probabilmente hai sbagliato ad impostare le partizioni e non te le trova. x gentoo hai installato nel kernel i componenti del filesystem? in ogni caso: come è partizionato l'hd? ed insieme a questo anche il file di grub.
Back to top
View user's profile Send private message
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Tue May 17, 2005 12:27 pm    Post subject: Reply with quote

Ic3M4n wrote:
probabilmente hai sbagliato ad impostare le partizioni e non te le trova. x gentoo hai installato nel kernel i componenti del filesystem? in ogni caso: come è partizionato l'hd? ed insieme a questo anche il file di grub.


dunque.... probabilmente anzi ...sicuramente ho sbagliato ad impostare le partizioni.
il mio hd è cosi:
hda1 è dove tengo windows
hda2 /boot
hda3 swap
hda4 /


pero mi sa che l errore che ho fatto è stato quello d copiare la guida che metteva windows in hda6

ma adesso cosa dovrei fare? rifare tutto?
Back to top
View user's profile Send private message
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Tue May 17, 2005 12:43 pm    Post subject: Reply with quote

nella guida dice cosi:
Code:
# Quale opzione viene avviata di default. 0 è la prima, 1 la seconda etc.
default 0
# Quanti secondi attendere prima di avviare l'opzione di default.
timeout 30
# Un'immagine gradevole
# Da commentare se non si dispone di scheda grafica
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11 Gentoo r1
# La partizione dove si trova l'immagine del kernel (o il sistema operativo)
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r1 root=/dev/hda3

# Le prossime quattro righe vanno messe solo se si ha un dualboot con Windows.
# In questo caso, Windows è in /dev/hda6.
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1


x me quindi doveva essere:
x gentoo -> root(hd0,1)
kernel /kernel-2.6.11-gentoo-r1 root=/dev/hda4

x win -> rootnoverify(hd0,0)

puo essere?
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


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

PostPosted: Tue May 17, 2005 12:55 pm    Post subject: Reply with quote

leggendolo così sembrerebbe corretto. altra domanda: hai inserito nel kernel le voci del tuo filesystem?
Quote:
filesystem unknow partition type ok
segna che non riconosce qualcosa.

x windows dovrebbe essere:
Code:
rootnoverify(hd0,0)
makeactive
chainloader +1

anche se sul portatile io non ho makeactive.
Back to top
View user's profile Send private message
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Tue May 17, 2005 1:43 pm    Post subject: Reply with quote

Ic3M4n wrote:
leggendolo così sembrerebbe corretto. altra domanda: hai inserito nel kernel le voci del tuo filesystem?
Quote:
filesystem unknow partition type ok
segna che non riconosce qualcosa.

x windows dovrebbe essere:
Code:
rootnoverify(hd0,0)
makeactive
chainloader +1

anche se sul portatile io non ho makeactive.


quindi come dovrebbe essere?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue May 17, 2005 3:09 pm    Post subject: Reply with quote

Si per gentoo devi mettere root(hd0,1)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Tue May 17, 2005 3:49 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Si per gentoo devi mettere root(hd0,1)


quindi, x piacere, come dovrebbe essere scritto il file grub.conf?

inteso sia x win che x gentoo
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Tue May 17, 2005 3:50 pm    Post subject: Reply with quote

Cosi' teoricamente
Code:
# Quale opzione viene avviata di default. 0 è la prima, 1 la seconda etc.
default 0
# Quanti secondi attendere prima di avviare l'opzione di default.
timeout 30
# Un'immagine gradevole
# Da commentare se non si dispone di scheda grafica
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11 Gentoo r1
# La partizione dove si trova l'immagine del kernel (o il sistema operativo)
root (hd0,1)
kernel /kernel-2.6.11-gentoo-r1 root=/dev/hda3

# Le prossime quattro righe vanno messe solo se si ha un dualboot con Windows.
# In questo caso, Windows è in /dev/hda6.
title=Windows XP
rootnoverify(hd0,0)
makeactive
chainloader +1

avevi solo sbagliato gli indici
_________________
Questions are guaranteed in life; Answers aren't.
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