<h1 id="high-level-steps-to-install-ubuntu-mate-on-the-asus-eeebook-x205a">High-level steps to install Ubuntu Mate on the <a href="https://www.asus.com/Notebooks/ASUS_EeeBook_X205TA/">Asus Eeebook X205A</a></h1>
<blockquote>
<p>Information compiled from <a href="https://www.jfwhome.com/2016/01/04/latest-steps-to-install-ubuntu-on-the-asus-t100ta/">Here</a>, <a href="https://github.com/lopaka/instructions/blob/master/ubuntu-14.10-install-asus-x205ta.md">Here</a>, and <a href="https://wiki.debian.org/InstallingDebianOn/Asus/X205TA">Here</a></p>
</blockquote>
<h3 id="download-and-create-startup-disk">Download and create startup disk</h3>
<p>Download the 64-bit version of the iso, then create a bootable USB. I recommend using <a href="https://dcfldd.sourceforge.net/">dcfldd</a>.</p>
<h3 id="getting-grub-32-bit">Getting grub 32-bit</h3>
<p>Compile or download grubia32.efi (see links), then move it into the /EFI/BOOT directory on the USB.</p>
<h3 id="installation">Installation</h3>
<p>Boot from the disk (assuming you already disabled secure boot from the BIOS). Install the system as you like.</p>
<h3 id="first-boot">First Boot</h3>
<p>Reboot, but leave in USB. Type <code>c</code> when grub loads, then enter in:</p>
<pre><code>linux (hd1,gpt2)/boot/vmlinuz.... root=/dev/mmcblk0p2
initrd (hd1,gpt2)/boot/initrd....
boot</code></pre>
<h3 id="wi-fi">Wi-Fi</h3>
<p>To get wi-fi working, put in terminal:</p>
<pre><code>sudo cp /sys/firmware/efi/efivars/nvram-XXXXXX /lib/firmware/brcm/brcmfmac43340-sdio.txt</code></pre>
<p>Then reload the brcmfmac driver:</p>
<pre><code>sudo modprobe -r brcmfmac
sudo modprobe brcmfmac</code></pre>
<h3 id="fix-bootloader">Fix bootloader</h3>
<p>Fix Bootloader with the following commands as root:</p>
<pre><code>sudo apt-get install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo

# from https://www.gnu.org/software/grub/grub-download.html
git clone git://git.savannah.gnu.org/grub.git

cd grub

./autogen.sh

./configure --with-platform=efi --target=i386 --program-prefix=""

make

cd grub-core
sudo su
../grub-install -d . --efi-directory /boot/efi/ --target=i386
cd /boot/efi/EFI
cp grub/grubia32.efi ubuntu/
exit</code></pre>
<p>Then, we can just install grub-efi-ia32:</p>
<pre><code>sudo apt-get update
sudo apt-get install grub-efi-ia32</code></pre>
<p>Edit the grub configuration file:</p>
<pre><code>sudo nano /etc/default/grub</code></pre>
<p>Find the line starting <code>GRUB_CMDLINE_LINUX_DEFAULT</code> and add <code>intel_idle.max_cstate=1</code> before <code>quiet splash"</code>.</p>
<p>Then ctrl-o, ctrl-x to save &amp; exit, and type: <code>sudo update-grub</code> to update Grub.</p>
<p>Remove the USB stick and reboot, and you should now have a self-sufficient booting system.</p>
<h3 id="conflict-between-sdhci-acpi-and-brcmfmac">Conflict between sdhci-acpi and brcmfmac</h3>
<p>Due to some conflict between sdhci-acpi and brcmfmac (https://bugzilla.kernel.org/show_bug.cgi?id=88061), a parameter has to be changed for the sdhci-acpi driver. There are several ways to do this, but a quick fix is to add this line in /etc/sysfs.conf (make sure you have the package sysfsutils installed), this way the option is passed before the brcmfmac driver is loaded :</p>
<pre><code># Disable SDHCI-ACPI for Wireless, otherwise WLAN doesn't work
bus/platform/drivers/sdhci-acpi/INT33BB:00/power/control = on</code></pre>
<h3 id="microsd-card-reader">microSD Card Reader</h3>
<p>Create a file /etc/modprobe.d/sdhci.conf with the following content:</p>
<pre><code># Adjustment to make micro SD card reader work
options sdhci debug_quirks=0x8000</code></pre>
<p>Then run</p>
<pre><code>update-initramfs -u -k all</code></pre>
<p>After a reboot the card reader should be working.</p>

<h3>Links</h3>
<ul>
<li><a href="https://www.asus.com/Notebooks/ASUS_EeeBook_X205TA/">https://www.asus.com/Notebooks/ASUS_EeeBook_X205TA/</a></li>
<li><a href="https://www.jfwhome.com/2016/01/04/latest-steps-to-install-ubuntu-on-the-asus-t100ta/">https://www.jfwhome.com/2016/01/04/latest-steps-to-install-ubuntu-on-the-asus-t100ta/</a></li>
<li><a href="https://github.com/lopaka/instructions/blob/master/ubuntu-14.10-install-asus-x205ta.md">https://github.com/lopaka/instructions/blob/master/ubuntu-14.10-install-asus-x205ta.md</a></li>
<li><a href="https://wiki.debian.org/InstallingDebianOn/Asus/X205TA">https://wiki.debian.org/InstallingDebianOn/Asus/X205TA</a></li>
<li><a href="https://dcfldd.sourceforge.net/">https://dcfldd.sourceforge.net/</a></li>
</ul>
