[Ubuntu-BR] Erro ao tentar recuperar o grub

Filipe Areias Nevola filipe.bico em hotmail.com
Sexta Maio 1 03:37:22 UTC 2009



Segue os comandos dados e o erro, no final tem o fdisk -l caso alguem venha pedir:

root em ubuntu:/home/ubuntu# mkdir /mnt/linux
root em ubuntu:/home/ubuntu# ls
Desktop  Documentos  Imagens  Modelos  Músicas  Pública  Vídeos
root em ubuntu:/home/ubuntu# mount /dev/sda
sda   sda1  sda2  sda3  sda5  sda6  sda7  sda8  
root em ubuntu:/home/ubuntu# mount /dev/sda
sda   sda1  sda2  sda3  sda5  sda6  sda7  sda8  
root em ubuntu:/home/ubuntu# mount /dev/sda5 /mnt/linux/

grub> root (hd0,5)

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,5)/boot/grub/stage2
/boot/grub/menu.lst"... failed

Error 12: Invalid device requested

O que está errado?


ubuntu em ubuntu:~$ sudo fdisk -l
omitting empty partition (5)

Disco /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x391e391e

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1   *           1        2619    21037086    7  HPFS ou NTFS
/dev/sda2            2620       48640   369663682+   f  Win95 (LBA) Partição Extendida
/dev/sda3            6375       19122   102398278+   7  HPFS ou NTFS
/dev/sda5            2620        6213    28868742   83  Linux
/dev/sda6            6214        6374     1293201   82  Linux swap / Solaris
/dev/sda7           19123       42069   184321746    7  HPFS ou NTFS
/dev/sda8           42070       48640    52781526    7  HPFS ou NTFS
ubuntu em ubuntu:~$ 


_________________________________________________________________
Novo Windows Live: Messenger 2009 e muito mais. Descubra!
http://www.windowslive.com.br


More information about the ubuntu-br mailing list