Re: Linux/Windows dichotomy

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

 



On Wed, Oct 27, 2010 at 7:01 PM, Niels Mayer <nielsmayer@xxxxxxxxx> wrote:
> http://nielsmayer.com/meego/loading-win-xp-in-qemu.png
> http://nielsmayer.com/meego/setup-win-xp-in-qemu.png
> http://nielsmayer.com/meego/still-installing-win-xp-after-reboot-1.png

Got it all running, networking works, sound seems to work,
http://cygwin.com is all setup (SSH, xemacs, bash, xterm) && still
updating a zillion microsoft security updates to "Win XP Pro Media
Center Edition" (it's a legal copy of windows XP from an old broken
laptop, so i re-registered and now ms-updates work within the virtual
windows). Eventually, I'll fire up an old copy of Native Instruments
"traktor" 3 and see how well audio actually works. Seems easy enough
to send audio to a digital out on the default ALSA card where windows
sounds output, and run that into the digital input of a
jackd-controlled card under linux...

The nice thing about using Media Center Edition of XP is
tablet/touchscreen support. With that, you can skip the mouse-grab
typical of normal qemu runs and get a normal window/mouse interaction
with the rest of the desktop. See qemu(1) manual page, and launch
script below for details.

Result: http://nielsmayer.com/meego/qemu-finally-running-winxp.png

.....................................................
#!/bin/sh

## (1) "-smb /media/disk"
## see https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo#Sharing%20Files%20between%20the%20Host%20and%20VM
## on windows, do: "net use e: \\10.0.2.2\qemu_share"
##
## (2) "-usb -usbdevice tablet"
## see https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo#USB%20Tablet%20Emulation
## allows use of qemu w/o locking the mouse in the window and ctl-alt
to unlock...
##
## (3) "-redir tcp:3389::3389"
## see https://help.ubuntu.com/community/SeamlessVirtualization
##
## (4) "-vga std"
##           "std"
##               Standard VGA card with Bochs VBE extensions.  If
##               your guest OS supports the VESA 2.0 VBE extensions
##               (e.g. Windows XP) and if you want to use high
##               resolution modes (>= 1280x1024x16) then you should
##               use this option.
##
export QEMU_AUDIO_DRV="alsa"
cd /media
exec qemu -soundhw sb16 -localtime -smb disk -usb -usbdevice tablet
-vga std -redir tcp:3389::3389 -m 1024 ~/windows-qemu/windows.img
........................................

-- Niels
http://nielsmayer.com

PS: Dumb question: does anybody know how to get qemu to start up from
an actual disk, rather than a disk image? I'd like to plug in my old
dead laptop's drive via USB and have qemu boot directly off that
drive, giving me my old windows/linux lapburner (due to 3.4Ghz Pentium
4 CPU)  back again. All the docs on qemu i've read talk about using a
disk image only, rather than pointing the virtual OS at its own
specific disk-drive. Yes, obviously I could DD the whole disk into an
image and run that -- if I had enough disk space to hold an image of
that disk right now.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux