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-02-05

(2019-02-05, 03:59)Leclair Wrote: This is the only option I get as an install location.

<snip>

After the install is completed, it asks me to remove the installer media and reboot. 

After the 1st reboot, it boots to the shell screen. When I type 'exit' and go to 'boot from file', the internal hard drive is not even listed. 

After a 2nd reboot, again to the shell, this time when I go to 'boot from file', the internal hard drive is there, but empty, no files. 
  
that's just bizarre, I've never seen anything like that. If there were a problem with the SSD, I'd expect the install to fail, but it's not.

I guess at this point, 2 options: 1) swap in another SSD, 2) revert to older Legacy Boot firmware and see if that works


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

(2019-02-05, 15:46)Rrrr Wrote: I've updated my previous message with corrections after gaining more experience (many hours!): I hope my mistakes will help others avoid this waste of time.
My Chromeos storage manager showed only 1.1GB free, so that's why the Chromebook Recovery Utility (CRU) could not write the image to the USB flash drive.
Using the CRU on a W10 machine worked for me now for all USB flash drives.
...just had to wait much longer letting the CRU write several partitions to the USB flash drive.
the drive showing 1.1GB free shouldn't be a factor. The Chromebook recovery utility writes an image to the USB, complete with partition layout and data. It doesn't care what if anything is on the drive, what format, etc. All that matters is that the drive capacity is large enough to support he image being written.

Quote:The sun is shining today.
I reset the partitions: Chromeos showed 10GB (why not 16GB?) before I reinstalled the dual boot with LibreElec (LE).
I gave 6GB to LE, 4GB to Chromeos.

Thank you so much for your quick and precise comments. It helped me persist. 
 
ChromeOS itself reserves 6-10GB for the OS depending on version, model, etc. 10GB is what is available to the user. The recommendation of partition size from the EZ Setup script takes this into account.


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

Quote:the drive showing 1.1GB free shouldn't be a factor. The Chromebook recovery utility writes an image to the USB, complete with partition layout and data. It doesn't care what if anything is on the drive, what format, etc. All that matters is that the drive capacity is large enough to support he image being written.
Understood, but when the utility downloaded the image on the Asus, I received a notification from storage manager. I could literally see the space shrinking in the process. 
Anyway, the approach with the W10 machine worked as well. Thanks.


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

Hi all when i was trying to run the EZ script it fails to install LibreElec because of insufficient space. I totally forgot to reset kodi to factory defaults and now my partition is too big to run the script up to 100%.  LibreElec fails to boot  now! Please can somebody help me to recover my partition and to rerun the script? Many thanks in advance!


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

(2019-02-05, 23:31)Ciler Wrote: Hi all when i was trying to run the EZ script it fails to install LibreElec because of insufficient space. I totally forgot to reset kodi to factory defaults and now my partition is too big to run the script up to 100%.  LibreElec fails to boot  now! Please can somebody help me to recover my partition and to rerun the script? Many thanks in advance!
 Just use ChromeOS recovery then restart the process from the beginning. As documented on the wiki Smile


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

I am able to boot in chrome os but not in LibreElec!


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

(2019-02-05, 23:45)Ciler Wrote: I am able to boot in chrome os but not in LibreElec!
I'm not seeing how that prevents you from following my instructions


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

(2019-02-05, 17:58)Matt Devo Wrote: that's just bizarre, I've never seen anything like that. If there were a problem with the SSD, I'd expect the install to fail, but it's not.

I guess at this point, 2 options: 1) swap in another SSD, 2) revert to older Legacy Boot firmware and see if that works 
 I will try reverting to the older Legacy Boot firmware. Does that mean I'm following #7 from your Chromebox Wiki? Resetting to Stock?

Thanks for all your help thus far.


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

(2019-02-06, 03:03)Leclair Wrote: I will try reverting to the older Legacy Boot firmware. Does that mean I'm following #7 from your Chromebox Wiki? Resetting to Stock?

Thanks for all your help thus far. 
 No, much easier:
* boot Linux USB
* run my Firmware Utility Script
* type uppercase U, then enter to "unlock" all functions
* option 3 to update the firmware
* choose L for legacy when prompted, N for headless and PXE. USB/SSD is your preference

then reboot and reinstall LE


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

(2019-02-06, 04:24)Matt Devo Wrote:  No, much easier:
* boot Linux USB
* run my Firmware Utility Script
* type uppercase U, then enter to "unlock" all functions
* option 3 to update the firmware
* choose L for legacy when prompted, N for headless and PXE. USB/SSD is your preference

then reboot and reinstall LE 
Legacy firmware installed no problem. Reinstalled LE, everything went fine as before. 

Rebooted, and I get this:

Image

I guess I'm replacing the SSD?


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

(2019-02-06, 06:49)Leclair Wrote: I guess I'm replacing the SSD?

yeah, and I'd go back to the UEFI firmware too


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

To the folks who have had success with adding the pci=nomsi command line in my syslinux.cfg for a Chromebox, I am having no luck (I've tried it as pci=nomsi, 'pci=nomsi', "pci-nomsi").  The problem is that each time I add the parameter using nano and LE reboots, it thinks it is a new installation and I have to go through the setup wizard again - thus not taking effect.  Any advice is appreciated, thanks!

I followed the steps from the Kodi Wiki...
ssh root@<ip address>
<enter password, default is 'libreelec'>
mount -o remount,rw /dev/sda1 /flash
(Note: use /dev/sda6 for dual-boot setups)
nano /flash/syslinux.cfg
(Note: may be 'extlinux.conf' on some setups)
<add ' pci=nomsi' after 'quiet'>
<save and quit: CTRL+o CTRL+x>
reboot


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

(2019-02-07, 04:06)declare01 Wrote: The problem is that each time I add the parameter using nano and LE reboots, it thinks it is a new installation and I have to go through the setup wizard again - thus not taking effect. 
that doesn't make sense, the first-run wizard has nothing to do with that config file / doesn't write to it (it's normally read-only, remember?)

I suspect you aren't adding the pci=nomsi parameter correctly; you don't add the single quotes. post the config file on pastebin (cat /flash/syslinux.cfg | pastebinit) and provide the URL so I can see what's going on


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

It sure doesn't make sense to me - I had done some configurations in Kodi normally and got things setup properly.. then I found this workaround.  I edited the file and it wiped out my Kodi settings and started the wizard again on reboot (as mentioned, I tried it numerous different ways, all the same result)

Anyway, here is the Pastebin you asked for - https://pastebin.com/kRB5q22L


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

(2019-02-07, 04:19)declare01 Wrote: It sure doesn't make sense to me - I had done some configurations in Kodi normally and got things setup properly.. then I found this workaround.  I edited the file and it wiped out my Kodi settings and started the wizard again on reboot (as mentioned, I tried it numerous different ways, all the same result)

Anyway, here is the Pastebin you asked for - https://pastebin.com/kRB5q22L
 looks you need to edit /flash/EFI/BOOT/syslinux.cfg instead