qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Mount errors in QEMU


From: Peter Teoh
Subject: [Qemu-devel] Mount errors in QEMU
Date: Sat, 31 May 2008 16:22:04 +0800

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 via email to

[Prev in Thread] Current Thread [Next in Thread]