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-13

(2015-04-13, 05:21)Leclair Wrote: Is the keyboard issue only for wireless keyboards or wired as well?

I wrote the OpenElec image to my SD card. When I put it in the Chromebox and turn the power on, it automatically brings me to the OpenElec Boot screen without pressing ESC. It asks to 1) run installer or 2) run live. I can't select anything on this screen. I've tried 2 wireless keyboards and 1 wired now, without any luck.

I'm assuming it's the keyboard, but just wanted to confirm before I go buy another one to test.


Thanks.

I've never seen the issue where a keyboard doesn't work in the OpenELEC installer. What model keyboards have you tried? For the wireless ones, if they have a power switch, have you tried toggling it off/on?


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

I'm experiencing an issue with my HP Chromebox (dual boot ChromeOS and OpenElec) where the portable hard drive (1TB Samsung M3) frequently disconnects when I try to copy new files to it, either in the Kodi file manager or via my phone or PC. This doesn't happen in normal use, e.g. reading files, only when writing. I'd say > 80% it will lose connection to the hard drive and require a restart. It's not a problem I've had when using the hard drive with my PC, but I couldn't rule out a fault with the hard drive itself. I've tried copying from other USB devices and from the Chomebox's SSD but it makes no difference.

Is this something anyone else has experienced or has a cause for? The only similar thing I've found when searching was someone whose Asus Chromebox was behaving similarly with a 1TB Seagate drive. Their theory was that it was a USB 3.0 issue and that using a USB 2.0 hub remedied the situation.

Has anyone got any thoughts on it? I'd ideally prefer to use USB 3.0, but if downgrading to USB 2.0 is going to fix it I'll guess I'll buy a USB 2.0 hub.


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

(2015-04-13, 06:05)Matt Devo Wrote:
(2015-04-13, 05:21)Leclair Wrote: Is the keyboard issue only for wireless keyboards or wired as well?

I wrote the OpenElec image to my SD card. When I put it in the Chromebox and turn the power on, it automatically brings me to the OpenElec Boot screen without pressing ESC. It asks to 1) run installer or 2) run live. I can't select anything on this screen. I've tried 2 wireless keyboards and 1 wired now, without any luck.

I'm assuming it's the keyboard, but just wanted to confirm before I go buy another one to test.


Thanks.

I've never seen the issue where a keyboard doesn't work in the OpenELEC installer. What model keyboards have you tried? For the wireless ones, if they have a power switch, have you tried toggling it off/on?

I've tried a Logitech K400r (wireless), an HP KBI (wireless), and a Onn HK2026 (cheap wired Walmart keyboard).

I did try toggling the power switch on the Logitech and pressing the "Connect" button on the HP to no avail.

When I originally set up my Chromebox with the dual-boot setup (Chrome OS + OpenElec), I used the HP keyboard and it worked fine.

I was trying to do a factory reset on my Chromebox by flashing the Chrome recovery media, but then realized that was the wrong thing to do.

I was doing all of this because I wanted to redo the dual-boot because I couldn't get into Chrome. I assumed I did something wrong because Ctrl-D wasn't working. Now I'm under the impression it was my keyboard the entire time.

I will be testing 2 more keyboards tonight, a wired Lenovo SK-8825 and a wireless Lenovo KBRF-3971. I will post the results.


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

(2015-04-13, 14:47)Leclair Wrote:
(2015-04-13, 06:05)Matt Devo Wrote:
(2015-04-13, 05:21)Leclair Wrote: Is the keyboard issue only for wireless keyboards or wired as well?

I wrote the OpenElec image to my SD card. When I put it in the Chromebox and turn the power on, it automatically brings me to the OpenElec Boot screen without pressing ESC. It asks to 1) run installer or 2) run live. I can't select anything on this screen. I've tried 2 wireless keyboards and 1 wired now, without any luck.

I'm assuming it's the keyboard, but just wanted to confirm before I go buy another one to test.


Thanks.

I've never seen the issue where a keyboard doesn't work in the OpenELEC installer. What model keyboards have you tried? For the wireless ones, if they have a power switch, have you tried toggling it off/on?

I've tried a Logitech K400r (wireless), an HP KBI (wireless), and a Onn HK2026 (cheap wired Walmart keyboard).

I did try toggling the power switch on the Logitech and pressing the "Connect" button on the HP to no avail.

When I originally set up my Chromebox with the dual-boot setup (Chrome OS + OpenElec), I used the HP keyboard and it worked fine.

I was trying to do a factory reset on my Chromebox by flashing the Chrome recovery media, but then realized that was the wrong thing to do.

I was doing all of this because I wanted to redo the dual-boot because I couldn't get into Chrome. I assumed I did something wrong because Ctrl-D wasn't working. Now I'm under the impression it was my keyboard the entire time.

I will be testing 2 more keyboards tonight, a wired Lenovo SK-8825 and a wireless Lenovo KBRF-3971. I will post the results.

I learned my lesson with a wireless keyboard. I bought a cheap $9 wired keyboard and no problems afterwards!


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

Thanks a lot, this worked just fine with my chromebox !! Wink
Just a quick question about coreboot (I installed in standalone mode, steps 5 and 6), is there a way to have it boot automatically upon power ?
I intend to shut it down between 2 usages for current saving and because the other devices on the same multi plug (don't want to have 2) will be powered off (using the plug switch).
I wanted the chromebox to boot auto when I switch on the multi plug.

Thanks and regards


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

(2015-04-13, 15:45)jeffjoker Wrote: Thanks a lot, this worked just fine with my chromebox !! Wink
Just a quick question about coreboot, is there a way to have it boot automatically upon power ?
I intend to shut it down between 2 usages for current saving and because the other devices on the same multi plug (don't want to have 2) will be powered off (using the plug switch).
I wanted the chromebox to boot auto when I switch on the multi plug.

Thanks and regards

you're in luck -- I actually just recently had a customer request this feature for a custom build. I have it working, but still deciding on how to implementi it to make it user selectable. PM me and I'll send you something to test


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

Matt:
Just read this at http://www.extremetech.com/computing/132300-unleash-your-chromebox-how-to-dual-boot-ubuntu-linux-on-your-chrome-os-device/2

"Even though you’ll be in Ubuntu at this point, your device will still boot Chrome OS by default. To change the default boot OS, you can simply issue the command sudo cgpt add -i 6 -P 5 -S 1 /dev/sda to make Ubuntu the default, or sudo cgpt add -i 6 -P 0 -S 1 /dev/sda to make Chrome OS the default"
I guess -P is the partition, and -S the timeout.

Is this still the case? I don't see it mentioned in the wiki. I don't dual boot at this time, but I thought I might take a stab at it on my spare Chromebox. (ChromeOS is very Mom-friendly after all..) Might be a bit safer changing the default boot if you change your mind after the initial firmware flash, than having to reflash the firmware with some other defaults.


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

That's for older ChromeOS devices without the legacy boot option - it's not relevant here. Changing the default boot for Haswell Chromeboxes is just as easy, but requires a different command (and the firmware write protect disabled); I just automate it in my script


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

I have got the following error:

Code:
***Error in check_disks: could not repair filesystem, dropping to debug shell, try to run 'fsck' manually: ***
    ### Starting debugging shell... type exit to quit ###
    sh: can't access tty; job control turned off
    #_

But after attemping to use fsck/dev/sda (6 and 7) as stated on the wiki
It said not found:

Code:
sh; fsck/dev/sda6: not found

Since then I have even tried to do all sda 1 through 16 still without any luck

Is there any way to fix this without doing a fresh install?
And how do I prevent it in the first place (heard something about shutdown/suspend settings but I didn't quite get it)

Thanks in advance


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

Alright, this may have already been asked but...

The overview in the instructions on the wiki list removing the screw (disabling write protect) and then putting it in developer mode. The Matt lists those steps in opposite order. I'm getting my Chromebox today and am trying to be sure I know and understand the procedures before I get started.


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

From wiki:
Quote:System-->Settings-->Videos-->Acceleration: Enable HQ Scalers for scalings above:20%
System-->Settings-->Videos-->Acceleration: Use VC-1 VAAPI:Selected (de-select if you have interlaced VC-1 content)
System-->Settings-->Videos-->Acceleration: Prefer VAAPI render method:Selected
What does 20% for scalings do? Re: VC-1, with latest firmware/OE build, should one still deselect VC-1 VAAPI for 1080i (29.97) VC-1 content?


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

(2015-04-13, 20:09)Byrdi Wrote: But after attemping to use fsck/dev/sda (6 and 7) as stated on the wiki
It said not found:

Code:
sh; fsck/dev/sda6: not found

Since then I have even tried to do all sda 1 through 16 still without any luck

Is there any way to fix this without doing a fresh install?
And how do I prevent it in the first place (heard something about shutdown/suspend settings but I didn't quite get it)

you're missing the space between fsck and /dev/sda[#].
the issue is caused most often by an improper shutdown, it just wants you to run a filesystem check to ensure things are good before booting.


(2015-04-13, 20:13)mpednault Wrote: Alright, this may have already been asked but...

The overview in the instructions on the wiki list removing the screw (disabling write protect) and then putting it in developer mode. The Matt lists those steps in opposite order. I'm getting my Chromebox today and am trying to be sure I know and understand the procedures before I get started.

doesn't make a bit of difference. I've edited the OP to be in sync with the wiki (so, remove the screw first).

(2015-04-13, 20:28)hdmkv Wrote: From wiki:
Quote:System-->Settings-->Videos-->Acceleration: Enable HQ Scalers for scalings above:20%
System-->Settings-->Videos-->Acceleration: Use VC-1 VAAPI:Selected (de-select if you have interlaced VC-1 content)
System-->Settings-->Videos-->Acceleration: Prefer VAAPI render method:Selected
What does 20% for scalings do? Re: VC-1, with latest firmware/OE build, should one still deselect VC-1 VAAPI for 1080i (29.97) VC-1 content?

it means that it will use HQ (CPU intensive) scaling algorithms when going from say 720p to 1080p, but not when say scaling a 1080p file based on video calibration / overscan compensation.

I'm not aware that interlaced VC-1 is fixed, so yes, deselect it still. This may change with Isengard, in which case I'll update the wiki.


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

(2015-04-13, 21:18)Matt Devo Wrote: you're missing the space between fsck and /dev/sda[#].
the issue is caused most often by an improper shutdown, it just wants you to run a filesystem check to ensure things are good before booting.

I feel so stupid. Thanks a lot though.
Also thanks in general for making such an easy way to install OpenELEC on my chromebox.
Keep up the good work.


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

(2015-04-13, 14:47)Leclair Wrote:
(2015-04-13, 06:05)Matt Devo Wrote:
(2015-04-13, 05:21)Leclair Wrote: Is the keyboard issue only for wireless keyboards or wired as well?

I wrote the OpenElec image to my SD card. When I put it in the Chromebox and turn the power on, it automatically brings me to the OpenElec Boot screen without pressing ESC. It asks to 1) run installer or 2) run live. I can't select anything on this screen. I've tried 2 wireless keyboards and 1 wired now, without any luck.

I'm assuming it's the keyboard, but just wanted to confirm before I go buy another one to test.


Thanks.

I've never seen the issue where a keyboard doesn't work in the OpenELEC installer. What model keyboards have you tried? For the wireless ones, if they have a power switch, have you tried toggling it off/on?

I've tried a Logitech K400r (wireless), an HP KBI (wireless), and a Onn HK2026 (cheap wired Walmart keyboard).

I did try toggling the power switch on the Logitech and pressing the "Connect" button on the HP to no avail.

When I originally set up my Chromebox with the dual-boot setup (Chrome OS + OpenElec), I used the HP keyboard and it worked fine.

I was trying to do a factory reset on my Chromebox by flashing the Chrome recovery media, but then realized that was the wrong thing to do.

I was doing all of this because I wanted to redo the dual-boot because I couldn't get into Chrome. I assumed I did something wrong because Ctrl-D wasn't working. Now I'm under the impression it was my keyboard the entire time.

I will be testing 2 more keyboards tonight, a wired Lenovo SK-8825 and a wireless Lenovo KBRF-3971. I will post the results.

Neither of the Lenovo keyboards mentioned above work. So that's 5 keyboards tested so far. And the HP keyboard was previously used to install the dual-boot (ChromeOS + OpenElec) no problem.

Options?


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

(2015-04-14, 01:15)Leclair Wrote: Neither of the Lenovo keyboards mentioned above work. So that's 5 keyboards tested so far. And the HP keyboard was previously used to install the dual-boot (ChromeOS + OpenElec) no problem.

Options?

I'd then guess that another connected USB device (possibly the USB install media) is causing an issue during the USB init/boot device iteration process