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: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - nickr - 2017-04-12

@HarryMohan, please do NOT refer to banned addons again.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - GS500F - 2017-04-13

I have spend a few hours now going through forums and need help.

I have an ASUS Chrome Box CN62 now running FW MrChromebox 04/09/2017 and when i power it up i see the white hare quickly a large scrolling list and then get "Shell>"

Next i ran RUFUS created a boot disk image (tried ISO and DD) with 'galliumos-broadwell-cbox-2.1' and then played around in the Boot Maintainance manager - boot from file (i see the USB drive as the top option) but inside it is only <lost+Found> <unencrypted> <home><Encrypted><dev_image>.
There doesnt appear to be anything i can run against in any of these folders.

ideally i am trying to get back to ChromeOS so i can get Kodi up and running.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-04-13

(2017-04-13, 09:29)GS500F Wrote: I have spend a few hours now going through forums and need help.

I have an ASUS Chrome Box CN62 now running FW MrChromebox 04/09/2017 and when i power it up i see the white hare quickly a large scrolling list and then get "Shell>"

Next i ran RUFUS created a boot disk image (tried ISO and DD) with 'galliumos-broadwell-cbox-2.1' and then played around in the Boot Maintainance manager - boot from file (i see the USB drive as the top option) but inside it is only <lost+Found> <unencrypted> <home><Encrypted><dev_image>.
There doesnt appear to be anything i can run against in any of these folders.

ideally i am trying to get back to ChromeOS so i can get Kodi up and running.

the UEFI firmware is flashed and running correctly, all you need to do is install an OS. dd'ing GaOS 2.1 to USB should work (it does here), but since it's not, I'd suggest trying another USB after first verifying the MD5 of the downloaded ISO file. Since the USB device is showing up in boot manager (you said it's the top option, which is expected), I'd lean towards the USB being written incorrectly vs the USB stick itself being problematic.

You DO NOT want to go back to ChromeOS, doing so just increases the chance of something else going wrong. Right now, everything is fine, all you need is to install a UEFI-compatible OS.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - GS500F - 2017-04-14

Thanks Matt.
Looks like it was the USB Key that caused my issues as a fresh verbatim 32gb USB from Kmart worked 1st time.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - stewartgp - 2017-04-14

Hi all,
I have been running a dualboot setup to primarily use OE/LE on my Chromebox CN60 (Haswell Celeron) since 2014 and it has been awesome, thanks Matt!

However I have gotten to a stage where I am running out of space on the original 16GB SSD (I had to delete the thumbnail cache to free up enough space on the 9gb partition to be able to do a manual update) so I am thinking I will upgrade the SSD to a 128 or even 256gb size. My questions are:

1. What is the easiest way for me to upgrade the SSD and still retain my settings? A full backup of LE, replace the ssd, redo dualboot setup on new ssd with latest firmware, restore LE from my backup?
2. On the original ssd I used 9 of the 16gb total for my OE/LE partition size. I really only use my chromebox as a HTPC booting into LE, although I like to have the chromeOS there as an option to use occasionally but it is quite rare. Based on this usage model I assume I would be fine giving the LE partition all but say 10gb?
3. At this stage am I better off buying a new Chromebox entirely? It has been running OE/LE noticeably slower over the last 6-12 months, although the reason for this is difficult to know. I run my HTPC to access a mySQL database stored on a synology NAS, connected via Ethernet cable. Most of the content is 1080p rips upscaling to a 4ktv. The slowness is most noticeable browsing through my content in the menu system. Based on this (admittedly limited) information and maybe others own experiences would anyone be prepared to speculate on the likely bottleneck? CPU/SSD/too much data having to pass through the Network? 4 gb ram seems to be no issue...

Thanks again everybody.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-04-14

(2017-04-14, 14:32)stewartgp Wrote: Hi all,
I have been running a dualboot setup to primarily use OE/LE on my Chromebox CN60 (Haswell Celeron) since 2014 and it has been awesome, thanks Matt!

However I have gotten to a stage where I am running out of space on the original 16GB SSD (I had to delete the thumbnail cache to free up enough space on the 9gb partition to be able to do a manual update) so I am thinking I will upgrade the SSD to a 128 or even 256gb size. My questions are:

1. What is the easiest way for me to upgrade the SSD and still retain my settings? A full backup of LE, replace the ssd, redo dualboot setup on new ssd with latest firmware, restore LE from my backup?
2. On the original ssd I used 9 of the 16gb total for my OE/LE partition size. I really only use my chromebox as a HTPC booting into LE, although I like to have the chromeOS there as an option to use occasionally but it is quite rare. Based on this usage model I assume I would be fine giving the LE partition all but say 10gb?
3. At this stage am I better off buying a new Chromebox entirely? It has been running OE/LE noticeably slower over the last 6-12 months, although the reason for this is difficult to know. I run my HTPC to access a mySQL database stored on a synology NAS, connected via Ethernet cable. Most of the content is 1080p rips upscaling to a 4ktv. The slowness is most noticeable browsing through my content in the menu system. Based on this (admittedly limited) information and maybe others own experiences would anyone be prepared to speculate on the likely bottleneck? CPU/SSD/too much data having to pass through the Network? 4 gb ram seems to be no issue...

Thanks again everybody.

easy peasy:

- backup existing LE config
- install new SSD
- restore ChromeOS using recovery media
- re-install LE using EZ Setup Script
- restore LE backup

You're perfectly safe to assign as much space to LE as you want, leaving ChromeOS 10GB or so (just use the max the script recommends). I run a similar setup re: mysql on Synology over LAN and have zero speed issues. If you're running the Kodi UI at 4k, then that's definitely going to be sluggish since max refresh there is 30Hz at 4K. I'd recommend running the Kodi UI at 1080p/60 and using refresh-rate switching on start/stop to let Kodi output film content at 2160p24 as needed. No need to upgrade IMO unless you want 4K UI and/or HEVC playback, but even then I'd wait as there's no perfect 4Kp60/HEVC/HDR box yet


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - stewartgp - 2017-04-14

(2017-04-14, 14:52)Matt Devo Wrote: easy peasy:

- backup existing LE config
- install new SSD
- restore ChromeOS using recovery media
- re-install LE using EZ Setup Script
- restore LE backup

You're perfectly safe to assign as much space to LE as you want, leaving ChromeOS 10GB or so (just use the max the script recommends). I run a similar setup re: mysql on Synology over LAN and have zero speed issues. If you're running the Kodi UI at 4k, then that's definitely going to be sluggish since max refresh there is 30Hz at 4K. I'd recommend running the Kodi UI at 1080p/60 and using refresh-rate switching on start/stop to let Kodi output film content at 2160p24 as needed. No need to upgrade IMO unless you want 4K UI and/or HEVC playback, but even then I'd wait as there's no perfect 4Kp60/HEVC/HDR box yet

Great info, thanks again Matt. I'm not running the UI at 4k so that isn't the issue with sluggishness and it was present before I upgraded to the newer TV. Looks like it is something else in my setup. I will see how it runs with the new SSD and go from there, good to know there is no need to upgrade anything else for now...


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AP0ll0UK - 2017-04-15

Now that Krypton has been released for a while, I thought I'd upgrade my Chromebox - I wish I hadn't.

After the upgrade I rebooted and was greeted by the v17 GUI and was told that my library was empty. I can browse the shares on my NAS with no issues.

Is this normal behaviour?

Also, I took a backup prior to the upgrade and may go back to v16.1. What would be the quickest and cleanest way to do this please?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-04-15

(2017-04-15, 14:37)AP0ll0UK Wrote: Now that Krypton has been released for a while, I thought I'd upgrade my Chromebox - I wish I hadn't.

After the upgrade I rebooted and was greeted by the v17 GUI and was told that my library was empty. I can browse the shares on my NAS with no issues.

Is this normal behaviour?

Also, I took a backup prior to the upgrade and may go back to v16.1. What would be the quickest and cleanest way to do this please?

not normal at all, first I've heard of it. I'd just restore the backup and let Kodi redo the library update, see if that works. If not, then do a manual upgrade (downgrade) to LE 7.0.2 and the restore the back afterwards


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AP0ll0UK - 2017-04-15

(2017-04-15, 20:30)Matt Devo Wrote: not normal at all, first I've heard of it. I'd just restore the backup and let Kodi redo the library update, see if that works. If not, then do a manual upgrade (downgrade) to LE 7.0.2 and the restore the back afterwards

Hey Matt!

The downgrade has done it, thank you. I was trying to find out whether I could downgrade it that way before goig ahead with it and busting the entire system so thank you for confirming that. I'm back on 16.1 with my library intact Smile

I had tried the restore into Kodi 17 but it ran through far too quick to suggest anything other than it hadn't worked.

Having done some reading this evening though, I think I'm going to go with LibreElec long term. I was reading through the Chromebox wiki and could see LibreElec mentioned regularly [I'm guessing that's what you're running] and having dug further LibreElec sounds like it's the way to go. I just need to go through my system first and look at which config files I need to backup for connectivity to my NAS as I remember it taking a while when I did this last year.

.....that's a job for tomorrow though Wink

Thanks again mate Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-04-15

(2017-04-15, 21:15)AP0ll0UK Wrote: Hey Matt!

The downgrade has done it, thank you. I was trying to find out whether I could downgrade it that way before goig ahead with it and busting the entire system so thank you for confirming that. I'm back on 16.1 with my library intact Smile

I had tried the restore into Kodi 17 but it ran through far too quick to suggest anything other than it hadn't worked.

Having done some reading this evening though, I think I'm going to go with LibreElec long term. I was reading through the Chromebox wiki and could see LibreElec mentioned regularly [I'm guessing that's what you're running] and having dug further LibreElec sounds like it's the way to go. I just need to go through my system first and look at which config files I need to backup for connectivity to my NAS as I remember it taking a while when I did this last year.

.....that's a job for tomorrow though Wink

Thanks again mate Smile

yes, I run LE myself on my main box, and assist the LE team with testing etc on Intel devices.

All you need to backup is Advancedsettings.xml and sources.xml from the userdata folder. But I'm not sure why you're having issues, I've done the upgrade dozens of times here without issue. If you're using a mySQL library on your NAS, you'll want to go in and manually delete the Kodi v17 databases so that they are properly re-created/re-populated when you do move to LE8/Kodi 17


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AP0ll0UK - 2017-04-15

My Chromebox connects to my Nas via CIFS share which was all setup in the terminal so I need to backtrack and find out where I configured it. I'll find it, it's just been a while.

I'm not sure why I had issues either to be honest. My setup is fairly simple and I don't have a mySQL setup on my Nas. Thank you for the advice though Smile

I'll try it again tomorrow and see what happens.

Failing that I'll backup everything that I need and then rebuild it based on LibreElec and then take it from there.

Sent from my Nexus 6P


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - spacecowboy618 - 2017-04-17

Hello, thanks for the script. I did something wrong to my Asus Chromebox. I ran the script pressed 6 and rebooted on accident. Now when it starts up I get press esc in 5 seconds to skip startup.nsh any other key to continue
Shell>
Am I screwed?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-04-17

(2017-04-17, 05:39)spacecowboy618 Wrote: Hello, thanks for the script. I did something wrong to my Asus Chromebox. I ran the script pressed 6 and rebooted on accident. Now when it starts up I get press esc in 5 seconds to skip startup.nsh any other key to continue
Shell>
Am I screwed?
no problem at all, just create the LibreELEC install media from another machine and boot that, then install.

Sent from my Nexus 6P


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AP0ll0UK - 2017-04-17

Quick Update...

I've upgraded to LibreElec from OpenElec and Kodi is fine despite the previous hiccup. My Library is still intact and seems to be working fine. So far so good.

Sent from my Nexus 6P