Installing Bodhi Linux on an Acer C720 Chromebook with SeaBIOS as default.
Situation:
We have an Acer C720 Chromebook and want Chrome OS removed and Bodhi Linux installed on it. Additionally we want to have it boot to Linux by default without having to start SeaBIOS manually by pressing Ctrl + L
at the white boot splash screen.
Objective:
Acer C720 Chromebook with Chrome OS removed and Bodhi Linux installed with SeaBIOS booting by default.
Plan + Execution:
Outline
The general installation procedure:
- Enable developer mode to allow access to the superuser shell in Chrome OS.
- Accessing the superuser shell.
- Enable legacy boot / SeaBIOS.
- Set SeaBIOS as default.
- Prepare the installation media (USB stick).
- Boot from the installation media and install Bodhi Linux.
Enabling Developer Mode
- Turn on the Chromebook.
- Press and hold the
Esc + F3 (Refresh)
keys, then press thePower
button. This enters Recovery Mode. - Press
Ctrl + D
(no prompt). It will ask you to confirm, then the system will revert its state and enable Developer Mode.
Accessing the superuser shell
Start a terminal session. There are two ways to start a terminal session in Chrome OS (in dev-mode): VT-2 or crosh. For our purposes here it does not matter which way is used.
Get the command prompt through VT-2
Getting the command prompt through crosh<div class="collapseomatic_content " id="target-id6361a8ca9ce87">#### Getting the command prompt through crosh
Note that entering the shell this way doesn’t give you all the instructions that VT-2 does (like how to set your password). You might want to follow the VT-2 steps once just to get the instructions.
If you want to get back to the browser without killing the shell, you can do it with [ Alt ] [ Tab ].
SIDE NOTE: You can actually create as many shells as you want. Just hit [ Ctrl ] [ Alt ] [ T ] again and a second shell will be opened. You can [ Alt ] [ Tab ] between them.
</div>In the terminal open a bash shell with the shell
command. Then become superuser with sudo bash
.
Enabling SeaBIOS
This method will allow you to access the pre-installed version of SeaBIOS through the Developer Mode screen in Coreboot.
- Inside your superuser shell enter:
crossystem dev_boot_usb=1 dev_boot_legacy=1
- Reboot the machine.
You can now start SeaBIOS by pressing Ctrl + L
at the white boot splash screen.
Boot to SeaBIOS by default
To boot SeaBIOS by default, you will need to run set_gbb_flags.sh
in Chrome OS (already included in Chrome OS).
-
Disable the hardware write protection by removing screw 7 here: http://www.chromium.org/_/rsrc/1381990807648/chromium-os/developer-information-for-chrome-os-devices/acer-c720-chromebook/c720-chromebook-annotated-innards.png Note: Putting the cover back on with just screw 6 in should be enough to boot and complete the rest of the needed steps before putting the write-protect screw back in.
-
Boot and start a superuser shell and enter:
sudo su<br></br>
- Disable the software write protection.
flashrom --wp-disable<br></br>
- Check that write protection is disabled.
flashrom --wp-status<br></br>
- Run
set_gbb_flags.sh
with no parameters.
set_gbb_flags.sh<br></br>
- Make sure you get the following output.
GBB_FLAG_DEV_SCREEN_SHORT_DELAY 0x00000001<br></br>GBB_FLAG_FORCE_DEV_SWITCH_ON 0x00000008<br></br>GBB_FLAG_FORCE_DEV_BOOT_LEGACY 0x00000080<br></br>GBB_FLAG_DEFAULT_DEV_BOOT_LEGACY 0x00000400<br></br>
- Now set SeaBIOS as default.
# set_gbb_flags.sh 0x489<br></br>
- Enable back the software write protection.
flashrom --wp-enable<br></br>
Your Chromebook now will boot to SeaBIOS by default, at this point you should re-enable the hardware write protection by reinserting the write protect screw.
Prepare the Installation Media
Navigate and retrieve the latest Bodhi Linux ISO from here:
http://sourceforge.net/projects/bodhilinux/files/?source=navbar
As of this writing the current one we want is: bodhi-3.0.0-chromebook-rc1.iso
Assuming we are preparing the installation media in a Linux environment, change to the directory where you have downloaded the ISO image to and run:
dd if=bodhi-c720-chromebook-rc1.iso of=/dev/sdX
Where X is replaced with the drive letter of your USB stick. A quick way to find this out is checking the output of the command dmesg
after inserting the usb drive.
If you prefer a GUI tool or are using OSX/Windows to create the flash drive you can find detailed information on this process here.
Boot From the Installation Media and Install Bodhi Linux
Since we have set SeaBIOS to boot by default we will not need to press Ctrl + L
at the white boot splash screen.
A message will appear to press the ESC
key to select to bring up the boot menu, proceed to do so and select your USB device from the list it provides.
From this point you can follow the normal Bodhi install instructions.
Comments
-
r3spo says
January 19, 2015 at 3:10 amThanks for the guide, do you think this is working also on an HP14? (not he pavillion, the newest one).
Cheers-
Code Apex says
January 19, 2015 at 6:20 pmThe HP14 is SeaBIOS as well so I believe it should work though I have not tried it; but do note the location of the write protect screw is different: HP14 Write Protect Screw
Also note these directions will not work for really old Chromebooks without SeaBIOS though (such as the Acer C710).
Regarding the Bodhi part specifically the creator of Bodhi Linux, Jeff Hoogland, has a blog post about picking up a HP14 here so I suspect installing Bodhi would work fine.
-