[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] NFS Boot



Hi Tom,
Sorry about the missing vif line in my previous post. I do have a vif line in my config file like "vif = [ 'mac=00:16:3e:20:5d:c9, bridge=xenbr0', ]". I think its going down even before bringing up eth0 (the complete boot log is attached to this mail). I am suspecting of the missing /dev/nfs in dom0, which is required for the 'root' parameter, as pointed out in xen user guide.

Any suggestions ?

-Abhishek

Tom Brown wrote:
On Sun, 25 Feb 2007, Abhishek Gaurav wrote:

Hi, I am new to xen and am trying to boot a VM from an NFS server. I am using the default FC6-xen kernel and I do not have a /dev/nfs in dom0. My config file is :

kernel = "/boot/vmlinuz-2.6.18-1.2798.fc6xen"
name = "test8"
memory = "512"
uuid = "2cc550ec-550a-6ad2-8121-7b089fc7d051"
vcpus=1
root = '/dev/nfs'
nfs_server = 'xx.xx.xx.xx'
nfs_root = '/home/xen-images/fc4'

if you're running a current version of xen you're going to need to specify a vif line to get a virtual network interface...

vif = [ '' ]

should suffice.



I run into the following problem during boot:

TCP bic registered
Initializing IPsec netlink socket
NET:  Registered protocol family 1
NET:  Registered protocol family 17
XENBUS: Device with no driver: device/vif/0
md:  Autodetecting RAID arrays.
md:  autorun ...
md:  ... autorun DONE.
VFS: Cannot open root device "nfs" or unknown-block(0,255)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)


Please let me know what is that I am doing wrong.

if there is no reference to eth0 in your boot messages, you're not going to have a network, without a network you're not going to have a network file system...

-Tom


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.