2015-08-15

← Older revision

Revision as of 23:52, 14 August 2015

Line 3:

Line 3:

The Asus x205ta has an exclusively 32-bit EFI bootloader. Since Arch does not include a 32-bit EFU loader in the standard install image, we need to add one. This procedure may work for other exclusively 32-bit EFI machines.

The Asus x205ta has an exclusively 32-bit EFI bootloader. Since Arch does not include a 32-bit EFU loader in the standard install image, we need to add one. This procedure may work for other exclusively 32-bit EFI machines.

+

+

The current image (ARCH_201508) does not include the drivers for the x205ta's broadcom wireless modem, so we add those to the install image too.

=== Creating bootia32.efi ===

=== Creating bootia32.efi ===

Line 54:

Line 56:

Create a grub standalone image, replacing /LOCATION/OF/ with your own path:

Create a grub standalone image, replacing /LOCATION/OF/ with your own path:



$ grub-mkstandalone -d /usr/lib/grub/i386-efi/ -O i386-efi --modules="part_gpt part_msdos" --fonts="unicode" --locales="uk" --themes="" -o "/LOCATION/OF/bootia32.efi" "boot/grub/grub.cfg=/
tmp
/grub.cfg" -v

+

$ grub-mkstandalone -d /usr/lib/grub/i386-efi/ -O i386-efi --modules="part_gpt part_msdos" --fonts="unicode" --locales="uk" --themes="" -o "/LOCATION/OF/bootia32.efi" "boot/grub/grub.cfg=/
LOCATION/OF
/grub.cfg" -v

+



Now we just need a bootable medium to copy these files to.

=== Creating a bootable USB ===

=== Creating a bootable USB ===



Follow the instructions listed [https://projects.archlinux.org/archiso.git/tree/docs/README.transfer#n105 here] under "PC-EFI (GPT) [x86_64 only]", but between steps 4 and 5, copy your custom bootia32.efi file to EFI/boot/bootia32.efi on your install medium.

+

Follow the instructions listed [https://projects.archlinux.org/archiso.git/tree/docs/README.transfer#n105 here] under "PC-EFI (GPT) [x86_64 only]", but between steps 4 and 5, copy your custom bootia32.efi file to EFI/boot/bootia32.efi on your install medium
, and add the x205ta's broadcom wifi driver to the appropriate squashfs
.

In detail, that is:

In detail, that is:

Line 87:

Line 89:

$ bsdtar -x --exclude=isolinux/ --exclude=EFI/archiso/ --exclude=arch/boot/syslinux/ -f <ISO-SOURCE> -C <MNT-TARGET-N>

$ bsdtar -x --exclude=isolinux/ --exclude=EFI/archiso/ --exclude=arch/boot/syslinux/ -f <ISO-SOURCE> -C <MNT-TARGET-N>



Copy your custom bootia32.efi
and grub.cfg
to the usb disk

+

Copy your custom bootia32.efi to the usb disk

$ cp /LOCATION/OF/bootia32.efi <MNT-TARGET-N>/EFI/boot/bootia32.efi

$ cp /LOCATION/OF/bootia32.efi <MNT-TARGET-N>/EFI/boot/bootia32.efi



$ cp /LOCATION/OF/grub.cfg <MNT-TARGET-N>/EFI/boot/grub.cfg



Unmount the partition



$ umount <DEV-TARGET-N>

+

==== Adding wireless drivers to the install image ====

+

+

Note, if you intend to use a wired connection during install you can skip these steps.

+

+

Get a copy of the wireless drivers and untar:

+

+

$ wget -qO-  https://android.googlesource.com/platform/hardware/broadcom/wlan/+archive/master/bcmdhd/firmware/bcm43341.tar.gz | tar xvz

+

+

Unsquash and mount your preferred squashfs (i386 or x64) from the arch ISO you downloaded by following the instructions these instructions: [[Remastering the Install ISO]].

+

+

Copy 'fw_bcm43341.bin' to '/lib/firmware/brcm/brcmfmac43340-sdio.bin' on your new bootable usb. Note the filename change.

+

+

$ cp /PATH/TO/fw_bcm43341.bin /PATH/TO/lib/firmware/brcm/brcmfmac43340-sdio.bin

+

+

+

Resquash the image and copy the resulting 'airootfs.sfs' to its original location on your usb install medium. Generate a new MD5 sum to sit alongside it.

+

+

==== Unmount ====

+

+

Unmount the usb install medium partition

+

+

$ umount <DEV-TARGET-N>

=== Booting the x205ta from USB ===

=== Booting the x205ta from USB ===

Line 100:

Line 121:

Insert your new install medium into your x205ta.

Insert your new install medium into your x205ta.



Enter the bios by holding ''F2'' while pressing the power button to turn the x205ta on. There is an alternative method to enter the bios by booting into windows and selecting the appropriate menu options ([https://www.asus.com/support/FAQ/1008329/ tutorial]), but the F2 method allows you to avoid windows entirely.

+

Enter the bios by holding ''F2'' while pressing the power button to turn the x205ta on
. Hammering on F2 while the boot process is starting may help too
. There is an alternative method to enter the bios by booting into windows and selecting the appropriate menu options ([https://www.asus.com/support/FAQ/1008329/ tutorial]), but the F2 method allows you to avoid windows entirely.

Turn off secure boot. This procedure varies between different BIOS versions. Mine was achieved by going to 'Security', and switching 'Secure Boot Control' to 'Disabled'.

Turn off secure boot. This procedure varies between different BIOS versions. Mine was achieved by going to 'Security', and switching 'Secure Boot Control' to 'Disabled'.

Select your USB medium from the 'Boot Override' section of the 'Save & Exit' menu.

Select your USB medium from the 'Boot Override' section of the 'Save & Exit' menu.

+

+

+

== Install Arch ==

+

+

=== Enable wifi ===

+

+

The firmware for your wifi modem will not load by default. In addition to the driver we copied over, we'll need to copy over our local EFI variables:

+

+

$ cp /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 /lib/firmware/brcm/brcmfmac43340-sdio.txt

+

+

Now we can probe the wifi kernel module again to bring it up:

+

+

$ rmmod brcmfmac

+

$ modprobe brcmfmac

+

+

=== Install Arch ===

+

+

Proceed as usual

Show more