On Sat, Aug 25, 2012 at 2:34 AM, lei yang <[email protected]> wrote:
> I used the redhat RHEL6 boot with initrd but it failed, can sb help me
> ( I have tried /dev/ram /dev/ram0 and
> initrd-2.6.32-279.el6.x86_64kdump.img)
>
> [root@localhost boot]# /usr/libexec/qemu-kvm --enable-kvm -smp 8 -m
> 1024 -net nic,model=virtio -net tap,script=/etc/qemu-ifup -initrd
> /boot/initramfs-2.6.32-279.el6.x86_64.img  -kernel
> /boot/vmlinuz-2.6.32-279.el6.x86_64 -append "root=/dev/ram rw
> console=ttyS0,115200 " -nographic

What are you trying to do?

A kernel and initramfs have been specified.  The boot is working up
until the point where the initramfs wants to mount the root file
system.  Where is the root file system, you haven't attached any disks
to the guest?

If you want to test booting just into the initramfs then you probably
need to pass a distro-specific debugging option to stop the initramfs
before it switches to the root file system.  Sorry, I don't know
dracut.

Stefan
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to