Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub: Win & Gentoo
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
Sawk
n00b
n00b


Joined: 17 Nov 2005
Posts: 26
Location: Pordenone, Italy

PostPosted: Fri Jan 13, 2006 5:20 pm    Post subject: Grub: Win & Gentoo Reply with quote

ciao a tutti,

ho un problema con grub. Questa è la situazione:

/dev/hda2 = Gentoo
/dev/hdb2 = Slack
/dev/hdb3 = Winzozz

come posso inserire le partizioni in Grub ?

ora uso questo grub.conf

Quote:
default 1
timeout 10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

root (hd0,1)
title=Gentoo-r5
kernel /boot/vmlinuz-2.6.14-r5 root=/dev/hda2

root (hd1,1)
title=Slackware
kernel /boot/vmlinuz-2.4.31 root=/dev/hdb2

title=Windows XP
rootnoverify (hd1,2)
makeactive
chainloader +1


cosa ho sbagliato ?
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Fri Jan 13, 2006 5:23 pm    Post subject: Reply with quote

e allora? qual'è il problema? 8O
_________________
Running Fast!
Back to top
View user's profile Send private message
Sawk
n00b
n00b


Joined: 17 Nov 2005
Posts: 26
Location: Pordenone, Italy

PostPosted: Fri Jan 13, 2006 5:25 pm    Post subject: Reply with quote

:!: non mi avvia windows e slack :!:
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Fri Jan 13, 2006 5:40 pm    Post subject: Reply with quote

Che errore ti dava? Per quanto riguarda windows potrebbe dipendere dal fatto che esso vuole stare nel primo hard-disk, guarda un po nel forum che ci sono tanti thread a riguardo.
_________________
Running Fast!
Back to top
View user's profile Send private message
xbb
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2005
Posts: 85

PostPosted: Fri Jan 13, 2006 5:43 pm    Post subject: Reply with quote

su hda1 e hdb1 cosa ce? :)
Back to top
View user's profile Send private message
Sawk
n00b
n00b


Joined: 17 Nov 2005
Posts: 26
Location: Pordenone, Italy

PostPosted: Fri Jan 13, 2006 6:11 pm    Post subject: Reply with quote

hda1 e hdb1 = swap
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Fri Jan 13, 2006 6:19 pm    Post subject: Reply with quote

Per quanto riguarda Windows, non boota molto probabilmente perché non è nel primo harddisk.

Per quanto riguarda Slackware, i motivi possono essere tanti, io non so bene la sintassi di grub, ma io proverei a modificare così il tutto:
Code:
default 1
timeout 10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

root (hd0,1)
title=Gentoo-r5
kernel /boot/vmlinuz-2.6.14-r5 root=/dev/hda2
boot

root (hd1,1)
title=Slackware
kernel (hd1,1)/boot/vmlinuz-2.4.31 root=/dev/hdb2
boot

title=Windows XP
map (hd1) (hdo)
map (hd0) (hd1)
rootnoverify (hd0,2)
makeactive
chainloader +1

_________________
Thrain

"...only astonishment knows..."
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: Fri Jan 13, 2006 8:12 pm    Post subject: Reply with quote

scusa ma dirci l'errore che ti da grub no? che siamo maghi con la sfera magica?
Nelle faq c'è una splendida collezione dei vari errori riportati da grub e dei vari metodi di soluzione... prova a dargli un'occhiata (le trovi nel subforum di documentazione)
_________________
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
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sun Jan 15, 2006 10:08 am    Post subject: Reply with quote

per installare un sistema operativo e fargli fare il boot non basta buttare i files in qualche modo in una directory, ma devono stare su una partizione primaria ed avviabile.
windows in particolare vuole essere o quantomeno poter scrivere sulla prima partizione. quindi avresti dovuto installarlo su hdb1 (lasciati comunque dire che mettere lo swap su hd*1 è una vaccata senza paragoni) e avresti dovuto fare scrivere a lui il suo boot loader.
per slackware, detto così è impossibile dirlo. come ha detto Cazzantonio dovresti vedere l'output esatto di grub. io ti consiglierei di farti restituire a shell, al boot, e di usare grub così, per vedere esattamente dove fallisce.
ti chiedo però una cosa: sei sicuro che l'errore sia del bootloader o dei sistemi operativi, che non riescono ad avviarsi dalle loro posizioni correnti?
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Sun Jan 15, 2006 10:53 am    Post subject: Reply with quote

io farei una cosa del genere...
staccherei momentaneamente l'hard disk del pinguino...
Quindi farei diventare primario winz.... poi con un cd di win farei il ripristino con il comando /fixmbr
quindi modificherei il file boot.ini e lo farei puntare alla partizione /hdXY che decidi tu... rimetterei linux e farei partire di nuovo il tutto con grub...
ciao!
_________________
C.
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sun Jan 15, 2006 10:54 am    Post subject: Reply with quote

CarloJekko wrote:
io farei una cosa del genere...
staccherei momentaneamente l'hard disk del pinguino...
Quindi farei diventare primario winz.... poi con un cd di win farei il ripristino con il comando /fixmbr
quindi modificherei il file boot.ini e lo farei puntare alla partizione /hdXY che decidi tu... rimetterei linux e farei partire di nuovo il tutto con grub...

il problema è che non lo può fare, dato che ha messo delle partizioni di swap come hd*1
windows non potrà mai scrivere nel MBR, e così come si trova adesso, per quanto ne so io, non si avvierà mai. o almeno credo
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