Asus C434 に GalliumOS をインストールしたのですが、再起動時に ctrl + L が使えず、GalliumOS を使えないという状態になりました。
そこで、chroot を使って GalliumOS を使うという手を試してみました。
次のページを参考にしました。
ChromebookのデュアルブートでGalliumOSが立ち上がらなくなった時の対処
-
bash を起動します。
-
sudo bash でルートになります。
mkdir /tmp/a
GALLIUMOS_ROOT=/dev/mmcblk0p7
mount $GALLIUMOS_ROOT /tmp/a
mount -o bind /proc /tmp/a/proc
mount -o bind /dev /tmp/a/dev
mount -o bind /dev/pts /tmp/a/dev/pts
mount -o bind /sys /tmp/a/sys
mount -o bind /run /tmp/a/run
chroot /tmp/a /bin/bash
- cat /etc/os-release の結果です。
root@localhost:~# cat /etc/os-release
NAME="GalliumOS"
VERSION="3.0 (Bismuth)"
ID=galliumos
ID_LIKE="ubuntu debian"
PRETTY_NAME="GalliumOS 3.0"
VERSION_ID="3.0"
HOME_URL="https://galliumos.org/"
SUPPORT_URL="https://galliumos.org/"
BUG_REPORT_URL="https://https://github.com/GalliumOS/galliumos-distro/issues"
VERSION_CODENAME=bismuth
UBUNTU_CODENAME=bionic
root@localhost:~#
- ネットワークも使えます。
root@localhost:~# ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=52 time=17.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=52 time=16.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=52 time=19.5 ms
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 16.522/17.878/19.512/1.245 ms
root@localhost:~#
- DNS が使えないので、IP を直撃ちすれば、ssh も使えます。