qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] the problem of booting linux kernel from NFS
@ 2008-01-03  7:27 new bee
  2008-01-03  9:55 ` Anton D Kachalov
  0 siblings, 1 reply; 3+ messages in thread
From: new bee @ 2008-01-03  7:27 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

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"

Thanks

Regards,
HanLiang



-- 
Mail:newbee1984@gmail.com
MSN:hanliang1984@hotmail.com
Keep Contact^_^

[-- Attachment #2: Type: text/html, Size: 1142 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-03 10:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03  7:27 [Qemu-devel] the problem of booting linux kernel from NFS new bee
2008-01-03  9:55 ` Anton D Kachalov
2008-01-03 10:30   ` new bee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).