From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2MLn-0002jJ-HG for qemu-devel@nongnu.org; Sat, 31 May 2008 04:22:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2MLm-0002j7-1r for qemu-devel@nongnu.org; Sat, 31 May 2008 04:22:07 -0400 Received: from [199.232.76.173] (port=49918 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2MLl-0002j4-RZ for qemu-devel@nongnu.org; Sat, 31 May 2008 04:22:05 -0400 Received: from an-out-0708.google.com ([209.85.132.242]:57651) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2MLl-0003m7-FJ for qemu-devel@nongnu.org; Sat, 31 May 2008 04:22:05 -0400 Received: by an-out-0708.google.com with SMTP id d18so176438and.130 for ; Sat, 31 May 2008 01:22:04 -0700 (PDT) Message-ID: <804dabb00805310122t137e4de3waaafe992fa00e649@mail.gmail.com> Date: Sat, 31 May 2008 16:22:04 +0800 From: "Peter Teoh" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] Mount errors in QEMU Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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