Sunday, April 23, 2017

Installing ubuntu on Legion Y520

This is a review for how I install ubuntu and drivers on Legion Y520.
  • Ubuntu 
    • On my case, I installed ubuntu 16.04
  • Kernel upgarde for latest version
  • Nvidia graphic card driver 
    • For GTX1050(Ti)
  • Solution for missing wireless connection

1. Install ubuntu with usb boot disk .
https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu

2. Fix missing wireless connection
Thanks for https://askubuntu.com/questions/587743/wifi-hard-blocked/587760

When Install ubuntu  16.04 LTS at Legion Y520, OS can't detect wifi.
To fix this, just command

$ sudo tee /etc/modprobe.d/ideapad.conf <<< "blacklist ideapad_laptop"
and then reboot.



Before do that, "rfkill list" shows Wireless LAN hard blocked: Yes.
But after rebooting, no more hard block and no more problem with wifi.


That's all. Missing Wifi is fixed with just two commands.


3. Install nvidia driver (Update on 2018/ 4/ 17. Thanks to Leonardo Gonzales for comment.)


After connect internet (wifi or with ethernet wire), type following command

$ software-properties-gtk --open-tab=4

And select nvidia driver as follow.



This is also solution for freezing when shutdown/reboot/restart ubuntu 16.04.4.
When you try to shutdown ubuntu on cui-mode (ctrl+alt+f1), if you see message including "nouveau drm failed to idle channel ~~", then just installing nvidia driver instead of using xorg will solve your problem.

https://askubuntu.com/questions/600467/blackscreen-failed-to-idle-channel