The information in this thread has been moved to https://help.ubuntu.com/community/In...LAN/Power/BIOS
A thread for discussion of the wiki page only can be found here http://ubuntuforums.org/showthread.p...0#post12062090
Thread closed.
Contents:
1. ..Introduction
2. ..Installation
3. ..Tweaks and Fixes
3.1 ...Fix "Fn brightness keys"
3.2 ...Fix battery drain
3.3 ...Update BIOS without windows
1. Introduction:
Lenovo's EFI implantation seems to be not perfect on some newer Lenovo notebooks. After successfully installing Ubuntu the notebook is not able to load the bootloader by default. It seems to be a problem with GPT partition tables and non windows bootloaders.
It took me a hole day to figure out, how to get Ubuntu still working.
So lets start getting Ubuntu on your Lenovo!
UPDATE: evil_hog found out how to install Ubuntu with GPT partition table! Here now the updated guide.
(tested on S205, B570)
2. Installation
Installation - Step 1 - Booting up a Live CD of your favorite Ubuntu:
Simply boot from your Live CD or a USB Stick.
I prefer the USB Stick because everything will go faster.
Installation - Step 2 (optional) - Fixing WLAN temporary for the live session:
Once the system is loaded I was trying to fix my WLAN connection because Ubuntu was not able to start it by default.
Be sure that your hardware switch (if any) is activated.
The following commands will make it possible that your wlan adapter will work temporary on your live session, but since we have no acer wlan adapter the connection can get unstable, especially on N networks.
We will fix the wlan adapter after the installation, this workaround is still useful if you want to access a wifi network over a live session quickly.
Open a terminal and type in the following:
Your WLAN adapter should now be ready to connectCode:sudo modprobe acer_wmi #Be sure your WLAN is activated by the hardware keys sudo modprobe -r acer_wmi
Installation - Step 3 - Installing Ubuntu with GPT partition table
Launch the Ubuntu installer.
You can let the installer load updates during the installation if you are connected to the internet.
When it comes to the partition you have to use the "manual mode" so that you can select the partition layout. Don't use any predefined partition layouts.
The first partition has to be the EFI partition, it will be formatted as fat16 afterwards.
I gave the EFI partition 50 MB.
Then I created a ext4 partition for "/" and a swap partition.
That's all! No need to downgrade grub anymore..![]()
Installation - Step 4 - Lets permanently fix the WLAN
After we booted into our installed Ubuntu system, it is time to fix the WLAN the right way.
There are restricted drivers available for most of our wlan adapters.
So we can install them with the restricted driver installer.
Check after a reboot if you are able to connect.
If you still cannot connect you might have to blacklist some modules.
Your output should be something like this:Code:lsmod | grep "b43\|ssb\|bcma\|wl"
If b43, ssb, bcma is loaded you have to blacklist them in:Code:wl 2568210 0 lib80211 14991 2 lib80211_crypt_tkip,wl
I also had to blacklist acer_wmi in order to get network-manager working./etc/modprobe.d/blacklist.conf
After editing the file, save it and reboot.
You should finally see the wireless networks.
When you come to the point that you still cannot connect, try wicd as network manager:
After a reboot you should see the wicd icon in the panel and the available wireless networks.Code:sudo apt-get install wicd && sudo apt-get remove network-manager*
Enjoy Ubuntu on your Lenovo!
3. Tweaks and Fixes
3.1 Fix "Fn brightness keys"
After successfully installing Ubuntu you might come to the point that your "Fn brightness keys" are not working.
I found a simple solution using "xbacklight" for it.
Be sure xbacklight is installed:
Now you can start a terminal window and type in:Code:sudo apt-get install xbacklight
Your screen should dim by 20%.Code:xbacklight - 20
If you want to make it brighter again just type:
This way you can easily change your brightness through the terminal.Code:xbacklight + 20
If you want to use your hardware "Fn" keys simply set the xbacklight commands as hotkeys in the keyboard settings.
3.2 Fix battery drain (tested on Intel Sandy Bridge systems like B570)
When you switch from Windows based systems you might detect a faster battery drain on your Linux system.
The problem is that some kernel parameters are disabled by default which put the VGA into a energy saving mode.
Some people had random system freezes with this great Sandy Bridge feature enabled, however there are a lot of people like me who don't have problems at all. I will recommend you the tweaks which fixed the main battery drain for me.
You have to add the following boot parameters to the grub2 configuration section GRUB_CMDLINE_LINUX_DEFAULT located here /boot/grub/grub.cfg:
1.) Activates the RC6 mode of the Intel GPU
2.) Activates PCIe Active State Power ManagementCode:i915.i915_enable_rc6=1
Don't forget to:Code:pcie_aspm=force
TLP:Code:sudo update-grub
If you don't use the "laptop-mode-tools" package or other energy scripts, you can also have a look on TLP.
TLP will extend the energy modes on your laptop and power save features.
There is a PPA available for TLP:
https://launchpad.net/~linrunner/+archive/tlp/+packages
(external repos can damage the system - be aware)
Now you can install TLP and some usefull tools:Code:sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update
smartmontools (main) - show SMART data with tlp-stat.
ethtool (main) - allows to disable Wake On LAN
powertop (main) - helps monitoring power consumption
3.3 Update BIOS without windowsCode:sudo apt-get install --no-install-recommends tlp smartmontools ethtool powertop
There was a new BIOS available for my Lenovo B570 and I wanted to update it. Lenovo only provides the WinFlash tool to do the updates directly in Windows, but I found a workaround to do it with a bootable USB Stick.
Step 1: Download your BIOS on the Lenovo Consumer site.
Step 2: Open the *.exe file with your archive manager and extract the containing *.zip file.
In my case inside the 44CN43WW.exe update file, was the 44CN43WW.zip.
Extract now the content of the *.zip to a folder e.g. "lenovo-bios".
Step 3: Now build yourself a bootable USB stick with FreeDos. I used the image of the Ultimate BootCD as source for my USB Stick because FreeDos is already built in.
Copy the extracted "lenovo-bios" folder to the usb stick.
Now boot into FreeDos.
Step 4: cd into your "lenovo-"bios" folder.
Before running the update be sure that your battery is full or better you are on A/C.
To start the update we need to run Pflash.exe with the BIOS filename, which is the *.rom file.
E.g.: Pflash.exe 44CN43WW.ROM
Step 5: After flashing the image do a reboot. If the tool is not able to reboot your Lenovo you might have to hold the power button for 10sek. to shut it down manually. Do this only when the flashing process finished succesfully!
Step 6: Go into the bios and load the default settings, to clear the CMOS. Save and Reboot.
Sources:
WLAN Fix: http://fakkelbrigade.eu/chris/blog/2...o-ideapad-s12/
TLP (German): http://thinkpad-wiki.org/TLP_-_Linux_Stromsparen




Adv Reply


Bookmarks