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

nd07 On 2019-04-12, 22:22 PM

Does anyone know if monitor "chaining" via display port works? It would be nice to setup 2 or more external monitors.

 

 

Also, in case anyone was wondering the Y7000 (which is very similar to the Y530) can run the laptop monitor, a hdmi monitor, and a USB C hub to HDMI monitor at the same time. :)

Fullmetal99012 On 2019-04-12, 22:27 PM

@nd07 It should work, as that is how I have my monitors set up at home. I can verify that it works when I get home. 

 

Not running Ubuntu at the moment, but as long as the nvidia drivers are installed, chaining should work regardless of the OS.

nd07 On 2019-04-12, 23:05 PM

@Fullmetal99012 Awesome, thanks for the reply. I may have to buy another monitor and give it a try. Although, the USB C to HDMI also seems to work pretty well. I wonder how many monitors I can get working off of this thing. 2 via HDMI/USB C (plus the built-in monitor), plus whatever I can run by chaining together Display Port monitors. Humm, now to find a good use case for all of this.

Fullmetal99012 On 2019-04-13, 4:55 AM

I can confirm that driving two chained displays (one 2560x1440 and one 1920x1080) and the internal panel works.

 

 

for chaining, there is a limit based on the resolution. 

 

5 monitors at 1680x1050, 4 at 1920x1080 or 1920x1200,  2 at 2560x1600 and 1 at 3840x2160 https://www.displayport.org/cables/driving-multiple-displays-from-a-single-displayport-output/

 

the monitor also has to be equipped with a display port output.

 

As for the number of panels total, I'm not sure about that number. once you hit that limit, I believe the additonal displays will just mirror rather than extend. 

Devboy On 2019-04-21, 22:18 PM

Bonjour et merci pour ce guide.

 

ça fait plusieurs jours que j'essaie en vain de relier un deuxième écran sur mon Legion Y530 via hdmi.

 

J'utilise Ubuntu 18.10, Gnome 3.30.1, carte graphique Intel® UHD Graphics 630 (Coffeelake 3x8 GT2).

 

L'écran est un Acer Nitro VG220Q ( il fonctionne en hdmi via apple tv par exemple ) 

 

A en croire l'ordinateur il n'y a pas de port Hdmi!

 

Que j'utilise Nvidia ou Intel rien ne change.

 

Xrandr me donne:

 

xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 59.98*+ 59.97 59.96 59.93
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1440x900 59.89
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1360x768 59.80 59.96
1280x800 59.99 59.97 59.81 59.91
1152x864 60.00
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32

 

 

J'ai tout éssayé jusqu'à devoir totalement ré-installer ubuntu ( avec la perte de toutes mes données en prime ) 

 

Pourquoi est-ce si compliqué de brancher un écran externe?

 

... désespéré 

 

 

 

Fullmetal99012 On 2019-04-21, 23:41 PM

My apologies if I get anything wrong, I had to run your post through google translate. 

 

Since all the Video outs except for the internal display are attached to the nvidia GPU, it has to be in nvidia mode for external displays to work.

 

If switching to nvidia doesn't work, including switching then rebooting, then it is possible that some combination of kernel or driver isn't working properly.

 

You could try the version of my Guide that uses 19.04  Link to GitHub  as that has a newer kernel and better nvidia support. My Legion is out of comission with a broken palmrest, so I cant test anything until Monday when I get the parts in. 

Devboy On 2019-04-21, 23:59 PM

Merci pour ta réponse! 

 

Oui le passage à nvidia fonctionne et après redémarrage, dans ( réglages ) la section  'à propos' il est bien indiqué :

 

Carte Graphique: GeForce GTX 1050/PCIe/SSE2.

 

Cependant c'est identique, le HDMI est inexistant et la commande Xrandr me donne également la même chose...

Blahnik On 2019-04-23, 22:00 PM

I tried to upgrade 18.10 to 19.04 but that messed up my ubuntu-installation for good.

So I made a fresh installation of 19.04 to my Legion Y530-151CH 128G SSD 1T HDD dualbooting Windows 10.

 

-In Windows I made 40G free space to SSD and 250G free space to HDD

 

-Disabled fastboot and secure boot

 

-In Live Ubuntu 19.04 I made partitions (with GParted) to SSD 30G to root and 10G to SWAP (dont know if it is needed) and to HDD 250G to home

 and used those same partitions manually during installation (something else-option). There was a bug in manual partitioning during

installation that showed only HDD partition to format but it succeeded anyways right

 

-I also checked that install third-party drivers etc. during installation

 

-I edited that nouveau.modeset=0 but after the installation was complete I went to Software and Updates. It showed that installation did detect my Nvidia and Nvidia-driver-418 was already installed.

 

-So Wifi and Nvidia worked out of the box in this 19.04

 

-Only problem was that this time my clocks got crazy in Windows,BIOS and Ubuntu. I had to change "internet time"-provider in Windows because it had stopped for some reason and I changed Ubuntu to use local time like Windows:

 

sudo

timedatectl set-local-rtc 1 --adjust-system-clock

Now the clocks are syncing and Ubuntu 19.04 is working fine so thanks for your tips FullMetal again. It is way faster than 18.10

Fullmetal99012 On 2019-04-23, 22:08 PM

yeah, 19.04 added a whole bunch of improvements. especially around nvidia graphics. My hope is that these fixes also make it into 18.04.3 LTS, as I like to reccommend LTS over the in-between releases. 

 

and no prob. This guide is due for a re-write soon, but I'm waiting for the next LTS point release so I don't have to update twice. Then it should be easier to keep it in sync between my github guide and here.

Fullmetal99012 On 2019-04-23, 22:18 PM

@Devboy If the transition succeeds but it still isn't working after a reboot, then the driver install is probably borked. 

 

You could try an apt-get purge *nvidia and then reinstalling to see if that fixes. if not, the last resort would be to clean install 19.04 and install the nvidia driver through the "Additional Drivers" control panel.

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Delete