This bug has been solved by Lenovo releasing a new BIOS update for
affected Lenovo Yoga laptops that allows the user to put the storage
controller into AHCI mode, thus making it visible to Linux and any other
OS that the user wants to install.

There was also a patch from Intel that adds support for the RAID
controller, but there was a long discussion on the Linux Kernel Mailing
List where the maintainers of the storage subsystem did not want to
merge it because the way Intel implemented this was deemed to be pretty
horrible and Intel themselves admitted that it would be better to just
install in AHCI mode.

Is Ubuntu interested in that patch? It's smallish, but it's likely to
never be upstreamed.

Users of the affected systems should go to Lenovo's support website,
enter their serial number or model number, and download the "Linux Only"
BIOS firmware. Then they can go into their BIOS and enable BIOS
backflashing to make the BIOS accept the update, otherwise it thinks
you're trying to install an older firmware and won't allow it. Once
that's done, go back into Windows and double click the firmware exe and
let it do its thing (making sure that the laptop is plugged into the
wall and on AC power the entire time!!!). Once it's flashed in, you can
then enter BIOS setup and switch the SATA controller mode to AHCI
instead of RAID. Then you can boot from the Linux Live environment and
install to the SSD.

At all times, remember that it's easiest to get into boot options and
BIOS set-up on a Lenovo laptop by finding the small button next to the
power button and pressing it with something like the tip of a pen. This
will turn on the computer and immediately take you to startup options.

You may also want to disable "quick boot" while you're in the BIOS
setup. I did and it doesn't seem to add any appreciable time to the boot
procedure, but it gives you more startup options than quick boot does if
you require them in the future.

Now, with all of this said, I'm going to try/recommend closing this bug
since Lenovo begrudgingly fixed it in response to a complaint that I
filed with the Illinois Attorney General consumer affairs department,
after telling the news all of the preceding weeks that it was all the
fault of Linux for "not having drivers". The only real reason to have it
in RAID mode was to force Windows to load the Intel RST driver for power
policy, and that's irrelevant on Linux (although I do recommend creating
a system service that calls powertop and has it auto tune the settings
as you can get power usage down roughly 30% over the Linux defaults that
way, and having it apply the optimization at every boot is convenient.

I found out how to make powertop do this in Ubuntu. I believe they
copied the service file from Fedora.

https://blog.sleeplessbeastie.eu/2015/08/10/how-to-set-all-tunable-
powertop-options-at-system-boot/

Anyway, I threw that in because the obscene power usage that Matthew
Garrett talks about goes away if you do this. With the power policy
optimization, the run time on my laptop in Ubuntu is comparable to
Windows 10.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1627905

Title:
  Ubuntu can't be installed to certain Lenovo Yoga laptops because the
  fakeraid storage mode is not supported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1627905/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to