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 - 2019-04-27

(2019-04-27, 00:07)TonyPh12345 Wrote: Heya, Matt!

Quick question. I’m replacing a CN60 with a CN65. Ive been dual booting to LibreELEC Leia on the former. Do you know if it’s safe to do a LibreELEC full backup from the CN60 and restore it on the 65, or are there hardware specific things in the original load that won’t work?

 should be fine, though some settings may need adjustment after restoring. Do note that dual booting on the CN65 is currently broken due to something Google did in a recent firmware/OS update.


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

(2019-04-27, 00:14)Matt Devo Wrote:
(2019-04-27, 00:07)TonyPh12345 Wrote: Heya, Matt!

Quick question. I’m replacing a CN60 with a CN65. Ive been dual booting to LibreELEC Leia on the former. Do you know if it’s safe to do a LibreELEC full backup from the CN60 and restore it on the 65, or are there hardware specific things in the original load that won’t work?

 should be fine, though some settings may need adjustment after restoring. Do note that dual booting on the CN65 is currently broken due to something Google did in a recent firmware/OS update.

Yeah, I read up on that before I posted. I’m assuming that just a single-boot direct to Libre is the right choice in the setup script? I’m not too concerned about Chrome at this point...


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

(2019-04-27, 00:20)TonyPh12345 Wrote: Yeah, I read up on that before I posted. I’m assuming that just a single-boot direct to Libre is the right choice in the setup script? I’m not too concerned about Chrome at this point... 

it's what I'm running here Smile


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

(2019-04-27, 01:13)Matt Devo Wrote:
(2019-04-27, 00:20)TonyPh12345 Wrote: Yeah, I read up on that before I posted. I’m assuming that just a single-boot direct to Libre is the right choice in the setup script? I’m not too concerned about Chrome at this point... 

it's what I'm running here Smile

A separate but related question: Both of my CN60s were upgraded to latest LibreELEC (9.0.1) installed using your script, but about a month or six weeks apart. The first updated one suffers from the Ethernet performance issue (which I fixed according to the steps in the wiki, thank you!) but the more recently updated one (about 3 weeks ago?) does not. Is that because you integrated the PCI kernel boot option change into your script? They’re otherwise identical. Same hardware and same Libre version.

Also, neither of them seem to have an issue with dual boot, except for the fact they insist on repairing the file system when booting into Chrome mode. Is that the issue you refer to above? If so, I’ll probably live with that with no problem because the Dual Boot config (IMHO) is so much easier to manage and I am very afraid of the high likelihood of the recovery USB image getting lost in this household full of electronics (and kids).

...or is there a unique issue to the 65?


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

(2019-04-28, 23:10)TonyPh12345 Wrote: A separate but related question: Both of my CN60s were upgraded to latest LibreELEC (9.0.1) installed using your script, but about a month or six weeks apart. The first updated one suffers from the Ethernet performance issue (which I fixed according to the steps in the wiki, thank you!) but the more recently updated one (about 3 weeks ago?) does not. Is that because you integrated the PCI kernel boot option change into your script? They’re otherwise identical. Same hardware and same Libre version.
no idea, I've not yet integrated that kernel param into my script for a dual-boot setup, but I should.
Quote:Also, neither of them seem to have an issue with dual boot, except for the fact they insist on repairing the file system when booting into Chrome mode. Is that the issue you refer to above? If so, I’ll probably live with that with no problem because the Dual Boot config (IMHO) is so much easier to manage and I am very afraid of the high likelihood of the recovery USB image getting lost in this household full of electronics (and kids).

...or is there a unique issue to the 65? 

no, CN65 will not boot in Legacy Boot Mode, period. It's 100% unusable currently.

not sure what a Recovery USB has to do with a standalone setup. You'd make one when you need it, after restoring the stock firmware, and not before (restoring using an old Recovery image is bad news). If you're referring to the stock firmware backup, just throw it up on your gdrive somwhere until needed.

BTW, I have a spare CN65 3865U/4GB/32GB here if needed, can send it preconfigured.  PM me if you're interested Smile


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

I have a new Asus Chromebox 3.  I loaded your Firmware Utility Script, selected the Install RW Legacy Firmware, then booted, selected Boot from USB, and it started to install FreePBX as usually occurs when I install it from this USB.  After the usual initial questions about versions etc, it started to load, and after a couple of lines went blank, and nothing further appeared to happen.
To see if it was my USB that was faulty, I tried installing Ubuntu from another USB and got:  graphics initialization failed      Error setting up gfxboot      boot:
Both of these USBs have worked recently on an older Chromebox.
Can I do anything about it?  ( I have not removed the WP screw yet...wanted to get through this part first, as I have done in the past.)

By the way, thanks for this great service.  A donation is on its way!


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

(2019-04-30, 14:20)petecat1 Wrote: I have a new Asus Chromebox 3.  I loaded your Firmware Utility Script, selected the Install RW Legacy Firmware, then booted, selected Boot from USB, and it started to install FreePBX as usually occurs when I install it from this USB.  After the usual initial questions about versions etc, it started to load, and after a couple of lines went blank, and nothing further appeared to happen.
To see if it was my USB that was faulty, I tried installing Ubuntu from another USB and got:  graphics initialization failed      Error setting up gfxboot      boot:
Both of these USBs have worked recently on an older Chromebox.
Can I do anything about it?  ( I have not removed the WP screw yet...wanted to get through this part first, as I have done in the past.)

By the way, thanks for this great service.  A donation is on its way!

RW_LEGACY / Legacy Boot Mode is not currently working on the CN65 due to bug in Google's firmware, nothing I can do other than encourage people to file bug reports with Google


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - petecat1 - 2019-05-01

(2019-04-30, 16:16)Matt Devo Wrote:
(2019-04-30, 14:20)petecat1 Wrote: I have a new Asus Chromebox 3.  I loaded your Firmware Utility Script, selected the Install RW Legacy Firmware, then booted, selected Boot from USB, and it started to install FreePBX as usually occurs when I install it from this USB.  After the usual initial questions about versions etc, it started to load, and after a couple of lines went blank, and nothing further appeared to happen.
To see if it was my USB that was faulty, I tried installing Ubuntu from another USB and got:  graphics initialization failed      Error setting up gfxboot      boot:
Both of these USBs have worked recently on an older Chromebox.
Can I do anything about it?  ( I have not removed the WP screw yet...wanted to get through this part first, as I have done in the past.)

By the way, thanks for this great service.  A donation is on its way!

RW_LEGACY / Legacy Boot Mode is not currently working on the CN65 due to bug in Google's firmware, nothing I can do other than encourage people to file bug reports with Google 
Wow.  Devastated.  And no other way to boot/install from USB at all?  Is that why it doesn't work to just do  sudo crossystem dev_boot_usb=1  ?  or  sudo crossystem dev_boot_legacy=1   ?   Which is what worked on the CN60, from memory...


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

(2019-05-01, 12:26)petecat1 Wrote: Wow.  Devastated.  And no other way to boot/install from USB at all?  Is that why it doesn't work to just do  sudo crossystem dev_boot_usb=1  ?  or  sudo crossystem dev_boot_legacy=1   ?   Which is what worked on the CN60, from memory... 

 you can boot/install from USB after flashing my UEFI Full ROM firmware, you just can't do it via Legacy Boot Mode / dual booting with ChromeOS.

dev_boot_usb has nothing to do with this. It simply enables booting ChromeOS/ChromiumOS from USB via CTRL+U.

dev_boot_legacy enables booting Legacy Boot Mode (CTRL+L), but also requires a valid legacy boot/RW_LEGACY firmware. LBM itself is completely broken/unusable on the CN65 (and all other 2018 Chromebox models).


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - petecat1 - 2019-05-03

(2019-05-02, 03:31)Matt Devo Wrote:
(2019-05-01, 12:26)petecat1 Wrote: Wow.  Devastated.  And no other way to boot/install from USB at all?  Is that why it doesn't work to just do  sudo crossystem dev_boot_usb=1  ?  or  sudo crossystem dev_boot_legacy=1   ?   Which is what worked on the CN60, from memory... 

 you can boot/install from USB after flashing my UEFI Full ROM firmware, you just can't do it via Legacy Boot Mode / dual booting with ChromeOS.

dev_boot_usb has nothing to do with this. It simply enables booting ChromeOS/ChromiumOS from USB via CTRL+U.

dev_boot_legacy enables booting Legacy Boot Mode (CTRL+L), but also requires a valid legacy boot/RW_LEGACY firmware. LBM itself is completely broken/unusable on the CN65 (and all other 2018 Chromebox models). 

That is superb, and has worked to get me up and running.  Can you point me to a solution to this:  It seems there might be an issue with the kernel on this distro: It is FreePBX (an Asterisk based distro) latest version SNG7 and runs on Centos 7.5 with kernel 3.10.0-862.2.3  ( I think that is the whole string)   I'm getting  Kernel panic - not syncing: Hard LOCKUP 
This version definitely works after installing using the Legacy Boot Mode on the CN60.  On this occasion, it ran through the installation process like usual, but on re-boot it locks up.
I can install and run Ubuntu 18.04 just fine, and can access the terminal from there.   Any help most appreciated.


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

(2019-05-03, 01:55)petecat1 Wrote: That is superb, and has worked to get me up and running.  Can you point me to a solution to this:  It seems there might be an issue with the kernel on this distro: It is FreePBX (an Asterisk based distro) latest version SNG7 and runs on Centos 7.5 with kernel 3.10.0-862.2.3  ( I think that is the whole string)   I'm getting  Kernel panic - not syncing: Hard LOCKUP 
This version definitely works after installing using the Legacy Boot Mode on the CN60.  On this occasion, it ran through the installation process like usual, but on re-boot it locks up.
I can install and run Ubuntu 18.04 just fine, and can access the terminal from there.   Any help most appreciated. 

 that's easy, the 3.10 kernel is simply too old / doesn't support the hardware. I wouldn't run anything below 4.14 or so on the CN65.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - petecat1 - 2019-05-06

(2019-05-03, 05:21)Matt Devo Wrote:
(2019-05-03, 01:55)petecat1 Wrote: That is superb, and has worked to get me up and running.  Can you point me to a solution to this:  It seems there might be an issue with the kernel on this distro: It is FreePBX (an Asterisk based distro) latest version SNG7 and runs on Centos 7.5 with kernel 3.10.0-862.2.3  ( I think that is the whole string)   I'm getting  Kernel panic - not syncing: Hard LOCKUP 
This version definitely works after installing using the Legacy Boot Mode on the CN60.  On this occasion, it ran through the installation process like usual, but on re-boot it locks up.
I can install and run Ubuntu 18.04 just fine, and can access the terminal from there.   Any help most appreciated. 

 that's easy, the 3.10 kernel is simply too old / doesn't support the hardware. I wouldn't run anything below 4.14 or so on the CN65. 
I can probably get a workaround by installing on older version of FreePBX via Ubuntu.  But my question is this:  If there is no option to restore the Stock Firmware via your script for this model (ie choosing option 9)....is there any way to re-load my backup of the ChromeOS and restore to the original state?


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

(2019-05-06, 04:29)petecat1 Wrote: I can probably get a workaround by installing on older version of FreePBX via Ubuntu.  But my question is this:  If there is no option to restore the Stock Firmware via your script for this model (ie choosing option 9)....is there any way to re-load my backup of the ChromeOS and restore to the original state? 

 You can absolutely restore the stock firmware (using a backup created by the script prior to flashing) via the script, I'm not sure why you would think that option is unavailable.  But I'm not sure why you would want to if you plan is to run Ubuntu


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - petecat1 - 2019-05-11

(2019-05-06, 04:44)Matt Devo Wrote:
(2019-05-06, 04:29)petecat1 Wrote: I can probably get a workaround by installing on older version of FreePBX via Ubuntu.  But my question is this:  If there is no option to restore the Stock Firmware via your script for this model (ie choosing option 9)....is there any way to re-load my backup of the ChromeOS and restore to the original state? 

 You can absolutely restore the stock firmware (using a backup created by the script prior to flashing) via the script, I'm not sure why you would think that option is unavailable.  But I'm not sure why you would want to if you plan is to run Ubuntu 
I get this in red text: Unfortunately I don't have a stock firmware available to download for 'FIZZ' at this time.

You are right, at the moment I am working with Ubuntu.  Just wanted to keep my options open if I want to go back to square 1 with the chromebox OS.


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

(2019-05-11, 08:36)petecat1 Wrote: I get this in red text: Unfortunately I don't have a stock firmware available to download for 'FIZZ' at this time. 
Quote: You can absolutely restore the stock firmware (using a backup created by the script prior to flashing) via the script, I'm not sure why you would think that option is unavailable.  But I'm not sure why you would want to if you plan is to run Ubuntu   

 relevant part of my quote emphasized