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?

Comments

Dvk98 On 2018-09-15, 2:20 AM

Ok so ..I managed to get Ubuntu 18.04 working .

 

I change quietsplash to nomodeset to get it installed .

 

And then after installation . I added nouveau.modeset=0.  To avoid getting stuck after the login screen due to the Nvidia drivers issue.

 

( http://www.linuxandubuntu.com/home/how-to-install-latest-nvidia-drivers-in-linux )

 

After that I maganed to get the Nvidia drivers installed successfully and it's working fine .. touchpad is also working .

 

BUT my WiFi driver/adapter is not found .

 

I tried downloading the intelac9560 Linux driver (a file of .ucode format ) and placed it in /lib/firmware but still doesn't work.

 

Please tell what to do to get my WiFi working .

 

Fullmetal99012 On 2018-09-15, 2:27 AM

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

 

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

 

Reboot after saving the file

Dvk98 On 2018-09-16, 5:58 AM

Thanks . It's working perfectly now 

XavierOx On 2018-09-16, 19:22 PM

 

I just installed ubuntu 18.04.1 on my legion y530 on the last 150MB of the 1TB disk.

I didn't have to edit i915 in Grub. Everything went smoothly.

 

I had to blacklist ideapad_laptop as explained above.. and now the WIFI works perfectly.

 

Thanks a lot for the info i found in this thread.

RileyLynx On 2018-09-18, 6:13 AM

Thanks for the detailed guide!

 

Can anyone confirm the following in Ubuntu?

- At least 3 hours battery life on intel graphics with light desktop/web use.

- Fans are inaudable under light use.

- Bluetooth works.

- Function keys work for screen brightness, keyboard backlight and volume.

 

Not too fussed about nVidia graphics in Ubuntu in the short term. If I purchace one of these I'll dual boot windows for gaming. I'd go for something with half the power but the smaller laptops make too many compromises for me.

 

 

XavierOx On 2018-09-18, 11:48 AM

Update to my previous post, i finally added the "nomodeset i915.alpha_support=1" option because i had several crashes (frozen screen).

It's now working well.

 

To answer some of the questions above with the ubuntu 18.04.1 i installed :

. Don't know the exact battery life. Don't expect great battery life from this laptop. Current battery notification says : 50% and 1h27m remaining.

. The fans often start when opening some apps such as firefox or chrome. Sometimes 3 seconds, sometimes more. So they are not inaudable under light use. Same thing under windows, would love to be able to improve that.

. Bluetooth work out of the box.

. Out of the box, function keys work for keyboard backlight and volume. Not for screen brightness.

 

I just replaced the 1Tb 5400rpm drive with a WD blue 3D 1Tb SSD and added a second 8Gb of RAM.

Everything was easy and work great. The i7 8750H is very very nice :)

 

Fullmetal99012 On 2018-09-18, 17:52 PM

I can do some battery tests. Going to be working on re-writing some parts of the guide once 18.10 releases next month, and I believe the kernel will be new enough to solve the touchpad not working out of the box. 18.04.2 will have the HWE stack from 18.10 which may also fix some other issues.

 

I'm hoping that I can get it to a point where the setup is scripted, so there will be less steps.

 

Notes: Screen brightness hotkey not working is probably a graphics stack issue. 

Fullmetal99012 On 2018-09-22, 6:34 AM

Update (9/22/2018)

 

Booted the daily image of 18.10. Touchpad works out of the box, so external mouse won't be needed as soon as the 18.04.2 images are available with the HWE kernel. This allowed me to remove several of the steps from the guide. 

 

There are still a few issues with the 18.10 dailies, and I suspect these won't be fixed until the beta. As soon as the beta images are available, I will be installing them and doing a run-through of the new guide as I have it written to see what needs to be changed. I'm hoping that 18.04.2 (HWE) and 18.10 also fix the nvidia issues so I can get both GPUs working with switching. If all goes well I can have the new guide ready as soon as the final images for ubuntu are live.

Fullmetal99012 On 2018-09-27, 0:41 AM

Update: 9/26/2018 

 

Running the latest (as of 9/25) 18.10 daily, I have successfully installed the nvidia drivers and nvidia-prime.

 

Graphics acceleration and GPU switching without reboot appears to be fully functional. 

 

As soon as 18.10 is live I will be finishing the re-write of this guide

142434 On 2018-10-07, 3:45 AM

Should I install the 18.10 beta?

Fullmetal99012 On 2018-10-07, 3:56 AM

I am currently running it so I can finish re-writing the guide and have it ready for the final release. It seems to run well so far, but I wouldn't reccomend running a pre-release operating system on a machine you intend to use as a daily driver. the steps above don't apply for 18.10 and they won't apply once 18.04.2 is out. I am working on a script that will automate most of the above guide. 

saarraaaah On 2018-10-08, 5:09 AM

Thanks for the tutorial I've been really searching for it !

However I am stuck in the ppa part, I am getting the error that theres no user or team for teejee2008.

Please advise.

 

142434 On 2018-10-08, 6:25 AM

Isn't it teejee2001 ?

saarraaaah On 2018-10-08, 6:39 AM

I think it's a typo, look at the screenshot.

saarraaaah On 2018-10-08, 10:03 AM

It's seems there's a step that I missed, everything is running smoothly now

Thanks !!

Fullmetal99012 On 2018-10-09, 0:01 AM

wow, didn't notice that.

 

Those steps are gone once the new ubuntu is out, as the kernel version was bumped up to 4.18. 

tindus On 2018-10-17, 16:57 PM

Hi everybody,
I want to dual boot with original Windows 10 and Ubuntu 18.x in my Lenovo Legion Y530.
Following this guide, the Ubuntu installer doesn't see any HDD partition, even the Windows 10 partition. I know that this guide specifies that "Following these steps will erase the OS that comes on your laptop.", but has anyone tried a dual boot installation?

Any help is welcome!!!

Fullmetal99012 On 2018-10-17, 18:05 PM

I've had this issue with UEFI systems before. There was a bug in the installer at one point where I wouldn't see the other OS and then failed to install any UEFI boot entries. I can try sometime this week to see if 18.04 or 18.10 will see Windows 10 and allow dual boot. 

Dvk98 On 2018-10-17, 18:13 PM

I didn't have any those issue  other than the wifi and Nvidia driver .  I directly installed 18.04 alongside win10. 

 

Maybe try updating the bios . I remember updating to newer version I found in the lenovo website page.

tindus On 2018-10-17, 23:22 PM

@Fullmetal99012, I'll appreciate a lot any help!!!

 

@Dvk98, the installer doesn't show the option "Install Ubuntu alongside Windows 10". It jumps directly to select the device to install, but it doesn't see any of the HDD partitions.

 

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop