INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: astromo on September 06, 2014, 06:24:18 am

Title: Installing MC for Linux onto a Brix GB-BXBT-2807 (a consolidated guide)
Post by: astromo on September 06, 2014, 06:24:18 am
This is a guide that sets out how I got MC for Linux onto a Gigabyte Brix GB-BXBT-2807. As mentioned here:
Which Fanless Media PC for JRiver? (http://yabb.jriver.com/interact/index.php?topic=91483.msg629546#msg629546)
using this unit as a simple audio player should work fine. As long as it's not used for hard core graphics and kept in an airy location to keep it as cool as possible:
http://www.avsforum.com/forum/26-home-theater-computers/1576330-gigabyte-brix-fanless-atom-gb-bxbt-2807-a.html#post25353378 (http://www.avsforum.com/forum/26-home-theater-computers/1576330-gigabyte-brix-fanless-atom-gb-bxbt-2807-a.html#post25353378)

It's been a bit of a journey as I'm by no way a Linux guru but I do like a challenge and I don't like to be beaten by a mindless machine. While the cost in hardware and software was not great, the cost in personal time was substantial. When the invoice is presented to myself at the end of the month, I'm sure I'll be in for a shock.

Homework
The first step is to do a bit of homework and suss out who's done what before. My view was to follow in the footsteps of others as much as possible. That's why this protocol is a consolidation of guides from elsewhere. In short, what I found out was that this Bay Trail suite of hardware is geared toward a Windows install world. Turning up with a Linux plan doesn't fit the mold. Fortunately, there are some cluey people out there who've cracked that nut, so mucho kudos points to them - my thanks.

References
1. Intel Minipi Lake Platform (Intel Atom Processor E38xx/Intel Celeron N2xx/Bay Trail-M) Ubuntu 13.10 64-bit Setup Application Note (http://www.intel.com/content/dam/www/public/us/en/documents/application-notes/atom-e38xx-n2xx-bay-trail-ubuntu-setup-app-note.pdf)
2. Gigabyte GB-BXBT-2807 Mini-PC - Impressions from Synthaxx at MMO (http://www.mmo-champion.com/threads/1555833-Gigabyte-GB-BXBT-2807-Mini-PC-Impressions)
3. Booting Ubuntu on the Asus Transformer Book T100 at Lilliputing (http://liliputing.com/2013/10/booting-ubuntu-asus-transformer-book-t100.html)
4. Clonezilla Bootloader Discovery by paperwastage at anandtech (http://forums.anandtech.com/showpost.php?p=35652212&postcount=1500)
5. Gigabyte GB-BXBT-2807 Installation with Linux Mint by Acquisition Syndrome (http://acquisitionsyndrome.com/2014/08/gigabyte-brix-my-other-nemesis-frequent-linux-usb-disconnects/)

Hardware - The Butcher's Bill
This is what I put together:
I had the SSD in the cupboard from a previous upgrade where it went by the wayside. I also had the Dragonfly to use on my PC at work. Unfortunately, there's some hardware issue with the Win7 Enterprise build and platform that causes pops and clicks. So, like the M4, it's been re-purposed.

As a result, the $ bottom line has been quite restrained.

When you've put the kit together, power it up and if it doesn't do so automatically repeatedly hit the DEL key to bring up the UEFI (pseudo BIOS) environment. If you miss your chance, just CTRL+ALT+DEL to reboot and go nuts with the DEL key.

To date the original BIOS (ver F2, release date 2014/07/03) is still current:
Brix GB-BXBT-2807 Bios (http://www.gigabyte.com/products/product-page.aspx?pid=5038#bios)
So, I didn't have to worry about an update. If an updated BIOS is required, you'd need to boot to a Windows / DOS environment and run the BIOS executable.

Navigate to Security > Secure Boot and set to Disabled

Everything else was left at its out of the box, default state. While you're here, check that:

You can read in Ref. 3 & 4 about disabling Secure Boot. This is one of the Windows-centric aspects that the Ubuntu install has to overcome. Fast Boot is another Windows'ism that has the downside of mucking up the Linux boot process.

Operating System Selection
Being a Linux noob, I had no real idea which OS was the best choice. To minimise hassles, I decided to swim with the tide and defaulted to Ubuntu and took into account that a comprehensive guide for setting up MC for Linux via Ubuntu had been put together by Awesome Donkey here:
Setup JRiver Media Center 20 In Ubuntu 14.04 LTS (http://yabb.jriver.com/interact/index.php?topic=87051.0)
Part of the sense of going for Ubuntu is that it's spun off from Debian that MC was coded for and offers a polished desktop environment that has an established history and following.

Operating System Installation
I set up the install from a Windows PC.

1. Download the .iso from Ubuntu for x64 (make sure you opt for 64bit, 32bit doesn't play nicely with the Brix. I picked the 64-bit PC (AMD64) desktop image):
http://www.ubuntu.com/download/desktop (http://www.ubuntu.com/download/desktop)
You can cut through the fluff by finding a relevant link here -
https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes (https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes)

2. Grab Rufus (http://rufus.akeo.ie/) to create a USB installation drive (see Ref. 1, 3 & 4). If you use something else - all the best. Note that Rufus permits you to specify GPT for UEFI that's critical to making the whole show work.

3. Grab the bootia32.efi zip file from paperwastage (Ref. 2 & 3) that you can also find here:
http://forum.xda-developers.com/showpost.php?p=46845643&postcount=3 (http://forum.xda-developers.com/showpost.php?p=46845643&postcount=3)

Unzip and copy bootia32.efi to the USB drive at [Drive Letter]:/EFI/BOOT/

(Note: this little step, as in the fact that I didn't know it was required, had me going round in circles for hours. If you look at the Intel guide, they give the impression that there is no other modification required when booting from a USB drive.)

4. Slot the install USB drive into the Brix (also it's a good idea to plug in an ethernet cable to a functioning LAN connection that has access to the interweb - if you try that fancy WiFi stuff you're on your own ..  8) ... the LAN connection will come in handy during the install), reboot and go crazy with the DEL key again to bring up the UEFI/BIOS menu.

Then, navigate to Save & Exit > Boot Override and pick your USB drive (it should show some brand name or similar to give you a cue as to what to select).

5. Oops ... my memory is a bit hazy here ... but Ubuntu should just do its install thing. It should also do some updating given that you've already connected to the net via the ethernet LAN connection. I forget whether I was asked to reboot or it was done automatically. Regardless, a reboot will be called for.

6. During the reboot, go birko (http://cjeastwd.blogspot.com/2012/08/going-birko.html) with the DEL key again. Head to Boot > Boot Option Priorities and in "Boot Option #1" set bootup to the Ubuntu OS.

My unit just says "ubuntu (P0): [manufacturer's drive info]"

Then head to Save & Exit > Save Changes and Reset

7. Watch Ubuntu boot up and (if memory serves), the OS will call upon you to set up user / password details.

8. Once you get onto Ubuntu, you may find that you don't have sudo rights. If that's the case, this should help:
http://askubuntu.com/questions/7477/how-can-i-add-a-new-user-as-sudoer-using-the-command-line (http://askubuntu.com/questions/7477/how-can-i-add-a-new-user-as-sudoer-using-the-command-line)
https://help.ubuntu.com/14.04/ubuntu-help/user-admin-explain.html (https://help.ubuntu.com/14.04/ubuntu-help/user-admin-explain.html)

9. Post OS Install
The interweb has a swag  (http://en.wikipedia.org/wiki/Swag_%28bedroll%29)of post-Ubuntu/Linux install advice. I found this stuff useful:
http://howtoubuntu.org/things-to-do-after-installing-ubuntu-14-04-trusty-tahr (http://howtoubuntu.org/things-to-do-after-installing-ubuntu-14-04-trusty-tahr)
https://fixubuntu.com/ (https://fixubuntu.com/)
What you use is a case of picking & choosing to suit your wants/needs. You should also balance matters with the MC install guidance referred to below.

MC for Linux Installation
As mentioned above, I opted for Ubuntu and so at this point I put myself into the hooves of the donkey of awesomeness:
Setup JRiver Media Center 20 In Ubuntu 14.04 LTS (http://yabb.jriver.com/interact/index.php?topic=87051.0)

My notes are pretty thin at this point so that's probably a sign that Awesome Donkey got it pretty well right and that MC for Linux pretty well just works. I did have some fun picking out the Dragonfly when working through:
       Tools > Options > Audio > Audio Device
A long list came up and took me a bit of trial and error to pick the selection that worked (simple stereo) -

Rego
The other piece of fun that I had was registration. I sorted out my hassles and reported that here:
http://yabb.jriver.com/interact/index.php?topic=89893.0 (http://yabb.jriver.com/interact/index.php?topic=89893.0)


That should do to get started. If anyone's planning on going down the same path, chip in with your tales of success.
Title: Re: Installing MC for Linux onto a Brix GB-BXBT-2807 (a consolidated guide)
Post by: astromo on September 06, 2014, 06:24:56 am
Reserved.
Title: Re: Installing MC for Linux onto a Brix GB-BXBT-2807 (a consolidated guide)
Post by: Arindelle on September 06, 2014, 07:06:44 am
Nice work Astromo!! :)
Title: Re: Installing MC for Linux onto a Brix GB-BXBT-2807 (a consolidated guide)
Post by: JimH on September 06, 2014, 08:13:31 am
Excellent!  Thanks very much for taking the trouble to document your work.
Title: Re: Installing MC for Linux onto a Brix GB-BXBT-2807 (a consolidated guide)
Post by: astromo on September 06, 2014, 03:49:07 pm
Excellent!  Thanks very much for taking the trouble to document your work.

You're welcome.

I bounced ideas off a guy at work who's an Android/Linux fan. Thanks to him, I got sufficient tips when I was struggling for "what next?" and most importantly encouragement to persist. He put the hard word on me to write it up (all part of living the Linux dream).
Title: Re: Installing MC for Linux onto a Brix GB-BXBT-2807 (a consolidated guide)
Post by: colinmackellar on April 19, 2018, 10:22:52 am
I followed this recipe and it's still working in April 2018. 

There's a newer BIOS at https://www.gigabyte.com/Mini-PcBarebone/GB-BXBT-2807-rev-10

Don't forget the f12 key to invoke the "choose boot medium" menu.  Thanks, Colin.
Title: Re: Installing MC for Linux onto a Brix GB-BXBT-2807 (a consolidated guide)
Post by: astromo on April 26, 2018, 07:07:01 am
Colin ... glad that it helped.

If only 1 person benefits then that's made it worthwhile.

How have you found audio quality. I didn't have the best experience with USB - a few crackles if I remember. Sorry, should have noted that here.

I've turned my interest to the RPi for audio work. Neat piece of kit, cheap and with plenty of HiFi audio transport options.