LoginSignup
2
0

More than 3 years have passed since last update.

クロムブックで vmc が使えなくなった時の対策

Last updated at Posted at 2020-10-28

クロムブックで canary チャンネルに切り替えたところ、vmc が使えなくなりました。
バージョンは 88.0 です。
chrome_oct29.png

ネットには、次のような情報がありました。
Chromebook(CloudReady)を開発機としてお使いの方々へ: アップデートは控えたほうがいい

次のような状況でした。

crosh> vsh termina
[ERROR:vsh.cc(103)] Failed to get VM info for termina
[ERROR:src/main.rs:184] ERROR: command failed
crosh> vmc start termina
Error: routine at frontends/vmc.rs:238 `vm_start(vm_name,&user_id_hash,features,user_disks)` failed: failed to start lxd: `FAILED`: Starting LXD failed: Failed to connect to LXD daemon: Timed out waiting for LXD to start. Last error was: Get http://unix.socket/1.0: dial unix /mnt/stateful/lxd/unix.socket: connect: no such file or directory
[ERROR:src/main.rs:184] ERROR: command failed

そこで、vmc list とキーインすると次のようになりました。

crosh> vmc list
arch (1463341056 bytes, min shrinkable size 2052063232 bytes, raw, sparse)
termina (8053202944 bytes, min shrinkable size 8053063680 bytes, raw)
Total Size (bytes): 9516544000

arch というのは、切り替え前に使っていたコンテナの名前です。
そこで、vmc start arch とキーインすると、chronos に切り替わりました。

crosh> vmc start arch
(termina) chronos@localhost ~ $

また新たにコンテナをインストールします。

lxc launch images:alpine/edge alpine
2
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
2
0