Based on this tutorial by jbMacAZ on forums.manjaro.org
Made on 26/05/2020 for the Asus t100ta and Manjaro 20.0.1
These instructions should work for any 32bit EFI / 64bit CPU system, but I only tested it on the Asus t100ta, use at your own risk.
I tested the community editions for Budgie, Gnome and LXQt, but this tutorial should be good for any 64bit Manjaro edition.
I'm using vanilla Ubuntu 20.04, you will need gparted and unetbootin for this tutorial.
You will also need a 4GB or more USB stick which data will be wiped.
If like me your t100ta dock is broken, you can charge the computer normally until full, then use the charging micro-usb port to have an OTG cable + USB hub to connect the USB stick, a keyboard and a mouse.
- Download a 64bit manjaro iso of your choice from the official website
- Download a 32bit manjaro iso from the 32bit manjaro project site
- Download
bootia32.efi
(or build it) from jfwells "linux-asus-t100ta" github - Format the USB stick to have one fat32 partition of 100% size (you can use disks or gparted to do this)
- Label the USB key
MANJARO
(you can use gparted for this) - Burn the 64bit iso to the stick with Unetbootin (this is important because you want to be able to write on the stick)
- Copy
bootia32.efi
to/efi/boot
on the stick - Copy the folder
/boot/grub/i386-efi
from the 32bit iso to/boot/grub
on the stick - Edit on the stick
/boot/grub/kernels.cfg
replacemisolabel=anything_that_is_here
tomisolabel=MANJARO
- Edit on the stick
/boot/grub/grub.cfg
, find theefi_detect
function, replace
for efi in (*,gpt*)/efi/*/*.efi (*,gpt*)/efi/*/*/*.efi (*,gpt*)/*.efi (*,gpt*)/*/*.efi ; do
with
for efi in (*,gpt*)/efi/*/*.efi (*,gpt*)/efi/*/*/*.efi (*,gpt*)/*.efi (*,gpt*)/*/*.efi (*,msdos*)/*/*/*.efi ; do
- On the t100ta, reboot and mash
F2
to go to BIOS/UEFI. Disable secure boot on the "boot" section - Plug in the USB stick, Save and exit, then mash
escape
to choose a boot option, then choose the USB stick - On the menu that appears, choose "install manjaro", then install regularly and reboot to your fresh insallation !
-
For Gnome desktop (based on 5bentz "linux-asus-t100ta" github)
- Install
gnome-tweak-tool
- Open
gnome-tweaks
- Go to the power section
- "suspend on lid closed off" => "off"
- Install
-
For Budgie desktop (based on a ubuntu budgie power management thread)
- Open
/etc/systemd/logind.conf
for edition as admin - Remove the starting
#
on the linesHandleLidSwitchXXXXX
- On these lines, change
=suspend
to=ignore
Note : You may want to let some of these options to suspend, for example the "docked" one
- Open
-
For other desktops
- I tested community edition LXQt+openbox edition which worked fine and didn't have this problem.
However, if you get this problem i think that the For Budgie Desktop section above may be the universal solution to this problem. I'm no expert though, so you may need some tinkering .
- I tested community edition LXQt+openbox edition which worked fine and didn't have this problem.
After following this everything seems to have worked except setting up grub on the new installed drive which meant it wouldn't boot. I had to boot into the live install, mount the partitions, proc, sys etc. chroot into the new drive, mount efivarfs and update grub to get it working fully.