qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Peter Teoh" <htmldeveloper@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Mount errors in QEMU
Date: Sat, 31 May 2008 16:22:04 +0800	[thread overview]
Message-ID: <804dabb00805310122t137e4de3waaafe992fa00e649@mail.gmail.com> (raw)

I got the following errors:

Loading dm-mirror.ko module
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Making device-mapper control node
Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Volume group "clairevg" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
nash-hotplug used greatest stack depth: 2752 bytes left
Kernel panic - not syncing: Attempted to kill init!

My command line is:

qemu -hda disk.img -kernel /boot/vmlinuz-2.6.26-rc3 -append
"root=/dev/sda5/" -initrd /boot/initrd-2.6.26-rc3.img

My distros is FC7.   Filesystem:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda5             40631956  30185144   8349528  79% /
tmpfs                  1037312     22932   1014380   3% /dev/shm

Can I know what is the problem?   The "clairevg' volume group in the
error message above arises from the present environment where I run
the qemu (0.9.1):

/mnt/hd1/download/qemu>vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "clairevg" using metadata type lvm2
/mnt/hd1/download/qemu>pvscan
  PV /dev/sda6   VG clairevg   lvm2 [107.03 GB / 2.03 GB free]
  Total: 1 [107.03 GB] / in use: 1 [107.03 GB] / in no VG: 0 [0   ]
/mnt/hd1/download/qemu>lvscan
  ACTIVE            '/dev/clairevg/lv1' [105.00 GB] inherit

-- 
Regards,
Peter Teoh

             reply	other threads:[~2008-05-31  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31  8:22 Peter Teoh [this message]
2008-05-31 13:51 ` [Qemu-devel] Mount errors in QEMU Mulyadi Santosa
2008-06-01  0:09   ` Peter Teoh

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=804dabb00805310122t137e4de3waaafe992fa00e649@mail.gmail.com \
    --to=htmldeveloper@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).