qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Mount errors in QEMU
@ 2008-05-31  8:22 Peter Teoh
  2008-05-31 13:51 ` Mulyadi Santosa
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Teoh @ 2008-05-31  8:22 UTC (permalink / raw)
  To: qemu-devel

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

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

end of thread, other threads:[~2008-06-01  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-31  8:22 [Qemu-devel] Mount errors in QEMU Peter Teoh
2008-05-31 13:51 ` Mulyadi Santosa
2008-06-01  0:09   ` Peter Teoh

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).