Difference between revisions of "Acer C710 Chromebook"

From ArchWiki
Jump to: navigation, search
(Rewrote a huge chunk of the page. More straightforward wording, more details, etc. etc. The diff will probably speak for itself.)
m (add ja link)
 
(70 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
[[Category:Acer]]
 
[[Category:Acer]]
The following is a work in progress guide to getting Arch working on the $200 Acer C7 [[Chromebook]].
+
[[ja:Acer C710 Chromebook]]
 +
{{Related articles start}}
 +
{{Related|Chromebook}}
 +
{{Related|Acer C720 Chromebook}}
 +
{{Related articles end}}
  
For now you'll need a second computer already running *nix. If you're already running ChrUbuntu on your C7 then you can just skip to creating your own Arch image.
+
{{Poor writing|WIP guide, need to improve "Disabling The Hardware Write Protection"}}
  
== Installing Arch onto an Acer C7 Chromebook ==
+
This page is a work in progress guide to running [[Arch Linux]] on the Acer C7 [[Chromebook]].
At present, Arch runs well on the C7, however most testing has been done with stock i686 ChromeOS kernels. "Patches welcome" when it comes to x86_64 Chromium kernels or completely custom ones.
+
  
{{Warning|'''*BACK UP YOUR DATA.*'''}}
+
Over seven [http://us.acer.com/ac/en/US/content/models/chromebooks/chromebook-c models] exist.
  
Seriously. All of it. Somewhere *other* than on the device - the entire data partition will be purged a couple times over during the install process. USB keys, Google Drive, printed paper messages stored in bottles, something.
+
== Installation ==
  
=== Enabling Dev Mode ===
+
Go to the [[Chromebook]] page, read the [[Chromebook#Introduction|Introduction]] and continue by following the [[Chromebook#Installation|Installation]] guide.
First step is to enable Dev mode on the system so we can run some unsigned code. '''This will wipe all your data!'''
+
  
To enter Dev Mode:
+
== Post Installation Configuration ==
* Press hold down the {{Keypress|Esc+F3 (Refresh)}} keys, and press the {{Keypress|Power}} button.
+
::This enters recovery mode,
+
* Now press {{Keypress|Ctrl+d}} (there's no prompt). It will ask you to confirm, then the system will reboot into dev-mode.
+
::Dev Mode will always show the scary boot screen and you'll need to press {{Keypress|Ctrl+d}} or wait 30 seconds to continue booting.
+
  
{{Note|If you ever need to hard reset, press the {{Keypress|Esc+F3 (Refresh)}} combo. This will hard reset the system much like the small reset buttons on the front of tower PCs. The same warnings as on towers apply - the OS has no chance to save itself from this, and data loss is possible. You've been warned.}}
+
For information on general Chromebook post installation configuration (hotkeys, power key handling ...) see the [[Chromebook#Post installation configuration|Post installation configuration]] on the [[Chromebook]] page.
  
See Also: [http://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/acer-c7-chromebook]
+
== Disabling The Hardware Write Protection ==
 +
{{Warning|This section is a work in progress following it while this warning still exists will probably leave you with a non working system.}}
  
=== Install ChrUbuntu ===
+
You would need an aluminium foil to short the hardware write-protection jumper.
While it sounds completely backwards to install Ubuntu on our Chromebook just to install Arch, at present it's the most automated and safe way. Scripts are in work-in-progress stages to try mashing the ChrUbuntu installer with [https://github.com/tokland/arch-bootstrap arch-bootstrap]; stay tuned for details if they arrive.
+
  
* After enabling dev mode on your Chromebook, boot to the ChromeOS setup screen. Set keyboard layout, language, and connect to a network. Do *not* log in to an account.
+
=== Disabling steps ===
* Press {{Keypress|Ctrl+Alt+F2}} and login as "chronos"
+
* bridge write protect jumper
* Type "bash" and hit {{Keypress|Enter}}
+
** disconnect power cord and battery
* Run "curl -L -O goo.gl/s9ryd"
+
** void warrenty by removing base cover screw (pictured)
* Run "sudo bash ./s9ryd"
+
** bridge jumper with tin foil (pictured)
::Here is where you set the partition sizing for what will eventually be your Arch install. For example, I told the script "90", so Arch would be using the majority of my 128GB M4 SSD
+
* Wait for the system reboot
+
* Wait 3-5 minutes for the system "repair" job to run
+
* Reset keyboard layout, language, and reconnect to a network. Still don't log in to an account.
+
* {{Keypress|Ctrl+Alt+F2}} again, log in as "chronos" again
+
* Type "bash" and hit {{Keypress|Enter}}
+
* Run "curl -L -O goo.gl/s9ryd" again
+
* Run "sudo bash ./s9ryd" again
+
* Let Ubuntu's installer do its thing. You'll get asked a few setup-related questions along the way, it's safe to just hit {{Keypress|Enter}} for everything as we'll never let Ubuntu see light of day.
+
* While that installs, let's install Arch on our spare *nix box!
+
{{Note|When the installer finishes, it will ask you to press {{Keypress|Enter}} to reboot. DO NOT DO THIS. Instead hit {{Keypress|Ctrl+C}} to drop back to a shell. You have been warned.}}
+
  
==== Create Image File ====
+
=== Enabling steps ===
* First we need to create an Arch Image to do things with. This can be done an any *nix box.
+
** remove power, battery, base cover and foil, replace base cover, battery, power
# truncate -s 1G arch.img
+
  
==== Convert Image To A Partition ====
+
== See Also ==
* Convert image to a ext4 filesystem.
+
* [http://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/acer-c7-chromebook Official developer information, straight from Chromium.org]
# mkfs.ext4 -m 1 arch.img
+
* [http://github.com/jay0lee/chrubuntu-script The ChrUbuntu script official Github]
* Mount image to install to
+
* [http://chromeos-cr48.blogspot.com/2013/05/chrubuntu-one-script-to-rule-them-all_31.html The official ChrUbuntu script site for the older script. It has tips on cgpt commands and other info.]
# mkdir /mnt/arch_install
+
* [http://johnlewis.ie/neutering-the-developer-mode-screen-on-your-chromebook/ Source for BIOS modification (for different device, this page shows correct procedure for C7)]
# mount arch.img /mnt/arch_install
+
* [http://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/acer-c7-chromebook#TOC-Entering-Developer-Mode Acer C7: Entering Developer Mode]
 
+
* [https://johnlewis.ie/mediawiki/index.php?title=Flashing_stock_firmware_to_a_coreboot_build_on_Acer_C7_(C710) Original C710 flash guide]
==== Install Arch onto this new image ====
+
* [https://johnlewis.ie/mediawiki/index.php?title=Flashing_coreboot_build_to_stock_firmware_or_different_coreboot_build_on_Acer_C7_(C710) Return to stock guide (untested)]
At this point, run through the [https://wiki.archlinux.org/index.php/Installation_Guide Installation Guide] as you normally would. I strongly recommend doing this from a system with the Arch install scripts package installed; while this is a doable process with misc. *nix systems (many of such processes are well documented here on the Wiki), it's going to be much smoother with the install scripts.
+
 
+
For example,
+
# pacstrap /mnt/arch_install base base-devel --arch i686
+
{{Note|The `--arch i686` part is important if you're on an x86_64 system. As ChrUbuntu does not support 64 bit with the C7 currently, our C7 will be forced to run i686 Arch}}
+
 
+
When setting up fstab, you'll need to mount "/dev/sda7" at "/". UUIDs aren't really an option here as data is about to get sorted all over the place.
+
 
+
=== Copy Arch Image To C7 ===
+
Here's where things start to become a mess. By now you should have a ready-to-go Ubuntu install that you did not reboot into yet (meaning you're back at the bash shell in ChromeOS), and a ready-to-go Arch install on the arch.img file. You'll need to find a way to get this arch.img file to the Chromebook - be it a USB HDD, uploading it somewhere, SSHFS, whatever, make it happen.
+
 
+
* Copy the Arch image to the Chromebook.
+
* Run "mkdir mnt mnt2 mnt3 backup"
+
* If your Arch image is on a USB key or drive, run "mount /dev/sdb1 mnt" (replacing /dev/sdb1 with the identifier of your USB drive according to ChromeOS). Then run "mount mnt/arch.img mnt2" (replacing arch.img with the name of your Arch image).
+
* Otherwise, I'm assuming your Arch image was downloaded to the Chromebook somehow. So run "mount /path/to/arch.img mnt2"
+
* Run "mount /dev/sda7 mnt3". This will mount Ubuntu's root at mnt3.
+
* Run "cp -a mnt3/lib/{firmware,modules} backup/". This will copy all firmware and kernel modules, which we'll need to successfully boot Arch.
+
* Run "cp -a mnt3/etc/modprobe.d/*.conf backup/". This will save all module configs.
+
* Run "rm -rf mnt3/*"
+
{{Warning|Make 100% certain you typed "mnt3/*" and not some other mountpoint or you may toast your USB stick or Arch install.}}
+
* Run "cp -a mnt2/* mnt3/". This will copy your Arch install off to what was Ubuntu's root directory.
+
* Run "cp -a backup/*.conf mnt3/etc/modprobe.d/". This will restore module configs.
+
* Run "cp -a backup/modules/* mnt3/lib/modules/". This will restore kernel modules.
+
* Run "cp -a backup/firmware mnt3/lib/". This will restore kernel firmwares.
+
* "umount" mnt3, mnt2, and mnt. In that order.
+
* Reboot and enjoy your Arch install! Note that ChrUbuntu's installer only told cgpt to boot to the Linux partition one time, so if anything is hosed, a reboot will send you back to ChromeOS. If all went well and you are happy with everything, you can reboot to ChromeOS, drop to the {{Keypress|Ctrl+Alt+F2}} console, and run a `sudo cgpt add -i 6 -P 5 -S 1 /dev/sda` to make the Chromebook always boot Arch.
+
 
+
== See also ==
+
* [http://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/acer-c7-chromebook Developer information on Official site]
+
* [http://chromeos-cr48.blogspot.com/2013/05/chrubuntu-one-script-to-rule-them-all_31.html ChrUbuntu script used in the installation, has useful tips on cgpt commands in case they are needed.]
+

Latest revision as of 07:48, 5 November 2015

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: WIP guide, need to improve "Disabling The Hardware Write Protection" (Discuss in Talk:Acer C710 Chromebook#)

This page is a work in progress guide to running Arch Linux on the Acer C7 Chromebook.

Over seven models exist.

Installation

Go to the Chromebook page, read the Introduction and continue by following the Installation guide.

Post Installation Configuration

For information on general Chromebook post installation configuration (hotkeys, power key handling ...) see the Post installation configuration on the Chromebook page.

Disabling The Hardware Write Protection

Warning: This section is a work in progress following it while this warning still exists will probably leave you with a non working system.

You would need an aluminium foil to short the hardware write-protection jumper.

Disabling steps

  • bridge write protect jumper
    • disconnect power cord and battery
    • void warrenty by removing base cover screw (pictured)
    • bridge jumper with tin foil (pictured)

Enabling steps

    • remove power, battery, base cover and foil, replace base cover, battery, power

See Also