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) [2015/06/04] - furii - 2015-06-10

(2015-06-10, 16:12)Matt Devo Wrote:
(2015-06-10, 14:18)sd26 Wrote: Hi

I have updated the firmware on my Asus Chromebox to 20150604 and have lost wired networking. The box takes 5 minutes + to get to the bios screen and boots with no wired network. Is there a way to downgrade or reinstall the firmware(if you think that will help)? I am running Openelec 5.95.1.

Cheers

hmmm, since you're the 2nd person to report this, it would appear to not be a fluke, though I can't reproduce it myself on any of the boxes I have here. You can always boot a Linux live USB and re-run the script to re-flash the firmware and see if that helps. I'll look into the issue some more.

potentially the third. roor's post seems like it could be experiencing the same. i wish i could remember which firmware i was upgrading from so you'd could at least have that to go off of.

@sd26 were you also upgrading from a firmware without the unique mac address saved?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/04] - Matt Devo - 2015-06-10

(2015-06-10, 16:36)furii Wrote: potentially the third. roor's post seems like it could be experiencing the same. i wish i could remember which firmware i was upgrading from so you'd could at least have that to go off of.

@sd26 were you also upgrading from a firmware without the unique mac address saved?

roor started with stock firmware, but hard to tell what happened after that. But there's nothing fancy about the MAC address assignment - it simply checks for the VPD (vital product data) from the stock firmware, and if that doesn't exist, uses a default value. There's nothing that would cause the ethernet connection to stop working due to the lack of the VPD.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/04] - wallympls - 2015-06-10

(2015-06-09, 20:35)Matt Devo Wrote:
(2015-06-09, 20:13)Matt Devo Wrote:
(2015-06-09, 20:02)wallympls Wrote: Hi Devo.

Actually I am one step ahead of you and did re-run the dual boot setup. I am using the stable OE.

what size partition did you set?

I just reset my system and did the dual boot setup with OE stable (5.0.8) and a 6gb partition and had no issues. If there's an error at any point it should be reported on the screen - are you not seeing anything like that during the install?

Hi Devo,
I set it for 8. Installed Chrome/OpenElec. Kernal not found. Should I take it out of developer mode after installation?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/04] - Matt Devo - 2015-06-10

(2015-06-10, 18:06)wallympls Wrote:
(2015-06-09, 20:35)Matt Devo Wrote: I just reset my system and did the dual boot setup with OE stable (5.0.8) and a 6gb partition and had no issues. If there's an error at any point it should be reported on the screen - are you not seeing anything like that during the install?

Hi Devo,
I set it for 8. Installed Chrome/OpenElec. Kernal not found. Should I take it out of developer mode after installation?

do a factory reset with the recovery media, then redo the OE dual boot setup. I'm guessing you did the OE dual boot setup after having done a Ubuntu one, which could cause this issue since the OE system partition wouldn't exist/be the correct size.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/04] - wallympls - 2015-06-10

Thanks, I will give it a shot and report back.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/04] - Digi8 - 2015-06-10

(2015-06-10, 16:12)Matt Devo Wrote:
(2015-06-10, 08:35)Digi8 Wrote: How do I enable developer mode without wiping my data? Also, I haven't changed anything since the last time I was able to dual boot.

you don't, but I'm only speculating that's the issue, and it's possible you or someone else hit [space] to exit developer mode without realizing it (which I've now tweaked the script to prevent). I suppose you could always log into ChromeOS, open a browser window, and hit [CTRL-T]. If you're still in developer mode, that should give you a limited terminal, if not, it won't, and you'll need to re-enable it.

Thanks for the help. When I log into ChromeOS, open a browser window and hit [CTRL-T], it opens a new tab. If I hit [CTRL-ALT-T], it opens up crosh but it doesn't recognize the "SHELL" command. Does this mean I'm in developer mode? If only I could get to the EZ setup and change the boot option.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/04] - Matt Devo - 2015-06-10

(2015-06-10, 20:09)Digi8 Wrote: Thanks for the help. When I log into ChromeOS, open a browser window and hit [CTRL-T], it opens a new tab. If I hit [CTRL-ALT-T], it opens up crosh but it doesn't recognize the "SHELL" command. Does this mean I'm in developer mode? If only I could get to the EZ setup and change the boot option.

then you're not in developer mode


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/04] - dumb1 - 2015-06-11

DocG thank you so much for the help that got it. I'll do a better job of searching next time rookie mistake!

(2015-06-05, 00:56)DocG Wrote:
(2015-06-05, 00:13)dumb1 Wrote: Hello,
First post. I tried searching but can't seem to find any topics on my issue. Installed openelec and kodi on a Asus Chromebox in a dual boot configuration. Love the setup but out of nowhere I booted the Chromebox up and get this message. "Error in check_disks: could not repair filesystem, dropping to debugging shell, try to run fsck manually Starting debugging shell... type exit to quit ### can't access tty: job control turned off." Can someone please help me repair my openelec install? I do not know linux hence the username I chose. Weird thing is i can boot to Chrome OS with no problems so somethings has to be wrong with the Openelec partition. Also not sure if this is related or not but we did have a power surge a few nights ago I don't know if that is coincidence or what. I don't know how to run that fsck command either.

Please Help and TIA!

From the wiki:

Quote:OpenELEC Fails to boot:

If the OS isn't shutdown cleanly, sometimes a filesystem check (fsck) will be automatically performed. In some cases, the automatic repair is unsuccessful, and an error will show:

***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
#_


In this case, simply run fsck manually as instructed, using the following commands, hitting [enter] after each:

For a standalone setup:

fsck /dev/sda1
fsck /dev/sda2


For a dual-boot setup:

fsck /dev/sda6
fsck /dev/sda7


After the fsck is run, type 'reboot' then hit [enter] and the system should boot normally.



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/10] - sd26 - 2015-06-11

(2015-06-10, 16:36)furii Wrote:
(2015-06-10, 16:12)Matt Devo Wrote:
(2015-06-10, 14:18)sd26 Wrote: Hi

I have updated the firmware on my Asus Chromebox to 20150604 and have lost wired networking. The box takes 5 minutes + to get to the bios screen and boots with no wired network. Is there a way to downgrade or reinstall the firmware(if you think that will help)? I am running Openelec 5.95.1.

Cheers

hmmm, since you're the 2nd person to report this, it would appear to not be a fluke, though I can't reproduce it myself on any of the boxes I have here. You can always boot a Linux live USB and re-run the script to re-flash the firmware and see if that helps. I'll look into the issue some more.

potentially the third. roor's post seems like it could be experiencing the same. i wish i could remember which firmware i was upgrading from so you'd could at least have that to go off of.

@sd26 were you also upgrading from a firmware without the unique mac address saved?

Yes I was upgrading without the unique mac address saved? = Failure extracting MAC address from current firmware; default will be used


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/10] - sd26 - 2015-06-11

(2015-06-10, 16:12)Matt Devo Wrote:
(2015-06-10, 08:35)Digi8 Wrote: How do I enable developer mode without wiping my data? Also, I haven't changed anything since the last time I was able to dual boot.

you don't, but I'm only speculating that's the issue, and it's possible you or someone else hit [space] to exit developer mode without realizing it (which I've now tweaked the script to prevent). I suppose you could always log into ChromeOS, open a browser window, and hit [CTRL-T]. If you're still in developer mode, that should give you a limited terminal, if not, it won't, and you'll need to re-enable it.

(2015-06-10, 14:18)sd26 Wrote: Hi

I have updated the firmware on my Asus Chromebox to 20150604 and have lost wired networking. The box takes 5 minutes + to get to the bios screen and boots with no wired network. Is there a way to downgrade or reinstall the firmware(if you think that will help)? I am running Openelec 5.95.1.

Cheers

hmmm, since you're the 2nd person to report this, it would appear to not be a fluke, though I can't reproduce it myself on any of the boxes I have here. You can always boot a Linux live USB and re-run the script to re-flash the firmware and see if that helps. I'll look into the issue some more.

I couldn't get the escape key to work and it takes 5 minutes to appear so I ssh to Openelec and modify the update script so it would reflash the firmware (I removed the exit when checking version) now I get "coreboot firmware download checksum fail; download corrupted, cannot flash." Can you please provide a script to roll back to a previous version of the firmware.

Thanks


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/10] - ZHamburglar - 2015-06-11

Ok I'm back with hopefully my last question:

So I've been setting up on a monitor that is 1680 x1050. I then change the resolution to 800 x 600 in order to change devices. Then I can unplug the HDMI and plug it into the TV, then changing the resolution to 1080p from there. The problem is whenever I turn it off, while plugged into the TV it won't display any picture. I'm guessing it is changing to a resolution that isn't supported on the TV. Is there a setting I am overlooking that is causing it to revert to a resolution that won't display on the TV?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/10] - Matt Devo - 2015-06-11

(2015-06-11, 01:07)sd26 Wrote: I couldn't get the escape key to work and it takes 5 minutes to appear so I ssh to Openelec and modify the update script so it would reflash the firmware (I removed the exit when checking version) now I get "coreboot firmware download checksum fail; download corrupted, cannot flash." Can you please provide a script to roll back to a previous version of the firmware.

Thanks

try again now, uploaded a new build (20150610)

(2015-06-11, 02:24)ZHamburglar Wrote: Ok I'm back with hopefully my last question:

So I've been setting up on a monitor that is 1680 x1050. I then change the resolution to 800 x 600 in order to change devices. Then I can unplug the HDMI and plug it into the TV, then changing the resolution to 1080p from there. The problem is whenever I turn it off, while plugged into the TV it won't display any picture. I'm guessing it is changing to a resolution that isn't supported on the TV. Is there a setting I am overlooking that is causing it to revert to a resolution that won't display on the TV?

I'm really confused what you're trying to do / what the issue is. If you leave everything alone, OE should auto-detect/auto-set the proper resolution at boot. I also wouldn't expect it to display a picture after you turn the box off ;-)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/10] - wallympls - 2015-06-11

Okay making some progress here. Now when I boot to OpenElec I get a black screen instead of Kernal not found.

I would say that may be better.

Any advice ?

My steps were:
Reflashed with recovery USB
6 gb partition
selected Chrome/Open Elec
set boot options to open elec after 30 seconds


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/10] - Matt Devo - 2015-06-11

(2015-06-11, 03:51)wallympls Wrote: Okay making some progress here. Now when I boot to OpenElec I get a black screen instead of Kernal not found.

I would say that may be better.

Any advice ?

My steps were:
Reflashed with recovery USB
6 gb partition
selected Chrome/Open Elec
set boot options to open elec after 30 seconds

you ran the dual boot setup twice, correct? Once to partition, once to install OpenELEC?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/10] - sd26 - 2015-06-11

Updated version didn't work. Same result 5 minutes to boot and no LAN. Please make as script so I can revert to a prior to 20140604 version as I've had no trouble in the past. Thanks.