chromebookでcroutonインストール
C204EE というchromebookを入手後ほぼ使っていなかったが今更ながら使ってみた
cerelon N4000 メモリ4GB HDD16GB
ブラウジングだけなら問題ない。ストレージが16GBは少なすぎる。SDカード必須
早速Croutonをインストール
chromebrewも試してみたが動作が軽いのはいいが容量を使いすぎる。
もし使うならcroutonをSDに入れて使うソフトを絞って入れるならありだと思う
ディベロッパー時電源オン画面スキップ方法
ctrl + D
crouton integrationインストール
これとxiwiまたはextensionをいれることによってクリップボードの共有が可能になる
https://goo.gl/OVQOEt
セキュリティーのための開発者パスワードの設定
ctrl + alt + T
shell
sudo chromeos-setdevpasswd
sudo crossystem dev_boot_signed_only=1
インストールする拡張機能の確認
crouton -t help
紛らわしいが、Requires以下の機能は内包しているので必要なし
ということ 必要であると勘違いしやすいので間違えないこと
(例 )xiwiをいれるならaudioとextensionはいらない
audio
Support audio playback via Chromium OS's audio system.
Requires: core
chrome
Google Chrome browser, stable channel.
Requires: x11
chrome-beta
Google Chrome browser, beta channel.
Requires: x11
chrome-dev
Google Chrome browser, dev channel.
Requires: x11
chromium
Chromium browser. Uses the distro's version, which may be old.
Requires: x11
cli-extra
Basic CLI tools such as ssh.
Requires: core
core
Performs core system configuration. Most users would want this.
e17
Installs the enlightenment desktop environment. (Approx. 50MB)
Requires: gtk-extra
extension
Clipboard synchronization and URL handling with Chromium OS.
Requires: x11
gnome
Installs the GNOME desktop environment. (Approx. 400MB)
Requires: gtk-extra
gnome-desktop
Installs GNOME along with common applications. (Approx. 1100MB)
Requires: gnome
gtk-extra
GTK-based tools including gdebi and a simple browser.
Requires: x11
kde
Installs a minimal KDE desktop environment. (Approx. 600MB)
Requires: x11
kde-desktop
Installs KDE along with common applications. (Approx. 1000MB)
Requires: kde
keyboard
Adds support for Chromebook keyboard special keys.
Requires: x11
kodi
Installs the KODI media player. (Approx. 200MB)
Requires: x11
lxde
Installs the LXDE desktop environment. (Approx. 200MB)
Requires: gtk-extra
lxde-desktop
Installs LXDE along with common applications. (Approx. 800MB)
Requires: lxde
touch
Touchscreen and limited generic gesture support.
Requires: x11
unity
Installs the Unity desktop environment. (Approx. 700MB)
Requires: gtk-extra
unity-desktop
Installs Unity along with common applications. (Approx. 1100MB)
Requires: unity
x11
X11 via autodetected backend. Does not install any desktop environment.
xfce
Installs the Xfce desktop environment. (Approx. 250MB)
Requires: gtk-extra
xfce-desktop
Installs Xfce along with common applications. (Approx. 1200MB)
Requires: xfce
xiwi
X.org X11 backend running unaccelerated in a Chromium OS window.
Requires: audio extension
xorg
X.Org X11 backend. Enables GPU acceleration on supported platforms.
Requires: audio
インストールするOSのバージョン確認
crouton -r help
Recognized debian releases:
potato! woody! sarge! etch! lenny! squeeze! wheezy! jessie! stretch! buster
bullseye bookworm sid
Recognized kali releases:
moto! kali! sana! kali-rolling
Recognized ubuntu releases:
warty! hoary! breezy! dapper! edgy! feisty! gutsy! hardy! intrepid! jaunty!
karmic! lucid! maverick! natty! oneiric! precise! quantal! raring! saucy!
trusty! utopic! vivid! wily! xenial yakkety! zesty! artful! bionic* cosmic!
disco! eoan! focal* groovy! hirsute! impish*
Releases marked with ! are upstream end-of-life, and should be avoided.
Releases marked with * are unsupported, but may work with some effort.
!はサポート終了 *は不安定
sidとkali-rollingはついてないがデスクトップ環境はカーネルが古いためXが動作しない
AddScreen/ScreenInit failed for driver 0
Kernel is too old for Iris
でエラー
xenial bionic focalは*だが動作する
croutonインストール
https://goo.gl/fd3zc からcroutonダウンロード
ctrl + alt + T
shell
sudo install -Dt /usr/local/bin -m 755 /home/user/*/Downloads/crouton
OSを選んでbootstrap保存
SDカードのcroutonフォルダに保存
sudo crouton -r focal -d -f /media/removable/"USB Drive"/crouton/focal_bootstrap.tar.bz2
bootstrapから拡張機能をインストール
デフォルトでxorg、 オプション付きでxiwi起動させる
sudo crouton -t cli-extra,xorg,xiwi,keyboard,xfce -f /media/removable/"USB Drive"/crouton/focal_bootstrap.tar.bz2
xorgのみの場合
sudo crouton -t cli-extra,xorg,extension,keyboard,xfce -f /media/removable/"USB Drive"/crouton/focal_bootstrap.tar.bz2
cliのみの場合
sudo crouton -t cli-extra -f /media/removable/"USB Drive"/crouton/focal_bootstrap.tar.bz2
crouton起動方法
ctrl + alt + T
shell
sudo enter chroot
crouton 削除
ctrl+alt+tで起動したcrosh上のshellから
cd /usr/local/chroots
sudo delete-chroot *
sudo rm -rf /usr/local/bin
xfce動作テスト
croshからshellを開いて
xorg起動するには sudo startxfce4 ハードウェア描画
xiwi起動するには sudo startxfce4 -X ソフトウェア描画
xiwiでtabに表示させるには sudo startxfce4 -X xiwi-tab
Ctrl+Alt+Shift+Back chromeOSに切り替え
Ctrl+Alt+Shift+Forward croutonに切り替え
chrootの確認
sudo edit-chroot -all
chrootバックアップ
SDカードのcroutonフォルダに保存
sudo edit-chroot -b focal -c /mnt/stateful_partition/crouton/chroots -f /media/removable/"USB Drive"/crouton
で/media/removable/"USB Drive"/crouton/focal-yyyymmdd-hhmm.tar.gzに保存
chrootリストア
sudo crouton -f /media/removable/"USB Drive"/crouton/focal-????????-????.tar.gz
chroot削除
sudo delete-chroot focal
この時点でHDDの空きが2GBほど
ディスカッション
コメント一覧
まだ、コメントがありません