Kodi Community Forum
Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] (/showthread.php?tid=194362)

Pages: 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 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/29] - Matt Devo - 2015-04-20

(2015-04-19, 17:43)Twixs Wrote: I'm having some serious trouble with this and I think I done messed up pretty badly and am pleading for help!~

I was following the instructions line by line...when I finally got to the install Kodi screen for a single boot Asus Chromebox. When I hit enter on Run Installer, however, it just kicked me back to the select boot screen or somewhere before that. This is where things started unraveling. Since it kept doing that, I figured I'd try the update firmware option on the script...except I hit the wrong one. I went with the dual boot one. Once that was done installing I couldn't get back to the command prompt to try anything else. There would be 2 or 3 black lines on top of the recovery screen saying something about SeaBIOS (I think) and being read only.

Then I read that you can get into the command prompt through the browser...so I tried some of that and got to do the standalone firmware update, I think I might have messed with the settings somehow because now I can't even get to the recovery screen. It just goes straight to booting from the HDD unless I have a USB drive in which case it asks me which to boot. I can't even get to the recovery screen if I push the recovery button with a paperclip.

I've installed the ChromeOS recovery image on a thumb drive and if I try to boot from it, it basically crashes to a long line of file executions and the word "panic" every so often. If I let it boot to the HDD, ChromeOS starts to load it but then it gets in an infinite loop of restarts before ChromeOS fully boots.

The furthest I've gotten with ChromeOS booting on it's own recently was after inputting my google username/password. It just sat there for 15 minutes 'thinking' about what to do next.

The SeaBIOS string I have is rel-1.8.0-11-g647b459-20150226

Have I destroyed my box? Any help would be much much appreciated as my new home theater is going to pretty much revolve around this setup.

If there's any other information I need to provide let me know, I think I got all of it from the front page...

Jesus, you're lucky the thing boots at all honestly. When it comes to firmware, it's really best not to go off-book when things don't work as expected - that's how you end up with a bricked device.

let's start fresh - power on the device with the recovery button depressed, then insert the recovery media and let it do it's thing. Then, follow the instructions from the step where you download/run the script for whichever setup you want (standalone or dual boot).

(2015-04-19, 18:12)jwegman Wrote: Good day Matt,

Just some feedback In the event that no one else has mentioned this; when running on the new Pixel 2015 (Broadwell), the script will automatically flash a Legacy BIOS despite this device already having one. Although I didn't leave that new Legacy BIOS in place for long, I don't think it worked correctly on the Pixel 2015...

google@pixel:~$ sudo dmidecode | grep -m1 "Product Name:" | awk '{print $3}'
Samus

By the by, the Pixel 2015 LS makes a fairly decent Kodi box Smile

Regards,
Jake

Jake, I hadn't put in a specific case for the 2015 Pixel so it was defaulting to the Haswell Chromebook legacy bios. It will be added in the next script update.

(2015-04-20, 00:11)HarryMohan Wrote: Matt, thank you. I tried your suggestion again, this time it worked. THANK YOU....Am i limited to skins or any skin would work?

put on the most graphically/resource intensive skin you can find - the ChromeBox will handle it without issue.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/29] - Twixs - 2015-04-20

(2015-04-20, 05:02)Matt Devo Wrote:
(2015-04-19, 17:43)Twixs Wrote: I'm having some serious trouble with this and I think I done messed up pretty badly and am pleading for help!~

I was following the instructions line by line...when I finally got to the install Kodi screen for a single boot Asus Chromebox. When I hit enter on Run Installer, however, it just kicked me back to the select boot screen or somewhere before that. This is where things started unraveling. Since it kept doing that, I figured I'd try the update firmware option on the script...except I hit the wrong one. I went with the dual boot one. Once that was done installing I couldn't get back to the command prompt to try anything else. There would be 2 or 3 black lines on top of the recovery screen saying something about SeaBIOS (I think) and being read only.

Then I read that you can get into the command prompt through the browser...so I tried some of that and got to do the standalone firmware update, I think I might have messed with the settings somehow because now I can't even get to the recovery screen. It just goes straight to booting from the HDD unless I have a USB drive in which case it asks me which to boot. I can't even get to the recovery screen if I push the recovery button with a paperclip.

I've installed the ChromeOS recovery image on a thumb drive and if I try to boot from it, it basically crashes to a long line of file executions and the word "panic" every so often. If I let it boot to the HDD, ChromeOS starts to load it but then it gets in an infinite loop of restarts before ChromeOS fully boots.

The furthest I've gotten with ChromeOS booting on it's own recently was after inputting my google username/password. It just sat there for 15 minutes 'thinking' about what to do next.

The SeaBIOS string I have is rel-1.8.0-11-g647b459-20150226

Have I destroyed my box? Any help would be much much appreciated as my new home theater is going to pretty much revolve around this setup.

If there's any other information I need to provide let me know, I think I got all of it from the front page...

Jesus, you're lucky the thing boots at all honestly. When it comes to firmware, it's really best not to go off-book when things don't work as expected - that's how you end up with a bricked device.

let's start fresh - power on the device with the recovery button depressed, then insert the recovery media and let it do it's thing. Then, follow the instructions from the step where you download/run the script for whichever setup you want (standalone or dual boot).

The recovery button doesn't even do anything anymore. By the time anything is even displayed on the screen it either says press escape for boot menu (with USB media attached) or "Booting the Kernel" or something. It's not even getting to ChromeOS anymore. Just the Chrome screen then reboots itself infinitely. Sad

I think I've learned an expensive lesson.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/29] - Matt Devo - 2015-04-20

(2015-04-20, 06:05)Twixs Wrote: The recovery button doesn't even do anything anymore. By the time anything is even displayed on the screen it either says press escape for boot menu (with USB media attached) or "Booting the Kernel" or something. It's not even getting to ChromeOS anymore. Just the Chrome screen then reboots itself infinitely. Sad

I think I've learned an expensive lesson.

Then you managed to successfully flash the standalone firmware, and all you need now is to install an OS (eg, OpenELEC) from USB


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/29] - nickr - 2015-04-20

I have been following this thread out of interest. Chromeboxes are $300 here and some people are even trying to flog them on a local auction site for $400.

However I just found two "barely used" Asus's for $220 each, so now I am here out of more than "interest". Wooohoo.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/29] - Gloucester - 2015-04-20

First of all, thanks for the fantastic guide - set up my ASUS Chromebox with OpenElec/Kodi last night in under half an hour! Just have one question on WOL functionality that may be useful to others as well.

I have an external USB HDD where I plan to store my media. That disk is shared on the network, and is getting accessed by a Sickbeard instance which writes to it when new content becomes available. Is it possible to leave the Chromebox in Sleep mode, and have the other computer wake it up when files need to get copied? I naively assumed this is straightforward to do using Wake on LAN, but no luck so far. Any ideas?

PS Wake-on LAN works fine from the mobile app.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/29] - Matt Devo - 2015-04-20

(2015-04-20, 06:40)nickr Wrote: I have been following this thread out of interest. Chromeboxes are $300 here and some people are even trying to flog them on a local auction site for $400.

However I just found two "barely used" Asus's for $220 each, so now I am here out of more than "interest". Wooohoo.

hi

(2015-04-20, 07:47)Gloucester Wrote: First of all, thanks for the fantastic guide - set up my ASUS Chromebox with OpenElec/Kodi last night in under half an hour! Just have one question on WOL functionality that may be useful to others as well.

I have an external USB HDD where I plan to store my media. That disk is shared on the network, and is getting accessed by a Sickbeard instance which writes to it when new content becomes available. Is it possible to leave the Chromebox in Suspend mode, and have the network share wake it up when files need to get copied? I naively assumed this is straightforward to do using Wake on LAN, but no luck so far. Any ideas?

PS Wake-on LAN works fine from the mobile app.

simply accessing a network share doesn't send a WoL packet - it needs to be explicitly sent from whatever program needs access to the network share. A better way IMO is to have the external USB HDD connected to a machine that's always on (or your router, if supported) and have the ChromeBox/Kodi access the network share.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - Gloucester - 2015-04-20

(2015-04-20, 08:51)Matt Devo Wrote: simply accessing a network share doesn't send a WoL packet - it needs to be explicitly sent from whatever program needs access to the network share. A better way IMO is to have the external USB HDD connected to a machine that's always on (or your router, if supported) and have the ChromeBox/Kodi access the network share.

Thanks for the reply. Unfortunately, my router is Airport Extreme, which is limited in terms of file systems that it supports for disk sharing: FAT16/32 and HFS+, none of which are ideal for sharing large video files. Digging around the Internet, I saw that wol on Chromebox should be possible to setup so it wakes on any package arriving:

http://www.asus.com/support/FAQ/1006299

Would this work?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - Gloucester - 2015-04-20

I have now had a chance to play around with ethtool a bit, and it seems that I have stumbled upon the solution. Setting the ethtool parameter to u (any unicast package) as opposed to g (magic package only), will wake up OpenElec whenever any machine tries to access it directly:

ethool -s eth0 wol u

Combined with the Kodi sleep timer to ensure the machine goes back to sleep, this does exactly what I need.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - rodalpho - 2015-04-20

In case anyone's wondering, I had no problems upgrading my single-boot asus chromebox from ubuntu 14.10 to the 15.04 RC. Worked fine.

Note this was straight-up vanilla Ubuntu, not Kodibuntu.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - chromebox_newb - 2015-04-21

Hi All,

Just got my Asus Chromebox, and wanted to try the Openelec/Chrome OS dual boot set up. I've read many instruction but I can't seem to get into Develop Mode. I know I need to use a paperclip, hold the recovery switch, press the power button. I get the "chrome os is missing or damaged.... " screen. Pressing "control d" does nothing! I've tried with a wired and wireless keyboard. I know it detects the keyboard because I can switch between different languages. Any help will be appreciated here..

Thanks!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - Matt Devo - 2015-04-21

(2015-04-21, 04:40)chromebox_newb Wrote: Hi All,

Just got my Asus Chromebox, and wanted to try the Openelec/Chrome OS dual boot set up. I've read many instruction but I can't seem to get into Develop Mode. I know I need to use a paperclip, hold the recovery switch, press the power button. I get the "chrome os is missing or damaged.... " screen. Pressing "control d" does nothing! I've tried with a wired and wireless keyboard. I know it detects the keyboard because I can switch between different languages. Any help will be appreciated here..

Thanks!

the problem is your keyboard. The fact that you can switch languages doesn't mean anything - the OS is fully loaded at that point (drivers initialized, etc) whereas the recovery screen is a function of the firmware (BIOS), and only does limited peripheral init.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - chromebox_newb - 2015-04-21

(2015-04-21, 04:43)Matt Devo Wrote:
(2015-04-21, 04:40)chromebox_newb Wrote: Hi All,

Just got my Asus Chromebox, and wanted to try the Openelec/Chrome OS dual boot set up. I've read many instruction but I can't seem to get into Develop Mode. I know I need to use a paperclip, hold the recovery switch, press the power button. I get the "chrome os is missing or damaged.... " screen. Pressing "control d" does nothing! I've tried with a wired and wireless keyboard. I know it detects the keyboard because I can switch between different languages. Any help will be appreciated here..

Thanks!

the problem is your keyboard. The fact that you can switch languages doesn't mean anything - the OS is fully loaded at that point (drivers initialized, etc) whereas the recovery screen is a function of the firmware (BIOS), and only does limited peripheral init.

I can switch languages in the recovery screen. If you press the keyboard arrow left and right in the recovery screen the "chrome os is missing or damaged..." message changes languages. This is why I can't understand why the control d isn't working.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - Matt Devo - 2015-04-21

(2015-04-21, 04:49)chromebox_newb Wrote: I can switch languages in the recovery screen. If you press the keyboard arrow left and right in the recovery screen the "chrome os is missing or damaged..." message changes languages. This is why I can't understand why the control d isn't working.

I got nothing then, never seen that before


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - kosta88 - 2015-04-21

Hello,
Just started the procedure and decided to go with the custom coreboot firmware.
Did the steps of removing the screw and entering developer mode. Then booted into ChromeOS and went to cmd..
Plugged in a usb stick into one of the ports...
So, pressed 5, enter...y... and it simply returned to the choice menu.
And now it's sitting here dumb and doing nothing.
I tried 5 enter again, shown me nothing.

I am afraid to reboot, not sure what will happen.

This is ASUS Chromebox, Celeron CPU.

Please help!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.17 - 2015/04/20] - Matt Devo - 2015-04-21

(2015-04-21, 19:50)kosta88 Wrote: Hello,
Just started the procedure and decided to go with the custom coreboot firmware.
Did the steps of removing the screw and entering developer mode. Then booted into ChromeOS and went to cmd..
Plugged in a usb stick into one of the ports...
So, pressed 5, enter...y... and it simply returned to the choice menu.
And now it's sitting here dumb and doing nothing.
I tried 5 enter again, shown me nothing.

I am afraid to reboot, not sure what will happen.

This is ASUS Chromebox, Celeron CPU.

Please help!

did you use the numeric pad on your keyboard? If so, num lock isn't on by default, so you didn't hit 5, you just entered garbage. quit and restart the script and use the main number keys