View previous topic :: View next topic |
Author |
Message |
defer- Tux's lil' helper
Joined: 11 Jun 2007 Posts: 140 Location: Finland
|
Posted: Thu Apr 10, 2014 9:05 pm Post subject: Cant get thinkpad E531 to boot with uefi + gpt |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Thu Apr 10, 2014 9:32 pm Post subject: |
|
|
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 |
|
|
defer- Tux's lil' helper
Joined: 11 Jun 2007 Posts: 140 Location: Finland
|
Posted: Thu Apr 10, 2014 10:41 pm Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Apr 10, 2014 11:13 pm Post subject: Re: Cant get thinkpad E531 to boot with uefi + gpt |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Thu Apr 10, 2014 11:19 pm Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Apr 10, 2014 11:37 pm Post subject: |
|
|
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 |
|
|
defer- Tux's lil' helper
Joined: 11 Jun 2007 Posts: 140 Location: Finland
|
Posted: Fri Apr 11, 2014 2:26 pm Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Fri Apr 11, 2014 5:49 pm Post subject: |
|
|
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 |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 887 Location: Germany
|
Posted: Sat Apr 12, 2014 6:33 am Post subject: |
|
|
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 |
|
|
Splink Apprentice
Joined: 09 Feb 2005 Posts: 295
|
Posted: Sat Apr 12, 2014 9:52 am Post subject: |
|
|
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 |
|
|
defer- Tux's lil' helper
Joined: 11 Jun 2007 Posts: 140 Location: Finland
|
Posted: Sun Apr 13, 2014 1:20 pm Post subject: |
|
|
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 |
|
|
|