miércoles, 1 de octubre de 2014

error: malformed file, press any key to continue. Ubuntu solution

Just getting this message on boot and looking for info
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247
Reading comments, this one is interesting
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/comments/25
There are serveral links to workarounds, like this one
https://forum.manjaro.org/index.php?topic=10354.msg103451#msg103451but some people say no workaround work for them, and it appears to be a real solution
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/comments/80
So, the more logical things to do are:
1- to wait for a grub2 update
2- look for a grub2 update compiled package
3- compile and install a grub2 update

The error is not critical, so it seems #3 is too much. 

Just looking for the grub2 version installed, there wasn't installed? (I do not use grub menu, I have just ubuntu installed, so it may be not necessary)
dpkg -l grub or grub2
So I try
sudo apt-get install grub2
And it install it!

Se instalarán los siguientes paquetes NUEVOS:
  grub2
...

Preparing to unpack .../grub2_2.02~beta2-9ubuntu1_amd64.deb ...
Unpacking grub2 (2.02~beta2-9ubuntu1) ...

After that I try
dpkg -l grub*
and it shows
||/ Nombre                          Versión              Arquitectura         Descripción
+++-===============================-====================-====================-====================================================================
un  grub                            <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
ii  grub-common                     2.02~beta2-9ubuntu1  amd64                GRand Unified Bootloader (common files)
un  grub-coreboot                   <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-doc                        <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-efi                        <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-efi-amd64                  <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-efi-ia32                   <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-efi-ia64                   <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-emu                        <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
ii  grub-gfxpayload-lists           0.6                  amd64                GRUB gfxpayload blacklist
un  grub-ieee1275                   <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-legacy                     <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-legacy-doc                 <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-linuxbios                  <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
ii  grub-pc                         2.02~beta2-9ubuntu1  amd64                GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  grub-pc-bin                     2.02~beta2-9ubuntu1  amd64                GRand Unified Bootloader, version 2 (PC/BIOS binaries)
un  grub-xen                        <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
un  grub-yeeloong                   <ninguna>            <ninguna>            (no hay ninguna descripción disponible)
ii  grub2                           2.02~beta2-9ubuntu1  amd64                GRand Unified Bootloader, version 2 (dummy package)
ii  grub2-common                    2.02~beta2-9ubuntu1  amd64                GRand Unified Bootloader (common files for version 2)

So I see the package used is grub-pc (and I uninstall grub2 package)

Looking for #1 and #2, in new ubuntu version 14.10 utopic unicorn
https://launchpad.net/ubuntu/utopic/+package/grub-pc
there are .deb packages, but I am not sure if fix is included.
https://launchpad.net/ubuntu/utopic/+source/grub2/2.02~beta2-14
So I will wait for ubuntu 14.10, and after that, I will try again if I have time.


No hay comentarios:

Publicar un comentario