qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "new bee" <newbee1984@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] the problem of booting linux kernel from NFS
Date: Thu, 3 Jan 2008 15:27:09 +0800	[thread overview]
Message-ID: <5bde6f770801022327m7a22ceabrc50a7d0a86398042@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2008-01-03  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03  7:27 new bee [this message]
2008-01-03  9:55 ` [Qemu-devel] the problem of booting linux kernel from NFS Anton D Kachalov
2008-01-03 10:30   ` new bee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bde6f770801022327m7a22ceabrc50a7d0a86398042@mail.gmail.com \
    --to=newbee1984@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).