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/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - jhaveri - 2015-03-21

I have dual boot with Chrom and Kodibuntu operationg systems on my HP Chrombox. I don't think I will use Chrome operating system, and want to have only single boot with kodibuntu. I want to make sure that I can do it by downloading the script again from the bash shell when I start the kodibuntu and install coreboot. Since the kodibuntu is already installed, I do not need to reinstall it by creating the usb install media. Please let me know if I am understanding this correctly. I know that safe way would be to start from step 1, and install coreboot, and then create usb install media, and then install kodibuntu. I am just trying to keep the already configured kodibuntu with x11vnc and other kodi customizations and trying to avoid reinstall. Thanks.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

If you don't care about regaining the disk space allocated to ChromeOS, then simply flashing the coreboot firmware is sufficient


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Roby77 - 2015-03-21

How to check the version of the firmware installed ?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - merlino - 2015-03-21

Hello!
i hope this is the right place to ask it!
I have a problem: i installer last openelec build (OpenELEC-Generic.x86_64-5.0.6-efi.img.gz) but:
1) i don't have the suggested kernel and i didn't understand how to update it
2) i use a smb windows shared folder, but i have a really poor performance!
CPU usage is very low (always less then 15%) but i have really poor network performance!
A 720p file will end cache in about 20 seconds.
I can incrase it but i don't think that can be a solution!
Can u help me?
thanks in advance

Merlino


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - fritsch - 2015-03-21

Quote:1) i don't have the suggested kernel and i didn't understand how to update it

Nothing needs updating on OpenELEC

Quote:2) i use a smb windows shared folder, but i have a really poor performance!

If that is wireless, fix the root cause -> get a cable.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - merlino - 2015-03-21

(2015-03-21, 15:33)fritsch Wrote:
Quote:1) i don't have the suggested kernel and i didn't understand how to update it

Nothing needs updating on OpenELEC

Quote:2) i use a smb windows shared folder, but i have a really poor performance!

If that is wireless, fix the root cause -> get a cable.

hi!
Thanks for your help!
i'm using gigabit eth cable.
On the same switch i have also another pc with gigabit that works perfectly!
Thanks


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Boulder - 2015-03-21

You could test transferring data over ftp to see if it's as slow. I get 31-33 MB/s over ftp on a gigabyte network.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

(2015-03-21, 14:28)Roby77 Wrote: How to check the version of the firmware installed ?

power on with a bootable USB device connected; the last part of SeaBIOS version string is the date, which is the closest thing to the version.

(2015-03-21, 16:29)Boulder Wrote: You could test transferring data over ftp to see if it's as slow. I get 31-33 MB/s over ftp on a gigabyte network.

that's far below optimal for a gigE network. I get close to 100MB/s to/from my NAS via SMB; the ChromeBox is limited to around 70MB/s sustained in practice, but pretty sure that's a limitation of the write speed of the internal ssd (or M.2 SATA interface).


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Boulder - 2015-03-21

I'm writing to an external USB drive attached to the Chromebox, maybe that's the reason. According to Windows Task Manager, network usage hovers around 40-50% during the transfer.

EDIT: and of course, the router itself can limit the transfer rate. I've got an Asus RT-N56U which should be quite good but probably not the best there is Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

(2015-03-21, 17:49)Boulder Wrote: I'm writing to an external USB drive attached to the Chromebox, maybe that's the reason. According to Windows Task Manager, network usage hovers around 40-50% during the transfer.

if it's USB2, then that's likely it.

Quote:EDIT: and of course, the router itself can limit the transfer rate. I've got an Asus RT-N56U which should be quite good but probably not the best there is Smile

the LAN switch on any modern router should handle gigE traffic without breaking a sweat. It's the NAT overhead for WAN-->LAN traffic that limits some of the lower performing ones.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - jhaveri - 2015-03-21

(2015-03-21, 10:30)Matt Devo Wrote: If you don't care about regaining the disk space allocated to ChromeOS, then simply flashing the coreboot firmware is sufficient

Thanks Matt. I appreciate the help. I don't really need the space taken by Chromeos, just trying to avoid 30 sec delay.

By the way, is there some way to back up the kodibuntu system on Chrombox to usb drive?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

(2015-03-21, 22:01)jhaveri Wrote:
(2015-03-21, 10:30)Matt Devo Wrote: If you don't care about regaining the disk space allocated to ChromeOS, then simply flashing the coreboot firmware is sufficient

Thanks Matt. I appreciate the help. I don't really need the space taken by Chromeos, just trying to avoid 30 sec delay.

By the way, is there some way to back up the kodibuntu system on Chrombox to usb drive?

if you just want to get rid of the boot delay, then you can use the script to set it to a 1s delay and default to booting Kodibuntu. But if you have no plans to use ChromeOS then flashing the standalone firmware is a better option.

I'm not aware of any specific tools for backing up a Ubuntu system, though I'm sure some exist. If you only care about the Kodi settings etc, then there are add-ons available to back that up.


HELP!!! - code_19 - 2015-03-22

Hello! Guys I'm in so much trouble here. I really hope you can help me.

I have an Asus Chromebox. Had the dual setup, then attempted to go for the standalone. Did the factory reset, firmware backup, flashed the custom firmware but something went wrong, cause now It won't boot.

The log says:

Booting the kernel.
drm:i915_write32 Error Unknown unclaimed register before writing to a090
i8042: No controller found
gsmi: exec 0xc1ef: Unknown error 0xc1ef
usb1-4Confusedtring descriptor 0 mlformed (err=-61), defaulting to 0x0409
sdb No Caching mode page present
sdb Assuming drive cache: write through
.
.
.

I tried booting from a usb stick with Chromium, but couldn't, cause I forgot to reset the boot options, and I can't choose the usb drive. I press Escape but nothing happens, the boot menu disappears in a second, goes directly to the hard dirve.


Please tell me there is another way to boot from an external drive, so I can restore the firmware backup I got here. Or what can I do to fix this?

Thanks in advance!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-22

(2015-03-22, 04:49)code_19 Wrote: Hello! Guys I'm in so much trouble here. I really hope you can help me.

I have an Asus Chromebox. Had the dual setup, then attempted to go for the standalone. Did the factory reset, firmware backup, flashed the custom firmware but something went wrong, cause now It won't boot.

if you did a factory reset (which you didn't need to do before switching to a standalone setup), then you no longer have OpenELEC installed, so you need to install it, just like you would if you'd never done the dual boot setup before


Quote:I tried booting from a usb stick with Chromium, but couldn't, cause I forgot to reset the boot options, and I can't choose the usb drive. I press Escape but nothing happens, the boot menu disappears in a second, goes directly to the hard dirve.


Please tell me there is another way to boot from an external drive, so I can restore the firmware backup I got here. Or what can I do to fix this?

Thanks in advance!

no, the boot options have no effect now - you wiped them out when you installed the custom firmware. You're not getting a boot menu b/c the ChromeBox doesn't like your USB stick for whatever reason. All you need to do now is create an OpenELEC usb installer by following the instructions on the OpenELEC wiki, which are linked from the ChromeBox wiki. If it doesn't work with one USB stick, try another or a SD card instead. Once you get OE (re)installed everything will be fine


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - jhaveri - 2015-03-22

(2015-03-21, 22:23)Matt Devo Wrote:
(2015-03-21, 22:01)jhaveri Wrote:
(2015-03-21, 10:30)Matt Devo Wrote: If you don't care about regaining the disk space allocated to ChromeOS, then simply flashing the coreboot firmware is sufficient

Thanks Matt. I appreciate the help. I don't really need the space taken by Chromeos, just trying to avoid 30 sec delay.

By the way, is there some way to back up the kodibuntu system on Chrombox to usb drive?

if you just want to get rid of the boot delay, then you can use the script to set it to a 1s delay and default to booting Kodibuntu. But if you have no plans to use ChromeOS then flashing the standalone firmware is a better option.

I'm not aware of any specific tools for backing up a Ubuntu system, though I'm sure some exist. If you only care about the Kodi settings etc, then there are add-ons available to back that up.

Matt: I have got into trouble, I hope you can help. After I installed the coreboot, prepared Kodibuntu usb boot disk, installed kodibuntu, and rebooted the hp chrombox, I do not see any display on the tv. The chrombox is connected by hdmi to denon avr 891, and from denon to samsung ultra hd 4k tv through hdmi from denon. Everything was fine in dual boot. When I went upstairs to my pc, I saw that wireless was working in the kodibuntu, but I could not ssh. So I disconnected chrombox, and brought it upstairs and connected to my hidef samsung monitor through hdmi. Kodibuntu boots fine, and I see display on the monitor. I took the chrombox again to denon/tv connection, and still no display. The tv briefly says resolution not supported, but upstairs monitor says it was 1920x1080. I am completely lost. Thanks for your help.