qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] No root device Found while booting a CENTOS Image


From: Dunrong Huang
Subject: Re: [Qemu-devel] No root device Found while booting a CENTOS Image
Date: Sat, 29 Dec 2012 02:35:30 +0800

On Sat, Dec 29, 2012 at 1:33 AM, Saptarshi Sen <address@hidden> wrote:
> HI,
>
>     I am using the following command for booting a CENTOS image. Although
> the system boots initially but at the
> end, it throws an error " No root Device found "
>
>    qemu/qemu-system-x86_64 -m 512 -kernel vmlinuz-2.6.32-71.el6.i686 -initrd
> initramfs-2.6.32-71.el6.i686.img -append "root=/dev/hda1" -vnc :0
>
You should provide QEMU with a root file system. e.g. -hda rootfs.img,
or your kernel
can not find available device.

And you'd better use -append "root=/dev/sda" to specify which device to mount.
>    Please provide some insight. Thanks
>
> Saptarshi



-- 
Best Regards,

Dunrong Huang



reply via email to

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