Re: qemu sles 11 guest failed to boot up after the guest install

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

 




On 20.05.2009, at 18:09, Pradeep K Surisetty wrote:



3.start guest install
qemu-kvm -cdrom SLES-11-DVD-x86_64-GM-DVD1.iso -drive
file=sles11.raw,if=scsi,cache=off -m 512 -smp 2

4. After the guest install boot up from the image.
qemu-kvm -boot c sles11.raw

any reason why you install on SCSI but then boot on IDE?

I tried to install 2 Guests.

Guest 1. Started Rhel 5.3 install on one guest with scsi and booted up
successfully using below command

     qemu-kvm -boot c rhel5.3.raw

Guest 2. Same way i just Started SLES 11 install on SCSI.After successful
install,i tried to boot with

     qemu-kvm -boot c sles11.raw

Assuming default interface is IDE, tried to boot the SLES 11 guest using
below command and succeeded.

     qemu-kvm -drive file=sles11.raw,if=scsi,boot=on

I can't talk for the RHEL one, but SUSE's initrd only includes the modules required to bring back exactly the same configuration you had when running mkinitrd (installation in your case).

So if you install on SCSI, but boot from IDE later on, that definitely breaks,

If you want to create a versatile initrd that could boot anywhere, call mkinitrd -A. Keep in mind that you'll probably have to adjust the root= parameter still, unless you choose to identify the root device by UUID during installation.

Alex

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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux