Outils pour utilisateurs

Outils du site


liberer_un_chromebook_de_google

Ceci est une ancienne révision du document !


Libérer un chromebook de google

Chromebook ?

Google a proposé à un certain nombre de constructeurs d'installer son OS ChromeOS sur de petits ordinateurs souvent bon marché.

Ayant investi dans un ordinateur de ce type reconditionné via https://www.backmarket.fr/ je me suis attaché à le libérer de google en installant un Linux (Linuxmint 18.3) dessus.

Et ça marche !

Installation de Linux sur chromebook

Il s'agissait du modèle : HP CHROMEBOOK 14 G1 14“ Celeron 2955u 1.4 Ghz Ssd 16 Go Ram 4 Go (129 €)

centré centré

Les étapes :

Puis suivre les instructions du premier tutoriel :
  • Step 0.5 - Create Bootable USB: Once you have downloaded the Linuxmint image you'll need to make one of your USB drives bootable
  • Step 1 - Backup! As we will be replacing Chrome OS I highly advise making a recovery image so you restore Chrome OS in the future. Insert your other USB drive (All data on this drive will be lost so ensure its empty), within Chrome navigate to

chrome://imageburner

then follow the prompts to create a recovery disk. Once the process is complete store this drive somewhere safe.

  • Step 2 - Developer Mode: Enabling developer mode will erase all local data from the machine so make a backup of all data or move it to the cloud. To enable developer mode the machine must be up and running then press and hold the “esc” + “refresh” keys together, then press the power button.

The machine will reboot and the Recovery screen will appear:

Aosz87.jpg Aosz87.jpg

At this screen press Ctrl+D, Press Enter at the next screen.

The machine will now enable developer mode and wipe all local data, may take up to 10 mins to complete. Once its done the machine will automatically reboot and show the OS Verification error.

121pl6t.jpg 121pl6t.jpg

Press Ctrl+D again to boot into Chrome OS.

  • Step 3 - Enable Boot from USB & Legacy OS: - Once in Chrome OS you'll need to complete the initial setup again, once logged in press Ctrl+Alt+T to bring up a terminal then type shell to get a bash prompt. Enter the following command to enable USB Boot & Legacy OS
sudo crossystem dev_boot_usb=1 dev_boot_legacy=1

Now Insert your USB Bootable drive with LinuxMint and reboot your machine. When the OS Verification screen appears you can now press Ctrl+L to enter the SeaBIOS, press “esc” to open the boot menu and select your USB drive using the relevant number.

  • Step 4 - Install LinuxMint - Follow on screen prompts to install linux as normal, you'll need to connect your USB Mouse as the touchpad wont work (Yet), From here on each time you boot the machine it will display the OS Verification error, you'll need to press Ctrl+L then enter to boot from the hard drive (Technically SSD ) which will load Xubuntu.

Démonter l'ordinateur

Notamment pour trouver le bouton afin d'écraser définitivement le bios : voir http://www.chromium.org/a/chromium.org/dev/chromium-os/developer-information-for-chrome-os-devices/hp-pavilion-14-chromebook

Image de la vis qui empêche l'écriture, l'enlever pour pouvoir mettre un firmware complet

Modifier le BIOS pour pouvoir booter directement sur Linux

  1. Démarrer en mode développeur
  2. CTRL+D log as invité
  3. CTRL+ALT+T pour avoir un prompt
  4. taper shell
  5. voir l'état du firmware :
flashrom --wp-status
flashrom v0.9.9  : f0812a6 : Apr 13 2018 17:51:12 UTC on Linux 3.8.11 (x86_64)
flashrom v0.9.9  : f0812a6 : Apr 13 2018 17:51:12 UTC on Linux 3.8.11 (x86_64)
coreboot table found at 0x7f77a000.
WP: status: 0x0094
WP: status.srp0: 1
WP: status.srp1: 0
WP: write protect is enabled.
WP: write protect range: start=0x00600000, len=0x00200000

flashrom -V|grep 'Found' |grep 'flash chip'
flashrom v0.9.9  : f0812a6 : Apr 13 2018 17:51:12 UTC on Linux 3.8.11 (x86_64)
flashrom v0.9.9  : f0812a6 : Apr 13 2018 17:51:12 UTC on Linux 3.8.11 (x86_64)
No operations were specified.
Found Winbond flash chip "W25Q64" (8192 kB, SPI) at physical address 0xff800000
  1. rebooter en mode RW :

flashrom –wp-disable

Ensuite, il a fallu suivre cette résolution de pb :

I'm using your UEFI firmware, installed my OS [Linux], and it still boots to the EFI shell - what do I do?

A: Sounds like your Linux distro doesn't install the EFI bootloader in the default location - no worries, it's an easy fix:

Type 'exit' to return to the UEFI settings menu, then select Boot Maintenance Manager. From there, select Boot From File, then navigate to and boot from /EFI/[distro name]/grubx64.efi (where [distro name] will be ubuntu, arch, debian, etc). Once your OS is booted, open a terminal/shell, and type the following (observing case):

 sudo su
 mkdir -p /boot/efi/EFI/BOOT
 cp /boot/efi/EFI/[distro name from above]/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.efi

then reboot to test. What we're doing is copying the grub EFI boot stub from the OS installed location to the location the firmware is expecting (/EFI/BOOT/BOOTX64.efi) on the EFI system partition (ESP), which most (Debian/Ubuntu-based?) distros will mount at /boot/efi. You may need to adjust slightly for your distro, but these instructions should work in most cases.

Sauvegarde du firmware initial : stock-firmware-falco-20181101.rom.zip

Configurations complémentaires

Configuration du touchpad pour plus de sensibilité :

 sudo nano /usr/share/X11/xorg.conf.d/50-synaptics.conf

Modifier la section “InputClass” comme suit :

Section "InputClass" 
    Identifier      "touchpad peppy cyapa" 
    Driver          "synaptics"
    MatchIsTouchpad "on" 
    MatchDevicePath "/dev/input/event*" 
    MatchProduct    "cyapa" 
    Option          "FingerLow" "10" 
    Option          "FingerHigh" "10" 
EndSection

Conclusion

L'installation a marché, tout est bien reconnu, le touchpad mériterait une configuration plus fine, mais l'ordinateur marche vite et bien pour ce prix.

Le seul inconvénient réside dans le fait qu'au démarrage, il faut appuyer sur CRTL+l pour activier le Saehorse Bios et booter sur la distrib installée

Références

liberer_un_chromebook_de_google.1581071998.txt.gz · Dernière modification : 2020/02/07 10:39 de serge