Logo Hardware.com.br
Potterzin
Potterzin Membro Junior Registrado
100 Mensagens 1 Curtida

Configurar Grub para Triple Boot (Vista, 7 e Ubuntu).

#1 Por Potterzin 27/10/2009 - 21:58
Ultilizei o sudo fdisk -1 e esse foi o resultado:
Disco /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000f29bc

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1 1 44393 356583364 7 HPFS ou NTFS Windows VIsta
/dev/sda2 44393 54592 81920000 7 HPFS ou NTFS Windows 7
/dev/sda3 * 54592 59782 41688064 83 Linux Ubuntu 9
/dev/sda4 59783 60801 8185117+ 82 Linux swap / Solaris Swap


Agora o menu.lst do ubuntu.

## ## End Default Options ##

title Linux Ubuntu 9
uuid 87a1814c-5c23-4683-a03c-d3ca5b8b4a3d
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=87a1814c-5c23-4683-a03c-d3ca5b8b4a3d ro locale=pt_BR quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista
root (hdx,Y)
savedefault
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows 7
root (hdx,Y)
savedefault
makeactive
map (hd0) (hd2)
map (hd0) (hd0)
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
Então, quando instalei o Ubuntu tava assim:
title Ubuntu 9.04, kernel 2.6.28-16-generic
uuid 87a1814c-5c23-4683-a03c-d3ca5b8b4a3d
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=87a1814c-5c23-4683-a03c-d3ca5b8b4a3d ro locale=pt_BR quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet

title Ubuntu 9.04, kernel 2.6.27-7-generic
uuid 87a1814c-5c23-4683-a03c-d3ca5b8b4a3d
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=87a1814c-5c23-4683-a03c-d3ca5b8b4a3d ro locale=pt_BR quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
E com as modificações que fiz ficou do jeito mostrado.

O problema era que na página inicial do grub, só aparecia o Ubuntu e o WIndows VIsta/Longhorn (loader).

O Ubuntu entrava direto no sistema, porem o Windows Vista/Longhorn (loader) entra em outra página, que abre o Windown 7 e o WIndows Vista.

Porem, eu queria deixar tudo na página inicial, mas é ai que ta, eu não sei como configurar o (hd0,0) e nem sei o que colocar no # on /dev/sda?.

Então, com essas informações que eu dei, é possível alguém me ajudar?
© 1999-2025 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal