Editar GRUB

1. Editar GRUB

Diego Langer
dlanger

(usa Debian)

Enviado em 12/12/2009 - 12:58h

Olá pessoal.
Preciso de ajuda.
Possuo uma máquina com 4 partições e 4 Sistemas Operacionais, PcBSD,Ubuntu 9.04,Red Hat e Slackware.
No GRUB não aparece a opção do PcBSD, o menu.lst está assim configurado:

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid da3ec0e6-f151-419b-aaf4-2f79400af15e
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=da3ec0e6-f151-419b-aaf4-2f79400af15e ro locale=pt_BR quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid da3ec0e6-f151-419b-aaf4-2f79400af15e
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=da3ec0e6-f151-419b-aaf4-2f79400af15e ro locale=pt_BR single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid da3ec0e6-f151-419b-aaf4-2f79400af15e
kernel /boot/memtest86+.bin
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 an existing
# linux installation on /dev/sda5.
title Red Hat Linux (2.4.20-8smp) (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz-2.4.20-8smp ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8smp.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title Red Hat Linux-up (2.4.20-8) (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda7.
title Slackware Linux (Slackware 13.0.0.0.0) (on /dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz-generic-2.6.29.6 root=/dev/sda7
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda7.
title Slackware Linux (Slackware 13.0.0.0.0) (on /dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz-generic-smp-2.6.29.6-smp root=/dev/sda7
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda7.
title Slackware Linux (Slackware 13.0.0.0.0) (on /dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz-huge-2.6.29.6 root=/dev/sda7
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda7.
title Slackware Linux (Slackware 13.0.0.0.0) (on /dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz-huge-smp-2.6.29.6-smp root=/dev/sda7
savedefault
boot

Pelo que li até agora devo acrescentar algo semelhante:

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda7.
title PcBSD (PcBSD 7.1) (on /dev/sda1)
root (hd0,1,a)
kernel /boot/'loader'
savedefault
boot

So que não sei qual é o arquivo 'loader' do PcBsd 7.1.
A espera de ajuda.



  


2. Re: Editar GRUB

Rodolfo Marcondes Dias
Rodolfo_RR

(usa Ubuntu)

Enviado em 12/12/2009 - 15:17h

vc jah tentou dar o comando no terminal pelo ubuntu

sudo update-grub

pra ve se ele adiciona a entrada para o outro sistemas

se naum acontecer vc vai ter q fazer ela manualmente

blz


3. Editar GRUB

Edwal F. Paiva Filho
nicolo

(usa Ubuntu)

Enviado em 12/12/2009 - 17:19h

Pelo jeito não tem esses chifrinhos no 'loader'. Pareced que desve ser loader sem os chifrinhos e sem o save default e sem o boot.

title FreeBSD 7.0
root (hd0,a)
kernel /boot/loader


4. Re: Editar GRUB

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/12/2009 - 19:03h

Pelo jeito você quer saber qual o arquivo "vmlinuz" certo? Bom, pra começo de conversa, você tem mais do que 4 partiçoes, pq o slack ali está em sda7 (partição extendida nº 7). Da um "df -h" em um dos sitemas qualquer que você esteja conseguindo bootar, pra descobrir qual a partição do PcBSD. Se a partição não estiver montada, use o comando "mount". Feito isso, acesse a partição e liste os arquivos na raiz da mesma (vai aparecer /boot, /home, etc). Assim você consegue ver direitinho o nome do arquivo vmlinuz. Se não estiver na raiz do sistema, vai estar em /boot. Por exemplo: se o PcBSD estiver instalado em sda8, vai ser algo como "ponto_de_montagem_da_partição_sda8/boot".


5. Re: Editar GRUB

Diego Langer
dlanger

(usa Debian)

Enviado em 15/12/2009 - 15:48h

Ola amigos.
Já havia tentado o comando grub update, e não obtive exito.
Realmente possuo mais de quatro partições, possua swap e uma para dados, quando falei me quatro
quis me referir a partições primarias.
Realmente a única coisa que preciso saber é o nome do arquivo que carrega o PcBsd 7.1
Grato pela ajuda



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts