0

I've used the official Gnome Ubuntu 16.10 ISO to install Ubuntu on a Lenovo V570 laptop.

The HD was wiped using wipe prior to the installation. Before the wipe. the computer had Windoes 7 alongside Ubuntu 13 without any problems.

After the installation, the HD won't boot, giving the following error:

enter image description here

Needless to say, the HD is accessible via the ISO flash drive, so no need to check any cables.

Any idea what's wrong?

muru
  • 197,895
  • 55
  • 485
  • 740
Adam Matan
  • 12,519
  • Please boot the installer in "try before installing" mode and run the Boot Info Script. This will generate a file called RESULTS.txt. Post that file to a pastebin site and post the URL to your document here. This will give us more details about your configuration, which is required to base an answer on more than guesswork. – Rod Smith Apr 07 '17 at 13:28
  • With pleasure, @RodSmith - https://gist.github.com/anonymous/176ef10d523f7834cafb9c12c554622f – Adam Matan Apr 09 '17 at 05:15
  • In your Lenovo BIOS/UEFI settings, did you select "UEFI before legacy"? Your partial MBR install may be confusing things. – ubfan1 Apr 09 '17 at 19:05
  • @ubfan1I don't have that option in my BIOS settings. – Adam Matan Apr 09 '17 at 19:49

1 Answers1

1

It looks like your problems boil down to inappropriate use of your firmware's Compatibility Support Module (CSM), aka BIOS-mode or legacy-mode boot support. Please read my page on the CSM for an understanding of its problems. Without that understanding, you'll be reliant on sheer luck to get things working.

Broadly speaking, the path to solving your problem is:

  1. Disable the CSM. As noted on my page on the CSM, how you do this varies from one computer to another, so it's impossible to be specific.
  2. Fix the boot loader. There's evidence that you've got an EFI-mode boot loader on your computer, but it may not be properly registered with the firmware or otherwise malfunctioning.

The second step is a bit vague because there are many possible ways to go about it and one key piece of information was missing from your Boot Info Script output: It looks like you booted it in BIOS mode, and so it did not provide efibootmgr output that would reveal your EFI boot order. Your computer might be properly configured, except that it's trying (and failing) to boot in BIOS mode, in which case switching to a strict EFI-mode boot should fix everything; or you might need to fix the EFI boot order; or you might need to create a fresh EFI boot variable; or you might even need to completely re-install a boot loader.

Disabling the CSM will test the first of those possibilities, and may put an end to things. Editing the EFI boot order or creating new entries requires using efibootmgr in Linux, as described in various places, such as:

Most newbies to Linux or to EFI find efibootmgr difficult to manage, and instead choose to completely (re-)install a boot loader. Boot Repair can do this for GRUB, but only if you boot the recovery tool in EFI mode, which you don't seem to have done to produce the Boot Info Script output I requested. Another option is to install my rEFInd boot manager. The simplest way to do this is to download the USB flash drive or CD-R image, boot with it, and then install the Debian package or PPA once Ubuntu has started.

One important caveat: Some computers have badly broken EFI implementations that ignore or forget their boot variables in NVRAM. With such computers, the best approach is to return them to the store for a refund and get new computers, since the machines are defective. Unfortunately, this isn't always possible, so jumping through hoops to rename boot loader files may be necessary. Boot Repair has an option to do this on its advanced tab, or you can rename rEFInd's binaries with the mvrefind script.

Rod Smith
  • 44,284
  • 7
  • 63
  • 105