[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub 2



>o mais imediato é descobrir porque o inicializador do windows não está sendo carregado.
Sem ver o conteúdo da pasta /etc/grub.d é impossível saber.

2009/11/21 André Nunes <andrenbatista@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Não há nenhum problema em editar o arquivo. O inconveniente é que
sempre que houver alguma atualização automática que envolva o grub ou
os kernels esse arquivo alterado será sobrescrito e a alteração
perdida.

Mas isso pode ser contornado depois que a solução for descoberta, o
mais imediato é descobrir porque o inicializador do windows não está
sendo carregado.


André Nunes Batista
Blog: http://tagesuhu.wordpress.com/
PGP Public Key: 0x7b0590cb6722cf80



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)

iEYEARECAAYFAksIOHYACgkQewWQy2ciz4CjYQCdHpqahp3O4mb8A7E7rDxgiEtM
hbkAn3hFjkprXAOsrNkaHfXKVMb/sXvG
=YDf5
-----END PGP SIGNATURE-----

2009/11/21 Lucas Salies Brum <sistematico@gmail.com>:
> Amigo,  MUITO cuidado ao editar esse arquivo.
> Tá vendo a linha:
> # DO NOT EDIT THIS FILE
> ?
> Acho muito importante você ler os manuais do GRUB2.
> Pra adicionar ou alterar algum sistema, vá na pasta /etc/grub.d/ lá ficam os
> arquivos de configuração, o grub.cfg é só pra chamar, e ele é auto-gerado,
> não adianta alterar nada aí.
>
>>
>> 2009/11/21 André Nunes <andrenbatista@gmail.com>
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Faz um teste: tente apagar as linhas que dizem "insmod ntfs" e "search
>>> no-floppy..." dentro da entrada do windows de modo que fique apenas:
>>>
>>> menuentry "Windows 7 (loader) (on /dev/sda1)" {
>>>    set root=(hd0,1)
>>>    chainloader +1
>>>
>>>
>>> André Nunes Batista
>>> Blog: http://tagesuhu.wordpress.com/
>>> PGP Public Key: 0x7b0590cb6722cf80
>>>
>>>
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.9 (GNU/Linux)
>>> Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)
>>>
>>> iEYEARECAAYFAksIBr4ACgkQewWQy2ciz4BorQCfY+Cz0EAq95lk2m5J1MAhhrTR
>>> i/EAn2yzCrPqDo8tIQbgR+79raNH6Mcu
>>> =Aypc
>>> -----END PGP SIGNATURE-----
>>>
>>> On Sat, Nov 21, 2009 at 11:24 AM, Rafael Kaminski
>>> <kaminski.lista@gmail.com> wrote:
>>> > Mais uma coisinha....
>>> >
>>> > Agora, quando escolho o windows para iniciar, aparece grub loading, e
>>> > mais
>>> > abaixo unknow filesystem, e entra no terminal do grub
>>> >
>>> > Abraço
>>> >
>>> > 2009/11/21 Rafael Kaminski <kaminski.lista@gmail.com>
>>> >>
>>> >> Pessoal, segue o grub.cfg
>>> >>
>>> >> Só para lembrar, estou usando ubuntu 9.10 com grub2
>>> >>
>>> >> obrigado
>>> >>
>>> >> #####################################################################
>>> >> #
>>> >> # DO NOT EDIT THIS FILE
>>> >> #
>>> >> # It is automatically generated by /usr/sbin/grub-mkconfig using
>>> >> templates
>>> >> # from /etc/grub.d and settings from /etc/default/grub
>>> >> #
>>> >>
>>> >> ### BEGIN /etc/grub.d/00_header ###
>>> >> if [ -s /boot/grub/grubenv ]; then
>>> >>   have_grubenv=true
>>> >>   load_env
>>> >> fi
>>> >> set default="0"
>>> >> if [ ${prev_saved_entry} ]; then
>>> >>   saved_entry=${prev_saved_entry}
>>> >>   save_env saved_entry
>>> >>   prev_saved_entry=
>>> >>   save_env prev_saved_entry
>>> >> fi
>>> >> insmod reiserfs
>>> >> set root=(hd0,6)
>>> >> search --no-floppy --fs-uuid --set
>>> >> f28310c2-9b33-4719-81de-b36c819319c3
>>> >> if loadfont /usr/share/grub/unicode.pf2 ; then
>>> >>   set gfxmode=640x480
>>> >>   insmod gfxterm
>>> >>   insmod vbe
>>> >>   if terminal_output gfxterm ; then true ; else
>>> >>     # For backward compatibility with versions of terminal.mod that
>>> >> don't
>>> >>     # understand terminal_output
>>> >>     terminal gfxterm
>>> >>   fi
>>> >> fi
>>> >> if [ ${recordfail} = 1 ]; then
>>> >>   set timeout=-1
>>> >> else
>>> >>   set timeout=10
>>> >> fi
>>> >> ### END /etc/grub.d/00_header ###
>>> >>
>>> >> ### BEGIN /etc/grub.d/05_debian_theme ###
>>> >> set menu_color_normal=white/black
>>> >> set menu_color_highlight=black/white
>>> >> ### END /etc/grub.d/05_debian_theme ###
>>> >>
>>> >> ### BEGIN /etc/grub.d/10_linux ###
>>> >> menuentry "Ubuntu, Linux 2.6.31-14-generic" {
>>> >>         recordfail=1
>>> >>         if [ -n ${have_grubenv} ]; then save_env recordfail; fi
>>> >>     set quiet=1
>>> >>     insmod reiserfs
>>> >>     set root=(hd0,6)
>>> >>     search --no-floppy --fs-uuid --set
>>> >> f28310c2-9b33-4719-81de-b36c819319c3
>>> >>     linux    /boot/vmlinuz-2.6.31-14-generic
>>> >> root=UUID=f28310c2-9b33-4719-81de-b36c819319c3 ro   quiet splash
>>> >>     initrd    /boot/initrd.img-2.6.31-14-generic
>>> >> }
>>> >> menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
>>> >>         recordfail=1
>>> >>         if [ -n ${have_grubenv} ]; then save_env recordfail; fi
>>> >>     insmod reiserfs
>>> >>     set root=(hd0,6)
>>> >>     search --no-floppy --fs-uuid --set
>>> >> f28310c2-9b33-4719-81de-b36c819319c3
>>> >>     linux    /boot/vmlinuz-2.6.31-14-generic
>>> >> root=UUID=f28310c2-9b33-4719-81de-b36c819319c3 ro single
>>> >>     initrd    /boot/initrd.img-2.6.31-14-generic
>>> >> }
>>> >> ### END /etc/grub.d/10_linux ###
>>> >>
>>> >> ### BEGIN /etc/grub.d/20_memtest86+ ###
>>> >> menuentry "Memory test (memtest86+)" {
>>> >>     linux16    /boot/memtest86+.bin
>>> >> }
>>> >> menuentry "Memory test (memtest86+, serial console 115200)" {
>>> >>     linux16    /boot/memtest86+.bin console=ttyS0,115200n8
>>> >> }
>>> >> ### END /etc/grub.d/20_memtest86+ ###
>>> >>
>>> >> ### BEGIN /etc/grub.d/30_os-prober ###
>>> >> menuentry "Windows 7 (loader) (on /dev/sda1)" {
>>> >>     insmod ntfs
>>> >>     set root=(hd0,1)
>>> >>     search --no-floppy --fs-uuid --set ce3631f53631dee1
>>> >>     chainloader +1
>>> >> }
>>> >> ### END /etc/grub.d/30_os-prober ###
>>> >>
>>> >> ### BEGIN /etc/grub.d/40_custom ###
>>> >> # This file provides an easy way to add custom menu entries.  Simply
>>> >> type
>>> >> the
>>> >> # menu entries you want to add after this comment.  Be careful not to
>>> >> change
>>> >> # the 'exec tail' line above.
>>> >> ### END /etc/grub.d/40_custom ###
>>> >> #####################################################################
>>> >>
>>> >> 2009/11/20 Allison Vollmann <allisonvoll@yahoo.com.br>
>>> >>>
>>> >>> Em 20/11/2009 16:44, Rafael Kaminski escreveu:
>>> >>>>
>>> >>>> Pessoal...
>>> >>>>
>>> >>>> Mesmo após a reinstalação do ubuntu...o problema continua....
>>> >>>>
>>> >>>> não sei mais o que fazer..
>>> >>>>
>>> >>>> Grato...
>>> >>>>
>>> >>>> 2009/11/20 Rafael Kaminski <kaminski.lista@gmail.com
>>> >>>> <mailto:kaminski.lista@gmail.com>>
>>> >>>>
>>> >>>>    Cara, ja fiz o q diz la naquele post, e não deu certo, por isso
>>> >>>> vim
>>> >>>>    perguntar na lista...
>>> >>>>
>>> >>>>    Obrigado
>>> >>>>
>>> >>>>    2009/11/20 Thiago Branco Meurer <thiagopriest@gmail.com
>>> >>>>    <mailto:thiagopriest@gmail.com>>
>>> >>>>
>>> >>>>        Eu fiz um post no meu blog sobre o Grub 2
>>> >>>>        http://thiagopriest.net procura lá.
>>> >>>>
>>> >>>>        2009/11/20 Rafael Kaminski <kaminski.lista@gmail.com
>>> >>>>        <mailto:kaminski.lista@gmail.com>>
>>> >>>>
>>> >>>>            Boa tarde galera....
>>> >>>>
>>> >>>>            eu uso o ubuntu 9.10 com o grub 2....
>>> >>>>
>>> >>>>            ontem a noite, instalei o windows seven para testar, e
>>> >>>> tive
>>> >>>>            que reinstalar o grub 2, até ai tudo bem, o problema é
>>> >>>> que
>>> >>>>            quando escolho o windows para iniciar no grub, aparece um
>>> >>>>            terminal com a descrição grub>
>>> >>>>
>>> >>>>            Alguem sabe como consertar isso?
>>> >>>>
>>> >>>>            Obrigado
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>        --
>>> >>>>        Sr. Thiago Branco Meurer
>>> >>>>        Analista de Sistemas Junior
>>> >>>>        Linux User: #469369
>>> >>>>        Home Page: http://thiagopriest.net
>>> >>>>        Twitter: http://twitter.com/thiagopriest
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>
>>> >>> Manda o menu.lst, lembrando que se o windows não estiver na primeira
>>> >>> partição/disco precisa mapear a partição como se fosse a primeira do
>>> >>> primeiro disco (qualquer coisa google: grub windows map).
>>> >>>
>>> >>> A[]'s
>>> >>>
>>> >>>
>>> >>> --
>>> >>> To UNSUBSCRIBE, email to
>>> >>> debian-user-portuguese-REQUEST@lists.debian.org
>>> >>> with a subject of "unsubscribe". Trouble? Contact
>>> >>> listmaster@lists.debian.org
>>> >>>
>>> >>
>>> >
>>> >
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
>>> with a subject of "unsubscribe". Trouble? Contact
>>> listmaster@lists.debian.org
>>>
>>
>
>


Reply to: