[Ubuntu-BR] Problema grub com 3 SO
Xisberto
xisberto em gmail.com
Quarta Junho 17 19:31:46 UTC 2009
2009/6/17 Marcos Dionísio Ribeiro do Nascimento <marcosdionisio em gmail.com>
> 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.
> --
> Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
>
> Lista de discussão Ubuntu Brasil
> Histórico, descadastramento e outras opções:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>
Outro dia encontrei esta dica muito útil
http://ubuntuforum-pt.org/index.php/topic,14614.0.html
Inúmeras maneiras de recuperar o grub. Veja qual delas você consegue
executar com mais segurança (sem ter medos).
--
Humberto Xis
http://xisberto.blogspot.com
http://ostelematicos.blogspot.com
"Sur la tuta tero estis unu lingvo kaj unu parlomaniero." - Gn 11,1
More information about the ubuntu-br
mailing list