Keith Goggin wrote:
On Friday 25 May 2007 09:58, Sid Boyce wrote:
Hi,
I just got around to trying kvm. I created a 40 Gig HD (/dev/hda).
# qemu-img create -f qcow /Mandriva.qcow 40G

Next booted from the Mandriva DVD iso
# qemu -cdrom /ISO/mandriva-linux-2007-spring-pwp-dvd-i586.iso -boot d
/Mandriva.qcow

Install proceeded in the usual way, partitioning /dev/hda, formatting
the partitions, etc. through to online updates. Automic reboot failed so
boot had to be done manually via "qemu /Mandriva.qcow", it even starts
the virtualbox daemon. It's a bit slow loading KDE, the default qemu CPU
reported as a P-II 3Ghz/128Meg memory, real CPU is AM2 6000+ with 4Gig
memory. Next boot I shall try setting SMP and 1 Gig memory to see the
difference. Better still, I shall try a 64-bit distro instead.

I've just tried to do the same on 10.3a4 x86_x64.

I created testvm.qcow (20GB) OK but then couldn't execute the next step..

# qemu -sda /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d

qemu: invalid option -- '-sda'

Note both my HDD and DVD-ROM (Burner) are SATA II devices.

Does qemu support SATA for both HDD and CDROM?
I've scanned both the qemu-doc.html and the qemu man page but couldn't see anything about SATA drives or cdroms. ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



e.g:-
# qemu-img create -f qcow testvm.qcow 20G
# qemu -cdrom /home/kg/Desktop/openSUSE-10.3Alpha4-DVD-x86_64.iso -boot d testvm.qcow

Boots the iso as a cdrom/DVD. After the install, the reboot fails, so you just do a manual boot on 64-bit "qemu-system-x86_64 testvm.qcow". "qemu testvm.qcow" will only give you a P-II CPU.

I now run the Mandriva x86 distro on x86_64.
# qemu-system-x86_64 /Mandriva.qcow -smp 2 -full-screen -usb&

CTRL-ALT-F to get out/in full screen. "man qemu" for options.
Note:- when you click in the VM it grabs the mouse and keyboard, CTRL-ALT to grab them back. I did have a problem installing 64-bit Mandriva, it didn't like a return value 0xffffffff somewhere, so I don't know if 64-bit 10.3 Alpha4 will install. I shall have to subscribe to the qemu mailing list and report the problem.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to