[mythtv-users] mythbackend in a docker container

Mike Perkins mikep at randomtraveller.org.uk
Mon Nov 6 15:53:21 UTC 2023


On 06/11/2023 11:37, Paul Gardiner wrote:
> 
> Do you know if, with KVM, I can assign a disc to a VM, perform an install and then update grub so 
> that the machine boots directly into that disc without KVM involved? I guess it has to be possible - 
> it's just whether it's easy or hellish.
> 
The problem with that approach is that, when a recognised OS is installed in a guest VM, you usually 
get some 'helper' libraries automatically installed with it to make external communication (disks, 
HID, USB, video, etc) easier.

Obviously, those won't function if you then take that disk out and reconfigure it with grub to be 
stand-alone. The answer, then, would be no.

Or, more accurately, if you plan to do that why bother with a VM at all?

But if you are running your 'old' backend and your 'new' backend as two VMs in the same host, you 
could easily move your tuner hardware from one VM to another. Having both running at the same time 
could be interesting, though.

Network tuners (eg HDHR) make that task simpler. You just allocate one or more to the new server for 
testing then, at cutover, allocate more.

There's nothing to say that you /have/ to run both at once. Just untick the "startup at boot" flag 
on the old one when you are done with it and forget it until the next upgrade. It is only taking up 
disk space for the OS, after all.

-- 

Mike Perkins




More information about the mythtv-users mailing list