View previous topic :: View next topic |
Author |
Message |
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Oct 14, 2005 10:16 am Post subject: Dual boot su due dischi separati [RISOLTO] |
|
|
Ciao ,
ho un problema con il dual boot su una macchina cosi ocnfigurata:
3 dischi di cui uno è SATA, sul primo disco c'e Gentoo (hda) sul secondo c'e Windows (dovrebbe essere hdb, è sullo stesso canale del primo ma in slave) e infine il 3° disco è in comune per i dati.
Ho configurato il mio grub.conf cosi:
Code: |
default 0
timeout 20
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root(hd0,0)
kernel /boot/bzImage root=/dev/hda3
# Boot per Windows Xp
title=Windows Xp Professional
rootnoverify (hd1,0)
makeactive
chainloader +1
|
che c'e che non funziona ?
Ps: Gentoo parte senza problemi.
Tnx all
Last edited by f0llia on Sat Oct 15, 2005 2:26 pm; edited 1 time in total |
|
Back to top |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Fri Oct 14, 2005 10:25 am Post subject: |
|
|
hai provato a sostituire Code: | rootnoverify (hd1,0) |
con |
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Oct 14, 2005 10:42 am Post subject: |
|
|
facendo quello che mi hai suggerito mi da questo errore:
Code: |
root (hd1,0)
Filesystem type unknown, partition typr 0x7
makeactive
chainloader +1
|
|
|
Back to top |
|
|
Luca89 Advocate
Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Fri Oct 14, 2005 10:53 am Post subject: |
|
|
Prova così:
Code: | # Boot per Windows Xp
title=Windows Xp Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1 |
|
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Oct 14, 2005 10:59 am Post subject: |
|
|
mi da questo errore:
Code: |
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1
Error 13: invalid or unsupported executable format
|
|
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Oct 14, 2005 3:42 pm Post subject: |
|
|
Se il dual boot è su due dischi differenti invece che su due partizioni differenti, non ci sono per caso delle opzioni da aggiungere in grub.conf? |
|
Back to top |
|
|
Scen Retired Dev
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Fri Oct 14, 2005 3:54 pm Post subject: |
|
|
Ma se nel BIOS imposti (presupponendo sia possibile) impostare il secondary master come primo disco di avvio, Windows si carica correttamente? Forse i dati di boot di Windows si sono corrotti (la butto lì )
Comunque il grub.conf che ti hanno consigliato dovrebbe essere apposto così! _________________ 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 |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Oct 14, 2005 5:35 pm Post subject: |
|
|
se uso solo il disco di win funziona correttamente.. |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Fri Oct 14, 2005 9:39 pm Post subject: |
|
|
ehm... piccola delucidazione, visto che winzozzo non è un sistema invasivo il problema è che generalmente predilige stare su una partizione primaria e sul disco principale... scommetto che se inverti l'ordince dei dischi, il tutto funziona, cioè se hda diventa winzoz e Gentoo diventa hdb va tutto
Io ho risolto così il mio problema era quello...
P.S. il problema risiede nel loader del kernel di winzoz... cosa che si porta dietro da winzozzo 3.51 _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Sat Oct 15, 2005 8:47 am Post subject: |
|
|
quindi prima sistemo il mio fstab e poi provo a sostituire l'ordine dei dischi ?
come grub.comf tengo il mio iniziale o uno di quelli proposti ?
Tnx |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Oct 15, 2005 9:23 am Post subject: |
|
|
Non conosco molto bene grub ma con lilo c'è la possibilità di rimappare l'odine dei dischi:
man lilo.conf wrote: |
map-drive=<num>
Maps BIOS calls for the specified drive to the device code spec-
ified on the next line as to=<num>. This mapping is useful for
booting operating systems, such as DOS, from the second hard
drive. The following, swaps the C: and D: drives,
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
|
Vedi se trovi qualcosa di equivalente in grub. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
CarloJekko Veteran
Joined: 31 Mar 2005 Posts: 1315 Location: Baia Domizia :-)
|
Posted: Sat Oct 15, 2005 10:22 am Post subject: |
|
|
prova così
Code: | title Win
root (hd1,0)
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)
boot |
dovrebbe andare
ciao _________________ C. |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Oct 15, 2005 10:27 am Post subject: |
|
|
CarloJekko wrote: |
[CUT]
dovrebbe andare
ciao |
Esattamente _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Sat Oct 15, 2005 2:26 pm Post subject: |
|
|
Perfetto, cosi funziona.
Grazie |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Sat Oct 15, 2005 4:40 pm Post subject: |
|
|
eh eh eh in questa maniera hai gabbato winzoz tramite grub hihihi Potere all'OpenSource
Ciauz _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Oct 30, 2005 8:59 am Post subject: |
|
|
Moved from Italian to Off Topic. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
|