Linux partition for HQP/Roon server

Ok, I’m getting pretty sick of Windows 10 on my dedicated i7 music server and am looking at installing a Linux partition on the 256Gb SSD using Debian Bionic, tweaking it with Signalyst low latency kernel and running RoonServer and HQPlayer Embedded.

I thought I’d open this thread in Tinkering first because I know I’m going to make a heap of mistakes and that’s what we do here … Besides, who else is going to give @RBM his comedy fix for the month ?

Sean @lkjhgdaa I saw that you did this on a NUC, so if you don’t mind could you tell me when I’m running off the rails ? Any and all other assistance from other old Unix hands greatly appreciated.

I found this guide online, which I believe is still the current version.

As I understand it the broad steps are:

Download the Debian Bionic AMD64 installer and burn it onto a UEFI boot formatted USB stick.

Connect keyboard and screen to server and boot from USB stick.

Partition the SSD as per the guide.

Install Debian, boot and update as per the guide.

Install Jussi’s low latency kernel from the bionic directory here. The steps here are unknown.

Mount existing internal music storage SSD and HDD.

Install Linux RoonServer and restore from a recent backup.

Buy HQPlayer Embedded licence.

Install and configure HQP Embedded and point it at microRendu NAA.

Create HQPlayer Zone in Roon.

Cross fingers, hold mouth right and play music.

Detach keyboard and screen and use Putty to turn the server off remotely, some as yet unknown program to control HQP Embedded and Roon Remote for Roon.

Pointing out of any errors or omissions greatly appreciated.

Finally !

Hey @andybob

For dual booting Windows 10 and Ubuntu, I followed notes from these 2 guides:

https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/

https://www.tecmint.com/install-ubuntu-alongside-with-windows-dual-boot/

Get Ubuntu successfully installed alongside Win10 first.

Any questions about that, I can try to help and there are way smarter people here than me.

After that I can share my notes/command lines about installing HQP Embedded & Roon Server (pretty easy).

This is what I’ve done for the i9-9900K machine I built for my old man. It’s setup to boot Ubuntu Desktop automatically but for the rare occasion he needs Win10, it’s there but he’s gotten used to Ubuntu Desktop now for general needs. Apart from Roon & HQP (headless operation) he only needs it for FireFox and Thunderbird.

For myself, I had Ubuntu, Win10 and macOS tri-booting on my MacBook at one stage. Just so I could practise using Ubuntu before getting new hardware.

Hope this helps.

1 Like

I wonder how many !'s I’ll get when I make that statement. Lol

2 Likes

@andybob, what’s the status?

Where are you up to with Operation Dual Boot?

Don’t tell me you got cold feet ! :grin:

No still very interested. I’m waiting on a USB stick which should arrive by the weekend. Then I have to hookup video and keyboard to the server and get cracking. I’ll flag you when I get a working dual boot. Thanks for your assistance !

1 Like

Wait. What? I have those things littering my space. I never get rid of 'em. In fact, I think I have a 32 MB key in my desk right now. :smiley:

1 Like

I don’t usually use or need them that much. I’ve got a couple which are being used for Roon database backups and some really old ones of dubious reliability. So I just ordered a new one which is probably sitting in my mailbox.

Some preliminary questions:

I don’t think I’ll need a swap file partition. The server only has 8gb of RAM but that has been fine for Windows/Roon/HQP.

Will the Roon database be located in the Root or Home directory ?

It is located in /var/roon/RoonServer/DataBase - this is, in the root hierarchy.

1 Like

Even if you are not doing suspend or hibernate, I would still make a small swap file.

Only 8 GB? ( Eyes light up with upgrade glee…) Are you sure you don’t want 16? After all future-proofing!

But seriously, 8 GB should be fine. You can always add RAM, that is such an easy fix.

You know… I don’t remember, definitely NOT Root. It has been a couple of years since I last looked at Linux install. Part of me want to say VAR. However, I do have a linux with Roon drive I can just pop in and check when I get home tonight.

It might surprise @lkjhgdaa but, I have installed and run RoonServer on Ubuntu, Mint, Cinnamon, Elementary, Arch, Debian, Fedora and others. I’ve been meaning to try it on Solus.

2 Likes

I think I may have confused things by saying directory when I meant partition (the installer creates swap, root and home partitions). If it is in var then I need to make sure the root partition is big enough for any growth in the database.

Are you moonlighting as some kind of seedy street RAM vendor Daniel ?

Next thing I know you’ll have me with RGB hanging off everything. I couldn’t believe what some RAM looks like these days.

remember with an actual Linux install you can have media on the same drive which I usually keep in the home directory.

1 Like

I think it is good practice with a Linux server to have OS and Roon Server stuff on one physical disk, and have another physical disk for user files (/home/, etc.).

That way you won’t run into problems if you have to reformat your OS drive, and it is easier to manage space for audio media.

1 Like

(sheepishly looking around) You mean like in my latest build…

https://www.corsair.com/us/en/Categories/Products/Memory/Vengeance-PRO-RGB-White/p/CMW32GX4M4A2666C16W

Hmmm I think you confuse me with someone else.

My Linux abilities are somewhere in between beginners and intermediate.

I’ve gotten dual boot and HQP Embedded and Roon Server to work flawlessly but that’s about all I can do. And to do all that I’ve had to follow guides.

Ye gods and little fishes.

“mesmerizing dynamic multi-zone RGB lighting”.

If things keep going in this direction every capacitor will have a little disco ball on it.

1 Like

actually, all my lighting is centrally controlled and is a nice muted shade of blue. very coordinated

I’ve fallen at the second hurdle. I have a Ubuntu 14 Bionic Beaver Desktop iso burned to a USB and I get the Ubuntu installer menu when I boot from it.

But if I select Install Ubuntu, I just get a white screen with a blinking cursor.

I thought this article described the same issue. But E doesn’t bring up an editor.

The installer menu screen says use Tab to edit entries. I have tried adding nomodeset before quiet splash using that CLI, but enter just takes me to the white screen again.

Any ideas ?

Edit: Hmm I think I burned the iso so maybe this article will help. Giving it a go now.

Edit: Nup. I’m going to burn the USB again with a new download.

try burning the iso to a DVD and boot with it.

No DVD drive. Will report back after reburning.

1 Like

I never had any drama following those guides , so can’t help on this particular issue andybob :frowning:

1 Like