[mythtv-users] Best options/howto for diskless frontends

Paul Gardiner lists at glidos.net
Mon Nov 26 12:14:03 UTC 2012


On 26/11/2012 09:33, Per Jessen wrote:
> Paul Gardiner wrote:
>
>> 2) To use opensuse because it's the linux I best know.
>
> I have servers on openSUSE that boot with root on NFS, it works.  I had
> to generate the initrd separately though.

That's good to know. Any hints on the generation of a suitable initrd?
I'm guessing that's going to be the difficult bit.

>> 3) To do the initial install actually on the diskless machine,
>> so that I get as much automatic config as possible.
>
> I think that means hooking up a drive first, then installing, then
> copying the filesystem to your NFS-server.  I don't think I've ever
> tried installing straight onto NFS.

I feared that might be the case. I do have a spare drive here, so I
suppose that's not really going to be an issue, provided that when
I'm up and running from NFS, I can install freshly built versions
of mythfrontend without connecting up the drive. If both server and
client were running 64bit opensuse, I could just chroot into the
NFS-exported directory presumably, but with the server being 64bit
and the client 32bit, I imagine there could be problems. (Am I
right that the Zotac ION can't run 64bit code?)

>> 4) To be able to switch off the diskless machine without
>> shutting down.
>
> So suspend?  Yes, I've been meaning to look into that too.

Ah no. I was hoping for just an instant power-off death. Minimyth
was fine with doing that because the writable parts of the system
were in ramfs.

>> I have dhcp/pxe/tftp already set up on my opensuse server/backend
>> already, so it should be just a case of altering that.
>
> This is from one my pxe config files:
>
> append initrd=<your-initrd> root=/dev/nfs rw
> nfsroot=192.168.2.170:/var/pifs/stork1/root
> rootflags=hard,intr,v3,wsize=8192,rsize=8192
>
> You need NFS v3 because the suse initrd does not work with NFS v4 for
> booting.

Handy thanks.


More information about the mythtv-users mailing list