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) - Matt Devo - 2014-05-26

(2014-05-26, 04:44)denrock Wrote: Yeah, the usb drives with all my movies and music are formatted NTFS. It's weird, in XBMC for the drives that do get recognized some of the time a message will pop up saying it was mounted but it's nowhere to be found. If I reboot sometimes it'll show up then, sometimes it will just do the same thing saying it mounted the drive but it won't show up. It seems like it's similar to problems other people were having in other comments where they mentioned certain usb drives or sticks were working and others not working.

Do you know of any walkthroughs of how to reflash the rom with the method you described? Thanks for any help.

I think the issue you are having is completely unrelated to what others are seeing, but I could be wrong.

OpenELEC should actually automount NTFS drives as read-only, so if not then there's an issue somewhere. Are the drives in question USB flash drives? or external hard drives? If the latter, are they bus-powered or externally powered? USB2 or USB3?

Re-flashing the stock firmware will not let you run OpenELEC as-is, since the stock legacy BIOS/SeaBIOS is pretty hosed. You could re-flash the stock firmware, then manually update just the legacy BIOS portion (with the original fixed version from John Lewis), but even then you'd still need to re-install OpenELEC with my old custom build, as the bootloader (syslinux) included with the official OE distribution is not compatible (due to a bug in the stock firmware/SeaBIOS). And even then there's no guarantee that your drives would work, as the original SeaBIOS update didn't support USB3 drives at all.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - teki4u - 2014-05-26

Hey guys I have an external HP my passport HDD 1tb that contain movies and it does mount all the time but now when I want to copy files from that HDD to my PC or another external HDD it stops to 0kbps after 19% or so it may vary. I have let it rest for few days to try again but same thing. Does anyone know a trick or something for it to work.

I wanted to open the thing but I couldn't , I need my 1tb of movies Sad


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - stewartgp - 2014-05-26

Count me as another stuck on the 'Booting from Hard Disk...' stage after completing the dual boot ChromeOS/OE setup.

If it helps I set my OE partition size as 9GB, opted for a 1s boot delay defaulting to OE and was doing a completely fresh install... will try and go through it again I guess, see if it makes any difference...


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-26

(2014-05-26, 16:09)stewartgp Wrote: Count me as another stuck on the 'Booting from Hard Disk...' stage after completing the dual boot ChromeOS/OE setup.

If it helps I set my OE partition size as 9GB, opted for a 1s boot delay defaulting to OE and was doing a completely fresh install... will try and go through it again I guess, see if it makes any difference...

sent you a PM. Hit me up on google chat/hangouts so I can walk you thru a few things and see what's going on


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Roffy - 2014-05-26

Count me as another stuck on the 'Booting from Hard Disk...' stage after completing the dual boot ChromeOS/OE setup.

I set partition size of 8GB, 1s boot delay defaulting to OE and was doing a completely fresh install as well.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - denrock - 2014-05-26

(2014-05-26, 06:04)Matt Devo Wrote: I think the issue you are having is completely unrelated to what others are seeing, but I could be wrong.

OpenELEC should actually automount NTFS drives as read-only, so if not then there's an issue somewhere. Are the drives in question USB flash drives? or external hard drives? If the latter, are they bus-powered or externally powered? USB2 or USB3?

Re-flashing the stock firmware will not let you run OpenELEC as-is, since the stock legacy BIOS/SeaBIOS is pretty hosed. You could re-flash the stock firmware, then manually update just the legacy BIOS portion (with the original fixed version from John Lewis), but even then you'd still need to re-install OpenELEC with my old custom build, as the bootloader (syslinux) included with the official OE distribution is not compatible (due to a bug in the stock firmware/SeaBIOS). And even then there's no guarantee that your drives would work, as the original SeaBIOS update didn't support USB3 drives at all.


Hey Matt,

The drives I'm using are those usb external hard drives that are 1 or 2 terabytes each and powered by the usb port. I also have a powered usb hub that I use when I want to have a bunch of the drives connected at once. They're mostly USB2 drives. One of them is a USB3. The USB3 pretty much works most of the time. A couple of times it didn't show up when I turned on the system and had to reboot and then it appeared. But the USB2 drives are the problem. Some of them work some of the time and others don't work at all. I've tried them plugged directly into the chromebox and also through the powered usb hub but it's the same results. And I use all these same drives on another XBMC box I have (an android based xbmc box) and they all work fine there so something's going on with this chromebox configuration for me.

Since I don't think I'll be able to use this setup until I get all USB3 drives I just wanted to flash the stock firmware to turn this back into a regular chromebox right now, not to try to use openelec with the original firmware or anything like that. So if you know any guides for flashing the backup that your script made, let me know. Thanks.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Kietunes - 2014-05-27

(2014-05-25, 20:03)Matt Devo Wrote:
(2014-05-24, 16:25)Kietunes Wrote: Hi Matt,

Firstly apologies, I've tried everything I think of to sort the issue but I just haven't had any joy.

I followed the instruction in the original post, I made sure I followed the Device Prep section, downloaded & ran the script no problem.

I was then able to install the Coreboot firmware, I didn't backup a copy as I had already done so using the ChromeOS Recovery Tool.

perhaps I need to make this more clear in the OP/script. The recovery media created by the Google ChromeOS Recovery Tool will allow you to restore the ChromeBox provided you are running the stock firmware. The Recovery button operation/function is part of the stock firmware. Without it, the recovery media is useless. That's why you need to back up your stock firmware.

Now, the stock firmware is also contained within the recovery media image, but it's a bit of a pain to extract it, and it's not an exact copy since it doesn't contain your unique serial number, etc. But it's enough to get the box back running ChromeOS.

Hmm sounds like I made myself a bit of a problem by not making a copy during the installation process. Could you possibly point me in the direction of an explanation of how to extract the stock firmware from the recovery media image and/or how to reflash this?

Thanks again Matt, loving my Chromebox currently, it's so much smoother/slicker than my old HTPC


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-27

(2014-05-27, 15:49)Kietunes Wrote: Hmm sounds like I made myself a bit of a problem by not making a copy during the installation process. Could you possibly point me in the direction of an explanation of how to extract the stock firmware from the recovery media image and/or how to reflash this?

Thanks again Matt, loving my Chromebox currently, it's so much smoother/slicker than my old HTPC

it's not that big of a deal honestly. Extracting the stock firmware from the recovery image is a massive pain unless you're really linux savvy. I'll probably end up posting a download link and instructions in the OP at some point, not sure about integrating it into the script though. If you have OE running and are happy there's no need for it at this point anyway


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Kietunes - 2014-05-27

Thanks,

I'm happy but considering possibly running it as a Dual Boot in the future (looking at running ChromiumOS from usb for the moment, which I presume is possible?).

I guess I just wanted to have it in the even that I do want to go back to having ChromeOS on the box itself.

I'll keep my eyes peeled for any further info


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-27

(2014-05-27, 16:58)Kietunes Wrote: Thanks,

I'm happy but considering possibly running it as a Dual Boot in the future (looking at running ChromiumOS from usb for the moment, which I presume is possible?).

I guess I just wanted to have it in the even that I do want to go back to having ChromeOS on the box itself.

I'll keep my eyes peeled for any further info

dual booting ChromiumOS is the easiest way, it's what I do to test script updates and/or firmware updates


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - jerndl - 2014-05-27

Matt, I ran an early version of you script a couple of week ago (before the Coreboot firmware update). So I guess I am still using the original firmware. I am using a single boot to Openelec (4.0.2). Currently I am not having any specific problems. Is there any reason I should go back a re-run your script to update the firmware? Thanks and a great job putting all this information together. So far I am very happy with the Chromebox/Openelec setup. I have a single 4TB WD MyBook external USB 3.0 drive to store my media. I went ahead and added an extra 4GB of ram (even though I don't think I needed to). I am also using this unit to serve SMB shares to 3 other XBMC "clients" and have had no trouble. I was pleasantly surprised that the Chromebox / external drive combo seem to sleep/wake automatically. So far everything is working much better that the with previous Windows 8 PC/service that was used for the same purpose.Thanks again.

Jay


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - teki4u - 2014-05-27

which version of chromium os are you using, i tried latest weekly and is not booting Sad tried several times with a micro sdcard in a card reader, gets recognized in xubuntu but after restart or shutdown it doesnt boot from it, always boot to hard disk. What should i do. Thing is i only have a 2gb usb stick and the image is larger than that and i dont have another stick to try yet. Thanks in advance


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-27

(2014-05-27, 17:24)jerndl Wrote: Matt, I ran an early version of you script a couple of week ago (before the Coreboot firmware update). So I guess I am still using the original firmware. I am using a single boot to Openelec (4.0.2). Currently I am not having any specific problems. Is there any reason I should go back a re-run your script to update the firmware?

nope, if it's working well, no reason to change it. I'm curious what you mean about sleep/wake working properly though. With the stock firmware, suspending OpenELEC will just shut it down, not actually suspend it

(2014-05-27, 20:12)Veronica Wrote: which version of chromium os are you using, i tried latest weekly and is not booting Sad tried several times with a micro sdcard in a card reader, gets recognized in xubuntu but after restart or shutdown it doesnt boot from it, always boot to hard disk. What should i do. Thing is i only have a 2gb usb stick and the image is larger than that and i dont have another stick to try yet. Thanks in advance

I'm using this one: http://chromium.arnoldthebat.co.uk/daily/Camd64OS-20140526010101.img.7z

Download the file, extract with 7zip, then use Win32diskimager to write the image to a USB or SD card. It needs to be at least 4GB.

Also, FYI, you will always see the 'Booting from Hard Disk' text even when booting from USB, as SeaBIOS only distinguishes between hard disks, floppy disks, and cd/dvdrom disks.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Searlan - 2014-05-27

Hey Matt, is there a significant difference between v1.1 and 2.0 of the script? I updated using v1.1 a few weeks ago, but in v2.0 the release notes said "updated Coreboot firmware".

Thanks


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-27

(2014-05-27, 20:28)Searlan Wrote: Hey Matt, is there a significant difference between v1.1 and 2.0 of the script? I updated using v1.1 a few weeks ago, but in v2.0 the release notes said "updated Coreboot firmware".

Thanks

there's a big difference in the script menu/layout, but the changes to the firmware are minimal, and no need to update. If there's a major update or bug fix I'll be sure to publicize it