- franga2000 / Ubuntu on Acer Aspire Switch 10.md
- How to install Kali Linux on Acer Switch 10 from USB
- About Kali Linux
- Advantages of installing Kali Linux
- About Acer Switch 10
- Preparation
- 1. To boot from USB
- 2. Change boot-order to boot from USB in Acer Switch 10
- Instructions to install Kali Linux on Acer Switch 10
- Welcome To Acer Switch 10 Kali Linux
franga2000 / Ubuntu on Acer Aspire Switch 10.md
What’s the problem with this tablet? Why can’t I just insert the USB and mash F12 until it boots? The tablet is made to run Windows 8.1 and Windows 8.1 only. Some absolute genius at Acer decided to put a 32-bit UEFI on a 64-bit system, which no reasonable Linux distro supports out-of-the-box.
NOTE: This guide focuses on installing Ubuntu alongside Windows. If you’re trying to replace Windows, then I assume you know enough about Linux to know which parts to change.
- Keyboard
- Trackpad
- Touchscreen
- Sound (usually)
- Backlight control (with a patch)
Before you start, there’s a few things you need:
- USB flash drive (at least 4GB)
- USB OTG adapter (not always necessary, but recommended)
- 32-bit GRUB UEFI binary (explained below)
- 64-bit Ubuntu ISO
- BIOS v1.20 installed (required for backlight fix — you can only update BIOS from Windows, so do it now!)
- Rufus (or an equivalent image writer)
- USB WiFi or Ethernet card (in case your Wi-Fi doesn’t work)
- Open Rufus
- Select the correct USB Stick
- Select «GTP for UEFI computers» as the partition table (if available)
- «Select the Ubuntu 64-bit iso
- Click «Create»
Building the 32-bit UEFI GRUB bootloader
If you trust me (and the owner of that repo), you can just download the file here, but remember, downloading binaries from random strangers on the internet is not a good idea.
To build GRUB, run the following commands in a Linux shell:
# Install build dependencies and tools 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 # Clone the GRUB repo git clone git://git.savannah.gnu.org/grub.git cd grub # Configure GRUB ./autogen.sh export EFI_ARCH=i386 ./configure --with-platform=efi --target=$ --program-prefix="" make cd grub-core # Build the GRUB image ../grub-mkimage -d . -o bootia32.efi -O i386-efi -p /boot/grub ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd xfs xnu part_bsd part_gpt search search_fs_file chain btrfs loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart scsi loopback normal configfile gzio all_video efi_gop efi_uga gfxterm gettext echo boot chain eval
This will create a file called «bootia32.efi«.
Copy «bootia32.efi» to «/EFI/Boot/» on your flash drive.
- Open the «BIOS» (F2 when you see the Acer logo)
- Under «Security» set a supervisor password
- Under «Boot» set «Secure boot» to disabled
- Set the USB stick to boot first
- Press F10 to save changes and reboot
If your USB doesn’t show up, try to plug it in to the body directly using an OTG adapter, not via the keyboard dock).
- The laptop should automatically boot into GRUB
- In the GRUB menu choose «Try Ubuntu without installing«
- Open the terminal and run ubiquity —no-bootloader to start the installer ( —no-bootloader isn’t usually necessary, but if your installation fails with some bootloader-related error, try this)
- When prompted, select «Something else» to manually partition the drive
- Add a root (ext4, «/») and swap (swap, «swap») partition
- Finish the installation and hope for the best
In order to boot the Ubuntu we just installed, we need to use the USB GRUB again. Just let the laptop automatically boot from the USB. When in GRUB, press C to open a command line. Run the following commands:
set root=(hd1,gpt5) linux /vmlinux root=/dev/mmcblk0p5 initrd /initrd.img boot
If it doesn’t work, try with /dev/mmcblk1p5 and/or booting without an SD card inserted.
Permanently installing GRUB
Obviously we can’t use the USB GRUB to boot forever. Let’s install GRUB: Open the terminal and run the following commands:
# Get the 32-bit UEFI GRUB package sudo apt-get install grub-efi-ia32 grub-efi-ia32-bin # Mount your EFI partition mkdir /boot/efi # if the dir already exists, skip the mount command sudo mount /dev/mmcblk0p1 /boot/efi # Install GRUB grub-install --target=i386-efi --efi-directory=/boot/efi/
If the 32-bit grub package doesn’t exist, you can compile it yourself like this:
# Get build dependencies sudo apt-get install autoconf # Get the GRUB source git clone git://git.savannah.gnu.org/grub.git # Compile 32-bit UEFI GRUB cd grub/ ./autogen.sh ./configure --with-platform=efi --target=i386 # Install GRUB sudo grub-install --target=i386-efi --efi-directory=/boot/efi/
Adding GRUB to the bootloader
Reboot the laptop and press F12 to go into the boot menu. If you see an option called «ubuntu» and it works, you can skip this part.
- Go into BIOS
- Under «Boot» set «Secure boot» to enabled
- Press F10 to save changes and reboot
- Go into BIOS again
- Under «Security«, click «Add trusted executable«
- Navigate to *\HD0\EFI\ubuntu* and select grubia32.efi
- Enter the name for the bootloader entry and press OK
- Press F10 to save changes and reboot
- Go into BIOS for the last time
- Under «Boot» set «Secure boot» to disabled
- Press F10 to save changes and reboot
You should not see the entry in the boot menu (F12)
Making things actually work
See this comment. Note that this will only work if you’re on BIOS v1.20.
A lot of this has since been upstreamed, so if it works for you, you can safely skip this section.
I don’t have it so if someone got it working, please comment below so I can add it
The drivers for this card have been merged into the kernel, so it should work automatically.
If it doesn’t work for you:
# Clone the driver repo - if you don't have a wifi card, do this step onto a USB stick from another device git clone https://github.com/hadess/rtl8723bs # Build and install the driver cd rtl8723bs make sudo make install sudo modprobe r8723bs
If it doesn’t work immediately, reboot.
To make the keyboard work you need to modify the kernel source and recompile it. Before compiling the kernel, open the file include/linux/hid.h and change the value of MAX_HID_USAGES (default is 12288 ) to 65536 (On aproximately line 346). Then compile and install the kernel.
To see how to do this, read my other guide.
How to install Kali Linux on Acer Switch 10 from USB
Here is How to Install Kali Linux On Acer Switch 10 from USB. Please follow this step-by-step guide for a successful install of this Linux Operating system on your Laptop.
About Kali Linux
Kali Linux is a Debian-based Linux distribution which is based on security tasks such as Penetration Testing, Computer Forensics, Security research, and Reverse Engineering. The operating system is developed and maintained by Offensive security. Furthermore, there are more than 600 penetration testing tools included in Kali Linux. Lastly, it has many advantages over other operating systems available which are discussed below,
Advantages of installing Kali Linux
There are many advantages of installing Kali Linux on your Acer Switch 10 which are as follows,
- Advanced Penetration tools available: There are more than 600+ advanced penetration tools available on Kali Linux.
- Open-sourced: Kali Linux is an open-sourced system where all the codes can be easily seen and developed by others. The open development tree helps users to see the development at each and every step.
- Free Tools: This the main reason why people use Kali Linux.
- Wireless support nowhere possible: Kali Linux provides to connect as many as WiFi spots or USB ports at one time. It also makes to be compatible with numerous USB.
- Multiple language support: Multiple language support is not possible in other operating systems where users can get the support of their local language.
- Support for both ARMEL and ARMHF systems: ARM-based controllers like Rasberry Pi and ARMH is supported by Kali Linux.
About Acer Switch 10
- Acer Switch 10 comes with 15.6-inch HD LED-backlit display with the resolution of 1,366 x 768 pixels.
- It is powered by Intel Celeron Dual Core N3060 processor with 4GB DDR4 RAM and 1TB storage.
- The graphics are powered by Intel HD graphics.
- It has a 3-cell Li-ion battery which runs for a considerable period of time.
- Lastly, the laptop is powered by Windows 10 pro and weights around 2.1KG.
Preparation
- Download Kali Linux from the official website if you have not downloaded yet.
- Boot the ISO file from USB by following the instructions below.
- Lastly, change the boot order to the USB drive from BIOS settings.
1. To boot from USB
- After installing Rufus simply select the ISO file from the file manager and accept all settings when the popup window appears.
- Select the MBR partition scheme for BIOS or UEFI and If your laptop has UEFI bios then select the other two options.
- For the Filesystem select NTFS option and select if your PC has UEFI bios then select FAT32.
- The default Cluster size option should be selected.
- Make sure all three options including Quick Format, Create a Bootable disk using and Create extended labels and icon files are selected.
- Finally, start the process and this software will automatically format and create a bootable USB flash drive.
2. Change boot-order to boot from USB in Acer Switch 10
- Turn off your Acer Switch 10 or restart it
- Click on the power button, To enter into BIOS repeatedly click on F2 key or Del key as soon as the Acer logo appears.
- Now Press the RIGHT ARROW key to select Boot.
- Press the DOWN ARROW key to select Boot Order.
- To change the order Use the F5 or F6 key.
- Press the F10 key to save changes and restart the system
Instructions to install Kali Linux on Acer Switch 10
- After booting your USB or CD drive you can turn off your computer and insert the bootable USB in your Laptop.
- Now turn on the PC and continue with the process of installing Kali Linux on Acer Switch 10.
- You can either install Kali Linux or run it live by using your bootable USB stick. But Kali Live will not save your data so it’s better to install Kali Linux completely. In case, you don’t want to lose the windows data prefer Dual-Boot Kali Linux Windows.
- Let’s continue with the graphical install option provided above.
- After clicking on continue the image will get installed in the hard drive in your system. Next, it will be asking the hostname where you can provide any name such as Kali.
- Now enter the password for the root account.
- Set the time zone. Now the installer will provide 4 options for the Partition disks where you should choose “Guided-use entire disk and set up encrypted LVM”.
- Select the disk to be partitioned. Either you can keep all the files in one partition or keep all the files in different partitions. If you are not sure about how to create separate partitions then keep all the files in one partition.
- This is the last chance to review all the options you have selected after clicking on continuing the process of installing Kali Linux on Acer Switch 10 will start and complete.
- Click yes to the network mirrors option NOTE! If you select the “NO” option in this screen, you will NOT be able to install packages from Kali Linux repositories.
- Now install GRUB Boot Loader on the hard disk.
- Finally, click on Continue to reboot into your new Kali Linux installation on your Acer Switch 10.
Welcome To Acer Switch 10 Kali Linux
Read some installation guides,