[mythtv-users] Problems with system-config-netboot Creating Diskless Myth Frontend

Craig Courtney craig at dawnsedge.com
Mon Oct 15 20:24:43 UTC 2007


I would highly recommend looking at minimyth (http://linpvr.org) instead.  I
tried doing netboot script in redhat and got everything configured through
those scripts and tutorials.  Once you get that environment setup you still
have to compile your own kernel to get nfs root mounting to work... which
causes pain in using pre-packaged rpms.  It's just a major hassle and a pain
to keep up to date afterwards.

It took me about 45 mins to get a fully functional diskless front end setup
with minimyth, and about another 20 to convert my other 2 front ends to
diskless.  It takes about 1 minute after download time to update a minimyth
install to the latest as well.  The only real downside is minimyth is not
really secured at all, but no network boot really is.

On 10/15/07, Mache Creeger <mache at creeger.com> wrote:
>
> I am struggling to create a diskless frontend for myth. I am using
> Fedora 7 using kernel 2.6.22.9-91.fc7 and the directions on
>
> http://www.mythtv.org/wiki/index.php/Diskless_Frontend#Redhat_and_Fedora_Core
> .
>
>
> I have rsync'ed the entire frontend disk to the server via NFS to
> /opt/m10k/root and have two directories NFS exported:  /opt/m10K/root
> and /opt/m10K/snapshot. system-config-netboot is installed.
>
> 1.  On the first window I select the "Configure" menu item and choose
> "Diskless".
> 2.  Under the configure "Diskless Environment" window, I click on the
> Add button and I get a new "Setting up Diskless Environment"
> window.  I click "Forward" on that window.
> 3.  A new windows emerges called the "Update Diskless Environment"
> Window".  The window has a title of "Diskless Indentifier".  In it
> are two fields to be filled out:  "Name" and "Description".
> 4.  Under "Name" I type M10K, under "Description" I type "Via Epia
> M10000". I then click "Forward".
> 5.  The next window is also called "Update Diskless Environment" but
> the title is changed to "Enter the NFS Information".  It has two
> fields:  "Server IP Address:" and "Directory:"
> 6.  Under "Server IP Address:" I type my server IP Address which is
> 192.168.1.11.  Under the "Directory:" I type /opt/m10K/root.
> 7.  When I click "Forward", I get the following error message:  "The
> diskless directory must be NFS exported and contain a boot sub-directory"
>
> Here is my /etc/export
>
> # more /etc/exports
> /tftpboot               192.168.1.17
> (rw,insecure,sync,nohide,no_root_squash)
> /opt/maxterm/root       192.168.1.17(rw,sync,no_root_squash)
> /opt/maxterm/snapshot   192.168.1.17(rw,sync,no_root_squash)
> /opt/m10k/root          192.168.1.18(rw,sync,no_root_squash)
> /opt/m10k/snapshot      192.168.1.18(rw,sync,no_root_squash)
>
> the NFS link works fine between the frontend and the server in all
> other circumstances.  Here are the files and directories of
> /opt/m10k/root/
>
> # cd /opt/m10k/root/
> [root at DIGIT root]# ls -al
> total 68
> drwxr-xr-x  22 root root 4096 2007-10-15 11:05 .
> drwxr-xr-x   4 root root   32 2007-10-15 10:37 ..
> -rw-r--r--   1 root root    0 2007-10-15 07:29 .autofsck
> -rw-r--r--   1 root root    0 2007-10-14 21:59 .autorelabel
> drwxr-xr-x   2 root root 4096 2007-10-15 11:05 bin
> drwxr-xr-x   3 root root 4096 2007-10-15 11:05 boot
> drwxr-xr-x  12 root root 4096 2007-10-15 11:05 dev
> drwxr-xr-x 114 root root 8192 2007-10-15 11:05 etc
> drwxr-xr-x   4 root root   31 2007-10-15 11:05 home
> drwxr-xr-x  15 root root 8192 2007-10-15 11:07 lib
> drwx------   2 root root    6 2007-10-14 20:01 lost+found
> drwxr-xr-x   2 root root   27 2007-10-15 11:12 media
> drwxr-xr-x   2 root root    6 2007-10-15 07:30 misc
> drwxr-xr-x   2 root root    6 2007-04-17 05:46 mnt
> drwxr-xr-x   2 root root    6 2007-10-15 07:30 net
> drwxr-xr-x   4 root root   32 2007-10-15 11:05 opt
> dr-xr-xr-x   2 root root    6 2007-10-15 07:29 proc
> drwxr-x---  24 root root 4096 2007-10-15 11:12 root
> drwxr-xr-x   2 root root 8192 2007-10-15 11:13 sbin
> drwxr-xr-x   2 root root    6 2007-10-14 20:02 selinux
> drwxr-xr-x   5 root root   45 2007-10-15 11:05 srv
> drwxr-xr-x   2 root root    6 2007-10-15 07:29 sys
> drwxrwxrwt  14 root root 4096 2007-10-15 11:13 tmp
> drwxr-xr-x  12 root root  136 2007-10-15 11:30 usr
>
> I really want the frontend to run diskless.  What am I doing wrong
> and how do I proceed from here?
>
> -- Mache Creeger
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071015/23173287/attachment.htm 


More information about the mythtv-users mailing list