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) - brAzzi64 - 2014-05-25 Without intentions of hijacking the thread, I'm trying to run XMBC on an Arch Linux on the Chromebox. I been struggling with several issues along the way, hope I had found this thread before ^^. I posted my current issue on a separate thread here. Did anybody have any experience with it? I had to wipe out the whole SSD to make my installation work, so I'll definitely give this script a try after I make my arch installation work, hoping to end up with a dualboot system. Thanks! RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-25 (2014-05-24, 16:25)Kietunes Wrote: Hi Matt, 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. Quote:If I try to recover my firmware using my recovery stick it just hangs on a black screen with a load of text...sometimes it stops at the line; As per above, the recovery media is useless without the stock firmware. (2014-05-25, 02:52)brAzzi64 Wrote: Without intentions of hijacking the thread, I'm trying to run XMBC on an Arch Linux on the Chromebox. I been struggling with several issues along the way, hope I had found this thread before ^^. I posted my current issue on a separate thread here. looking at the other thread, seems like you got the issue sorted. This script will only run on a ChromeOS (or ChromiumOS) system. The dual boot setup is only meant for dual-booting ChromeOS, trying to use it for anything else will only cause problems to the degree the script runs at all. RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - tetsuya - 2014-05-25 (2014-05-25, 02:52)brAzzi64 Wrote: Without intentions of hijacking the thread, I'm trying to run XMBC on an Arch Linux on the Chromebox. I been struggling with several issues along the way, hope I had found this thread before ^^. I posted my current issue on a separate thread here. Since your using Arch minimal for xbmc, I assume you want to run ChromOS (or ChromiumOS) as a dual boot. You can forgo a dual boot and have ChromiumOS run as an independent display manager on any VT. Chromium OS UI ('official' prebuilt snapshot), display manager session RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - brAzzi64 - 2014-05-25 Wow, wait. I don't think I completely got it. But first: I originally wanted to ran a dual boot ChromeOS and minimal Arch with XMB, but had trouble trying to get grub installed on the GPT partitioned drive and decided to start off by getting an Arch running by itself in the entire drive, which I have working now. What you're saying here is that I could install the Chromium OS "desktop" on my current Arch, along with XBMC? That sounds really interesting. If that's the case, how do you run XMBC? Can you switch between one "desktop" or the other (XBMC/ChromiumOs) on the fly, without restarting the system itself, or how would it work? RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - brAzzi64 - 2014-05-26 Matt Devo: I see that you mention: Quote:Install Linux to partition /dev/sda7, and the grub bootloader to /dev/sda. But while I was trying to install grub, I got something like: Code: warn : This GPT partition has no BIOS Boot partition; embedding wont be possible!. I was not sure if I needed to mark one of the (many) existing GPT partitions as "BIOS Boot partition" and install my new OS on /dev/sda7 or what exactly. Have you tried to install grub along with ChromeOS? RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - tetsuya - 2014-05-26 (2014-05-25, 23:46)brAzzi64 Wrote: Wow, wait. I don't think I completely got it. But first: I haven't tried it myself yet, but basically it would run on a second X server (:0.0 xbmc and :1.0 ChromiumOS) on another tty(ctrl-alt-F?) that you assign it. You would just switch to the tty it's running and back to xbmc when your done with it. If you shut your box off, you can run it as a service and it'll load both X-servers up, or you could start and end the second X-server when you needed it. To load it up on tty2 (ctrl-alt-F2) Code: systemctl start [email protected] RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - mikeporetti - 2014-05-26 If id like to run openElec ONLY, do i need to install the firmware in the script? (option 4) i have a problem, i insert a usb and run option 5. When it reboots i get "booting from hard disk" and nothing happens. I check to see if any data has actually been stored on my usb by putting it in my laptop and nothing is there. any suggestions? RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-26 (2014-05-26, 00:19)brAzzi64 Wrote: Matt Devo: I see that you mention: /dev/sda12 should already be marked as the BIOS boot partition; that's what boots when you do a legacy boot [CTRL-L]. the ChrUbuntu script, which installs Ubuntu in a dual boot setup with ChromeOS, does exactly what I describe: installs itself to /dev/sda7, and installs grub at the root of the device/volume (/dev/sda). I'm not familiar enough with grub to know why you are getting that error or how to mitigate it. Also, I'm not sure why you'd want to dual boot ChromeOS + Arch/XBMC. I don't see any advantage to the latter over OpenELEC for instance, but then again I'm not that familiar with Arch linux. (2014-05-26, 01:19)mikeporetti Wrote: If id like to run openElec ONLY, do i need to install the firmware in the script? (option 4) you won't be able to install OpenELEC without first flashing the firmware in option 4 - the script literally tells you this when it's finished creating the OpenELEC installer: Quote:Creation of OpenELEC install media is complete. if you're getting an error creating the OpenELEC install media using the script, then report it here so I can fix it. You can also just download OpenELEC from their site and make the install media that way - which is exactly what the script is doing. RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - mikeporetti - 2014-05-26 okay ive installed the firmware. and emptied the new contents of the usb(the firmware backup) onto my laptop for safe keeping. Now it wont allow me to get the the command prompt, and thus i cannot reinstall openElec as i had before. Did i miss a step? It goes straight to "boot from hard disk" and says, "no bootable drive" (usb is empty) may i go to this link http://openelec.tv/get-openelec/viewcategory/8-generic-builds load up the installer onto the usb and try again? pretty desperate been at this for 8 hours now RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-26 (2014-05-26, 01:40)mikeporetti Wrote: okay ive installed the firmware. and emptied the new contents of the usb(the firmware backup) onto my laptop for safe keeping. Now it wont allow me to get the the command prompt, and thus i cannot reinstall openElec as i had before. Did i miss a step? if you've already rebooted the ChromeBox after flashing the firmware, then no, you won't be able to use my script to create the OE install media. So just download it from the OE website and use their tool / follow their instructions to create the USB installer - just like you would on any other PC. RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - mikeporetti - 2014-05-26 hey guys i got it working, just so for the sake of others id like to report what i did. After i installed the core firmware i could not enter the script anymore, so i then simply followed these steps and voila. http://geekfreely.blogspot.ca/2014/04/openelec-on-asus-chromebox.html Yay i am so happy! RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-26 (2014-05-26, 01:58)mikeporetti Wrote: hey guys i got it working, just so for the sake of others id like to report what i did. After i installed the core firmware i could not enter the script anymore, so i then simply followed these steps and voila. the steps in that link reference an outdated version of my script and should not be followed. which part did you follow, just the creation of the OpenELEC install media? If so, then you should have just downloaded the official version of OpenELEC like I said to. There's no advantage to using that older build with the custom bootloader; it's not needed with the new Coreboot firmware. RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - denrock - 2014-05-26 hey matt, great job with the script. I'm pretty much an amateur with this stuff since mostly what I do is just put different linux distros on a couple of old laptops, but I was able to follow your directions and have openelec/xbmc up and running in about half an hour. So thanks for taking the time to do all the work and share it and answer questions. Unfortunately, a couple of my usb drives that I keep my media on are only recognized about 90% of the time, a couple of others are only recognized about 50% of the time, and the rest (the majority) aren't recognized at all. So, it's pretty much useless to me as a media center. It's a shame because xbmc runs really great on it! Are there anymore firmware tweaks you're working on that might help this usb problem? If not, I made the backup of the original firmware per your directions in your original post. But how do I flash it back? Thanks for any help. RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-26 (2014-05-26, 02:55)denrock Wrote: hey matt, great job with the script. I'm pretty much an amateur with this stuff since mostly what I do is just put different linux distros on a couple of old laptops, but I was able to follow your directions and have openelec/xbmc up and running in about half an hour. So thanks for taking the time to do all the work and share it and answer questions. these USB flash drives aren't recognized by OpenELEC? As long as they are FAT/FAT32/ExFAT they should be readable - not sure about NTFS though. It's possible to restore your stock firmware by booting up ChromiumOS on USB, then using flashrom to flash the stock firmware file. I'm unable to reproduce this issue here myself, so somewhat difficult to troubleshoot. RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - denrock - 2014-05-26 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. (2014-05-26, 03:00)Matt Devo Wrote:(2014-05-26, 02:55)denrock Wrote: hey matt, great job with the script. I'm pretty much an amateur with this stuff since mostly what I do is just put different linux distros on a couple of old laptops, but I was able to follow your directions and have openelec/xbmc up and running in about half an hour. So thanks for taking the time to do all the work and share it and answer questions. |