Automated installation script for arch linux for Chromebook Pixel
- https://github.com/vitamins/archinstaller/
- https://gist.github.com/thirteen37/5559107
- https://bbs.archlinux.org/viewtopic.php?id=159912
- Hold down Esc and Refresh while powering on the Pixel.
- At the blank screen, press Ctrl-D.
- You will see a prompt to enter dev mode. Press Enter.
- Wait for the wipe. It will take about 5-10 minutes.
- After the wipe, every reboot will show the white dev mode screen. Press Ctrl-D at this screen to boot to Chrome OS.
- When in ChromeOS, start a terminal via
Ctrl-Alt-T
. - Type
shell
to get a real bash prompt. - Type
sudo crossystem dev_boot_legacy=1
- Type
dev_boot_usb=1
(This may not be required. Instead, pressing Esc at boot will allow you to choose boot media. The reason to avoid automatically booting from USB is that an SD card can be later placed in the Pixel permanently, increasing effective storage capacity. I am unaware of how to change this setting after ChromeOS is wiped.)
- Download the 2013.04.01 Arch ISO (https://mega.co.nz/#!htx1QLJK!07ap012cemdaaGOGeAT4geiLP5mXjkbhzYTERpVuHf8) (https://www.archlinux.org/releng/releases/2013.04.01/)
- Install USB:
# dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx && sync
- Download this script:
curl -L https://github.com/mrkent/arch-pixel/tarball/master | tar xz
- Modify ari.conf as needed. Provided ari.conf.example works fine. It's best not to change anything that's unnecessary like adduser or passwd because it may cause script to abort.
- It might be helpful to save this script onto 2nd USB drive, along with package list or config files you might installed before the first boot.
- Reboot the Pixel with your Arch installation medium plugged in. To spare yourself the confusion, do not plug in any other drives.
- At the white dev mode screen, press Ctrl-L to do a legacy boot.
- Ignore the "Press Esc" and the BIOS will default to the Arch installer.
- We will do a 64-bit install. Press Tab on the first installer option to edit the boot parameters.
- Add
mem=4G
to the end of the boot parameters and press Enter. Without this, the installer will fail to properly detect the amount of RAM and claim there's insufficient to load the kernel. - Set up internet:
iw dev
ip link set wlp1s0 up
wifi-menu wlp1s0
- Either download script or install 2nd USB and run this script as 'root' user
There are two possibilities to make the script install additional packages. You can add them to the packages array in the configuration file. Alternatively you can write the packages to pkglist.txt
, one on each line. To generate a list of explicitly installed packages on an existing installation, use this command: pacman -Qqent > pkglist.txt
You can also use both options at the same time, duplicated entries are eliminated by pacman.
Should one of the packages not be found in the repositories, e.g. if you have misspelled it, no packages are installed. Leave the "packages" array empty to skip this step.