Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #162663 > unrolled thread

How to restore grub in UEFI mode

Started byreal bas <realbas89@gmail.com>
First post2016-01-05 20:00 +0100
Last post2016-01-06 02:10 +0100
Articles 11 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  How to restore grub in UEFI mode real bas <realbas89@gmail.com> - 2016-01-05 20:00 +0100
    Re: How to restore grub in UEFI mode Rodolfo <rof20004@gmail.com> - 2016-01-05 20:10 +0100
      Re: How to restore grub in UEFI mode Rodolfo <rof20004@gmail.com> - 2016-01-05 20:40 +0100
        Re: How to restore grub in UEFI mode Rodolfo <rof20004@gmail.com> - 2016-01-05 20:50 +0100
          Re: How to restore grub in UEFI mode real bas <realbas89@gmail.com> - 2016-01-05 21:10 +0100
            Re: How to restore grub in UEFI mode real bas <realbas89@gmail.com> - 2016-01-06 00:10 +0100
              Re: How to restore grub in UEFI mode Rodolfo <rof20004@gmail.com> - 2016-01-06 18:00 +0100
        Re: How to restore grub in UEFI mode real bas <realbas89@gmail.com> - 2016-01-05 21:00 +0100
          Re: How to restore grub in UEFI mode jdd <jdd@dodin.org> - 2016-01-05 21:40 +0100
      Re: How to restore grub in UEFI mode real bas <realbas89@gmail.com> - 2016-01-05 20:50 +0100
    Re: How to restore grub in UEFI mode Steve McIntyre <steve@einval.com> - 2016-01-06 02:10 +0100

#162663 — How to restore grub in UEFI mode

Fromreal bas <realbas89@gmail.com>
Date2016-01-05 20:00 +0100
SubjectHow to restore grub in UEFI mode
Message-ID<qNEZR-6P2-35@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
recovery grub but failed or I`m doing something wrong.
This steps I following are:
-create usb with live cd
-change boot option to legacy mode and disable secure boot consequently
-boot from live cd (Here, when I boot from CD and check if i`m using EFI or
legacy, always say legacy, maybe be here the problem)
-mount my partition / in /mnt
-install grub in /mnt

when install grub i receive the following message:

> Installing for i386-pc platform.
> grub-install: warning: this GPT partition label contains no BIOS Boot
> Partition; embedding won't be possible.
> grub-install: warning: Embedding is not possible.  GRUB can only be
> installed in this setup by using blocklists.  However, blocklists are
> UNRELIABLE and their use is discouraged..
> grub-install: error: will not proceed with blocklists.
>

Can someone help me?

[toc] | [next] | [standalone]


#162664

FromRodolfo <rof20004@gmail.com>
Date2016-01-05 20:10 +0100
Message-ID<qNF9v-77Z-1@gated-at.bofh.it>
In reply to#162663

[Multipart message — attachments visible in raw view] — view raw

Hi,

-change boot option to legacy mode and disable secure boot consequently

I think in this part you do not need to turn to legacy, leave it UEFI, only
disable secure boot.

Debian Jessie has support for UEFI boot.

Try reinstall grub using the normal installation cd, in it has an option to
recover or access shell in your installed system.

2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:

> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
> recovery grub but failed or I`m doing something wrong.
> This steps I following are:
> -create usb with live cd
> -change boot option to legacy mode and disable secure boot consequently
> -boot from live cd (Here, when I boot from CD and check if i`m using EFI
> or legacy, always say legacy, maybe be here the problem)
> -mount my partition / in /mnt
> -install grub in /mnt
>
> when install grub i receive the following message:
>
>> Installing for i386-pc platform.
>> grub-install: warning: this GPT partition label contains no BIOS Boot
>> Partition; embedding won't be possible.
>> grub-install: warning: Embedding is not possible.  GRUB can only be
>> installed in this setup by using blocklists.  However, blocklists are
>> UNRELIABLE and their use is discouraged..
>> grub-install: error: will not proceed with blocklists.
>>
>
> Can someone help me?
>

[toc] | [prev] | [next] | [standalone]


#162665

FromRodolfo <rof20004@gmail.com>
Date2016-01-05 20:40 +0100
Message-ID<qNFCx-7k4-11@gated-at.bofh.it>
In reply to#162664

[Multipart message — attachments visible in raw view] — view raw

When i recovered my grup-efi, and i remember that i reinstalled it with
apt-get, and automatically do the right configurations.

Do not use grub-install, reinstall the package and leave the configurations
to it.

2016-01-05 15:31 GMT-04:00 real bas <realbas89@gmail.com>:

> I leave it UEFI and only disable secure boot, when I use this command:
>    [ -d /sys/firmware/efi ] && echo EFI || echo LEGACY
>    return EFI normally
>
> but when I use grub-install:
> grub-install --root-directory=/mnt /dev/sda
> say: grub-install: error: cannot find EFI directory
>
> 2016-01-05 19:00 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>
>> Hi,
>>
>> -change boot option to legacy mode and disable secure boot consequently
>>
>> I think in this part you do not need to turn to legacy, leave it UEFI,
>> only disable secure boot.
>>
>> Debian Jessie has support for UEFI boot.
>>
>> Try reinstall grub using the normal installation cd, in it has an option
>> to recover or access shell in your installed system.
>>
>> 2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:
>>
>>> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>>> recovery grub but failed or I`m doing something wrong.
>>> This steps I following are:
>>> -create usb with live cd
>>> -change boot option to legacy mode and disable secure boot consequently
>>> -boot from live cd (Here, when I boot from CD and check if i`m using EFI
>>> or legacy, always say legacy, maybe be here the problem)
>>> -mount my partition / in /mnt
>>> -install grub in /mnt
>>>
>>> when install grub i receive the following message:
>>>
>>>> Installing for i386-pc platform.
>>>> grub-install: warning: this GPT partition label contains no BIOS Boot
>>>> Partition; embedding won't be possible.
>>>> grub-install: warning: Embedding is not possible.  GRUB can only be
>>>> installed in this setup by using blocklists.  However, blocklists are
>>>> UNRELIABLE and their use is discouraged..
>>>> grub-install: error: will not proceed with blocklists.
>>>>
>>>
>>> Can someone help me?
>>>
>>
>>
>

[toc] | [prev] | [next] | [standalone]


#162668

FromRodolfo <rof20004@gmail.com>
Date2016-01-05 20:50 +0100
Message-ID<qNFMe-7nV-37@gated-at.bofh.it>
In reply to#162665

[Multipart message — attachments visible in raw view] — view raw

Well, than is diferent to me, I used only this steps that i told to you and
it works.

Look these two links:

https://wiki.debian.org/GrubEFIReinstall

and

https://www.thomas-krenn.com/en/wiki/Restore_Ubuntu_UEFI_Boot_Entries_after_BIOS_Update

Maybe help you.

2016-01-05 15:40 GMT-04:00 real bas <realbas89@gmail.com>:

> I try mount my partition /dev/sda9 in /boot/efi but say /boot/efi doesn't
> exist (no have efi directory in boot then I create it and mounted in
> /boot/efi)
> then I reinstalled grub-efi and try grub-install /dev/sda but say:
> error: /boot/efi doesn't look like an EFI partition
>
> 2016-01-05 19:34 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>
>> When i recovered my grup-efi, and i remember that i reinstalled it with
>> apt-get, and automatically do the right configurations.
>>
>> Do not use grub-install, reinstall the package and leave the
>> configurations to it.
>>
>> 2016-01-05 15:31 GMT-04:00 real bas <realbas89@gmail.com>:
>>
>>> I leave it UEFI and only disable secure boot, when I use this command:
>>>    [ -d /sys/firmware/efi ] && echo EFI || echo LEGACY
>>>    return EFI normally
>>>
>>> but when I use grub-install:
>>> grub-install --root-directory=/mnt /dev/sda
>>> say: grub-install: error: cannot find EFI directory
>>>
>>> 2016-01-05 19:00 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>>
>>>> Hi,
>>>>
>>>> -change boot option to legacy mode and disable secure boot consequently
>>>>
>>>> I think in this part you do not need to turn to legacy, leave it UEFI,
>>>> only disable secure boot.
>>>>
>>>> Debian Jessie has support for UEFI boot.
>>>>
>>>> Try reinstall grub using the normal installation cd, in it has an
>>>> option to recover or access shell in your installed system.
>>>>
>>>> 2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:
>>>>
>>>>> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>>>>> recovery grub but failed or I`m doing something wrong.
>>>>> This steps I following are:
>>>>> -create usb with live cd
>>>>> -change boot option to legacy mode and disable secure boot consequently
>>>>> -boot from live cd (Here, when I boot from CD and check if i`m using
>>>>> EFI or legacy, always say legacy, maybe be here the problem)
>>>>> -mount my partition / in /mnt
>>>>> -install grub in /mnt
>>>>>
>>>>> when install grub i receive the following message:
>>>>>
>>>>>> Installing for i386-pc platform.
>>>>>> grub-install: warning: this GPT partition label contains no BIOS Boot
>>>>>> Partition; embedding won't be possible.
>>>>>> grub-install: warning: Embedding is not possible.  GRUB can only be
>>>>>> installed in this setup by using blocklists.  However, blocklists are
>>>>>> UNRELIABLE and their use is discouraged..
>>>>>> grub-install: error: will not proceed with blocklists.
>>>>>>
>>>>>
>>>>> Can someone help me?
>>>>>
>>>>
>>>>
>>>
>>
>

[toc] | [prev] | [next] | [standalone]


#162670

Fromreal bas <realbas89@gmail.com>
Date2016-01-05 21:10 +0100
Message-ID<qNG5A-7Ky-13@gated-at.bofh.it>
In reply to#162668

[Multipart message — attachments visible in raw view] — view raw

I following this links but gets error to install grub like as my partition
doesn't look like a EFI

2016-01-05 19:44 GMT+00:00 Rodolfo <rof20004@gmail.com>:

> Well, than is diferent to me, I used only this steps that i told to you
> and it works.
>
> Look these two links:
>
> https://wiki.debian.org/GrubEFIReinstall
>
> and
>
>
> https://www.thomas-krenn.com/en/wiki/Restore_Ubuntu_UEFI_Boot_Entries_after_BIOS_Update
>
> Maybe help you.
>
> 2016-01-05 15:40 GMT-04:00 real bas <realbas89@gmail.com>:
>
>> I try mount my partition /dev/sda9 in /boot/efi but say /boot/efi doesn't
>> exist (no have efi directory in boot then I create it and mounted in
>> /boot/efi)
>> then I reinstalled grub-efi and try grub-install /dev/sda but say:
>> error: /boot/efi doesn't look like an EFI partition
>>
>> 2016-01-05 19:34 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>
>>> When i recovered my grup-efi, and i remember that i reinstalled it with
>>> apt-get, and automatically do the right configurations.
>>>
>>> Do not use grub-install, reinstall the package and leave the
>>> configurations to it.
>>>
>>> 2016-01-05 15:31 GMT-04:00 real bas <realbas89@gmail.com>:
>>>
>>>> I leave it UEFI and only disable secure boot, when I use this command:
>>>>    [ -d /sys/firmware/efi ] && echo EFI || echo LEGACY
>>>>    return EFI normally
>>>>
>>>> but when I use grub-install:
>>>> grub-install --root-directory=/mnt /dev/sda
>>>> say: grub-install: error: cannot find EFI directory
>>>>
>>>> 2016-01-05 19:00 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>>>
>>>>> Hi,
>>>>>
>>>>> -change boot option to legacy mode and disable secure boot consequently
>>>>>
>>>>> I think in this part you do not need to turn to legacy, leave it UEFI,
>>>>> only disable secure boot.
>>>>>
>>>>> Debian Jessie has support for UEFI boot.
>>>>>
>>>>> Try reinstall grub using the normal installation cd, in it has an
>>>>> option to recover or access shell in your installed system.
>>>>>
>>>>> 2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:
>>>>>
>>>>>> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>>>>>> recovery grub but failed or I`m doing something wrong.
>>>>>> This steps I following are:
>>>>>> -create usb with live cd
>>>>>> -change boot option to legacy mode and disable secure boot
>>>>>> consequently
>>>>>> -boot from live cd (Here, when I boot from CD and check if i`m using
>>>>>> EFI or legacy, always say legacy, maybe be here the problem)
>>>>>> -mount my partition / in /mnt
>>>>>> -install grub in /mnt
>>>>>>
>>>>>> when install grub i receive the following message:
>>>>>>
>>>>>>> Installing for i386-pc platform.
>>>>>>> grub-install: warning: this GPT partition label contains no BIOS
>>>>>>> Boot Partition; embedding won't be possible.
>>>>>>> grub-install: warning: Embedding is not possible.  GRUB can only be
>>>>>>> installed in this setup by using blocklists.  However, blocklists are
>>>>>>> UNRELIABLE and their use is discouraged..
>>>>>>> grub-install: error: will not proceed with blocklists.
>>>>>>>
>>>>>>
>>>>>> Can someone help me?
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

[toc] | [prev] | [next] | [standalone]


#162674

Fromreal bas <realbas89@gmail.com>
Date2016-01-06 00:10 +0100
Message-ID<qNITM-1by-7@gated-at.bofh.it>
In reply to#162670

[Multipart message — attachments visible in raw view] — view raw

Hi again,
I fix it after several hours, I followed what Rodolfo say about boot
options (I noticed that liveCD or liveInst of debian doesn't do UEFI boot,
only legacy boot) and use this answer [1] to complement (very explain)
using ubuntu CD (with UEFI boot).

[1] http://superuser.com/a/376471


I hope it helps other users, thanks Rodolfo.



2016-01-05 16:49 GMT-03:00 real bas <realbas89@gmail.com>:

> I following this links but gets error to install grub like as my partition
> doesn't look like a EFI
>
> 2016-01-05 19:44 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>
>> Well, than is diferent to me, I used only this steps that i told to you
>> and it works.
>>
>> Look these two links:
>>
>> https://wiki.debian.org/GrubEFIReinstall
>>
>> and
>>
>>
>> https://www.thomas-krenn.com/en/wiki/Restore_Ubuntu_UEFI_Boot_Entries_after_BIOS_Update
>>
>> Maybe help you.
>>
>> 2016-01-05 15:40 GMT-04:00 real bas <realbas89@gmail.com>:
>>
>>> I try mount my partition /dev/sda9 in /boot/efi but say /boot/efi
>>> doesn't exist (no have efi directory in boot then I create it and mounted
>>> in /boot/efi)
>>> then I reinstalled grub-efi and try grub-install /dev/sda but say:
>>> error: /boot/efi doesn't look like an EFI partition
>>>
>>> 2016-01-05 19:34 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>>
>>>> When i recovered my grup-efi, and i remember that i reinstalled it with
>>>> apt-get, and automatically do the right configurations.
>>>>
>>>> Do not use grub-install, reinstall the package and leave the
>>>> configurations to it.
>>>>
>>>> 2016-01-05 15:31 GMT-04:00 real bas <realbas89@gmail.com>:
>>>>
>>>>> I leave it UEFI and only disable secure boot, when I use this command:
>>>>>    [ -d /sys/firmware/efi ] && echo EFI || echo LEGACY
>>>>>    return EFI normally
>>>>>
>>>>> but when I use grub-install:
>>>>> grub-install --root-directory=/mnt /dev/sda
>>>>> say: grub-install: error: cannot find EFI directory
>>>>>
>>>>> 2016-01-05 19:00 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> -change boot option to legacy mode and disable secure boot
>>>>>> consequently
>>>>>>
>>>>>> I think in this part you do not need to turn to legacy, leave it
>>>>>> UEFI, only disable secure boot.
>>>>>>
>>>>>> Debian Jessie has support for UEFI boot.
>>>>>>
>>>>>> Try reinstall grub using the normal installation cd, in it has an
>>>>>> option to recover or access shell in your installed system.
>>>>>>
>>>>>> 2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:
>>>>>>
>>>>>>> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>>>>>>> recovery grub but failed or I`m doing something wrong.
>>>>>>> This steps I following are:
>>>>>>> -create usb with live cd
>>>>>>> -change boot option to legacy mode and disable secure boot
>>>>>>> consequently
>>>>>>> -boot from live cd (Here, when I boot from CD and check if i`m using
>>>>>>> EFI or legacy, always say legacy, maybe be here the problem)
>>>>>>> -mount my partition / in /mnt
>>>>>>> -install grub in /mnt
>>>>>>>
>>>>>>> when install grub i receive the following message:
>>>>>>>
>>>>>>>> Installing for i386-pc platform.
>>>>>>>> grub-install: warning: this GPT partition label contains no BIOS
>>>>>>>> Boot Partition; embedding won't be possible.
>>>>>>>> grub-install: warning: Embedding is not possible.  GRUB can only be
>>>>>>>> installed in this setup by using blocklists.  However, blocklists are
>>>>>>>> UNRELIABLE and their use is discouraged..
>>>>>>>> grub-install: error: will not proceed with blocklists.
>>>>>>>>
>>>>>>>
>>>>>>> Can someone help me?
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

[toc] | [prev] | [next] | [standalone]


#162713

FromRodolfo <rof20004@gmail.com>
Date2016-01-06 18:00 +0100
Message-ID<qNZBg-3Kn-7@gated-at.bofh.it>
In reply to#162674

[Multipart message — attachments visible in raw view] — view raw

You are welcome =D.

2016-01-05 18:44 GMT-04:00 real bas <realbas89@gmail.com>:

> Hi again,
> I fix it after several hours, I followed what Rodolfo say about boot
> options (I noticed that liveCD or liveInst of debian doesn't do UEFI boot,
> only legacy boot) and use this answer [1] to complement (very explain)
> using ubuntu CD (with UEFI boot).
>
> [1] http://superuser.com/a/376471
>
>
> I hope it helps other users, thanks Rodolfo.
>
>
>
> 2016-01-05 16:49 GMT-03:00 real bas <realbas89@gmail.com>:
>
>> I following this links but gets error to install grub like as my
>> partition doesn't look like a EFI
>>
>> 2016-01-05 19:44 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>
>>> Well, than is diferent to me, I used only this steps that i told to you
>>> and it works.
>>>
>>> Look these two links:
>>>
>>> https://wiki.debian.org/GrubEFIReinstall
>>>
>>> and
>>>
>>>
>>> https://www.thomas-krenn.com/en/wiki/Restore_Ubuntu_UEFI_Boot_Entries_after_BIOS_Update
>>>
>>> Maybe help you.
>>>
>>> 2016-01-05 15:40 GMT-04:00 real bas <realbas89@gmail.com>:
>>>
>>>> I try mount my partition /dev/sda9 in /boot/efi but say /boot/efi
>>>> doesn't exist (no have efi directory in boot then I create it and mounted
>>>> in /boot/efi)
>>>> then I reinstalled grub-efi and try grub-install /dev/sda but say:
>>>> error: /boot/efi doesn't look like an EFI partition
>>>>
>>>> 2016-01-05 19:34 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>>>
>>>>> When i recovered my grup-efi, and i remember that i reinstalled it
>>>>> with apt-get, and automatically do the right configurations.
>>>>>
>>>>> Do not use grub-install, reinstall the package and leave the
>>>>> configurations to it.
>>>>>
>>>>> 2016-01-05 15:31 GMT-04:00 real bas <realbas89@gmail.com>:
>>>>>
>>>>>> I leave it UEFI and only disable secure boot, when I use this command:
>>>>>>    [ -d /sys/firmware/efi ] && echo EFI || echo LEGACY
>>>>>>    return EFI normally
>>>>>>
>>>>>> but when I use grub-install:
>>>>>> grub-install --root-directory=/mnt /dev/sda
>>>>>> say: grub-install: error: cannot find EFI directory
>>>>>>
>>>>>> 2016-01-05 19:00 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> -change boot option to legacy mode and disable secure boot
>>>>>>> consequently
>>>>>>>
>>>>>>> I think in this part you do not need to turn to legacy, leave it
>>>>>>> UEFI, only disable secure boot.
>>>>>>>
>>>>>>> Debian Jessie has support for UEFI boot.
>>>>>>>
>>>>>>> Try reinstall grub using the normal installation cd, in it has an
>>>>>>> option to recover or access shell in your installed system.
>>>>>>>
>>>>>>> 2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:
>>>>>>>
>>>>>>>> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>>>>>>>> recovery grub but failed or I`m doing something wrong.
>>>>>>>> This steps I following are:
>>>>>>>> -create usb with live cd
>>>>>>>> -change boot option to legacy mode and disable secure boot
>>>>>>>> consequently
>>>>>>>> -boot from live cd (Here, when I boot from CD and check if i`m
>>>>>>>> using EFI or legacy, always say legacy, maybe be here the problem)
>>>>>>>> -mount my partition / in /mnt
>>>>>>>> -install grub in /mnt
>>>>>>>>
>>>>>>>> when install grub i receive the following message:
>>>>>>>>
>>>>>>>>> Installing for i386-pc platform.
>>>>>>>>> grub-install: warning: this GPT partition label contains no BIOS
>>>>>>>>> Boot Partition; embedding won't be possible.
>>>>>>>>> grub-install: warning: Embedding is not possible.  GRUB can only
>>>>>>>>> be installed in this setup by using blocklists.  However, blocklists are
>>>>>>>>> UNRELIABLE and their use is discouraged..
>>>>>>>>> grub-install: error: will not proceed with blocklists.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Can someone help me?
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

[toc] | [prev] | [next] | [standalone]


#162669

Fromreal bas <realbas89@gmail.com>
Date2016-01-05 21:00 +0100
Message-ID<qNFMe-7nV-39@gated-at.bofh.it>
In reply to#162665

[Multipart message — attachments visible in raw view] — view raw

I try mount my partition /dev/sda9 in /boot/efi but say /boot/efi doesn't
exist (no have efi directory in boot then I create it and mounted in
/boot/efi)
then I reinstalled grub-efi and try grub-install /dev/sda but say:
error: /boot/efi doesn't look like an EFI partition

2016-01-05 19:34 GMT+00:00 Rodolfo <rof20004@gmail.com>:

> When i recovered my grup-efi, and i remember that i reinstalled it with
> apt-get, and automatically do the right configurations.
>
> Do not use grub-install, reinstall the package and leave the
> configurations to it.
>
> 2016-01-05 15:31 GMT-04:00 real bas <realbas89@gmail.com>:
>
>> I leave it UEFI and only disable secure boot, when I use this command:
>>    [ -d /sys/firmware/efi ] && echo EFI || echo LEGACY
>>    return EFI normally
>>
>> but when I use grub-install:
>> grub-install --root-directory=/mnt /dev/sda
>> say: grub-install: error: cannot find EFI directory
>>
>> 2016-01-05 19:00 GMT+00:00 Rodolfo <rof20004@gmail.com>:
>>
>>> Hi,
>>>
>>> -change boot option to legacy mode and disable secure boot consequently
>>>
>>> I think in this part you do not need to turn to legacy, leave it UEFI,
>>> only disable secure boot.
>>>
>>> Debian Jessie has support for UEFI boot.
>>>
>>> Try reinstall grub using the normal installation cd, in it has an option
>>> to recover or access shell in your installed system.
>>>
>>> 2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:
>>>
>>>> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>>>> recovery grub but failed or I`m doing something wrong.
>>>> This steps I following are:
>>>> -create usb with live cd
>>>> -change boot option to legacy mode and disable secure boot consequently
>>>> -boot from live cd (Here, when I boot from CD and check if i`m using
>>>> EFI or legacy, always say legacy, maybe be here the problem)
>>>> -mount my partition / in /mnt
>>>> -install grub in /mnt
>>>>
>>>> when install grub i receive the following message:
>>>>
>>>>> Installing for i386-pc platform.
>>>>> grub-install: warning: this GPT partition label contains no BIOS Boot
>>>>> Partition; embedding won't be possible.
>>>>> grub-install: warning: Embedding is not possible.  GRUB can only be
>>>>> installed in this setup by using blocklists.  However, blocklists are
>>>>> UNRELIABLE and their use is discouraged..
>>>>> grub-install: error: will not proceed with blocklists.
>>>>>
>>>>
>>>> Can someone help me?
>>>>
>>>
>>>
>>
>

[toc] | [prev] | [next] | [standalone]


#162672

Fromjdd <jdd@dodin.org>
Date2016-01-05 21:40 +0100
Message-ID<qNGyD-7WD-45@gated-at.bofh.it>
In reply to#162669
Le 05/01/2016 20:40, real bas a écrit :

> error: /boot/efi doesn't look like an EFI partition

is it fat32?

jdd

[toc] | [prev] | [next] | [standalone]


#162667

Fromreal bas <realbas89@gmail.com>
Date2016-01-05 20:50 +0100
Message-ID<qNFCx-7k4-13@gated-at.bofh.it>
In reply to#162664

[Multipart message — attachments visible in raw view] — view raw

I leave it UEFI and only disable secure boot, when I use this command:
   [ -d /sys/firmware/efi ] && echo EFI || echo LEGACY
   return EFI normally

but when I use grub-install:
grub-install --root-directory=/mnt /dev/sda
say: grub-install: error: cannot find EFI directory

2016-01-05 19:00 GMT+00:00 Rodolfo <rof20004@gmail.com>:

> Hi,
>
> -change boot option to legacy mode and disable secure boot consequently
>
> I think in this part you do not need to turn to legacy, leave it UEFI,
> only disable secure boot.
>
> Debian Jessie has support for UEFI boot.
>
> Try reinstall grub using the normal installation cd, in it has an option
> to recover or access shell in your installed system.
>
> 2016-01-05 14:35 GMT-04:00 real bas <realbas89@gmail.com>:
>
>> Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>> recovery grub but failed or I`m doing something wrong.
>> This steps I following are:
>> -create usb with live cd
>> -change boot option to legacy mode and disable secure boot consequently
>> -boot from live cd (Here, when I boot from CD and check if i`m using EFI
>> or legacy, always say legacy, maybe be here the problem)
>> -mount my partition / in /mnt
>> -install grub in /mnt
>>
>> when install grub i receive the following message:
>>
>>> Installing for i386-pc platform.
>>> grub-install: warning: this GPT partition label contains no BIOS Boot
>>> Partition; embedding won't be possible.
>>> grub-install: warning: Embedding is not possible.  GRUB can only be
>>> installed in this setup by using blocklists.  However, blocklists are
>>> UNRELIABLE and their use is discouraged..
>>> grub-install: error: will not proceed with blocklists.
>>>
>>
>> Can someone help me?
>>
>
>

[toc] | [prev] | [next] | [standalone]


#162678

FromSteve McIntyre <steve@einval.com>
Date2016-01-06 02:10 +0100
Message-ID<qNKLU-2s3-3@gated-at.bofh.it>
In reply to#162663
realbas89@gmail.com wrote:
>
>Hi, I recently upgrade my debian (UEFI) and grub is gone.. I try to
>recovery grub but failed or I`m doing something wrong.
>This steps I following are:
>-create usb with live cd
>-change boot option to legacy mode and disable secure boot consequently
>-boot from live cd (Here, when I boot from CD and check if i`m using EFI or
>legacy, always say legacy, maybe be here the problem)
>-mount my partition / in /mnt
>-install grub in /mnt

As you semi-identify, booting in legacy mode from a live cd is the
reason you're not getting anywhere. If you're wanting to re-install
grub-efi then you *must* be in UEFI mode to be able to do that. Our
live CDs unfortunately don't have UEFI support (long story), so your
best bet is to boot an installer CD/DVD/USB in rescue mode. Make sure
it's booted via UEFI - the boot splash screen should say so. From
rescue mode, you can re-install grub and that should fix your problem.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
 whether they're being malicious or incompetent. Capital letters are forecast."
 Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web