You are not logged in.

#1 2014-10-05 22:22:31

Kronolynx
Member
From: Madrid
Registered: 2013-02-18
Posts: 8

problem recovering grub on uefi laptop

I had to remove my hard drive to install windows in another hardrive.
when i put back my hard drive with Arch it was not detected as efi and i couldn't boot in to it.

my hardrive partition :
sda1 /boot
sda2 /
sda3 /home

I tried to reinstall grub in the same way i installed it the first time. I  run arch from a usb stick, then I do :

mount /dev/sda2 /mnt
mount /dev/sda3 /mnt/home
mount /dev/sda1 /mnt/boot

arch-chroot /mnt /bash/bin

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck
grub-mkconfig -o /boot/grub/grub.cfg

after i reboot

my arch partition is not detected as uefi

when i run :
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck
i get

BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 2001,0000,0001,0002,2002
Boot0000* SATA HDD    : TOSHIBA MK1665GSX H             
Boot0001* SATA HDD    : WDC WD5000LPCX-24C6HT0         
Boot0002* USB HDD     : CBM
Boot0003* EFI USB Device (CBM)
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network


if i press f12 to  and chose to both from the hard drive WDC WD50
i get to a black screen that says GRUB

i tried formatting again the boot partition and doing all of it like the first time i installed arch but still can't boot in to arch.

any suggestion ?
what other information should i post to get help ?

thanks

ps. i also re-installed grub

Offline

#2 2014-10-05 22:30:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: problem recovering grub on uefi laptop

Your NVRAM entries may be full -- you can delete unneeded entries using:

# efibootmgr -b <4 digit boot number> -B

Jin, Jîyan, Azadî

Offline

#3 2014-10-05 22:59:15

Kronolynx
Member
From: Madrid
Registered: 2013-02-18
Posts: 8

Re: problem recovering grub on uefi laptop

Head_on_a_Stick wrote:

Your NVRAM entries may be full -- you can delete unneeded entries using:

# efibootmgr -b <4 digit boot number> -B

thanks i removed 2 entries

BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 2001,0000,0001
Boot0000* SATA HDD    : TOSHIBA MK1665GSX H             
Boot0001* SATA HDD    : WDC WD5000LPCX-24C6HT0         
Boot0002* USB HDD     : CBM
Boot0003* EFI USB Device (CBM)
Boot0004* arch_grub
Boot2001* EFI USB Device


then i did again :
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck
grub-mkconfig -o /boot/grub/grub.cfg

but the same, can't boot in to arch.

any other suggestion ?

Offline

#4 2014-10-06 19:33:23

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: problem recovering grub on uefi laptop

Kronolynx wrote:

any other suggestion ?

Have you tried gummiboot?
I find it far easier to use than GRUB...
https://wiki.archlinux.org/index.php/Be … #Gummiboot


Jin, Jîyan, Azadî

Offline

#5 2014-10-06 19:37:48

Kronolynx
Member
From: Madrid
Registered: 2013-02-18
Posts: 8

Re: problem recovering grub on uefi laptop

Head_on_a_Stick wrote:
Kronolynx wrote:

any other suggestion ?

Have you tried gummiboot?
I find it far easier to use than GRUB...
https://wiki.archlinux.org/index.php/Be … #Gummiboot

thanks I will try it next time, after 2 days trying to fix my uefi boot, trying everything i found , I just reinstalled, I wonder why i didn't do it before, wasted so much time trying to fix it big_smile
now i'm really happy with my Arch working as it should smile

thanks for the help smile

Offline

Board footer

Powered by FluxBB