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: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - Matt Devo - 2014-05-31

(2014-05-31, 17:57)gixie Wrote: Hi everybody,
First off, thanks for the effort Matt
Unfortunately I hit a wall. I followed the steps to install OpenELEC in a dual boot config with chromeOS but I am stuck at booting from hard disk...
I ran the script three or four times but to no avail.
I tried installing OE manually but when I did it only showed the entire ssd as target for the install and I did not want to wipe my ChromeOS installation.
Any advice for me please?
Thanks

well, I thought I had fixed this, but apparently not. I can't explain why some people are having issues and not others. I'll need someone who is still experiencing the issue to walk thru a few things with me so we can get to the bottom of this.

installing OE "manually" only allows you to use the entire drive, as that's what it's intended for. It also won't work unless you flash my updated firmware since the stock firmware is buggy and incompatible with the version of the bootloader (syslinux) that OE uses

Quote:Oh, and one more thing, assuming that it won't work or I won't like it, how do you go back to leaving the whole 16gb to the ChromeOS install? Thanks

Use the google recovery media tool as per the Factory Reset option in the wiki


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - teki4u - 2014-05-31

Matt I have a question, can we install and run OpenElec from a USB stick, like some people do with raspi or nuc's?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - gixie - 2014-05-31

Hi Veronica,
You can run it off USB and you can install it as well, but it will use the whole ssd.

@matt,
So what can I do? Tell me if I can help in any way to find the problem...


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - amcmoe - 2014-05-31

I'm stuck at the "Booting from Hard Disk..." screen as well after having run the script several times without any luck. I'll help with the troubleshooting if let me know what you need me to do.


Re: RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - Matt Devo - 2014-05-31

(2014-05-31, 19:54)amcmoe Wrote: I'm stuck at the "Booting from Hard Disk..." screen as well after having run the script several times without any luck. I'll help with the troubleshooting if let me know what you need me to do.

When did you first run the script? If it wasn't late yesterday (5/30) with v2.6, then you need to do a factory reset as per the wiki, then install again with the current version. I have confirmation now from 3 people that this fixed the issue for them.

(2014-05-31, 19:04)Veronica Wrote: Matt I have a question, can we install and run OpenElec from a USB stick, like some people do with raspi or nuc's?

edit: you can, with two USB sticks, one for the installer, and the other to be installed to. You can do this on any PC/Mac. If you're running my Coreboot firmware, everything will work out of the box. If you're using the stock firmware + updated legacy BIOS/SeaBIOS, you'll need to manually downgrade the bootloader (syslinux) from v 6.0.2 to v5.10. You can either download syslinux and manually install it to the USB stick via the command line, or use a tool like BootICE that will do it for you. But that's kinda outside of the scope of this script Smile


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - amcmoe - 2014-05-31

I actually did it this morning (5/31) and got stuck at the Booting from Hard Disk screen. I'll do a factory reset and give it another try.


Re: RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - Matt Devo - 2014-06-01

(2014-05-31, 23:39)amcmoe Wrote: I actually did it this morning (5/31) and got stuck at the Booting from Hard Disk screen. I'll do a factory reset and give it another try.

Then it sounds like you have a different problem unfortunately. Hit me up on Google chat/hangouts and I'll see what I can do


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - gixie - 2014-06-01

Guys, if you manage to get it to work, I want to know as well...thanks


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - amcmoe - 2014-06-01

@matt, thanks for offering to help, I appreciate it. I actually got it to work last night. I'm not sure if this had anything to do with it, but when I originally ran the script, I did it as a "Guest" on ChromeOS and it ended up not working even after several tries. I noticed ChromeOS showed zero bytes free and also wouldn't let me create the recovery media if I was signed in as a Guest but would work fine if I signed into my Google account. On the second try, I signed into my Google account, made the recovery media, and did a factory reset/recovery, then I signed into my Google account instead of as a Guest to run the script it worked flawlessly. I have no idea if that was actually the cause of it, or if something glitched on the first try but doing it that way + the factory reset did the trick.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - Matt Devo - 2014-06-01

(2014-06-01, 15:47)amcmoe Wrote: @matt, thanks for offering to help, I appreciate it. I actually got it to work last night. I'm not sure if this had anything to do with it, but when I originally ran the script, I did it as a "Guest" on ChromeOS and it ended up not working even after several tries. I noticed ChromeOS showed zero bytes free and also wouldn't let me create the recovery media if I was signed in as a Guest but would work fine if I signed into my Google account. On the second try, I signed into my Google account, made the recovery media, and did a factory reset/recovery, then I signed into my Google account instead of as a Guest to run the script it worked flawlessly. I have no idea if that was actually the cause of it, or if something glitched on the first try but doing it that way + the factory reset did the trick.

the first step of the instructions explicitly says *not* to log into ChromeOS; looks like I'll need to make this part more clear.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - gixie - 2014-06-03

Hi all
I got it to work. Did a factory reset, ran the script twice WITHOUT even logging into ChromeOS once and...it worked.
Thanks Matt for the hard work.


Re: RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - Matt Devo - 2014-06-03

(2014-06-03, 04:19)gixie Wrote: Hi all
I got it to work. Did a factory reset, ran the script twice WITHOUT even logging into ChromeOS once and...it worked.
Thanks Matt for the hard work.

Glad to hear that we seem to have a solution that works for everyone now Smile


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - levendis - 2014-06-04

The script worked beautifully - thank you for all your amazing work, Matt! Are you accepting donations?

Question for everyone here: I’m now trying to decide what physical remote to get for this. (The apps are nice, but not as quick or intuitive for play/pause, menu navigation, etc.) I would love to use my Boxee box remote, because of its ease of use + keyboard, but can’t find any USB receivers for it. So what’s the next best thing? I have it narrowed down to:

1. Flirc with my TV remote or older Sony universal remote (versatile, but needs to be line-of-sight and has some reported issues with the Chromebox)

2. A Sony PS3 bluetooth remote (no need for a USB receiver, but maybe connectivity issues?)

3. A Microsoft MCE remote + receiver

Any strong recommendations for one of these over the others? Is bluetooth better than IR? I’ve searched other threads, but am looking for a recommendation particular to the chromebox, which doesn’t have built-in IR. Harmony remotes seem nice, but much more expensive than I'm looking to spend right now.

EDIT: The XBox One Media Remote seems like what I'm looking for - small and simple, but enough buttons for XBMC. Is a Flirc the best way to use that with the Chromebox? Are there any better remotes like that?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - rukusx7 - 2014-06-04

This is my setup.

I've used Matt's script to install the coreboot firmware.
Make a Linux Mint 17 live USB elsewhere.
I followed this guide to optimize my install of Linux Mint for SSD.
https://sites.google.com/site/easylinuxtipsproject/ssd
Install Linux Mint 17 as from live usb.
Apply your SSD tweaks
I then added this ppa for updated linux drivers.
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates and then, sudo apt-get update && sudo apt-get upgrade
I then Followed this guide to update to the latest stable 3.14.* kernel, which has optimizations for Intel Haswell.
http://www.yourownlinux.com/2014/06/how-...linux.html
I also followed this guide that allows you to change the governor from "performance" to "powersave" (and optionally thermald
http://www.webupd8.org/2014/04/prevent-your-laptop-from-overheating.html
Install XBMC
Make a new user for your computer called xbmc. Set him to login automatically at boot into the XBMC session. reboot. Should boot into XBMC in under 20 secs.

You now have a fully functioning Linux computer that also acts as an XBMC appliance. Should note that for smooth 1080p playback, video decoding must be set to SOFTWARE uner xbmc video playback.. Shaders can be hardware or whatever you wish. To enable wifi, exit xbmc to login to your desktop and in network options, you can change settings to allow any user to connect to your protected wifi networks. To make a note, Setting powersave as governor will still ramp up to full frequency as required, and will keep your box cool when idling, Just how your cellphone works. To update the coreboot firmware, I put ChromiumOS on a USB stick and did my work from there.

I'm not much of a guide writing person, so I hope this helps.

Good luck and enjoy!


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.6 - 2014/05/30] - MrCrispy - 2014-06-04

(2014-06-04, 21:01)rukusx7 Wrote: This is my setup.

I've used Matt's script to install the coreboot firmware.
Make a Linux Mint 17 live USB elsewhere.
I followed this guide to optimize my install of Linux Mint for SSD.
https://sites.google.com/site/easylinuxtipsproject/ssd
Install Linux Mint 17 as from live usb.
Apply your SSD tweaks
I then added this ppa for updated linux drivers.
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates and then, sudo apt-get update && sudo apt-get upgrade
I then Followed this guide to update to the latest stable 3.14.* kernel, which has optimizations for Intel Haswell.
http://www.yourownlinux.com/2014/06/how-...linux.html
I also followed this guide that allows you to change the governor from "performance" to "powersave" (and optionally thermald
http://www.webupd8.org/2014/04/prevent-your-laptop-from-overheating.html
Install XBMC
Make a new user for your computer called xbmc. Set him to login automatically at boot into the XBMC session. reboot. Should boot into XBMC in under 20 secs.

You now have a fully functioning Linux computer that also acts as an XBMC appliance. Should note that for smooth 1080p playback, video decoding must be set to SOFTWARE uner xbmc video playback.. Shaders can be hardware or whatever you wish. To enable wifi, exit xbmc to login to your desktop and in network options, you can change settings to allow any user to connect to your protected wifi networks. To make a note, Setting powersave as governor will still ramp up to full frequency as required, and will keep your box cool when idling, Just how your cellphone works. To update the coreboot firmware, I put ChromiumOS on a USB stick and did my work from there.

I'm not much of a guide writing person, so I hope this helps.

Good luck and enjoy!

Thanks, lot of helpful info in there. As someone not too familiar with Linux this does seem a bit daunting. Are there any benefits to running a full Linux distro vs OpenElec if I don't plan to use the box as a pc? Also I don't understand why video decoding has to be software, isn't the whole point to use the gpu for all decoding?