[Qemu-devel] the problem of booting linux kernel from NFS
From:
new bee
Subject:
[Qemu-devel] the problem of booting linux kernel from NFS
Date:
Thu, 3 Jan 2008 15:27:09 +0800
Hi,All:
I want to boot kernel from NFS, so I compile a kernel supported NFS & TUN/TAP device and change the /etc/qemu-ifup like this:
#!/bin/sh sudo -p "Password for $0:" /sbin/ifconfig $1
192.168.15.1
when I boot the new kernel, there is the message : IP-Config: No network device available Looking up port of RPC 100003/2 on 192.168.15.1
and the kernel cannot mount the root fs.but the kernel has the network device driver.
What is the reason? and What should I solve it?
the command is : qemu -net nic -net tap -kernel
/usr/src/linux/arch/i386/boot/bzImage -hda /dev/zero -append
"ip=192.168.15.110 root=/dev/nfs
nfsroot=192.168.15.1:/scratchbox/users/newbee/targets/ambition"