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.13 - 2015/02/26] - fritsch - 2015-03-09

I pushed that fix even to OE 5.0 ... so yes it's most likely not this bug ... debug logfile is needed.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - Boulder - 2015-03-09

OK, I'll try to reproduce it with the same DVD video I played yesterday and get you the logfile if I'm successful.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - AndreaSpooky - 2015-03-10

after some days of tries/installations ive arrived to a stable OSes configuration with a dual boot, but I'm having a slight issue.
I'm used to watch movies in Kodi 14.1 under Lubuntu (latest Intel 1.07, Kodi is configured as supposed to) and *sometimes randomly* the CPU spikes/stucks up and starves Kodi decoding, which litterally stop for a second or two, and then resumes, with of course 2 seconds of dropped frames.

I've studied the taskmanager performances and found no evidence of a *random* task asking for high cpu cycles, and since i'm not running any background task nor server (just a little FTP server, which is mostly off), I'm wondering if Kodi itself could be the reason.
Should I maybe configure/disable something under Kodi (samba, upnp, etc.), which could be cause of this issue?

Is this a known issue or is particular of mine?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - minixmt - 2015-03-10

I have some questions please.

In Dual boot mode, one has to keep Developer mode on otherwise CTRL-D to boot to Chrome won't work, correct? If developer mode is turned off what happens to the setup?
With 16GB SSD and allowing 8Gb to Openelec, why is it the free space for ChromeOS Data(documents,etc) ends up to be approx 2GB only?
I have setup the box sucessfully on a small 22" LED Monitor as when i turned developer mode, my old Samsung TV fails to bring up image but should it work after a full setup of OpenElec?

Thank you.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - Matt Devo - 2015-03-10

(2015-03-10, 12:01)AndreaSpooky Wrote: after some days of tries/installations ive arrived to a stable OSes configuration with a dual boot, but I'm having a slight issue.
I'm used to watch movies in Kodi 14.1 under Lubuntu (latest Intel 1.07, Kodi is configured as supposed to) and *sometimes randomly* the CPU spikes/stucks up and starves Kodi decoding, which litterally stop for a second or two, and then resumes, with of course 2 seconds of dropped frames.

I've studied the taskmanager performances and found no evidence of a *random* task asking for high cpu cycles, and since i'm not running any background task nor server (just a little FTP server, which is mostly off), I'm wondering if Kodi itself could be the reason.
Should I maybe configure/disable something under Kodi (samba, upnp, etc.), which could be cause of this issue?

Is this a known issue or is particular of mine?

monitor using top via ssh to see what's causing the CPU spikes. It's not a known issue that I'm aware of.

(2015-03-10, 18:33)minixmt Wrote: I have some questions please.

In Dual boot mode, one has to keep Developer mode on otherwise CTRL-D to boot to Chrome won't work, correct? If developer mode is turned off what happens to the setup?
With 16GB SSD and allowing 8Gb to Openelec, why is it the free space for ChromeOS Data(documents,etc) ends up to be approx 2GB only?
I have setup the box sucessfully on a small 22" LED Monitor as when i turned developer mode, my old Samsung TV fails to bring up image but should it work after a full setup of OpenElec?

Thank you.

If you turn off developer mode, the system will go back to stock -- booting immediately to ChromeOS, with no access to the legacy boot function. Your OE partition/data shouldn't get erased, but won't be accessible.

The ChromeOS disk layout consists of 12 partitions (including the 2 used for OpenELEC), so whatever free space it's reporting is likely only the userdata partition.

There's no reason to think it won't work on your TV, but obviously you'll have to dual boot blindly


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - Netix - 2015-03-10

(2015-03-08, 04:58)Matt Devo Wrote: do you have a startup script or anything that's setting the resolution? or have it set in the video output settings? also check your guisettings.xml file in the userdata share -- obviously there is some remnant of your old config there since it likely wouldn't do that on a clean install

Hi Matt,

I dont have any startup script, my autostart is empty. Here's the pastebin of my guysetting, http://pastebin.com/wnkRXfDm got no idea what to look for into that..

Thanks !


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - gshodg - 2015-03-12

I followed the instructions in the original post and wiki for a standalone setup (I think!).

When I reboot, after the "Run Installer" step, the Chromebox sticks at a grey splashscreen with the OpenElec logo and words "openelec embedded linux entertainment centre".

Any idea what I did wrong, and how to fix it? All help appreciated :-)

Asus Chromebox M031U (Celeron 2955U, 1.4GHz, 4 Gb RAM, 16Gb SSD)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - Matt Devo - 2015-03-12

(2015-03-12, 20:09)gshodg Wrote: I followed the instructions in the original post and wiki for a standalone setup (I think!).

When I reboot, after the "Run Installer" step, the Chromebox sticks at a grey splashscreen with the OpenElec logo and words "openelec embedded linux entertainment centre".

Any idea what I did wrong, and how to fix it? All help appreciated :-)

Asus Chromebox M031U (Celeron 2955U, 1.4GHz, 4 Gb RAM, 16Gb SSD)

so is it freezing when booting the OE install USB, or freezing when booting the hard drive after installation? If the former, I'd try redoing the install media creation using another PC (instructions linked in wiki)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - gshodg - 2015-03-12

(2015-03-12, 21:02)Matt Devo Wrote:
(2015-03-12, 20:09)gshodg Wrote: I followed the instructions in the original post and wiki for a standalone setup (I think!).

When I reboot, after the "Run Installer" step, the Chromebox sticks at a grey splashscreen with the OpenElec logo and words "openelec embedded linux entertainment centre".

Any idea what I did wrong, and how to fix it? All help appreciated :-)

Asus Chromebox M031U (Celeron 2955U, 1.4GHz, 4 Gb RAM, 16Gb SSD)

so is it freezing when booting the OE install USB, or freezing when booting the hard drive after installation? If the former, I'd try redoing the install media creation using another PC (instructions linked in wiki)

It's freezing when booting from the USB. Will try what you suggested, thanks.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - gshodg - 2015-03-12

(2015-03-12, 21:02)Matt Devo Wrote:
(2015-03-12, 20:09)gshodg Wrote: I followed the instructions in the original post and wiki for a standalone setup (I think!).

When I reboot, after the "Run Installer" step, the Chromebox sticks at a grey splashscreen with the OpenElec logo and words "openelec embedded linux entertainment centre".

Any idea what I did wrong, and how to fix it? All help appreciated :-)

Asus Chromebox M031U (Celeron 2955U, 1.4GHz, 4 Gb RAM, 16Gb SSD)

so is it freezing when booting the OE install USB, or freezing when booting the hard drive after installation? If the former, I'd try redoing the install media creation using another PC (instructions linked in wiki)

OK, thanks. I'm use a Mac to re-setup the USB. I'm following the steps from this page: http://wiki.openelec.tv/index.php/HOW-TO:Installing_OpenELEC/Writing_The_Disk_Image#tab=Mac_OSX

When I get to the step
Quote: Next we need to zero out the partition map, OSX has an issue if you don't do this
dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1
I get the following error message in the terminal window:

Quote:0101481ss-MBPBig Grinownloads 0101481s$ dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1
dd: /dev/rdisk1: Permission denied

Any idea what I can do next?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - nickr - 2015-03-12

perhaps /dev/rdisk1 is the wrong device.

Or you need to be an admin user (what we call the root user in unix/linux, not sure about OSX although it is fundamentally unix underneath)

what does
Code:
diskutil disk
output?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - gshodg - 2015-03-12

(2015-03-12, 22:10)nickr Wrote: perhaps /dev/rdisk1 is the wrong device.

Or you need to be an admin user (what we call the root user in unix/linux, not sure about OSX although it is fundamentally unix underneath)

what does
Code:
diskutil disk
output?

If it's admin user, I don't know what to do to login as root - I'm just at the level of following the wiki, running the script and following step-by-step, but don't know much beyond that. I did what you said, and it came back with this:

Quote:0101481ss-MBPBig Grinownloads 0101481s$ diskutil disk1
diskutil: did not recognize verb "disk1"; type "diskutil" for a list
0101481ss-MBPBig Grinownloads 0101481s$ diskutil
Disk Utility Tool
Utility to manage local disks and volumes
Most options require root access to the device

Usage: diskutil [quiet] <verb> <options>, where <verb> is as follows:

list (List the partitions of a disk)
info[rmation] (Get information on a specific disk or partition)
listFilesystems (List file systems available for formatting)
activity (Continuous log of system-wide disk arbitration)

u[n]mount (Unmount a single volume)
unmountDisk (Unmount an entire disk (all volumes))
eject (Eject a disk)
mount (Mount a single volume)
mountDisk (Mount an entire disk (all mountable volumes))

enableJournal (Enable HFS+ journaling on a mounted HFS+ volume)
disableJournal (Disable HFS+ journaling on a mounted HFS+ volume)
moveJournal (Move the HFS+ journal onto another volume)
enableOwnership (Treat as exact User/Group IDs for a mounted volume)
disableOwnership (Ignore on-disk User/Group IDs for a mounted volume)

rename[Volume] (Rename a volume)

verifyVolume (Verify the file system data structures of a volume)
repairVolume (Repair the file system data structures of a volume)

verifyDisk (Verify the components of a partition map of a disk)
repairDisk (Repair the components of a partition map of a disk)

verifyPermissions (Verify the permissions of a Mac OS X volume)
repairPermissions (Repair the permissions of a Mac OS X volume)

eraseDisk (Erase an existing disk, removing all volumes)
eraseVolume (Erase an existing volume)
reformat (Erase an existing volume with same name and type)
eraseOptical (Erase optical media (CD/RW, DVD/RW, etc.))
zeroDisk (Erase a disk, writing zeros to the media)
randomDisk (Erase a disk, writing random data to the media)
secureErase (Securely erase a disk or freespace on a volume)

partitionDisk ((re)Partition a disk, removing all volumes)
resizeVolume (Resize a volume, increasing or decreasing its size)
splitPartition (Split an existing partition into two or more)
mergePartitions (Combine two or more existing partitions into one)

appleRAID <verb> (Perform additional verbs related to AppleRAID)
coreStorage <verb> (Perform additional verbs related to CoreStorage)

diskutil <verb> with no options will provide help on that verb



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - Matt Devo - 2015-03-12

(2015-03-12, 22:08)gshodg Wrote: When I get to the step
Quote: Next we need to zero out the partition map, OSX has an issue if you don't do this
dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1
I get the following error message in the terminal window:

Quote:0101481ss-MBPBig Grinownloads 0101481s$ dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1
dd: /dev/rdisk1: Permission denied

Any idea what I can do next?

the OE instructions need to be updated - you need 'sudo' in front of the command:

Quote:sudo dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - nickr - 2015-03-12

I didn't even know sudo was an OSX thing!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.13 - 2015/02/26] - gshodg - 2015-03-12

Quote:the OE instructions need to be updated - you need 'sudo' in front of the command:

sudo dd if=/dev/zero of=/dev/rdisk1 bs=1024 count=1

Great, thanks! Now I'm into OpenElec/Kodi on the Chromebox :-) Now to play with it :-) Thanks again all