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