Autor Tópico: GRUB não boota o Windows  (Lida 3836 vezes)

filipenetto

  • Visitante
GRUB não boota o Windows
« Online: 03 de Dezembro de 2005, 15:41 »
E ai galera, blz ?

Instalei o Ubuntu em um HD, e depois, coloquei uma outra HD aqui já com o Rwin XP Instalado, portanto, ele não consta no GRUB. Procurando aqui no fórum, achei as instruções para adicionar o Windows no GRUB, e meu menu.lst ficou assim:

Código: [Selecionar]
title Ubuntu, kernel 2.6.12-10-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.12-10-386
savedefault
boot

title Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-10-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.12-10-386
boot

title Ubuntu, kernel 2.6.12-9-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.12-9-386
boot

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin  
boot

title Windows XP Professional
root (hd1,0)
savedefault
makeactive
chainloader +1

Mas da forma como está, não está funcionando. Quando tento bootar no Windows, ele dá a seguinte msg de erro:

Código: [Selecionar]
Boting Windows XP Professional
root (hd1,0)
Filesystem type unknown
Partition type 0x7
makeactive
chainloader +1

Será que alguem sabe o que essa msg significa ? Só para constar, o Windows está no HD Primary Slave, na primeira partição NTFS.

Agradeço se alguem souber a resposta. Valeu ...

filipenetto

  • Visitante
Ninguem ... ?
« Resposta #1 Online: 03 de Dezembro de 2005, 20:51 »
Ninguem vai poder me ajudar ? :(

filipenetto

  • Visitante
SOLUÇÃO
« Resposta #2 Online: 06 de Dezembro de 2005, 15:13 »
E ai pessoal. Apenas para o conhecimento: postei essa duvida no ubuntuforums.org, e consegui a resposta. Vejam:

Unfortunately windows does not like being on the second drive or partition. I wil fail to boot.
You can use the map directive to fix this like so:

Código: [Selecionar]
title Windows XP Professional
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
savedefault
makeactive
chainloader +1

This makes Windows believe its booting off the first partition of the primary HDD.[/i][/code][/color]