Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Grub] Arranque dual (cerrado)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
dotinmouth
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 268
Location: Oviedo

PostPosted: Tue Sep 20, 2005 9:06 am    Post subject: [Grub] Arranque dual (cerrado) Reply with quote

Ola chicos. Tengo dos discos duros. El del ide 1 con windows y el 2, que es el que arranca, con linux. El grub.conf lo tengo asi:
Code:

title=Gentoo
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r10 root=/dev/ram0 init=/linuxrc rea$
initrd /initrd-genkernel-x86-2.6.12-gentoo-r10

# For booting Windows NT or Windows95
title=Windows XP
root (hd1,0)
makeactive
chainloader  +1


La cuestion esq gentoo me arranca sin problemas, pero windows directamente no arranca. ¿Que puedo hacer? Bye
_________________
Amare a GNU/Linux sobre todas las cosas y honrare a la GPL (frase celebre de un geek del foro)


Last edited by dotinmouth on Sat Sep 24, 2005 1:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
kalcetoh
Guru
Guru


Joined: 05 Jun 2005
Posts: 304

PostPosted: Tue Sep 20, 2005 9:33 am    Post subject: Re: [Grub] Arranque dual Reply with quote

dotinmouth wrote:

Code:

# For booting Windows NT or Windows95
title=Windows XP
root (hd1,0)
makeactive
chainloader  +1



Prueba poniendo rootnoverify en lugar de root, te quedaría así:
Code:

# For booting Windows NT or Windows95
title=Windows XP
rootnoverify (hd1,0)
makeactive
chainloader  +1
Back to top
View user's profile Send private message
dotinmouth
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 268
Location: Oviedo

PostPosted: Tue Sep 20, 2005 9:45 am    Post subject: Re: [Grub] Arranque dual Reply with quote

kalcetoh wrote:

Prueba poniendo rootnoverify en lugar de root, te quedaría así:
Code:

# For booting Windows NT or Windows95
title=Windows XP
rootnoverify (hd1,0)
makeactive
chainloader  +1

Ya lo habia probado y no funciona
_________________
Amare a GNU/Linux sobre todas las cosas y honrare a la GPL (frase celebre de un geek del foro)
Back to top
View user's profile Send private message
aj2r
l33t
l33t


Joined: 11 Sep 2005
Posts: 705
Location: Granada/Andalucí­a/España

PostPosted: Tue Sep 20, 2005 9:54 am    Post subject: Reply with quote

Pruébalo así
Code:

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


De todas formas, estás seguro que es la partición hd1,0 ?? Y tiene el bit de iniciable esa partición?
Back to top
View user's profile Send private message
kalcetoh
Guru
Guru


Joined: 05 Jun 2005
Posts: 304

PostPosted: Tue Sep 20, 2005 10:13 am    Post subject: Reply with quote

Cuando te salga el menú de inicio de grub prueba a editar lo de Windows y donde pone rootnoverify quita todo y deja "rootnoverify (hd" le das al tabulador, y a ver que te aparece.
Back to top
View user's profile Send private message
psm1984
l33t
l33t


Joined: 14 Oct 2003
Posts: 919

PostPosted: Tue Sep 20, 2005 10:45 am    Post subject: Reply with quote

En gentoo ejecuta grub como superusuario y pon:
Code:
root (hd

y a continuacion pulsa tab para que te salgan las posibilidades, pon la que creas y de nuevo tab para que te salgan las particiones, y asi te aseguras que estas intentando arrancar con la correcta.
Back to top
View user's profile Send private message
dotinmouth
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 268
Location: Oviedo

PostPosted: Tue Sep 20, 2005 1:13 pm    Post subject: Reply with quote

psm1984 wrote:
En gentoo ejecuta grub como superusuario y pon:
Code:
root (hd

y a continuacion pulsa tab para que te salgan las posibilidades, pon la que creas y de nuevo tab para que te salgan las particiones, y asi te aseguras que estas intentando arrancar con la correcta.

Mas facil. Te pongo aqui las particiones que tengo:
Code:

   3         0       156290904       hda        # Disco 1 con windows
   3         1       100872103       hda1      # Un windows
   3         2                       1       hda2      # Ni idea, siempre me crea una de este tipo
   3         5         55408153       hda5      # Otro windows. Sí, increible. Soy el primer linuxero con dos windows :P
  22        0       156290904       hdc        # Disco 2 con linux
  22        1               40131       hdc1      # /boot
  22        2             506047       hdc2      # swap
  22        3         39070080       hdc3      # /
  22        4                       1       hdc4      # Ni idea. No recuerdo haberla creado

Si el disco 2, que es el que arranca, lo toma como hd0, digo yo que el otro disco lo tomara como hd1, y puesto que la particion a arracar es la primera....¿no seria hd1,0, es decir, lo que tengo puesto?
_________________
Amare a GNU/Linux sobre todas las cosas y honrare a la GPL (frase celebre de un geek del foro)
Back to top
View user's profile Send private message
psm1984
l33t
l33t


Joined: 14 Oct 2003
Posts: 919

PostPosted: Tue Sep 20, 2005 1:29 pm    Post subject: Reply with quote

dotinmouth wrote:
¿no seria hd1,0, es decir, lo que tengo puesto?

Si te arranca gentoo pues se supone que si deberia estar bien... :P

En el info grub dice:
Code:

Of course, to actually access the disks or partitions with GRUB, you
need to use the device specification in a command, like `root (fd0)' or
`unhide (hd0,2)'. To help you find out which number specifies a
partition you want, the GRUB command-line (*note Command-line
interface::) options have argument completion. This means that, for
example, you only need to type

     root (

   followed by a <TAB>, and GRUB will display the list of drives,
partitions, or file names. So it should be quite easy to determine the
name of your target partition, even with minimal knowledge of the
syntax.


:wink:
Back to top
View user's profile Send private message
esteban_conde
Veteran
Veteran


Joined: 04 Jun 2003
Posts: 1670

PostPosted: Tue Sep 20, 2005 7:02 pm    Post subject: Reply with quote

A mi me parece que tienes mal puesta la particion windows (hd1,0) = segundo disco duro <-->primera particion y segun tu fstab tienes windows en hda1 = hd0, lo cual nos lleva a :

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader + 1
Lo que me parece raro, raro es que te arranque linux con la entrada que tienes en grub.conf
_________________
Saludos a tod@s, Esteban.
Back to top
View user's profile Send private message
dotinmouth
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 268
Location: Oviedo

PostPosted: Tue Sep 20, 2005 7:04 pm    Post subject: Reply with quote

esteban_conde wrote:
A mi me parece que tienes mal puesta la particion windows (hd1,0) = segundo disco duro <-->primera particion y segun tu fstab tienes windows en hda1 = hd0, lo cual nos lleva a :

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader + 1
Lo que me parece raro, raro es que te arranque linux con la entrada que tienes en grub.conf


Vale, si te fijas en la entrada de gentoo veras que ese disco lo toma como hd0. Aunque esto solo pasa al arrancar. Si ejecuto grub ese disco seria hd1 pero para que me arraque en el grub.conf he de poner lo que ya te he comentado, hd0.
_________________
Amare a GNU/Linux sobre todas las cosas y honrare a la GPL (frase celebre de un geek del foro)
Back to top
View user's profile Send private message
esteban_conde
Veteran
Veteran


Joined: 04 Jun 2003
Posts: 1670

PostPosted: Tue Sep 20, 2005 7:34 pm    Post subject: Reply with quote

entonces tendrás que poner

map (hd0) (hd1)
map (hd1) (hd0)

Veamos donde, vale hago un copy paste.
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader + 1

Creo que así te valdrá.
_________________
Saludos a tod@s, Esteban.
Back to top
View user's profile Send private message
dotinmouth
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 268
Location: Oviedo

PostPosted: Sat Sep 24, 2005 1:11 pm    Post subject: Reply with quote

esteban_conde wrote:
entonces tendrás que poner

map (hd0) (hd1)
map (hd1) (hd0)

Veamos donde, vale hago un copy paste.
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader + 1

Creo que así te valdrá.

No habia visto este mensaje :wink: y, aunque no entiendo que hacen esas dos lineas, con ellas ya puedo arrancar windows. Probe a editar la linea rootnoverify (hd1,0) haciendo lo del tabulador que comentaban y estaba bien, pero como ya te dije tuve que poner tus lineas. Muchas gracias por la respuesta. Bye
_________________
Amare a GNU/Linux sobre todas las cosas y honrare a la GPL (frase celebre de un geek del foro)
Back to top
View user's profile Send private message
esteban_conde
Veteran
Veteran


Joined: 04 Jun 2003
Posts: 1670

PostPosted: Sun Sep 25, 2005 8:52 am    Post subject: Reply with quote

Quote:
aunque no entiendo que hacen esas dos lineas, con ellas ya puedo arrancar windows

cosas de w$ que no arranca más que desde el primer IDE y hay que engañarle :wink:
PD
No creo que w$ se tenga a mal el engaño, en eso ellos son los maestros :lol:
_________________
Saludos a tod@s, Esteban.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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