[mythtv-users] Problems with system-config-netboot Creating Diskless Myth Frontend
Neil Sedger
mythtv-users at moley.org.uk
Thu Oct 18 00:10:31 UTC 2007
> 7. When I click "Forward", I get the following error message: "The
> diskless directory must be NFS exported and contain a boot sub-directory"
I had this.
I guessed that it wasn't finding the NFS export for some reason (set up similar to yours), so found a temporary workaround - change:
> /opt/m10k/root 192.168.1.18(rw,sync,no_root_squash)
to:
/opt/m10k/root *(rw,sync,no_root_squash)
i.e. replace the client's IP address with '*' for 'all machines'. Then restart the nfs server and try system-config-netboot again.
This is a bit of a security no-no so put the IP address back once system-config-netboot is done.
Cheers
Neil
Mache Creeger 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
>
>
More information about the mythtv-users
mailing list