


IdeaPad Duet Chromebookにcroutonをインストールしたので、実際にUbuntuをインストールしてみました。
- shellの起動
- インストールできるLinuxの確認
- xenial(16.04 LTS)のインストール
- ユーザ作成とパスワードの設定
- Ubuntu起動
Chromeを起動して[Ctrl]+[Alt]+[T]でcroshを起動、root権限で動作するshellを起動します。
利用できるLinuxディストリビューションの確認です。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
chronos@localhost / $ sudo crouton -r list 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* focal* Releases marked with ! are upstream end-of-life, and should be avoided. Releases marked with * are unsupported, but may work with some effort. |
debianだとjessie(Debian 8), stretch(Debian 9), buster(Debian 10), bullseye(Debian 11), sid(unstable)と最近のディストリビューションが利用できるのですが、Ubuntuではxenial(16.04 LTS)だけが!,*マークが無いディストリビューションになります。
これCPUが関係しているんでしょうか?
Intelだったらもっと沢山のディストリビューションが利用できるのか知りたいところです。
croutonで-r RELEASEを省略するとデフォルトでxenialがインストールされます。
-t TARGETSで必要な環境を指定します。また-n NAMEではchrootの名前を指定できますが、省略するとRELEASE名になります。
試しに下記のオプションでインストールしてみました。
1 2 3 4 5 6 7 8 9 10 |
chronos@localhost / $ sudo crouton -t audio,gnome-desktop,keyboard,touch,extension Installing xenial-arm64 chroot to /usr/local/chroots/xenial Downloading bootstrap files... W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-keyring.gpg I: Retrieving InRelease I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... (以下インストールが続きます) |
インストール途中でユーザ名とパスワードの入力を求められます。これはLinuxにログインするユーザ作成になります。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
Removing xtrans-dev (1.3.5-1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.23-0ubuntu11.2) ... Please specify a username for the primary user: linuxuser Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Here's some tips: Audio from the chroot will now be forwarded to CRAS (Chromium OS audio server), through an ALSA plugin. Future Chromium OS upgrades may break compatibility with the installed version of CRAS. Should this happen, simply update your chroot. You can flip through your running chroot desktops and Chromium OS by hitting Ctrl+Alt+Shift+Back and Ctrl+Alt+Shift+Forward. You can start GNOME via the startgnome host command: sudo startgnome You must install the Chromium OS extension for integration with crouton to work. The extension is available here: https://goo.gl/OVQOEt Unmounting /mnt/stateful_partition/crouton/chroots/xenial... Done! You can enter the chroot using enter-chroot. |
インストールが完了しました。
chroot desktopとChrome OSの切り替えは[Ctrl]+[Alt]+[Shift]+[Back] と [Ctrl]+[Alt]+[Shift]+[Forward]
Chrome integrationをインストールしなさいと。
gnome-desktop環境でインストールしたので起動スクリプトstartgnomeが作成されています。
1 2 |
chronos@localhost / $ sudo startgnome Entering /mnt/stateful_partition/crouton/chroots/xenial... |
全画面で起動してきましたがディスプレイの自動認識が縦になっていました。
マウスカーソルも画面真ん中あたりをウロチョロしているだけで思うように動かせません。
幸にもタッチパネルは認識していたのでそこからディスプレイの設定を横向きに変更してそれらしくなりました。
[Ctrl]+[Alt]+[Shift]+[Back] と [Ctrl]+[Alt]+[Shift]+[Forward]も試しましたが性能が貧弱だからなのか、切り替わりませんでした。暫く待ってれば切り替わったのかな。
何れにしろサクサク動くLinuxには程遠い感じです。
Ubuntuを終了した時のコンソールメッセージも載せておきます。
何か色々とエラーが表示されてるな。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
chronos@localhost / $ sudo startgnome Entering /mnt/stateful_partition/crouton/chroots/xenial... X.Org X Server 1.19.6 Release Date: 2017-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.15.0-124-generic aarch64 Ubuntu Current Operating System: Linux localhost 4.19.166-10982-g7b4adc7ea88e #1 SMP PREEMPT Fri Mar 5 05:24:53 PST 2021 aarch64 Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 4710400 verity payload=PARTUUID=34b2e0fc-8635-4411-a94a-d947591199a4/PARTNROFF=1 hashtree=PARTUUID=34b2e0fc-8635-4411-a94a-d947591199a4/PARTNROFF=1 hashstart=4710400 alg=sha256 root_hexdigest=40605096c0a2d7436bd997031db8f0caf96e4be873f8032618dc6973129101cd salt=952e928dc6049645b89c1cf4180ba5b293cd09d8ace38a214de21002e849b8a3" noinitrd vt.global_cursor_default=0 kern_guid=34b2e0fc-8635-4411-a94a-d947591199a4 cpuidle.governor=teo Build Date: 30 November 2020 07:47:41PM xorg-server 2:1.19.6-1ubuntu4.1~16.04.5 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sat Mar 13 17:51:09 2021 (==) Using system config directory "/usr/share/X11/xorg.conf.d" Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files method return time=1615625469.846103 sender=:1.33 -> destination=:1.188 serial=7405 reply_serial=2 boolean true gbm: failed to open any driver (search paths /usr/lib/aarch64-linux-gnu/dri:${ORIGIN}/dri:/usr/lib/dri) gbm: Last dlopen error: /usr/lib/dri/mediatek_dri.so: cannot open shared object file: No such file or directory failed to load driver: mediatek EGL_MESA_drm_image required. crouton: version 1-20200724165050~master:08dac970 release: xenial architecture: arm64 xmethod: xorg targets: audio,gnome-desktop,keyboard,touch,extension host: version 13729.45.0 (Official Build) stable-channel kukui kernel: Linux localhost 4.19.166-10982-g7b4adc7ea88e #1 SMP PREEMPT Fri Mar 5 05:24:53 PST 2021 aarch64 aarch64 aarch64 GNU/Linux freon: yes Timeout waiting for extension to connect. Cannot open /sys/class/tty/tty0/active: No such file or directory croutonwebsocket error: Error: not connected.hexdump: /dev/input/event6: No such device hexdump: /dev/input/event7: No such device (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 (EE) Google Inc. Hammer: Read error 19 Running exit commands... /usr/bin/xinit: connection to X server lost waiting for X server to shut down Hangup Hangup Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files method return time=1615626011.900770 sender=:1.33 -> destination=:1.217 serial=7438 reply_serial=2 boolean true (II) Server terminated successfully (0). Closing log file. Unmounting /mnt/stateful_partition/crouton/chroots/xenial... Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/xenial... |