Kodi Community Forum

Full Version: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Matt,

I made a post on the steam forums as you suggested, but they have no clue.
http://steamcommunity.com/groups/homestr...812763/#p2

The only other issue I'm having is it won't detect external USB hard drives after restart 50% of the time. I'm starting to wonder if it's firmware related.

Running Ubuntu.


Also, if I switch to Windows 7 will the only real problem be the HDMI audio and having to use the audio jack instead?
I think I can live with that.
I had my first problem with the Chromebox last night. At this point I'm not sure if it's a Kodi problem, OpenElec problem or a hardware problem with the box. It started with a video freeze at two hours into a two hour and fifteen minute movie as the file was no longer caching. I had to do a hard power reboot and OpenElec and Kodi booted up fine. From that point on everything started going crazy. I was getting script errors with YouTube and other video addons. My local content would not play from my server. I reset my router and modem, disconnecting all cables and started over. Same thing. After many lock ups and freezes I encountered an error message upon rebooting with something to the effect of "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 #"


Apparently this means it tried to do an automatic check disk and failed. I found this error in the wiki and it recommended you do the check disk manually as follows:


For a dual-boot setup (which I have)
fsck /dev/sda6 (enter)
fsck /dev/sda7 (enter)


After each one is run you type "reboot" and hit enter. The file system should boot normally.


I tried this several times and sda6 came back clean. sda7 showed having error and I followed the prompts Y/N to try to repair it. I got another message something to the effect of it still having errors and was 0.1% in error or something like that. This time I rebooted through typing that prompt and it booted right into OpenElec and Kodi as usual.


I was able to access my local content again and YouTube appeared to be working. I tried some other addons and it seemed as if the HD hosts were not working and while some files played, I continued to get lockups just trying to access the host.


Any suggestions as to what I should try next?
(2015-03-13, 14:46)Reb313 Wrote: [ -> ]Matt,

I made a post on the steam forums as you suggested, but they have no clue.
http://steamcommunity.com/groups/homestr...812763/#p2

The only other issue I'm having is it won't detect external USB hard drives after restart 50% of the time. I'm starting to wonder if it's firmware related.

Running Ubuntu.

Also, if I switch to Windows 7 will the only real problem be the HDMI audio and having to use the audio jack instead?
I think I can live with that.

yeah sorry I can't be more help, not a steam user.

When you say it doesn't detect the hard drive after restart, do you mean it's not detected at boot (ie, doesn't appear in the boot menu) or not detected by the OS?

You can run Win8.1 but not Win7, and yes HDMI audio is the only glaring issue. But I haven't used it enough to know if any other smaller ones.

(2015-03-13, 15:11)dropzone7 Wrote: [ -> ]Apparently this means it tried to do an automatic check disk and failed. I found this error in the wiki and it recommended you do the check disk manually as follows:


For a dual-boot setup (which I have)
fsck /dev/sda6 (enter)
fsck /dev/sda7 (enter)


After each one is run you type "reboot" and hit enter. The file system should boot normally.


I tried this several times and sda6 came back clean. sda7 showed having error and I followed the prompts Y/N to try to repair it. I got another message something to the effect of it still having errors and was 0.1% in error or something like that. This time I rebooted through typing that prompt and it booted right into OpenElec and Kodi as usual.


I was able to access my local content again and YouTube appeared to be working. I tried some other addons and it seemed as if the HD hosts were not working and while some files played, I continued to get lockups just trying to access the host.


Any suggestions as to what I should try next?

you reboot after running the fsck on both partitions, not after each one. Too many variables when streaming from internet sources to say if it's at all related, and I'm guessing whatever add-ons you are using are not for legal content, so really can't help there. I'd probably reload OE (redo 2nd part of dual boot setup) and start fresh
(2015-03-13, 18:38)Matt Devo Wrote: [ -> ]
(2015-03-13, 14:46)Reb313 Wrote: [ -> ]Matt,

I made a post on the steam forums as you suggested, but they have no clue.
http://steamcommunity.com/groups/homestr...812763/#p2

The only other issue I'm having is it won't detect external USB hard drives after restart 50% of the time. I'm starting to wonder if it's firmware related.

Running Ubuntu.

Also, if I switch to Windows 7 will the only real problem be the HDMI audio and having to use the audio jack instead?
I think I can live with that.

yeah sorry I can't be more help, not a steam user.

When you say it doesn't detect the hard drive after restart, do you mean it's not detected at boot (ie, doesn't appear in the boot menu) or not detected by the OS?

You can run Win8.1 but not Win7, and yes HDMI audio is the only glaring issue. But I haven't used it enough to know if any other smaller ones.

(2015-03-13, 15:11)dropzone7 Wrote: [ -> ]Apparently this means it tried to do an automatic check disk and failed. I found this error in the wiki and it recommended you do the check disk manually as follows:


For a dual-boot setup (which I have)
fsck /dev/sda6 (enter)
fsck /dev/sda7 (enter)


After each one is run you type "reboot" and hit enter. The file system should boot normally.


I tried this several times and sda6 came back clean. sda7 showed having error and I followed the prompts Y/N to try to repair it. I got another message something to the effect of it still having errors and was 0.1% in error or something like that. This time I rebooted through typing that prompt and it booted right into OpenElec and Kodi as usual.


I was able to access my local content again and YouTube appeared to be working. I tried some other addons and it seemed as if the HD hosts were not working and while some files played, I continued to get lockups just trying to access the host.


Any suggestions as to what I should try next?

you reboot after running the fsck on both partitions, not after each one. Too many variables when streaming from internet sources to say if it's at all related, and I'm guessing whatever add-ons you are using are not for legal content, so really can't help there. I'd probably reload OE (redo 2nd part of dual boot setup) and start fresh

Any reason why Windows 7 won't work?
Please help! I have an ASUS Chromebox M004U. I followed the steps and was getting the "Booting from Hard Disk..." message.. Then I read in the troubleshooting section that I missed the Factory Reset. So I burned the image using the Chrome Recovery Utility, and successfully performed the Factory Reset using the media I created. However, after a reboot I'm still stuck on the black load screen.. here's what it says..

Quote:Booting from Hard Disk...
early console in decompress_kernel
KASLR using RDRAND...

Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel.
[0.257354] [drm:i915_write32] *ERROR* Unknown unclaimed register before writing to a090
[0.949654] usb 1-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409
[0.973186] atkbd serio0: probe failed
[1.028559] atkbd serio1: probe failed

And then it just hangs there.. I've tried the factory reset 3 times already with different media. What am I doing wrong?

I am attempting the dual boot setup, OpenELEC/Chrome



UPDATE: I was able to get it working finally... Was able to do a CTRL+D to get back into Chrome, then do the resinstall. Now that the Factory Reset had been complete its working fine.
(2015-03-13, 19:59)Reb313 Wrote: [ -> ]Any reason why Windows 7 won't work?

because it requires a lot more ACPI workarounds in firmware that Win8, and nobody is interested in spending the time/effort to make it work

(2015-03-13, 20:26)nulllvalue Wrote: [ -> ]Please help! I have an ASUS Chromebox M004U. I followed the steps and was getting the "Booting from Hard Disk..." message.. Then I read in the troubleshooting section that I missed the Factory Reset. So I burned the image using the Chrome Recovery Utility, and successfully performed the Factory Reset using the media I created. However, after a reboot I'm still stuck on the black load screen.. here's what it says..

[snip]

And then it just hangs there.. I've tried the factory reset 3 times already with different media. What am I doing wrong?

I am attempting the dual boot setup, OpenELEC/Chrome

and what did you do after the factory reset? As explained in the wiki, the factory reset completely erases/re-images the hard drive. So now you have to redo the dual-boot setup, following the steps in the correct order.
(2015-03-13, 22:29)Matt Devo Wrote: [ -> ]
(2015-03-13, 19:59)Reb313 Wrote: [ -> ]Any reason why Windows 7 won't work?

because it requires a lot more ACPI workarounds in firmware that Win8, and nobody is interested in spending the time/effort to make it work

(2015-03-13, 20:26)nulllvalue Wrote: [ -> ]Please help! I have an ASUS Chromebox M004U. I followed the steps and was getting the "Booting from Hard Disk..." message.. Then I read in the troubleshooting section that I missed the Factory Reset. So I burned the image using the Chrome Recovery Utility, and successfully performed the Factory Reset using the media I created. However, after a reboot I'm still stuck on the black load screen.. here's what it says..

[snip]

And then it just hangs there.. I've tried the factory reset 3 times already with different media. What am I doing wrong?

I am attempting the dual boot setup, OpenELEC/Chrome

and what did you do after the factory reset? As explained in the wiki, the factory reset completely erases/re-images the hard drive. So now you have to redo the dual-boot setup, following the steps in the correct order.

Makes sense.

I'm gonna try out Windows 8 and I'll let you know if that fixes the streaming issue. If it does, we'll know it's an Ubuntu problem.
What driver do I need to make the analog port work on Windows 8?

Also, any way to make Windows 8 not take up the entire hard drive?
(2015-03-14, 20:34)Reb313 Wrote: [ -> ]What driver do I need to make the analog port work on Windows 8?

Also, any way to make Windows 8 not take up the entire hard drive?

questions for the 'Windows on a ChromeBox' thread for sure
update, steam streaming works perfectly from Windows 8.1

Not sure why it jacks up so bad in Ubuntu.
(2015-03-14, 22:42)Reb313 Wrote: [ -> ]update, steam streaming works perfectly from Windows 8.1

Not sure why it jacks up so bad in Ubuntu.

there are lots of possible reasons (drivers, kernel, Steam itself), none of which have anything to do with my script or firmware Smile You could always try it with SteamOS I suppose
Matt,
I know this isn't specifically a thread for install on Chromebooks. I was having trouble with the install today since I was unable to boot from legacy device (CTRL-L) once everything was complete. I finally saw that by default on the ACER C720 chromebook that booting from the legacy bios is disabled by default. The following had to be run from command
Code:
sudo crossystem dev_boot_legacy=1
Do you think it is proper to add warning to the first post? I finally found it on the following page: http://www.chromium.org/chromium-os/deve...chromebook
(2015-03-15, 00:22)ardsavac Wrote: [ -> ]Matt,
I know this isn't specifically a thread for install on Chromebooks. I was having trouble with the install today since I was unable to boot from legacy device (CTRL-L) once everything was complete. I finally saw that by default on the ACER C720 chromebook that booting from the legacy bios is disabled by default. The following had to be run from command
Code:
sudo crossystem dev_boot_legacy=1
Do you think it is proper to add warning to the first post? I finally found it on the following page: http://www.chromium.org/chromium-os/deve...chromebook

my script automatically enables the legacy boot mode via that command as part of updating the legacy BIOS (for ChromeBooks as well as ChromeBoxes), which is done automatically during a dual boot setup, so I don't see a need to mention it specifically.
Anybody running retroarch on their chromebox with oe+kodi?

I have SNES emulating great, pcsx_rearmed goes through startup, and lets me select "New Game"... then crashes after the intros... done this on both games i've tried (FF7 and FF9).
(2015-03-15, 17:03)Travisc Wrote: [ -> ]Anybody running retroarch on their chromebox with oe+kodi?

I have SNES emulating great, pcsx_rearmed goes through startup, and lets me select "New Game"... then crashes after the intros... done this on both games i've tried (FF7 and FF9).
Is there a for-dummies guide to installing retroarch and stuff on Kodi? I've got a lot of old emulator stuff I'd love to use on the Chromebox but the guides I've seen, are not easy enough to grasp with so little spare time..
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