Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant get thinkpad E531 to boot with uefi + gpt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
defer-
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2007
Posts: 140
Location: Finland

PostPosted: Thu Apr 10, 2014 9:05 pm    Post subject: Cant get thinkpad E531 to boot with uefi + gpt Reply with quote

I have new thinkpad E531. I cant get gentoo to boot with uefi + gpt system. I have been trying many different guides but none of them seems to work. (w.g.o/grub2, w.g.o/UEFI Gentoo Quick Install Guide, archwiki, thinkwiki..) Now i have many boot entrys in uefi and none of them works. I dont even know how to remove them? Has anyone managed to get working uefi/gpt boot with thinkpad? Any ideas what im doing wrong?
_________________
https://github.com/defer-
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54098
Location: 56N 3W

PostPosted: Thu Apr 10, 2014 9:32 pm    Post subject: Reply with quote

defer-,

Tell us the error message you get.

Its not useful to try to debug lots of different boot problems at the same time, so pick one to work with.
If you don't get an error message, describe what happens.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
defer-
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2007
Posts: 140
Location: Finland

PostPosted: Thu Apr 10, 2014 10:41 pm    Post subject: Reply with quote

I dont get any errors with grub-install. I have many choises in uefi boot menu but none of them works. When i press enter i can see black screen for 1 second and then the boot menu appears again.
_________________
https://github.com/defer-
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Apr 10, 2014 11:13 pm    Post subject: Re: Cant get thinkpad E531 to boot with uefi + gpt Reply with quote

defer- wrote:
Now i have many boot entrys in uefi and none of them works. I dont even know how to remove them?

defer- ... these can be modified via sys-boot/efibootmgr (CONFIG_EFI_VARS will need to be enabled ... and 'efivars' modprobed if built as a module).

Code:
# efibootmgr --bootnum <NNNN> --delete-bootnum

... where <NNNN> is the 4 digit number of the boot entry ('efibootmgr -v' will provide the current entries).

See:
Code:
# man efibootmgr | less -p "DELETING A BOOT OPTION"

HTH & best ... khay
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Thu Apr 10, 2014 11:19 pm    Post subject: Reply with quote

I hope this isn't ridiculously unhelpful, but try making sure secureboot is disabled. On my Lenovo laptop it seemed to have 9 lives. Before it was disabled it would always boot into windows no matter what.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Apr 10, 2014 11:37 pm    Post subject: Reply with quote

I'd suggest *not* using grub2 but some other EFI boot manager/loader ... ie, rEFInd, or the kernel efi_stub.

... also since the grub developers were *particularly* unhelpful to me on #grub ... I'm doing the same :)

best ... khay
Back to top
View user's profile Send private message
defer-
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2007
Posts: 140
Location: Finland

PostPosted: Fri Apr 11, 2014 2:26 pm    Post subject: Reply with quote

I reseted uefi. Installed gentoo and followed this guide: http://wiki.gentoo.org/wiki/UEFI_Gentoo_AMD64_Quick_Install_Guide
Now my system doesnt even boot to uefi. I just get lenovo logo after power on and cant access uefi setup, boot menu.
Seems like i have to send my new laptop to repair before i even managed to install linux in it.

EDIT: I managed to get to uefi setup by pressing F1 while turning power on. I flashed newest bios.
_________________
https://github.com/defer-
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Fri Apr 11, 2014 5:49 pm    Post subject: Reply with quote

Quote:
Now my system doesnt even boot to uefi. I just get lenovo logo after power on and cant access uefi setup, boot menu.


This is consistent with having secureboot enabled and not having windows to boot into. Go through and read every option. Secureboot doesn't go down easily and may need multiple options turned off. It must be turned off to boot into linux.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 885
Location: Germany

PostPosted: Sat Apr 12, 2014 6:33 am    Post subject: Reply with quote

I had trouble with UEFI on my mother's ASUS.
I finally managed to get it to work by using the efi-stub from the kernel.
Boot is a 100 or so MB partition formatted as FAT16 (I think, or FAT32).
The bios (or UEFI) allowed me to specify a location where a boot image could be found without using refind or efibootmgr (or whatever the name).
I get no boot menu now, the system boots straight into Gentoo. I think, however, that if you specify more than one entry and press F12 when the lenovo logo shows, you'll get to select which image to boot. I'm not sure, though, since F12 usually lets you choose the boot device, not necessarily different efi images on the same device. Never tried it.
Of course you need to enable the option else pressing F12 will do nothing. I'm
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Sat Apr 12, 2014 9:52 am    Post subject: Reply with quote

have you got the 4 partitions on there,using 2MB for efi, 100MB for boot, XMB for swap and YMB for /root ?

how have you created the partitions? fdisk or parted ?
_________________
It said "Requires Windows XP or better"
So I installed gentoo.
Back to top
View user's profile Send private message
defer-
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2007
Posts: 140
Location: Finland

PostPosted: Sun Apr 13, 2014 1:20 pm    Post subject: Reply with quote

I couldnt get it to work so i switched to legacy only. Now everything is working fine. Thanks for help.

Splink wrote:
have you got the 4 partitions on there,using 2MB for efi, 100MB for boot, XMB for swap and YMB for /root ?

how have you created the partitions? fdisk or parted ?


I tried with gparted, parted and gdisk.
_________________
https://github.com/defer-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum