ChromeOS折腾

设备

实用网站

禁止chromeos自动更新

1
2
3
4
5
6
7
8
9
用chromebook访问此页面,按ctrl+alt+t打开命令行界面,输入shell再按回车进入shell,依次复制下面的每一段内容,两指轻击触摸板(等同于点鼠标右键)或者按ctrl+shift+v即可粘贴,并按回车执行

sudo mkdir -p /mnt/stateful_partition/etc

sudo bash -c 'echo "CHROMEOS_RELEASE_VERSION=99999.9.9" > /mnt/stateful_partition/etc/lsb-release'

echo "Disabled Chrome OS updates. Delete/mnt/stateful_partition/etc/lsb-release file to re-enable."

https://github.com/jay0lee/cros-scripts/blob/master/disable_cros_updates.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#!/bin/bash

# Disable CrOS Updates - prevents Chrome OS from updating by faking a very large version #

# Run this script on a Chromebook:
# 1. Put Chromebook in developer mode - https://www.chromium.org/chromium-os/poking-around-your-chrome-os-device
# 2. Log into device. Press CTRL+ALT+T to open crosh shell.
# 3. Type "shell" to enter Bash shell.
# 4. Type:
# bash <(curl -s -S -L https://raw.githubusercontent.com/jay0lee/cros-scripts/master/disable_cros_updates.sh)

sudo mkdir -p /mnt/stateful_partition/etc
sudo bash -c 'echo "CHROMEOS_RELEASE_VERSION=99999.9.9" > /mnt/stateful_partition/etc/lsb-release'

echo "Disabled Chrome OS updates. Delete /mnt/stateful_partition/etc/lsb-release file to re-enable."

恢复更新

1
2
3
4

sudo rm /mnt/stateful_partition/etc/lsb-release

后重启系统即可恢复自动更新

chromebook回滚旧版本系统

1
2
3
4
5
6
7
chrome打开 chrome://version 记录机型代号

在打开cros.tech ,输入机型代号,搜索下载旧版本(低于115)的镜像

将镜像通过 chrome恢复工具或者balena etcher 写入u盘/移动硬盘

插入恢复盘,按下esc+刷新键+电源键,开始自动恢复

镜像下载地址

参考