Skip to contentSkip to conversation

DomU boot from NFS server

DISCUSSION Y. D. 1 participant 1 message May 9, 2009

lore
Share & tools
lore

Y. D.

author
#0 lore raw

Hi

I have my xen domu config file as follows:

root='/dev/nfs'
extra ='ro console=/dev/tty1 xencons=tty'
nfs_server='10.0.1.182'
nfs_root='/dom2.nfs'

I can access the nfs server to mount the 10.0.1.182:/dom2.nfs at the physical host where the domu resides. Yet, I get the boot process stuck, the output is as follows:

(omitted)
Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
mount: cannot read /etc/fstab: No such file or directory
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory done.
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.

BusyBox v1.10.2 (Debian 1:1.10.2-2) built-in shell (ash) Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)

************************************************
Does can provide a tutorial how to boot a domu from nfs server?

Thanks,

Shawn

Y. D.