[Ubuntu-BR] Problema grub com 3 SO
Marcos Dionísio Ribeiro do Nascimento
marcosdionisio em gmail.com
Quarta Junho 17 19:13:23 UTC 2009
Caros amigos
Tenho um hd com 3 partições:
- Ubuntu
- Windows XP
- Windons server 2003
Instalei o XP e pedir o grub.
Mesmos seguindo o procedimento descrito na lista do ubuntu e outras ajudas
na internet não conseguir resolver.
Abaixo como tentei resolver:
ubuntu em ubuntu:~$ sudo fdisk -l
Disco /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x783d783d
Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1 * 1 7649 61440561 7 HPFS ou NTFS
/dev/sda2 7650 14230 52861882+ 7 HPFS ou NTFS
/dev/sda3 14231 19457 41985877+ 5 Estendida
/dev/sda5 14231 19237 40218696 83 Linux
/dev/sda6 19238 19457 1767118+ 82 Linux swap / Solaris
ubuntu em ubuntu:~$ sudo mount /dev/sda5 /mnt
ubuntu em ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda5
Due to a bug in xfs_freeze, the following command might produce a
segmentation
fault when /mnt/boot/grub is not in an XFS filesystem. This error is
harmless and
can be ignored.
xfs_freeze: specified file ["/mnt/boot/grub"] is not on an XFS filesystem
Installing GRUB to /dev/sda5 as (hd0,4)...
Installation finished. No error reported.
This is the contents of the device map /mnt/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sda
ubuntu em ubuntu:~$ sudo chroot /mnt
root em ubuntu:/# grub-install /dev/sda5
/dev/sda5: Not found or not a block device.
root em ubuntu:/# grub-install /dev/hd0
/dev/hd0: Not found or not a block device.
More information about the ubuntu-br
mailing list