LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2008, 01:32 AM   #1
arsenal
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Angry NFS boot for Debian


I am trying to boot my power pc in an diskless environment. I have used TFTP server to load my kernel image. I am having problems trying to mount the file system that is present on the same TFTP server(Path: /netboot). The boot loader that I am using is CFE(common firmware environment), where in I am passing the bootargs variable to network boot.
On the server side I have changed the /etc/dhcp.config file to have all the below parameters.

hardware ethernet , fixed-address 192.168.52.160 and
option root-path "/netboot";

I have also modified /etc/exports as

/netboot *(rw,sync,no_root_squash)

With this setup I am able to bring up the kernel but when it tries to mount the file system the error msg that I get is shown below


PCtrace init; eabuf=c00000003f980000
PCtrace channel 10, status ptr d000080090220250
rtc-ds1307 1-0068: setting the system clock to 2008-05-06 05:39:22 (1210052362)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.192.168.52, mask=255.255.255.0, gw=255.255.255.255,
host=192.192.168.52, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.52.3, rootpath=
Looking up port of RPC 100003/2 on 192.168.52.3
eth0: Link is up at 10 Mbps, half duplex.
rpcbind: server 192.168.52.3 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.52.3
rpcbind: server 192.168.52.3 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 63.210.60.128 not responding, timed out
Root-NFS: Server returned error -5 while mounting /netboot
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
0800 156290904 sda driver: sda
0801 19535008 sda1
0802 136753312 sda2

Can anyone please tell me why I am not able to mount the file system ?
If there are any other configurations necessary, please let me know.
 
Old 05-06-2008, 06:25 AM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I'm not sure, but it may have to do with one of the strange non-obvious things you have to do in order to get netbooting to work. Here's a how-to I wrote up when I figured out how to netboot: http://wiki.linuxquestions.org/wiki/...ss_Workstation

My first guess is that your /etc/dhcp3/dhcpd.conf needs a line at the top which specifies "next-server 192.168.52.3;"

Don't ask me why this line is needed. It supposedly has to do with some bug or something. All I know is that without it, it doesn't work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs root path variable (pxe/nfs boot) freeindy Linux - Networking 3 03-11-2008 09:19 AM
Can SMB and NFS get along in Debian? knyghtmaire Linux - Networking 2 06-27-2007 10:28 PM
Debian NFS Share HowTo? carlosinfl Debian 8 06-16-2007 10:52 AM
NFS On Debian? carlosinfl Debian 7 04-13-2007 04:06 PM
NFS Error during PXE Boot from NFS server JatMan Linux - Enterprise 0 10-16-2006 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration