Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Gaming – Lenovo LegionGaming Laptops Knowledge Base

Installing Ubuntu on the Legion Y530

CURRENT SUPPORTED LTS VERSIONS (as of 9/18/2018) : 18.04.2

 

An updated version of the guide can always be found here

  

WARNING: Following these steps will erase the OS that comes on your laptop. Make sure you have a backup before continuing 

This is a long guide, and you will need to be comfortable around a command line to complete it.

 

The Legion Y530 is designed to run windows, and many features, including Vantage and Nerve Sense, only work on Windows. However, there are many reasons one could want to run an alternative OS, such as Linux on their Legion, and this guide will help you set up the machine so you can easily boot and install the OS.

 

Step 1: If you haven't already done so, back up the machine with a 3rd party tool, or the built in Windows Back Up utility. 

 

Step 2: Download Etcher and Ubuntu 18.04.2 desktop

 

Step 3: Use Etcher to write the disk image to a USB drive (8GB or larger recommended)

 

 

Step 4: Hold down shift, and then open the start menu and press the power icon and then restart

 

Step 5: Hold shift until you see the advanced startup screen

 

 

Step 6: From the advanced startup screen, select troubleshoot then advanced, then UEFI Settings. From the UEFI settings screen, press the restart button

 

 

 

Step 7: once the machine boots into the UEFI Settings, navigate over to the security tab with the arrow keys, then down to the secure boot setting. press enter then change the setting to disabled using the arrow key. press enter to change the setting and dismiss the dialog.

 

 

Step 8: Press F10 and select yes to save the changes

 

Step 9: from the point the Bios exits start pressing F12 until you see the device selection screen

 

 

Step 10: Select your USB device from the list

  

 Step 11: Select "try ubuntu without installing" or equivalent option 

 

Step 12: Once on the desktop has booted, open a terminal and run sudo rmmod ideapad_laptop to allow wifi to work then follow the ubuntu steps for installing the OS

 

Step 13: Follow the instructions for rebooting after the install has completed. after the legion screen, but before the boot screen, press escape to get to the grub selection menu.

 

Step 14: press e on the option for your OS, and edit the "quiet splash" line to "quiet splash nouveau.modeset=0"  once the nvidia drivers are installed, this won't be needed

 

 

Step 15: Press F10 to boot the OS, once you are at the desktop, open the terminal and run sudo rmmod ideapad_laptop

 

Step 16: without closing the terminal Perform a system update (e.g sudo apt-update && sudo apt dist-upgrade for ubuntu)

 

Step 17: run the command sudo gedit /etc/modprobe.d/blacklist.conf

 

Step 18: add blacklist ideapad_laptop to the end of the file, this will get wifi working permanently

 

  

  

Step 19: once finished reboot. back at the desktop,wifi should now be working without needing the rmmod command every time. 

 

Step 20: run the command sudo apt install nvidia-driver-390 nvidia-prime, accept the installation and reboot after it completes 

 

Step 21: verify that the installation works by opening a terminal and perform the following 

  • Run prime-select query (should return nvidia) 
  • Run sudo prime-select intel (should say “selected intel profile” or similar) 
  • Run prime-select query (should return intel) 

 

This concludes installing Ubuntu on the Legion Y530 and getting core functionality working.

Was this information helpful?

Yes No

Comments

BlaineSensei On 2019-05-03, 21:24 PM

umm, I have been looking into getting backlight and some other stuff working on my Elementary OS installation on my Lenovo Legion Y720.. are drivers available?

Fullmetal99012 On 2019-05-07, 0:26 AM

@jaisu Unfortunately no. The 3 cell battery is on the small side for an nvidia equipped laptop. If you are on ubuntu or windows, the power saving method is to run it in discrete mode unless you absolutely need to use the GPU.

 

@liho I replied to the issue opened on my github repo here, I presume you opened the issue (similar username). As i said there, try a 19.04 live USB to see if fan control works on the live distro. It's possible that something is up with your installation. I can try 18.04.2 to see if I can reproduce. 

 

@BlaineSensei Do you mean screen or keyboard backlight? If you mean screen backlight, that should work with the nvidia/mesa drivers installed.

 

if you mean the keyboard backlight, it looks like the Y720 keyboard backlight is controlled with nerve sense and not just through ACPI. 

 

https://forums.lenovo.com/t5/Gaming-Laptops/Y720-linux-keyboard-backlight/td-p/3763992

 

https://forums.lenovo.com/t5/Gaming-Laptops/Lenovo-Y720-keyboard-backlight-on-linux/td-p/4131177

It looks like it just plain doesn't work on linux unless you have dual boot and boot into windows first, and then it only kinda works.

Lenny2019 On 2019-05-07, 12:22 PM

hey guys, do you know how to swap fn and ctrl keys in legion y530? bios does not have swap option like in thinkpads. thanks

Fullmetal99012 On 2019-05-07, 12:40 PM

As far as I know, it's not possible to set the hotkey function as the primary rather than requiring Fn to activate. I believe this decision was to allow normal functionality for games that use F1-F11, rather than requiring a setting to reverse them or having to press Fn to get those keys. 

Anatoliy7 On 2019-05-28, 21:54 PM

Hello everyone!

Many thanks to Fullmetal99012, your installation guide worked perfectly for me.

I have currently ubuntu 18.10 installed, and I use it intensively on a daily basis. Is it safe to upgrade to 19.04? I don't have any option to make a fresh install since it will take a long time to recover all my software. Did you try to upgrade? Do you have any suggestions?

Thank you very much in advance!

Fullmetal99012 On 2019-05-28, 22:15 PM

You should be safe going from 18.10 to 19.04. There is always a risk of something going wrong, which is why its a good idea to have backups. 

 

Unfortunately the last time I tried a major ubuntu upgrade was ubuntu 13.xx/14.xx, so its been a few years. however, Ubuntu has improved a lot since then.

Gensai On 2019-05-29, 12:08 PM

 Hi @Anatoliy7 

 

I upgraded from 18.10 without any problem. It's stable, using for work without any problem.

 

 

nd07 On 2019-06-07, 18:57 PM

Has anyone gotten audio to work via HDMI? Thanks

Anatoliy7 On 2019-06-20, 12:00 PM

Hello everyone!

Just want to report my experience with the upgrade from ubuntu 18.10 to 19.04. Several errors appeared during the upgrade process:
1. "Could not install install-info". This hasn't led to abruption of the process.
2. "The upgrade has aborted". It happened at the final stage. I guess because of some issues with nvidia drivers. It looked like this from the log.

After all of those messages, I could start ubuntu 19.04, but HDMI was still not functional. Even with 418 version of drivers from nvidia. It seems that the reason is given on this page:
https://askubuntu.com/questions/1004461/is-gdm3-preferred-to-lightdm?rq=1
"Problem: gdm3 kills the nvidia card from displaying to external monitors when your use modeset=1. Bug still exists in Ubuntu 19.04. Speculation is that gdm3 sees the driver in modesetting operation, and decides wayland must be in use, and there is no way to get it to behave otherwise. It must be a hard bug to fix. "

I have replaced gdm3 with lightdm. Now external HDMI monitor works ok. But anyway, it would be preferable to switch back to gdm3, since lightdm isn't native in ubuntu.

Suptem On 2019-06-21, 12:52 PM

Dual booting would be better for starters.

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Delete