0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Asus C434 で GalliumOS を使う

Last updated at Posted at 2019-07-16

Asus C434 に GalliumOS をインストールしたのですが、再起動時に ctrl + L が使えず、GalliumOS を使えないという状態になりました。

そこで、chroot を使って GalliumOS を使うという手を試してみました。
次のページを参考にしました。
ChromebookのデュアルブートでGalliumOSが立ち上がらなくなった時の対処

  1. bash を起動します。

  2. 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
  1. 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:~#
  1. ネットワークも使えます。
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:~#
  1. DNS が使えないので、IP を直撃ちすれば、ssh も使えます。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?