How to install Ubuntu on your Asus ZenBook Pro

I recently got a new laptop, the Asus ZenBook Pro UX480FD. I immediately tried to install Ubuntu on it, but I ran into some problems which cost me half a day to fix. So I decided to write this article to help anyone out that also wants to install Ubuntu on an Asus ZenBook Pro.

Enabling dual-boot support

These steps are based on http://triplescomputers.com/blog/uncategorized/solution-switch-windows-10-from-raidide-to-ahci-operation/

  1. Decide whether you want dual-boot or just Ubuntu. If you just want Ubuntu, skip to “Installing Ubuntu
  2. Boot into Windows, we have to make the Windows installation support the AHCI disk driver
  3. Press the Windows button to open the start menu
  4. Start typing “cmd”, right-click on the item and execute as Administrator
  5. Type this command and press ENTER: bcdedit /set {current} safeboot minimal
  6. If this command does not work for you, try bcdedit /set safeboot minimal
  7. Restart the computer and enter BIOS Setup (hold F2 on boot to get into BIOS, you can also enter BIOS from Windows by using advanced startup options)
  8. On the Advanced tab, Change the SATA Configuration > SATA Mode Selection to AHCI from Intel RST
  9. Go to “Save & Exit” tab and Save changes and exit Setup and Windows will automatically boot to Safe Mode
  10. Open command prompt again: Start typing “cmd”, right-click on the item and execute as Administrator
  11. Type this command and press ENTER: bcdedit /deletevalue {current} safeboot
  12. If you had to try the alternate command above, you will likely need to do so here also: bcdedit /deletevalue safeboot
  13. Reboot once more and Windows will automatically start with AHCI drivers enabled.
  14. You can now shrink the Windows partition to make some space for Ubuntu, follow this article to do so: https://docs.microsoft.com/nl-nl/windows-server/storage/disk-management/shrink-a-basic-volume

Installing Ubuntu

  1. Download Ubuntu (I used 18.04, I could not get 19.04 to work)
  2. Create a bootable USB from the downloaded ISO (follow this tutorial if you don’t know how)
  3. Attach the USB stick to your laptop
  4. Reboot the laptop
  5. Enter the BIOS by holding F2 during boot, if that doesn’t work you can also enter BIOS from Windows by using advanced startup options
  6. If you didn’t follow the “Enabling dual-boot support” steps, on the Advanced tab, Change the SATA Configuration > SATA Mode Selection to AHCI from Intel RST
  7. On the “Save & Exit” tab, override the boot option, select the USB that you created
  8. The Ubuntu install will show a list of options, select “Install Ubuntu”, don’t press Enter, but press the “e” button to edit the startup options. The default Ubuntu doesn’t like the NVIDIA graphics cards, so it will hang when you don’t do this. Note that the install be in low resolution (800×600)
  9. From the linux line, remove “quiet” and “splash”, and add “nomodeset”
  10. Do the installation like you normally would
  11. Remove the USB stick
  12. Boot the laptop
  13. Select “Ubuntu” in the startup options, press “e” and from the linux line, remove “quiet” and “splash”, and add “nomodeset” again
  14. Go into Ubuntu, open the terminal and execute “sudo apt update”, then execute “sudo apt install nvidia-driver-390”
  15. Reboot
  16. You should now have a fully working ZenBook Pro on Ubuntu 18.04!

“Failed to start MokManager” / “import_mok_state() failed”

If you tried installing before this tutorial, it might be that your installation ended up in an unbootable state. You can read the following article to fix that: How to fix “Failed to start MokManager” / “import_mok_state() failed” after failed Ubuntu Installation

This entry was posted in Uncategorized. Bookmark the permalink.

15 Responses to How to install Ubuntu on your Asus ZenBook Pro

  1. Nicola Modugno says:

    When installation is done successfully, I have to switch SATA Configuration from AHCI to Intel RST ?

    There is a way to use Screenpad as second monitor in ubuntu in the same way as windows?

    • jerbob92 says:

      Hi Nicola,

      I did not change the configuration back to Intel RST. I think it’s not well supported by Linux.
      You can not use the Screenpad as far as I know. I did some tests with it and it’s not simply extending the display, Linux does not recognize it as display.
      Someone needs to write a driver for the chipset/bridge that connects the Screenpad, I wanted to do it as a side-project, but it was too complicated for me to get into (writing a Linux kernel driver).

      • nesar77 says:

        Hi jerbob92 and Nicola,
        I’ve installed Ubuntu 19.10 on my ASUS Zenbook UX334FL and it works fine. The screenpad is used as an external monitor.
        I’ve got some problems regarding audio drivers: sometimes the audio is cracking sometimes not.
        Regards.

        • jerbob92 says:

          Hi, thanks for your reply! The UX334FL is a different model, it has Screenpad 2.0. In the 2.0 version it’s actually just a second monitor connected to the graphics card, in 1.0 this is not the case, they use some special bridge chip to talk to the Screenpad. I did some digging into it but it was too hard to get it to work (it probably needed a kernel driver).

  2. Wes says:

    Hi! Thank you for this post.
    I tried what you propose but I unfortunately cannot make it work. I somehow managed to install Ubuntu after disabling all kind of bios options (secure boot, fast boot). Now, neither the USB nor the installed Ubuntu can boot… I tried what you proposed but unfortunately it didn’t help. Do you have any idea of what I should/could do? I created a disk image beforehand so I can always try that :/

  3. Doeke says:

    I tried Ubuntu Budgie cause someone (https://www.reddit.com/r/ASUS/comments/denjgl/linux_on_asus_zenbook_pro_duo_ux581gv/) said the wifi adapter got recognised using that. However, for me it did not so I would probably do the normal ubuntu next time.

  4. doeke says:

    I switched to the normal ubuntu version now, getting the wifi to work was really easy.
    Also the normal ubuntu version recognised the screen resolution where with budgie I was stuck with something like 800×640 in the installation.

    https://askubuntu.com/questions/1196308/wifi-adapter-ax201-not-found-ubuntu-18-04

  5. Whit says:

    There’s no obvious way to get a command prompt to get back out of safe mode.

  6. Johan says:

    Thank you for your post.
    I’ve followed it on my Zenbook Duo ux481, except I used OpenSuSE Tumbleweed instead of Ubuntu.
    Everything works except for the bottom screen not being touch enabled.

  7. HJ3332 says:

    Hi everyone,

    Just bought the new Zenbook UX434FL. Want to jump in and dual boot Ubuntu.
    Search on the web and seems nobody did it before on this new version of Zenbook.

    Just want to see whether the following are essential:
    1. Do I have to enable the AHCI driver like in this post?
    2. Do I have to turn off Bitlocker encyption before I shrink the SSD for free space and installation of Ubuntu?

    Hope someone could share some thoughts and hints.

  8. Joshua Raphael says:

    Hi there, great article. I reached dual booting with mint 19.3 successfully but I was changing from RST to AHCI manually everytime I wanted a switch! I wonder what the disadvantage of not using RST for windows OS is? I only use windows to print so not much of an issue. Also hoping the mint/ubuntu guys will come out with drivers for the second screen!

    • jerbob92 says:

      If you followed the steps then you should be able to keep your setting in AHCI and boot into both Linux and Windows without changing anything. Which mode do you need to get into Windows? And in what mode did you install Mint? I’m not quite sure what the disadvantage of not using RST is, I guess it comes with a performance penalty.

Leave a Reply

Your email address will not be published. Required fields are marked *