linux-fai Digest, Vol 31, Issue 1 | problem mounting nfs

Augustine Ike augustineike at gmail.com
Sun Jan 3 03:55:24 CET 2010


Which FAI document did you read on this? I found the old documentation
rather confusing but the revised one is better. See this
http://www.informatik.uni-koeln.de/fai/fai-guide/.
That said, have you build your mirror or are you using the one from
debian? I found building my own mirror before running fai-setup worked
best. "I also hope DNS, DHCP etc are all setup correctly and the
necessary files in /etc/fai are also fine".
A detail break down of this configs will be helpful. Your error should
be resolved if your FAI parameters and mirror is fine.


On Sat, Jan 2, 2010 at 6:00 AM,  <linux-fai-request at uni-koeln.de> wrote:
> Send linux-fai mailing list submissions to
>        linux-fai at uni-koeln.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.uni-koeln.de/mailman/listinfo/linux-fai
> or, via email, send a message with subject or body 'help' to
>        linux-fai-request at uni-koeln.de
>
> You can reach the person managing the list at
>        linux-fai-owner at uni-koeln.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linux-fai digest..."
>
>
> Today's Topics:
>
>   1. problem mounting nfs (Martin Schulte)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 02 Jan 2010 11:58:59 +0100
> From: Martin Schulte <schulte-martin at web.de>
> Subject: problem mounting nfs
> To: linux-fai at uni-koeln.de
> Message-ID: <4B3F26F3.70502 at web.de>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>
> Hi,
> I'm trying to use fai for my first time. It's also the first time I get in contact with nfs and these things. So maybe the following questions a very simple...
> I use an debian etch server with DHCP an DNS.
>
>
> 1.
> I setup fai following the guide from the website. There is an existing dhcp server an I add
>
>    use-host-decl-names on;# <====================
>    server-name faiserver;# <====================
>    next-server faiserver;# <====================
>    filename "fai/pxelinux.0";# <====================
>
>
> to the dhcp.conf an resarted dhcp.
> There are also hosts like these:
>
>    host static00 {
>    hardware ethernet 00:90:F5:67:64:3F;
>    fixed-address static00;
>    }
>
>
> 2.
> I also complement the inetd.conf, now there is this line inside:
>
>    tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s
>    /srv/tftp/
>
> after this: /etc/init.d/openbsd-inetd restart
>
>
> 3.
> In the fai.conf i complement
>
>    LOGUSER=fai
>
> an in mke-fai-nfsroot.conf
>
>    FAI_ROOTPW='my password'  (with md5)
>
> The rest i leave untouched, especially there is this entry
> FAI_DEBOOTSTRAP="etch http://ftp.debian.org/debian"
>
>
> 4.
> The /etc/exports contains these entries
>
>    /srv/fai/config 10.0.2.2/255.255.254.0(async,ro,no_subtree_check)
>    /srv/fai/nfsroot
>    10.0.2.2/255.255.254.0(async,ro,no_subtree_check,no_root_squash)
>
>
>
> 5.
> The 50-host-classes now looks like these
>
>    case $HOSTNAME in
>        static*)
>        echo "FAIBASE DEMO FAISERVER" ;;
>       demohost)
>        echo "FAIBASE DHCPC DEMO" ;;
>        gnomehost)
>        echo "FAIBASE DHCPC DEMO XORG GNOME";;
>        atom*)
>        echo "FAIBASE DHCPC DEMO" ;;
>        *)
>        echo "FAIBASE DHCPC" ;;
>    esac
>
>    (ifclass I386 || ifclass AMD64) && echo GRUB
>    exit 0
>
>
> -----------
> The problem
> -----------
>
> When booting the client, after some time it stops by printing:
>
>    VFS: Cannot open root device "nfs" or unknown-block (2,0)
>
>    Please append a correct "root=" boot option
>    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (2,0)
>
> So, something went wrong while mounting the nfs directory, but i do not
> know, how to handle this error.
>
>
>
> Bye, martin
>
>
>
>
> ------------------------------
>
> _______________________________________________
> linux-fai mailing list
> linux-fai at uni-koeln.de
> https://lists.uni-koeln.de/mailman/listinfo/linux-fai
>
>
> End of linux-fai Digest, Vol 31, Issue 1
> ****************************************
>



More information about the linux-fai mailing list