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] - petecat1 - 2020-05-25

(2020-05-14, 07:28)Matt Devo Wrote:
(2020-05-14, 07:24)petecat1 Wrote: I have one that I haven't tried your firmware on for over a year.  Would anything have changed in that time, or is there some way to update the chromebox and try?  Or is it unlikely to make a difference?

if you have one that's in Developer Mode, or you don't mind wiping to put in Developer Mode, then please do flash the RW_LEGACY firmware and see if SeaBIOS will boot (optionally try to boot a USB). Whatever is/was broken was on Google's end so quite possible it got fixed since you last tried  

I boot the CN65 in Developer Mode and get the rabbit, hit escape and get your Boot screen.  I select to boot from an SD card with a newly installed chrome recovery.  I get the chrome logo, and then it gets stuck on Your system is repairing itself. Please wait.  Eventually it returns to the boot screen.
1. Do you know how to get past that screen?
2. If I forget about trying to restore chrome, can I flash the RW Legacy firmware from a USB at the boot screen?  Or can it only be installed via the shell?
Thanks


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

(2020-05-25, 14:23)petecat1 Wrote: I boot the CN65 in Developer Mode and get the rabbit, hit escape and get your Boot screen. 

that's not Developer Mode, that's the UEFI firmware boot splash.

Quote:I select to boot from an SD card with a newly installed chrome recovery.  I get the chrome logo, and then it gets stuck on Your system is repairing itself. Please wait.  Eventually it returns to the boot screen.

you can't use ChromeOS Recovery media outside of ChromeOS recovery mode. Booting it from the UEFI firmware does nothing.

Quote:1. Do you know how to get past that screen?

past in what sense? trying to restore ChromeOS?
You need to boot a Linux USB, run my script, and restore the stock firmware first. Then reboot, and reload the OS from Recovery Mode.

Quote:2. If I forget about trying to restore chrome, can I flash the RW Legacy firmware from a USB at the boot screen?  Or can it only be installed via the shell?
Thanks 

not sure why you're wanting to go back to stock+RW_LEGACY firmware as you already have the UEFI firmware, but it can only be installed via my script when run from ChromeOS / with the stock firmware.


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

just to feed back: The Legacy boot is stell broken in the CN65/Chromebox3.  Ctrl-L does nothing.  When I changed the GBB flags through your firmware to select Legacy boot it just went to a blank screen.  So I re-set the factory defaults and switched off developer mode.  Done for now.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - MrBuyakah - 2020-07-28

My Chromebox won't take updates past Chrome 76.x.  An alternative is to install Cloudready, rather than going though the recovery procedure.
https://www.neverware.com


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/18] - imagamer2k - 2020-09-09

(2015-07-01, 16:11)Matt Devo Wrote:
(2015-07-01, 12:35)pvagner Wrote: Quick and maybe stupid question. I have skimmed the thread, read some 10 pages but I must have missed it.
Is disabling Firmware Write Protect absolutelly necessary or do I correctly understand with it enabled I might still be able to have dual boot setup with 30 s boot delay? I don't feel capable of dissassembling my HP ChromeBox and I just would like to test this out before trying to find someone who can do that part for me.

You do not need to remove the write protect screw for a dual boot setup if you're not going to change the boot options, though I recommend doing it at the beginning so you don't have to open up the box down the road. And even if you don't want to change the boot delay, you should use the script option to set it anyway, since it will prevent accidentally leaving developer mode (via spacebar) on the boot screen.

If the write protect screw was removed upon initial setup, is there an easy option for recovering from accidentally hitting spacebar during bootup, and leaving developer mode? Asking for a friend  :doh!:

Thanks


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

(2020-09-09, 01:53)imagamer2k Wrote: If the write protect screw was removed upon initial setup, is there an easy option for recovering from accidentally hitting spacebar during bootup, and leaving developer mode? Asking for a friend  :doh!:

assuming a dual boot setup -- simply re-enter Developer Mode, and re-set the dev_boot_legacy flag. Your dual-booted Kodi/Linux OS will be fine as long as you didn't perform a ChromeOS recovery


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/06/18] - imagamer2k - 2020-09-09

(2020-09-09, 09:22)Matt Devo Wrote:
(2020-09-09, 01:53)imagamer2k Wrote: If the write protect screw was removed upon initial setup, is there an easy option for recovering from accidentally hitting spacebar during bootup, and leaving developer mode? Asking for a friend  :doh!:

assuming a dual boot setup -- simply re-enter Developer Mode, and re-set the dev_boot_legacy flag. Your dual-booted Kodi/Linux OS will be fine as long as you didn't perform a ChromeOS recovery

Success...Thanks Matt!!

Another question. I am currently running dual boot ChromeOS and OpenELEC v6.0.3/Kodi v15.2...If I wish to update to the latest LE/Kodi, I understand I need to do this manually, but can I still use your E-Z Setup Script to do it? Should I create install media using option 7 (is this usb or sd media?), and then follow that up by running option 2, to retain my dual boot?

Thanks!


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

(2020-09-09, 18:44)imagamer2k Wrote: Success...Thanks Matt!!

Another question. I am currently running dual boot ChromeOS and OpenELEC v6.0.3/Kodi v15.2...If I wish to update to the latest LE/Kodi, I understand I need to do this manually, but can I still use your E-Z Setup Script to do it? Should I create install media using option 7 (is this usb or sd media?), and then follow that up by running option 2, to retain my dual boot?

Thanks!

Updating a dual boot setup can be tricky, since it involves either manually resizing the partitions, or doing a full reset and then reinstall using the script. The easiest way IMO is to boot a Linux USB and use gparted to shrink partition 7 (LE storage) and enlarge partition 6 (LE kernel). then reboot and manually update LE by placing the tar in the update folder and rebooting


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - rodddogg - 2020-10-11

It's been a while since I've upgraded my kodi box or even touched this script (~4+ years).. I'm not sure I remember how to boot back into the E-Z setup script mode or even remember the hotkeys. My issue is trying to upgrade to latest libreelec but my system partition FAT size is too small to upgrade so not sure if I should just blast this thing or use gparted; any insight would be appreciated.


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

(2020-10-11, 21:05)rodddogg Wrote: It's been a while since I've upgraded my kodi box or even touched this script (~4+ years).. I'm not sure I remember how to boot back into the E-Z setup script mode or even remember the hotkeys. My issue is trying to upgrade to latest libreelec but my system partition FAT size is too small to upgrade so not sure if I should just blast this thing or use gparted; any insight would be appreciated.

there's no reason to use the EZ Setup script at this point, unless you have a dual-boot setup and want to start fresh -- in which case you'd need to do a full reset first.

on a standalone setup, either do a fresh install from USB, or boot a live USB and use gparted to resize the partitions to make the 1st partition (KERNEL) 1GB


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - rodddogg - 2020-10-11

(2020-10-11, 21:12)Matt Devo Wrote:
(2020-10-11, 21:05)rodddogg Wrote: It's been a while since I've upgraded my kodi box or even touched this script (~4+ years).. I'm not sure I remember how to boot back into the E-Z setup script mode or even remember the hotkeys. My issue is trying to upgrade to latest libreelec but my system partition FAT size is too small to upgrade so not sure if I should just blast this thing or use gparted; any insight would be appreciated.

there's no reason to use the EZ Setup script at this point, unless you have a dual-boot setup and want to start fresh -- in which case you'd need to do a full reset first.

on a standalone setup, either do a fresh install from USB, or boot a live USB and use gparted to resize the partitions to make the 1st partition (KERNEL) 1GB
Thanks for quick reply Matt. Question is to boot from live USB, do I need to intervene with any keys or it just boots directly after power up?


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

(2020-10-11, 21:16)rodddogg Wrote: Thanks for quick reply Matt. Question is to boot from live USB, do I need to intervene with any keys or it just boots directly after power up?

 assuming you did a standalone setup a few years ago, you likely need to press ESC for the boot menu when prompted, then select the USB from the list. What I would recommend though is probably to boot a Linux USB, update to the latest UEFI firmware using my script, and then reboot / do a clean install of LE. You can always back up your userdata before / restore it after using the built-in LE backup/restore function.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - rodddogg - 2020-10-11

(2020-10-11, 21:25)Matt Devo Wrote:
(2020-10-11, 21:16)rodddogg Wrote: Thanks for quick reply Matt. Question is to boot from live USB, do I need to intervene with any keys or it just boots directly after power up?

 assuming you did a standalone setup a few years ago, you likely need to press ESC for the boot menu when prompted, then select the USB from the list. What I would recommend though is probably to boot a Linux USB, update to the latest UEFI firmware using my script, and then reboot / do a clean install of LE. You can always back up your userdata before / restore it after using the built-in LE backup/restore function.
It is a standalone LE build. I also thought it was ESC but it just skips and boots straight into LE so not sure that's it. Yeah I don't mind blasting the whole config and starting with latest Kodi build; it's why I started doing this anyway.


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

(2020-10-11, 21:36)rodddogg Wrote: It is a standalone LE build. I also thought it was ESC but it just skips and boots straight into LE so not sure that's it. Yeah I don't mind blasting the whole config and starting with latest Kodi build; it's why I started doing this anyway.

 if there's no 'Press ESC for Boot Menu' prompt, either it's happening before the display comes on (in which case you need to hit it earlier), or it's not showing because your USB stick isn't being detected (in which case, try another USB stick or USB port -- it is **NOT** related to what is on the USB drive, re-writing it will not change the outcome)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - rodddogg - 2020-10-11

(2020-10-11, 22:00)Matt Devo Wrote:
(2020-10-11, 21:36)rodddogg Wrote: It is a standalone LE build. I also thought it was ESC but it just skips and boots straight into LE so not sure that's it. Yeah I don't mind blasting the whole config and starting with latest Kodi build; it's why I started doing this anyway.

 if there's no 'Press ESC for Boot Menu' prompt, either it's happening before the display comes on (in which case you need to hit it earlier), or it's not showing because your USB stick isn't being detected (in which case, try another USB stick or USB port -- it is **NOT** related to what is on the USB drive, re-writing it will not change the outcome)

Worked perfectly. Thank you sir!