Professional Documents
Culture Documents
● Prerequisites
● Pre-install setup
● Installing Chromium
● Saving a copy of your partition layout for post-install whenever you update so
nothing is overwritten
● Using Grub-Customizer to configure grub/Theme it to your liking
● Chainloading Chromium (Sometimes needed when os-prober cannot find
ChromeOS/Chromium)
Prerequisites
● Must be already using a GPT partition table(Otherwise a format of the hard drive
is required. This will wipe your data. It is recommended that you create a disk
image of your hard drive and back up to an external drive before formatting the
hard disk so as to keep your data intact)
● Must be using an EFI system. (Most important. This will not be possible
otherwise)
Pre-install setup
You will need to install a Linux distribution of your choice first of all, as they give us a lot
of useful tools we can use for installing Chromium that aren’t on a Chromium
installation, nor are found in Windows. I went with Arch, but for beginners I’d
recommend using Linux Mint or Ubuntu
Once done, install Gparted, and download the Etcher app image from their website.
Download ArnoldTheBats Chromium special build and flash it to the USB using Etcher.
Open Gparted and select your USB as the disk you want to look through. Remove every
partition except STATE, ROOT-A, and EFI-SYSTEM (Not required but certainly makes
it easier on the eyes)
If you are using Windows and the bulk of free space is contained within Windows, then
boot Windows and open the disk management tool. Shrink space from there, you only
need around 32GB for ChromeOS however 64GB is ideal for most. If you have more to
spare, send half to Linux and half to ChromeOS.
Boot back into Linux, and open Gparted. If you do not use Windows and most of your
space is in Linux, shrink partitions down using Gparted. Again you only need around
32GB for ChromeOS however 64GB is ideal for most. In Gparted, right click on the
unallocated space and hit “Create partition here”.
For the size in MB, put 32. For the format, put FAT16. For both the label and name of
the new partition, put EFI-SYSTEM.
Go back to the unallocated space again. Create another partition. For the size in MB,
put 5000. For the format, put EXT2. For the name and label, put “ROOT-A”
Finally, create another partition in the unallocated space, this time utilizing all the space
that is left. For the format, it should be EXT4, for the name and label it needs to be
“STATE”
Now that we have each of our partitions setup, lets move to installation.
Installing Chromium
Now that you copied the EFI-SYSTEM, we need to copy over the root:
“sudo mount /dev/sdb3 /home/(username)/root”
“sudo mount /dev/sda* /home/(username)/localroot” (* being the number for your
ROOT-A partition)
“sudo cp -av /home/(username)/root/*” /home/(username)/localroot” (Again, this time * is
needed as it copies every file inside the root folder)
Grab a text editor of your choosing (I chose sublime as it is my favorite, however gedit
or mousepad should work with this just fine)
And type:
“sudo subl /home/(username)/localroot/usr/sbin/write_gpt.sh”
In my case subl opens sublime text, if you want to use kate do sudo kate, gedit do sudo
gedit, etc. Just find the right command to open your text editor of choice, and open that
file.
Remove all the unnecessary partitions in both base_vars and partition_vars, only
leaving the State, Root-A, and EFI behind. Change the partition number values for each
of them to match what you have on your hard drive. Chromium is now bootable, you just
need to add in the boot entry.
Install Grub-Customizer to your Linux distribution and make sure that your ROOT-A
partition is mounted. Open Grub-Customizer and it should make a boot entry for
“Unknown Linux Distribution on /dev/sda#”
If not, you may need to chainload. See the last section of this guide for information on
that.
Chainloading to Chromium:
This is sometimes needed when os-prober doesn’t see that you have your root partition
mounted, and as such grub-customizer doesn’t make a boot entry. In this scenario you need to
open grub customizer and create a boot entry, with the type being “chainloader”
Select your EFI-SYSTEM partition.
In the boot sequence, remove the +1 from the chainloader command. In its place add in
“(hd0,gpt#)/path/to/grub/efi/bootloader/on/efi/system/bootx64.efi” (# being the partition number
for your EFI-SYSTEM partition)
Then, just add in a line beneath this:
“configfile /path/to/grub/efi/bootloader/on/efi/system/grub.cfg”
Save your new boot entry in grub customizer, and once it’s saved reboot and see if you can
boot Chromium.
NOTE: You may need to press e on local image a and change root to = your ROOT-A
.partition (eg, /dev/sda4)