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] - Matt Devo - 2021-10-06

(2021-10-06, 19:21)Batesy2007 Wrote: Hi Matt, have used your scripts for years to create ChromeOS / Libreelec dual boot setups. Thanks for all the effort!

Was just wondering was there ever an option to have a Gallium OS / Libreelec dual boot setup??
Would love to give Gallium a go rather than ChromeOS but don't really want to give up Libreelec just yet Smile

There's no feature to automatically partition things for LE + another Linux. My recommendation would be to just run from USB if you're not game for manually resizing/creating partitions as needed..

Also, assuming you're using a Chromebox, no reason to run GalliumOS at this point. It's outdated, unmaintained, and offers no benefits on a Chromebox (vs book)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Batesy2007 - 2021-10-06

(2021-10-06, 19:36)Matt Devo Wrote:
(2021-10-06, 19:21)Batesy2007 Wrote: Hi Matt, have used your scripts for years to create ChromeOS / Libreelec dual boot setups. Thanks for all the effort!

Was just wondering was there ever an option to have a Gallium OS / Libreelec dual boot setup??
Would love to give Gallium a go rather than ChromeOS but don't really want to give up Libreelec just yet Smile

There's no feature to automatically partition things for LE + another Linux. My recommendation would be to just run from USB if you're not game for manually resizing/creating partitions as needed..

Also, assuming you're using a Chromebox, no reason to run GalliumOS at this point. It's outdated, unmaintained, and offers no benefits on a Chromebox (vs book)
Thanks for that Matt, didn't realize that GalliumOS was no longer maintained.
Will stick to ChromOS / Libreelec for now then.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - YellowDog - 2021-10-09

I recently purchased a second Chromebox, used.   It didn't come with a VESA bracket, but I don't need one. 

I would like to pick up a couple of screws that are used to mount the Chromebox, so I can easily remove the back.  Anyone know what size threads are used to mount the Chromebox?

I looked around online, but found nothing.  I know I can pick up a couple of screws at Home Depot cheap, if I know the thread size.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - casss - 2021-10-20

Hello!

Is our Chromebox still capable to run Kodi 19 and its Python 3 Add-Ons? I have the feeling that with Libreelec 10 the CPU usage is very high (up to 100%) even in idle state.
Sometimes Kodi crashes and restarts. I can not reproduce any error or problem. Sorry for bad english.

Thank you!


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

(2021-10-20, 16:34)casss Wrote: Hello!

Is our Chromebox still capable to run Kodi 19 and its Python 3 Add-Ons? I have the feeling that with Libreelec 10 the CPU usage is very high (up to 100%) even in idle state.
Sometimes Kodi crashes and restarts. I can not reproduce any error or problem. Sorry for bad english.

Thank you!

If you're having a performance issue with LibreELEC, then best to make a new thread and/or post on the LibreELEC forums with your exact hardware and issue. This thread is for questions around my script/firmware/install process, not post-install issues


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

(2021-10-09, 18:48)YellowDog Wrote: I recently purchased a second Chromebox, used.   It didn't come with a VESA bracket, but I don't need one. 

I would like to pick up a couple of screws that are used to mount the Chromebox, so I can easily remove the back.  Anyone know what size threads are used to mount the Chromebox?

 M3 thread, probably 8mm length


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - casss - 2021-10-20

(2021-10-20, 16:38)Matt Devo Wrote: If you're having a performance issue with LibreELEC, then best to make a new thread and/or post on the LibreELEC forums with your exact hardware and issue. This thread is for questions around my script/firmware/install process, not post-install issues
Thank you, Matt. I will do so.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - kpoman - 2021-11-16

Hello,

I have an ASUS Chromebox, Model Panther CN60, configured with ChromeOS + LibreELEC (dual boot).  In the past, I have been successfully able to update to the LibreELEC software by simply running the Kodi E-Z Setup Script and choosing option #2, however, this time it did not go so well.

I receive the following when trying to perform the install:

Partitions formatted and mounted
Updating bootloader

./kodi.sh: line 260: /tmp/boot/syslinux/syslinux.cfg: No such file or directory
cp: cannot create regular file ‘/tmp/boot/syslinux/chain.c32’ : No such file or directory
cp: cannot create regular file ‘/tmp/boot/syslinux/libcom.c32’ : No such file or directory
cp: cannot create regular file ‘/tmp/boot/syslinux/libutil.c32’ : No such file or directory
syslinux.mnt.2558.0/syslinux/ldlinux.sys: No such file or directory
Error: Failed to install syslinux: reboot and try again


At reboot, I get the following:

SeaBIOS (version rel-1.11.0-54g248459e-MrChromebox-2018.09.12)

Booting from Hard Disk..

Failed to load ldlinux.c32
Boot Failed: please change disks and press a key to continue


Obviously I’m setup to boot directly into LibreElec but it looks like I’ve hosed the operating system.  How do I proceed to fix this?

Thanks.


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

(2021-11-16, 17:04)kpoman Wrote: Obviously I’m setup to boot directly into LibreElec but it looks like I’ve hosed the operating system.  How do I proceed to fix this?

1) boot a Linux USB (Ubuntu, GalliumOS, etc)
2) run my Firmware Utility Script
3) flash the UEFI firmware
4) reboot
5) Install LibreELEC from USB


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - kpoman - 2021-11-16

Ok, I will try this when I get home tonight.  Thanks for the help.  I know your steps are general to keep it simple but I have a few questions:

1.  boot a Linux USB (Ubuntu, GalliumOS, etc) - How do I get the Chromebox to boot to the USB stick?  Do I press ESC at boot?
2.  run my Firmware Utility Script - Once I have booted from either Unbuntu or Gallium, I open a Terminal window and use the following script: cd; curl -LO mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh  Correct?
3. flash the UEFI firmware - Is this option #2 (Install/Update UEFI (Full ROM) Firmware)?
5. Install LibreELEC from USB - Same question as in Step 1 - How do I boot from USB stick?

What happens to the actual ChromeOS?  Is it overwritten?  Is this a standalone install of LibreELEC?  Sorry for all of the Newbie questions.  Thanks in advance for your help!


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

(2021-11-16, 21:02)kpoman Wrote: Ok, I will try this when I get home tonight.  Thanks for the help.  I know your steps are general to keep it simple but I have a few questions:

1.  boot a Linux USB (Ubuntu, GalliumOS, etc) - How do I get the Chromebox to boot to the USB stick?  Do I press ESC at boot?
press ESC when prompted. If not prompted, USB stick not detected, try another stick/another port
Quote:2.  run my Firmware Utility Script - Once I have booted from either Unbuntu or Gallium, I open a Terminal window and use the following script: cd; curl -LO mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh  Correct?
correct
Quote:3. flash the UEFI firmware - Is this option #2 (Install/Update UEFI (Full ROM) Firmware)?
the options vary based on device and installed firmware. Install/Update Full ROM firmware is correct
Quote:5. Install LibreELEC from USB - Same question as in Step 1 - How do I boot from USB stick?
Press ESC when prompted on boot splash, select USB device from Boot Menu option
Quote:What happens to the actual ChromeOS?  Is it overwritten?  Is this a standalone install of LibreELEC?  Sorry for all of the Newbie questions.  Thanks in advance for your help!
Once you install LibreELEC to the internal SSD, ChromeOS will be overwritten. This is a standalone setup. You can still run ChromeOS from USB/external SSD via Brunch


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

Thanks again for the guidance.  Out of curiosity, where did I go wrong?  This used to work before.  How should I have updated LibreELEC?


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

(2021-11-17, 01:14)kpoman Wrote: Thanks again for the guidance.  Out of curiosity, where did I go wrong?  This used to work before.  How should I have updated LibreELEC?

hard to say, but you're running old firmware from 2018 so best to update to the latest and start fresh


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

This worked great!  Thanks again!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Lirunaway - 2021-11-27

Do you plan to update the script for LibreElec 10.1 & Kodi 19.3?  I had my Chromebox working and dual boot.  I updated LibreElec to 10.1 within Kodi.  Then found I would have to reload Kodi in order to update Kodi for a usable build.  I managed to bring up your script.  However, I had to add -k to get the script to work or so I thought.  Upon rebooting the device the device failed.  Maybe because it's loading an older LibreElec version onto a newer version LibreElec.  I tried all day and finally I got it by doing a stand alone installation.  However, the Kodi version is 18.7 again and lost dual boot.  Thinking when it's available I'll have to make a USB on a Linux laptop I'm guessing in terminal.