From: "David S. Ahern" <daahern@cisco.com>
To: Nirmal Guhan <vavatutu@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: qemu-kvm and initrd
Date: Tue, 14 Sep 2010 09:38:13 -0600 [thread overview]
Message-ID: <4C8F96E5.4040707@cisco.com> (raw)
In-Reply-To: <AANLkTimGePWwYRoqZApD+bAamrn2MXwH-x85=pQaPtVU@mail.gmail.com>
On 09/14/10 00:35, Nirmal Guhan wrote:
> Hi,
>
> Getting an error while booting my guest with -initrd option as in :
>
> qemu-kvm -net nic,macaddr=$macaddress -net tap,script=/etc/qemu-ifup
> -m 512 -hda /root/kvm/x86/vdisk.img -kernel /root/mvroot/bzImage
> -initrd /root/kvm/mv/ramdisk.img -append "root=/dev/ram0"
>
> No filesystem could mount root, tried : ext3 ext2 ext4 vfat msds iso9660
> Kernel panic
>
> #file ramdisk.img
> #ramdisk.img: Linux rev 1.0 ext2 filesystem data (mounted or unclean)
What's the size of ramdisk.img?
David
>
> I tried with both above initrd and gzipped initrd but same error.
>
> If I try to mount the same file and do a -append "ip=dhcp
> root=/dev/nfs rw nfsroot=xxxx:/root/kvm/mv/mnt" instead of -initrd
> option, it works fine. So am guessing this is initrd related.
>
> Any help would be much appreciated.
>
> Thanks,
> Nirmal
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2010-09-14 15:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 6:35 qemu-kvm and initrd Nirmal Guhan
2010-09-14 15:38 ` David S. Ahern [this message]
2010-09-14 19:38 ` Nirmal Guhan
2010-09-14 19:43 ` David S. Ahern
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=4C8F96E5.4040707@cisco.com \
--to=daahern@cisco.com \
--cc=kvm@vger.kernel.org \
--cc=vavatutu@gmail.com \
/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