02-04-2013 08:07 AM - edited 02-04-2013 04:46 PM
This is a post to save other people some time and pain. What follows may apply to other systems using a similar Lenovo BIOS.
If a user selects Optimal or Default BIOS options, wipes the pre-installed existing operating systems and partitions, and then installs a Linux distribution in UEFI mode on an SCU device, the ThinkStation S30 may return the following error and refuse to boot after successful installation.
Error 1962: No operating system found.
It appears that, prior to to following the BootOrder specified in the UEFI Boot Manager, the Lenovo BIOS first checks the UEFI Boot Manager configuration for an entry labelled "Windows Boot Manager".
If this entry is not found, an error is presented to the user and the boot sequence terminates. The Lenovo BIOS does not require that the entry labelled "Windows Boot Manager" be used, only that it be present.
This may be related to the behaviour observed here.
It would be good if someone from Lenovo could confirm the observations about the behaviour of the Lenovo UEFI BIOS.
Add an Entry to the UEFI Boot Manager labeled "Windows Boot Manager"
The following can be performed after installation of the operating system. The instructions assume that the user has access to "Live" installation media, is able to boot from that media and issue commands at the shell. It is also assumed that the user has a basic understanding of Linux devices references. The operating system must have been installed in UEFI mode and GRUB2 (or another bootloader) must have created at least one valid EFI boot file on the EFI system partition.
 It is possible that the BIOS checks for the presence of either "Windows Boot Manager' or "Red Hat Enterprise Linux", however I have not tested this: "Windows Boot Manager" worked and that suits me. Others may prefer a different aesthetic.
02-05-2013 05:59 PM
That's an interesting tidbit of information.
I won't comment as to why the BIOS provides an option of UEFI if it's not yet supported.
Any chance that Lenovo might be able to confirm how the current UEFI implementation is actually working at this point in time? It'd also be useful to know whether the above applies to the rest of the ThinkStation *30 family. I think most people would be okay if a "dummy" entry is needed. It'd also be useful intelligence for distribution packagers.
I ask because, out of the box (that is, with the BIOS UEFI setting as "Auto"), the S30 will boot media in EFI mode first (ie, if a CD, DVD, or USB key contains an EFI system partition, that's the mode that will be booted). This makes most Linux installations attempt to install the boot loader as an EFI application.
For my money, the above solution was actually easier to get working than any any other solution (my boot media was created on a Mac, and the userland tools default to EFI assumptions).
02-06-2013 01:28 PM
As I understand it (and I'm by no means a BIOS guy), when auto mode is enabled, ithe system will try to boot EFI (GPT) media first if it finds it....and if not it falls back to legacy (MBR). I believe that's the main function of that option.
UEFI is a much bigger animal though than just boot partitions. It encompasses much more such as OPROMs, etc. It's been an ugly transition to say the least, so we're still working kinks out as far as UEFI is concerned.
I would say if your solution above seems to work, then great. I'm even less of a linux expert than a BIOS expert, so I'm not going to dispute it
Also, it's not safe to assume that Lenovo BIOS across platforms (i.e. desktops, laptops, workstations, etc.) are all on the same level at any given time regarding UEFI. Different platforms and brands (think vs. idea) could very easily have different core vendors as well as different methods of implementation based on their expected user base.
08-16-2013 10:13 AM
I am having the same problem with an H520. After running the installation, and then booting from the installation DVD again, I installed efibootmgr as directed. However, when I enter
sudo efibootmgr -v
Fatal: Couln't open either sysfs or procfs directories for accessing EFI variables. Try 'modprobe efivars' as root.
which also fails with a fatal error.
11-12-2013 10:47 PM
I have a bright & shiney D30 after my D10 I assumed it would have a "real" raid controller but alas it has the Windows fake raid type. Ive installed a new Adaptec 3405 but as it's not EUFI compliant I get the dreaded error 1962. I have the bios in legacy mode but it seems that this is ignored I can boot by putting in a Ubuntu server disk & select boot from 1st drive. BTW am running Kubuntu 13.10 AMD64 O/S
09-17-2015 03:57 PM
This post was very useful indeed as attempting to install Oracle Linux version 6.2 (it is mostly Red Hat Linux ) on a ThinkCentre M Series was driving me nuts! One thing to note is you need to ensure you change the BIOS to ensure you are booting up in UEFI mode or the efivars will not be available and modeprobe and anything else you try will fail. Adding the "Windows Boot Manager" entry did not work for me but adding the ""Red Hat Enterprise Linux"" entry fixed the problem. The entry looked something like this:
sudo efibootmgr -c -d /dev/sda -p 1 -l '\EFI\redhat\grub.efi' -L "Red Hat Enterprise Linux"