Tag Archives: Ubuntu

Install Ubuntu 18.04 on an Acer Aspire ES1-531

29 Aug

I recently installed Ubuntu 18.04.3 on an Acer Aspire laptop. The model is described on the stickers as both ES1-531 (more generic) and “ES15 model ES-531-P8NJ”.

Here are the steps to get it to work.

You can get an ISO of Ubuntu from the official website: https://ubuntu.com/download/desktop

Once you have created a bootable USB from it (you can find tutorials specific to your operating system by searching “bootable USB” on the Ubuntu tutorials page), you will have to get into the laptop’s BIOS to change a few settings. You can do that by pressing the F2 key on your keyboard repeatedly when booting up the laptop, when you see the “Acer” logo.

Once you’re in there, you can go the the “Security” tab and set up a new “supervisor password”, so you can change more settings.

BIOS photo of options in the Security tab, with "Set Supervisor Password" highlighted.

BIOS photo of options in the Security tab, with “Set Supervisor Password” highlighted.

You can then go to the “Boot” tab, and make sure that your boot method is UEFI, and that the USB HDD option is at the top of the list, so the laptop boots into your plugged in, bootable USB stick.

Photo of the BIOS option, in the "Boot" tab, with the "USB HDD" option at the top of the list.

Put the “USB HDD” option at the top of the list by using the F5 and F6 keys.

When you “Exit saving changes” and restart, you should see a menu, in which you can select “Install Ubuntu”. Follow the prompts and install your new operating system.

Now, when you restart and remove your USB stick as prompted, you are likely to see your laptop stuck into a reboot loop with the “Acer” logo and a glimpse of an error message that reads something like:

System BootOrder not found. Initializing defaults.

Creating boot entry “Boot0006” with label “ubuntu” for file  “\EFI\ubuntu\shimx64.efi”

Reset system

You can then access the BIOS options again (with the F2 key), go to the “Boot” tab and make sure “Secure Boot” is enabled:

Photo of the BIOS options, in the "Boot" tab, with the "Secure Boot: [Enabled]" line highlighted.

Make sure the Secure Boot option is enabled to then get into its settings.

This will allow you to change Secure Boot settings in the “Security Tab”, including where the EFI file is located. Go to “Select an UEFI file as trusted for executing” and press Enter.

Photo of the BIOS options, in the Security tab, with the line "Select an UEFI file as trusted for executing: [Enter]" selected.

Change the Secure Boot option to point to the right UEFI file.

We can now navigate to the right UEFI file for our Ubuntu installation. Navigate down the partition by sequentially selecting:

HDD0 > EFI > Ubuntu > shimx64.efi

You will then be prompted to give the boot option a name. “Ubuntu” should be good enough to identify it.

You can now exit the BIOS options (saving the changes) for the laptop to reboot, enter the BIOS options once more with F2, and go to the “Boot” tab to move your new Ubuntu boot option all the way to the top of the list. (Mine was called “EFI File Boot 0: Ubuntu1”.)

Photo of BIOS options, in the Boot tab, where the boot option "EFI File Boot 0: Ubuntu1" was moved to the top of the Boot priority order list.

Move the new custom boot option to the top of the boot priority order list.

Once you “Exit saving changes” one last time, your laptop should boot straight into Ubuntu!

Here are some links that helped me figure it out, and/or that you mind find useful to further troubleshoot:

Fix PGP error NO_PUBKEY when apt-get updating

28 Oct

It is common to find that a  sudo apt-get update does not do a clean job because of a couple of missing public keys. You might get something of the type:

W: GPG error: <a href="http://ppa.launchpad.net">http://ppa.launchpad.net</a> trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F

Usually, it is possible to directly fetch the missing public key from a popular key server like Ubuntu’s:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys PUBKEY

… where PUBKEY is replaced by the right identifier in your warning message.

That is usually enough and concludes with gpg: Total number processed: 1

However, if the key is not found on the server, you might have to look for it yourself. For example, in the case of the following error:

W: GPG error: http://download.opensuse.org  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F2AA0B1E5EF8303B

… the missing key was not available on the Ubuntu key server. I had to first check what exactly the problematic source’s URL looked like, which you can do by either using your distribution’s updater’s GUI (for example, Muon Update Manager > More… > Advanced … > Configure software sources), or by finding it in /etc/apt/sources.list or /etc/apt/sources.list.d/. In my case, the URL was http://download.opensuse.org/repositories/home:/antonbatenev:/tox/xUbuntu_14.04/, which is where I navigated to in my Internet browser to find a Release.key file.

Once you have downloaded that key, you can use the following command to add it to your keyring:

sudo apt-key add Downloads/Release.key

(Make sure you replace Downloads/Release.key with the right path/name.)

Now, you should be able to re-run sudo apt-get update and not run into any warning!

LibreOffice 5.1 becomes “still”, time to upgrade

28 Jun

If you haven’t done so already, it is the right time to upgrade to the LibreOffice 5.1 branch given that, with the release of the 5.1.4 version a few days ago, this branch becomes the “still” (i.e. more stable and secure) branch. Plus, the 5.0 branch reached end of life back in May, which means there won’t be any security fixes any more.

The 5.1 branch brings exciting new features (full release notes here), including:

  • Improvements to formula wizard (Calc)
  • New commands to add rows and column (Calc)
  • New statistics dialogue for calculating regressions (Calc)
  • PNG export (Calc)
  • Many improvements to formula engine (Calc)
  • Reorganised mode selection (Impress)
  • New “equalise” command for shapes (Impress, Draw)
  • Restart counter from presenter console (Impress)
  • Four new transitions (Impress)
  • Import MathML from clipboard (Math)
  • Improved trend line (Chart)
  • New and improved import/export filters (which means better format compatibility)
  • Reorganised menus
  • Lots of sidebar improvements (new sidebar, reorganised items, new buttons and icons…)
  • Special characters in spelling dialogue

On an Ubuntu-based system, you can upgrade to 5.1 by using the following commands in a terminal.

If you already had a PPA installed, remove it. For example, for the 5.0 PPA:

sudo add-apt-repository --remove ppa:libreoffice/libreoffice-5-0

Remove LibreOffice entirely:

sudo apt-get purge libreoffice*

Add the new PPA:

sudo add-apt-repository ppa:libreoffice/libreoffice-5-1

Update your repository info:

sudo apt-get update

Finally, install LibreOffice from the new repository:

sudo apt-get install libreoffice

That’s it!

Note: If you are on Linux Mint, your LibreOffice version might be “pinned” and you will need to do a bit more to upgrade. See this post for example. You might also need to install re-install libreoffice-gnome for it to look right.