+ Responder ao Tópico



  1. #1

    Padrão Inlcuir ubuntu no grub

    Estou com um problema na configuração do grub. Tinha um dual boot entre centos e ubuntu, pórem precisei instalar o windows e com isso o grub foi para o espaço. Fiz a restauração e estou agora com dual boot entre centos e windows, no momento da restauração com o find /boot/grub/stage1, não listou hd/partição da instalação do ubuntu.
    FIz tentativas indicando a hd/partição com o comando root (hdX) e setup (hd0) mas a mensagem de errro era que não encontrava os arquivos em tal lugar.
    Já garimpei no google algumas soluções mais nenhuma teve sucesso no meu caso, gostaria da ajuda de vocês.

    Meu particionamento Atual
    -------------------------------------------------------------------------------------------
    sda1 Linux ext3 ->CentOS
    sda2 swap
    sda3 NTFS ->Windows
    sda5 Linux ext3 -> Ubuntu
    sda6 Linux ext3

  2. #2

    Padrão Re: Inlcuir ubuntu no grub

    Tem certeza que o ubuntu ainda existe?

  3. #3

    Padrão Re: Inlcuir ubuntu no grub

    Sim, a partição não foi alterada

    Montei a partição sda5 no /mnt

    [root@localhost freitas]# ls -la /mnt/boot/
    total 75860
    drwxr-xr-x 3 root root 4096 Mar 10 19:51 .
    drwxr-xr-x 22 root root 4096 Mar 7 20:08 ..
    -rw-r--r-- 1 root root 651618 Set 16 15:14 abi-2.6.32-24-generic
    -rw-r--r-- 1 root root 651949 Dez 1 22:48 abi-2.6.32-27-generic
    -rw-r--r-- 1 root root 651949 Jan 10 23:18 abi-2.6.32-28-generic
    -rw-r--r-- 1 root root 651949 Fev 11 17:56 abi-2.6.32-29-generic
    -rw-r--r-- 1 root root 706021 Fev 22 21:50 abi-2.6.35-27-generic
    -rw-r--r-- 1 root root 115905 Set 16 15:14 config-2.6.32-24-generic
    -rw-r--r-- 1 root root 116048 Dez 1 22:48 config-2.6.32-27-generic
    -rw-r--r-- 1 root root 116037 Jan 10 23:18 config-2.6.32-28-generic
    -rw-r--r-- 1 root root 116037 Fev 11 17:56 config-2.6.32-29-generic
    -rw-r--r-- 1 root root 128615 Fev 22 21:50 config-2.6.35-27-generic
    drwxr-xr-x 3 root root 4096 Mar 12 21:38 grub
    -rw-r--r-- 1 root root 7962683 Jan 24 13:09 initrd.img-2.6.32-24-generic
    -rw-r--r-- 1 root root 7963905 Jan 24 13:11 initrd.img-2.6.32-27-generic
    -rw-r--r-- 1 root root 7965845 Fev 11 01:08 initrd.img-2.6.32-28-generic
    -rw-r--r-- 1 root root 9649611 Mar 7 19:30 initrd.img-2.6.32-29-generic
    -rw-r--r-- 1 root root 10761825 Mar 10 19:51 initrd.img-2.6.35-27-generic
    -rw-r--r-- 1 root root 165084 Set 24 14:14 memtest86+.bin
    -rw-r--r-- 1 root root 167264 Set 24 14:14 memtest86+_multiboot.bin
    -rw-r--r-- 1 root root 1689036 Set 16 15:14 System.map-2.6.32-24-generic
    -rw-r--r-- 1 root root 1690473 Dez 1 22:48 System.map-2.6.32-27-generic
    -rw-r--r-- 1 root root 1691056 Jan 10 23:18 System.map-2.6.32-28-generic
    -rw-r--r-- 1 root root 1691218 Fev 11 17:56 System.map-2.6.32-29-generic
    -rw-r--r-- 1 root root 1831833 Fev 22 21:50 System.map-2.6.35-27-generic
    -rw-r--r-- 1 root root 1196 Set 16 15:16 vmcoreinfo-2.6.32-24-generic
    -rw-r--r-- 1 root root 1196 Dez 1 22:50 vmcoreinfo-2.6.32-27-generic
    -rw-r--r-- 1 root root 1196 Jan 10 23:20 vmcoreinfo-2.6.32-28-generic
    -rw-r--r-- 1 root root 1196 Fev 11 17:57 vmcoreinfo-2.6.32-29-generic
    -rw-r--r-- 1 root root 1192 Fev 22 21:52 vmcoreinfo-2.6.35-27-generic
    -rw-r--r-- 1 root root 4034976 Set 16 15:14 vmlinuz-2.6.32-24-generic
    -rw-r--r-- 1 root root 4038016 Dez 1 22:48 vmlinuz-2.6.32-27-generic
    -rw-r--r-- 1 root root 4040288 Jan 10 23:18 vmlinuz-2.6.32-28-generic
    -rw-r--r-- 1 root root 4040832 Fev 11 17:56 vmlinuz-2.6.32-29-generic
    -rw-r--r-- 1 root root 4294640 Fev 22 21:50 vmlinuz-2.6.35-27-generic