次の記事を参考にしました。
ChromebookのSDカードにLinuxをインストールする方法
1)SDカードの初期化
sudo mkfs -t ext4 /dev/mmcblk1
chronos@localhost / $ sudo mkfs -t ext4 /dev/mmcblk1
mke2fs 1.44.5 (15-Dec-2018)
/dev/mmcblk1 contains a ext4 file system
last mounted on /mnt/source/SD Card on Tue Sep 10 16:28:44 2019
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 1940480 4k blocks and 485760 inodes
Filesystem UUID: dd8fc034-b252-41aa-914c-e86284542c01
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
2)crouton のダウンロード
>Chromeブラウザを起動してアドレスバーに「https://goo.gl/fd3zc」を入力しEnterを押します。すると「Crouton」のインストーラーがダウンロードフォルダに保存されます。
3)xubuntu のインストール
>Xenial (16.04) でインストールします。
```bash
cd /media/removable/SD\ Card/
sudo sh ~/Downloads/crouton -r xenial -t xfce -p /media/removable/SD\ Card
1時間以上かかるので、途中で中止して続行もできます。
sudo sh ~/Downloads/crouton -r xenial -t xfce -p /media/removable/SD\ Card -u
4)chroot
sudo sh /media/removable/SD\ Card/bin/enter-chroot
- startxfce4
startxfce4
Bionic (18.04) でインストールを試みると次のようになりました。
Package 'xserver-xorg-video-all' is not installed, so not removed
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xorg : Depends: xserver-xorg (>= 1:7.7+19ubuntu7.1)
xserver-xorg-video-intel : Depends: xorg-video-abi-23
Depends: xserver-xorg-core (>= 2:1.18.99.901)
E: Unable to correct problems, you have held broken packages.
Failed to complete chroot setup.
Unmounting /media/removable/SD Card/chroots/bionic...
Sending SIGTERM to processes under /media/removable/SD Card/chroots/bionic...
サポートしているOSバージョンの確認方法
$ sudo sh ~/Downloads/crouton -r list
sh: 0: /home/chronos/user/Downloads/crouton: warning: script from noexec mount; see https://chromium.googlesource.com/chromiumos/docs/+/master/security/noexec_shell_scripts.md
Downloading latest crouton installer...
################################################################################################################### 100.0%################################################################################################################### 100.0%
Recognized debian releases:
potato! woody! sarge! etch! lenny! squeeze! wheezy! jessie stretch buster
bullseye 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*
Releases marked with ! are upstream end-of-life, and should be avoided.
Releases marked with * are unsupported, but may work with some effort
ソフトの追加インストール
次のソフトを追加でインストールしました。
sudo apt install ssh
sudo apt install git
sudo apt install curl