Giter Club home page Giter Club logo

debian_chromebook_xe303c12's Introduction

Installing Debian on an ARM Chromebook (XE303C12)

Date: 2018-02-25 14:00
modified:2023-11-17 10:00
tags:debian, arm, chromebook
Authors: Pascal Geiser
summary:Debian installation on Samsung's ARM chromebook.

ci-badge

Work heavily based on Kali ARM scripts: https://gitlab.com/kalilinux/build-scripts/kali-arm

Kernel config taken from: https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-armv7

I still use the machine as a remote desktop client and I do it rarely. Do not expect much support if it does fit work you!

Use at your own risk!

Chromebooks and ChromeOS are giving an excellent browsing experience. The system is fast and with an ARM Chromebook the battery life is incredible.

The main issue with ChromeOS is the lack of good applications. All the google services are perfectly integrated but apart from this, the overall application library is poor. This fact has been partially addressed by the newest versions of ChromeOS with support of Android applications. Sadly, my old Chromebook is slowly reaching end of life (July 2018 according to google: https://support.google.com/chrome/a/answer/6220366?hl=en) and it never got support for Android applications.

As the HW still works perfectly, I decided to try installing my favorite OS: Debian! The main debian page looks old and did not provide too much information: https://wiki.debian.org/InstallingDebianOn/Samsung/ARMChromebook

The best source of information is from the guys of Kali Linux. They provide ARM images for a lot of different systems.

The scripts used to generate these images are available on Gitlab They provide an excellent basis to prepare a debian image.

The first step to take control of the Chromebook is to switch to developer mode. This disable the kernel signature verification and let U run any firmware on the machine with the drawback of having at each startup an annoying warning screen...

  • First, turn off the machine
  • Press ESC + Refesh(F5) and Power-on @ the same time.
  • On the recovery screen appears, press CTRL-D
  • Confirm the switch by pressing enter and wait a (long) while.

Once developer mode is enabled, it's possible to enable USB boot:

  • Boot the machine (pressing CTRL-D right after power-on).
  • Once chrome is ready, press CTRL-F2
  • Log as chronos with no password.
  • su - # Should give you root access.
  • Enable usb boot with: crossystem dev_boot_usb=1 dev_boot_signed_only=0
For more, look here:

BEWARE it will erase all data on the selected disk!

Make sure you've selected the right one! You've been warned!

Once the USB key is ready, plug it in the black usb connector (ie USB 2.0) of the chromebook . Start the machine and press ctrl-u (assuming you've already configured the developer mode). Wait for the system to boot.

user: root

passwd: toor

To install on the local emmc drive, run as root (from the USB key):

./install.sh /dev/mmcblk0

This will wipe out the entire disk. You've been warned! ;-)

Once done, shutdown the machine with poweroff. Do not reboot or you will get a black screen (bug in the backpanel driver?).

Have fun!

Start the machine and hit ctrl-d to boot on the emmc (or ctrl-u if you want to test on a USB key first) and log as root:

user: root

passwd: toor

Setup a network connection: nmtui

Run the provided XFCE installation script:

./xfce_install.sh

Wait for the installation to finish and poweroff before jumping in your prefered desktop (with power-on and ctrl-d).

The same script can be used to update the kernel and the modules on the emmc drive.

  • Download the zip archive and unpack it from the running debian installation
  • Open a terminal in the depacked folder
  • run sudo ./install.sh

The final result is usable but far from production quality.

  1. Currently the machine does not like the reboot much. This leads to a back screen -> shutdown and restart each time.
  2. Change the password!!! ;-)
  3. Plenty of other problems not described here.
The scripts have been prepared to work in docker. To rebuild:

Have fun!

debian_chromebook_xe303c12's People

Contributors

13pgeiser avatar nexusvoyager avatar zanymuzik avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.