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 - 2021-07-05

(2021-07-05, 11:32)hansibull Wrote: Well, I'm using GalliumOS because I also use the device as a Shairport-sync host.

 then that option doesn't apply to you.


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

(2021-07-05, 15:36)Matt Devo Wrote:
(2021-07-05, 11:32)hansibull Wrote: Well, I'm using GalliumOS because I also use the device as a Shairport-sync host.

 then that option doesn't apply to you.

Yes, so my question remains unanswered:
Quote:But I've never cloned an SSD on a Linux-based system before. Have anyone done this with their Chromebox before? I've been thinking about buying this M.2 to USB adapter. Is is as simple as inserting the new SSD into this adapter and run a disk cloning program on the Chromebox?

If cloning is the best option here, does anybody have a recommendation for a cloning tool that "just works"?


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

(2021-07-05, 19:43)hansibull Wrote: Yes, so my question remains unanswered:

> But I've never cloned an SSD on a Linux-based system before. Have anyone done this with their Chromebox before? I've been thinking about buying this M.2 to USB adapter. Is is as simple as inserting the new SSD into this adapter and run a disk cloning program on the Chromebox?

If cloning is the best option here, does anybody have a recommendation for a cloning tool that "just works"?

Use clonezilla. Boot from USB, create image of current SSD, save to network drive or flash drive. Swap SSDs, boot clonezilla, restore image, choose option to expand to fit to disk. No need for a M.2/USB adapter if you have a USB large enough for the image.


Powering on with TV turned off - robca - 2021-07-18

I'm using a CN60 with Coreboot and Libreelec 9.2.6. Everything is working fine, as long as I turn on the TV (Vizio M55-F0), then turn on the Asus CN60.

If I reboot the Chromebox when the TV is off, I get no screen upon turning on the TV. I suspect that the CN60 defaults to DP and not HDMI when rebooting without a display.

Is there a way to force the system to use HDMI when rebooting (maybe using a startup script?). I tried playing with xrandr, but when the display is off, I get "disconnected" for all device, and when I try to use the xrandr --output HDMI1 --mode 0x126, I get an error (when the display is connected, I can set the 0x126 mode, which in my case is 1920x1080p60). Output from xrandr --verbose with the display off is here https://paste.kodi.tv/omorebayik

Is there a way to boot in HDMI, FHD mode? Even when I turn on the TV then the CN60, most of the times the default screen gets reverted to 4K, which doesn't really work well on such an old Chromebox

EDIT: I searched more past posts with similar problems, and I found something that might possibly apply. Is this a case where I should use a custom EDID as per https://wiki.libreelec.tv/configuration/edid? In other cases I saw mentions of a custom BIOS with hardcoded 1080p resolution, which would also work for me


RE: Powering on with TV turned off - Matt Devo - 2021-07-20

(2021-07-18, 21:20)robca Wrote: I'm using a CN60 with Coreboot and Libreelec 9.2.6. Everything is working fine, as long as I turn on the TV (Vizio M55-F0), then turn on the Asus CN60.

If I reboot the Chromebox when the TV is off, I get no screen upon turning on the TV. I suspect that the CN60 defaults to DP and not HDMI when rebooting without a display.

Is there a way to force the system to use HDMI when rebooting (maybe using a startup script?). I tried playing with xrandr, but when the display is off, I get "disconnected" for all device, and when I try to use the xrandr --output HDMI1 --mode 0x126, I get an error (when the display is connected, I can set the 0x126 mode, which in my case is 1920x1080p60). Output from xrandr --verbose with the display off is here https://paste.kodi.tv/omorebayik

Is there a way to boot in HDMI, FHD mode? Even when I turn on the TV then the CN60, most of the times the default screen gets reverted to 4K, which doesn't really work well on such an old Chromebox

EDIT: I searched more past posts with similar problems, and I found something that might possibly apply. Is this a case where I should use a custom EDID as per https://wiki.libreelec.tv/configuration/edid? In other cases I saw mentions of a custom BIOS with hardcoded 1080p resolution, which would also work for me

the custom EDID -- more like saving/loading the display's EDID regardless of attachment state -- should allow you to use a startup script to set the output resolution to 1080p60 regardless of connection state. Both of these are covered on the Chromebox wiki page


RE: Powering on with TV turned off - robca - 2021-07-21

(2021-07-20, 22:55)Matt Devo Wrote:
(2021-07-18, 21:20)robca Wrote: I'm using a CN60 with Coreboot and Libreelec 9.2.6. Everything is working fine, as long as I turn on the TV (Vizio M55-F0), then turn on the Asus CN60.

If I reboot the Chromebox when the TV is off, I get no screen upon turning on the TV. I suspect that the CN60 defaults to DP and not HDMI when rebooting without a display.

Is there a way to force the system to use HDMI when rebooting (maybe using a startup script?). I tried playing with xrandr, but when the display is off, I get "disconnected" for all device, and when I try to use the xrandr --output HDMI1 --mode 0x126, I get an error (when the display is connected, I can set the 0x126 mode, which in my case is 1920x1080p60). Output from xrandr --verbose with the display off is here https://paste.kodi.tv/omorebayik

Is there a way to boot in HDMI, FHD mode? Even when I turn on the TV then the CN60, most of the times the default screen gets reverted to 4K, which doesn't really work well on such an old Chromebox

EDIT: I searched more past posts with similar problems, and I found something that might possibly apply. Is this a case where I should use a custom EDID as per https://wiki.libreelec.tv/configuration/edid? In other cases I saw mentions of a custom BIOS with hardcoded 1080p resolution, which would also work for me

the custom EDID -- more like saving/loading the display's EDID regardless of attachment state -- should allow you to use a startup script to set the output resolution to 1080p60 regardless of connection state. Both of these are covered on the Chromebox wiki page
thanks for confirming, Matt. Will follow those steps now that I know it's the right path.

Thanks for all you do for these devices and the community, btw. While looking for more info, I noticed that on your page https://mrchromebox.tech/#support, the "Kodi Chromebox wiki page" link points to https://kodi.wiki/view/Chromebox, which is a dead end. The right page is now archived under https://kodi.wiki/view/Archive:Chromebox (which is the one you also have in your signature here). I thought you might want to know...


RE: Powering on with TV turned off - Matt Devo - 2021-07-21

(2021-07-21, 19:10)robca Wrote: Thanks for all you do for these devices and the community, btw. While looking for more info, I noticed that on your page https://mrchromebox.tech/#support, the "Kodi Chromebox wiki page" link points to https://kodi.wiki/view/Chromebox, which is a dead end. The right page is now archived under https://kodi.wiki/view/Archive:Chromebox (which is the one you also have in your signature here). I thought you might want to know...

 fixed thx


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

Leaving this here for time travelers from the future finding this thread. I executed getedid create and after a reboot, everything works beautifully. Even when the TV is in standby mode my chromebox sees it as active and I can set resolutions from a script. I got initially sidetracked by the long explanation here https://wiki.libreelec.tv/configuration/edid thinking I needed to issue multiple commands, but the getedid script does everything automatically on a chromebox.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - knives of ice - 2021-09-01

I've had this chromebox sitting around for years unused after loading kodi standalone on it.  is there a way to load windows 10 on it?  i know i read articles about that in the past but I have no idea how to do it if kodi is already instatalled.  any guides?


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

(2021-09-01, 03:35)knives of ice Wrote: I've had this chromebox sitting around for years unused after loading kodi standalone on it.  is there a way to load windows 10 on it?  i know i read articles about that in the past but I have no idea how to do it if kodi is already instatalled.  any guides?

https://www.reddit.com/r/chrultrabook/comments/aufp1q/getting_started_read_this_first/

TLDR:

* boot Linux from USB (ubuntu, eg)
* run my Firmware Utility Script
* install/update UEFI firmware
* reboot
* install Windows from USB
* install Speedfan and set to auto mode, set to run on startup


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - knives of ice - 2021-09-11

(2021-09-01, 05:57)Matt Devo Wrote:
(2021-09-01, 03:35)knives of ice Wrote: I've had this chromebox sitting around for years unused after loading kodi standalone on it.  is there a way to load windows 10 on it?  i know i read articles about that in the past but I have no idea how to do it if kodi is already instatalled.  any guides?

https://www.reddit.com/r/chrultrabook/comments/aufp1q/getting_started_read_this_first/

TLDR:

* boot Linux from USB (ubuntu, eg)
* run my Firmware Utility Script
* install/update UEFI firmware
* reboot
* install Windows from USB
* install Speedfan and set to auto mode, set to run on startup

This is a great guide, but I went out and bought 2 brand new 32gb usb sandisk thumb drives, successfully wrote ubuntu to usb with etcher and there is no option hitting escape to boot to the usb.  it boots directly to kodi every time.  i've tried 2 usb thumb drives so no idea what i'm doing wrong.  thanks


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

(2021-09-11, 01:40)knives of ice Wrote:
(2021-09-01, 05:57)Matt Devo Wrote:
(2021-09-01, 03:35)knives of ice Wrote: I've had this chromebox sitting around for years unused after loading kodi standalone on it.  is there a way to load windows 10 on it?  i know i read articles about that in the past but I have no idea how to do it if kodi is already instatalled.  any guides?

https://www.reddit.com/r/chrultrabook/comments/aufp1q/getting_started_read_this_first/

TLDR:

* boot Linux from USB (ubuntu, eg)
* run my Firmware Utility Script
* install/update UEFI firmware
* reboot
* install Windows from USB
* install Speedfan and set to auto mode, set to run on startup

This is a great guide, but I went out and bought 2 brand new 32gb usb sandisk thumb drives, successfully wrote ubuntu to usb with etcher and there is no option hitting escape to boot to the usb.  it boots directly to kodi every time.  i've tried 2 usb thumb drives so no idea what i'm doing wrong.  thanks
sounds like it's not detecting the USB for some reason. Try another port, worst case you can always pull the SSD and see if that forces the USB to be detected / to boot


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - knives of ice - 2021-09-11

(2021-09-11, 02:07)Matt Devo Wrote:
(2021-09-11, 01:40)knives of ice Wrote:
(2021-09-01, 05:57)Matt Devo Wrote: https://www.reddit.com/r/chrultrabook/comments/aufp1q/getting_started_read_this_first/

TLDR:

* boot Linux from USB (ubuntu, eg)
* run my Firmware Utility Script
* install/update UEFI firmware
* reboot
* install Windows from USB
* install Speedfan and set to auto mode, set to run on startup

This is a great guide, but I went out and bought 2 brand new 32gb usb sandisk thumb drives, successfully wrote ubuntu to usb with etcher and there is no option hitting escape to boot to the usb.  it boots directly to kodi every time.  i've tried 2 usb thumb drives so no idea what i'm doing wrong.  thanks
sounds like it's not detecting the USB for some reason. Try another port, worst case you can always pull the SSD and see if that forces the USB to be detected / to boot

yeah i've tried all 4 ports.  no idea what could be wrong.  should I try another program other than Etcher to write Ubuntu to the usb?  its definitely not detecting the usb unless i'm doing something wrong. there is no message to hit escape when it boots up before getting to kodi so I assume its not even being detected and even if i hit escape multipe times as soon as I hit power I never see a message about hitting escape.

its been years since I've used this and I can't remember what the normal boot process said


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

(2021-09-11, 03:54)knives of ice Wrote:
(2021-09-11, 02:07)Matt Devo Wrote:
(2021-09-11, 01:40)knives of ice Wrote: This is a great guide, but I went out and bought 2 brand new 32gb usb sandisk thumb drives, successfully wrote ubuntu to usb with etcher and there is no option hitting escape to boot to the usb.  it boots directly to kodi every time.  i've tried 2 usb thumb drives so no idea what i'm doing wrong.  thanks
sounds like it's not detecting the USB for some reason. Try another port, worst case you can always pull the SSD and see if that forces the USB to be detected / to boot

yeah i've tried all 4 ports.  no idea what could be wrong.  should I try another program other than Etcher to write Ubuntu to the usb?  its definitely not detecting the usb unless i'm doing something wrong. there is no message to hit escape when it boots up before getting to kodi so I assume its not even being detected and even if i hit escape multipe times as soon as I hit power I never see a message about hitting escape.

its been years since I've used this and I can't remember what the normal boot process said
this is purely a hardware detection issue, is has nothing to do with what is on the USB or how it was written. It's possible your USB keyboard is causing an issue, which you can verify by booting without the keyboard and ssd attached.

You can also flash the firmware directly, treating the device as if it were bricked. See https://wiki.mrchromebox.tech/Unbricking.

Again, this is purely a firmware compatibility issue.


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

Hi Matt, have used your scripts for years to create ChromeOS / Libreelec dual boot setups. Thanks for all the effort!

Was just wondering was there ever an option to have a Gallium OS / Libreelec dual boot setup??
Would love to give Gallium a go rather than ChromeOS but don't really want to give up Libreelec just yet Smile