Problems in starting windows using qemu-kvm from arch

Hello,
I am facing problems in launching windows XP & 7 using qemu-kvm / qemu from arch. I have arch 2010.05 installed (kernel 2.6.33.4) which has kvm.ko, intel & amd modules. System is Intel Core 2 Duo 3.0GHz. Windows XP is installed on partition 0 (real) and i am trying to start windows from that real partition using qemu-kvm.
I installed qemu-kvm using pacman -S qemu-kvm. I am running modprobe kvm and modprobe kvm-intel. Also, i have added username to kvm group.
Command -
qemu-kvm /dev/sda - I have grub menu.lst which gives me list and i am selecting windows to boot but windows does not start. I can see startup but then fails.
qemu-kvm /dev/sda1 - sda1 has windows. With this qemu-kvm just hangs at Booting from Hard-disk...
qemu-kvm -no-kvm /dev/sda - Selecting windows but this time get Windows XP activation error however i can boot same windows XP directly without any error.
For Windows 7 - I have another HDD with Windows 7 installed on partition 0 and Arch. Everytime when i try to start Windows 7 using qemu-kvm (with kvm or without kvm) it gives blue screen with STOP: 0x... If i start Windows 7 directly it works fine.
Also, i downloaded kernel 2.6.35 and built with KVM but still facing same problems. I also tried with qemu.
Can anyone help me in resolving this issue? I want to qemu-kvm Windows from real partition. Let me know if it is not possible.
Am i missing any installation/configuration steps?
I searched on google and on arch forum/wiki but was not able to resolve this issue. Let me know if you need more details.
Thank you,
Satish.
Last edited by satishk (2010-10-18 15:21:06)

satishk wrote:Hi,
Do i need to create two hardware profiles in Windows or Linux?
the hardware profiles are only needed for windows , linux guest doesn't need it (unless you have compiled your own kernel without more then 1 HDD controller..  specifically for the guest)
satishk wrote:1. Can i run qemu-kvm from linux kernel with only command support. No desktop environment installed (X11)? If yes, what is the procedure?
qemu-KVM uses SDL, NOT X11 .
added : SDL can be installed seperately, it doesn't require X11 .
you can run qemu-kvm without SDL by using a special startup parameter, -nodisplay
you have to connect with a serial connection to get to the console of the VM.
satishk wrote:2. If i restart/shutdown from quest OS that is windows in my case, is it possible to restart/shutdown the complete system (i.e. host OS
too)?
you can do that by using a bash script to start the VM, that script can also be used to stop the host.
satishk wrote:3. Whether Windows would be able to detect USB drivers and other devices by default or i need to do anything special in qemu-kvm?
USB devices are normally detected, although you have to test how well they work.
You may have to use udev rules to prevent the host from using those devices, they can't be used by both host and guest at the same time.
Network cards will not be detected, but you can link a physical network device with qemu-kvm virtual network devices.
search for qemu documentation, it also applies to qemu-kvm.
Last edited by Lone_Wolf (2010-10-22 18:35:13)

Similar Messages

  • Unable to start Windows 7 after recovering from an image

    Dear community!
    In our office, we frequently use Windows 7 on our Mac computers. Windows 7 is installed on a Bootcamp partition.
    The HDD of one of our MacBooks crashed today and I recovered data from a previously made full image of that MacBook to another MacBook.
    When pressing the ALT button during start up, the MacBook only displays the Mac partition, which can be started perfectly, but not the Windows 7 Bootcamp partition. Under System Preferences -> "Startup Volume" I can see and select the Winodws 7 Bootcamp partition, but it won't let me start Windows 7 from it after rebooting. I get the message "NO BOOTABLE DEVICE - INSERT BOOT DISC AND PRESS ANY KEY". Also, I'm able to access the Bootcamp partition (and all files under Windows) when I start up Mac.
    Any ideas on how to fix that? Sry I can't provide you with diskutil list, gpt and fdisk right now because I don't have the MacBook with me. I will do that later!).

    I was stuck with a similar situation...
    http://discussions.apple.com/message.jspa?messageID=13329327#13329327

  • Problem with starting Windows when W510 in docking station

    When I put in my W510 to the docking station, I have usually every second day problems with starting up Windows operation system.
    I make 2 videos, where on the first 100_1060.MOV you can see starting Windows when it is frozen (first 1 minute record, I start record after about 3 minutes frozen), then I have to reboot W510 by on/off button and start ThinkVantage.
    On the second video 100_1061.MOV is starting operating system after ThinkVantage process, this start is OK.
    http://www.licko.cz/w510/100_1060.MOV
    http://www.licko.cz/w510/100_1061.MOV
    Why I have this problems? I have latest Windows and W510 updates.
    Regards,
      Lubomir Licko
    Solved!
    Go to Solution.

    There was some upgrades of Microsoft and Lenovo and I don't have this problem long time.

  • Problem with starting Windows with external Toshiba HDD

    Hello,
    when i am starting windows (xp) and i have got my external disk connected, the computer cant start, he stoped in "windows start up". When i turning up the notebook without disk, it starts good. Do you know some solution?
    Thank you and sorry for my bad english.

    And which Toshiba notebook and HDD do you have?

  • Problems with starting Windows after Boot Camp was installed on a Win-PC

    Hi,
    i have a very interesting problem for the MacComunity (haha -.-). The problem is: after I have installed Boot Camp from my Snow Leopard DVD on my Windows PC (not my iMac); I can not start the system. In the Boot Camp System where i can set the system to start with, there was only the Boot Camp System available (not Vista). However, the system installs some Vista-Updates and some Updates from Apple Software Update (iTunes 9.2, Quicktime 7, Safari 5, Airport 5, Boot Camp 3.1) on my PC.
    Everything was all right but after I have restarted the System nothing happend. the System freezed when the boot-Screen (Intel Logo) appears. The Systemkeyboard was not detected. It only detects a n external apple Keyboard. There are some reactions when I press the keys, but the Monitory is frozen, anyway. What can I do?

    Sounds like a lesson in there: don't wait to put OS X on an external drive that is usually off line.
    Rush to a store or on-line and get a UPS of the 1500VA sort (APC RS would be nice, or SMART UPS 1000VA).
    The directory of the drives could be corrupt.
    I have all my equipment, modem, routers, the works, but we had a bad storm and one port on the router/modem is out (the one I used, the modem seems to be okay) and I am worried that the UPS's line filter for DSL in is also 'compromised.'
    Storms and power outages can wRECK or cuase havoc.
    It sounds like you need to map out bad sectors maybe (zero all in Disk Utility) perhaps. The directory, volume blocks, or even journal file, got scrambled. However, because no test can find it means - to me - it could be the "non user partitions" rather than OS X partition etc. Hence, zero the drive or just reformat it in full.
    Why have you not ever with these outages, just continued to live w/o one? I wouldn't just shutdown, I would unplug if a storm approaches.
    PS: SMC Reset button is under drive bay #4. Give it a 5-10 seconds depress.

  • Problem to install Windows using Boot Camp 3.0.4 in Macbook Air (2008)

    Hi Folks!
    Please I need help.
    I have a original Macbook Air of 2008 (http://support.apple.com/kb/SP8?viewlocale=pt_BR) with the Mac OS Snow Leopard 10.6.8 and I want to install the Windows 7 Professional x64 as a secondary partition using the BootCamp 3.0.4. After steps necessary for create a new partition with the BootCamp, I rebooted the machine with the "Windows 7 Professional installation DVD" in DVD device, but then the setup Windows installation does not appears, showing the initialization white screen of the Mac OS with the apple image, a symbol of emptiness and a folder with a "?" symbol within alternating infinitely and do not finish.
    I tried with the Windows Ultimate Vista x86, but occurs the same.
    Please, what can I do to install the Windows in my Macbook Air?
    Thanks a lot!
    Regards,
    Jonas Presse

    No, I did not get a solve. Actually, my problem worsened. I tried it again, but this time the computer wouldn´t detect my alu keyboard, hence I couldn´t select a drive to tell the bloody thing where to boot from. That is weird, because at the time I opened this thread it did work. I actually had to borrow a wired keyboard so I could hit alt and get it to work.
    At the moment I am not so keen on trying it again......

  • Problems in starting up Application Server Control from SOA Suite

    I have an issue starting up the Application Server Control page from the SOA Suite (10.1.3.1.0) welcome page. I can open all other control pages by entering the oc4jadmin/<password> where <password> is the password specified at the time of installing (Standard Install) the SOA suite.
    Application Server Control accepts the oc4jadmin/<password>, but shows another page to "Supply Administration Credentials". The following error message is shown on the page.
    +++++++++
    This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance home on Application Server shara.SHARA_HP is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
    You are logged in as oc4jadmin.
    Enter the credentials for a cluster-wide user in the oc4j-administrators group. These credentials are needed by Application Server Control to make remote connections.
    * User Name
    * Password
    [Store Credentials} button
    ++++++++
    Has any one encountered this? Any clues where to look for things? Initially I had the problem with all the controls due to my computer name as it has an underscore ie., SHARA_HP. I had to use localhost to overcome this ie., http://localhost:8888/em
    Any help/clue would be appreciated.
    Thanks
    Maha

    At install time there is a question that asked if you would like to configure adminstration now. (Something like that). By default this is not checked. If you did not check it you cannot access enterprise manager.
    The is probably a way to configure it, but it might be faster reinstalling.
    There is a simple way to de install by going to the ORACLE_HOME/bin and run the deinstall script.
    cheers
    James

  • Problems with starting jstart.EXE (help for/from anyone needed!)

    Dear all,
    the last days I have spent some time trying to install CE7.1 and also CE711 EHP1. The installation itself worked great: no errors were reported during intallation. But somehow the instance CE1 never starts up completely. As I have found out, and so do many many many others, the problem lies in starting "jstart.EXE" (Please check your SAP Management Console: CE1 => matrix 0 => Process List).
    The following behaviours I have monitored:
    1. When trying to start the CE1 instance jstart.EXE tries to start but stops after a while. So the J2EE Server is not started. This behaviour is monitored and reported by many posts here at SDN, but it seems that "final" solution has been posted, which is valid for anyone. At least non of the hints could help me.
    2. I have monitored that the status of jstart.EXE seems to hang at status "Starting the processes" (I have waited more than 25 minutes).
    To all the experienced and anyone else:
    PLEASE post all you hints here! This issues seems to be a very common issue and is not really solved. Other posts did not help me so far.
    In my case (case 2 from above) I can provide the following information:
    Today (December 3rd, 2008) I have installed CE7.1_SR5. Hardware requirements are fullfilled by 100%.
    I have to mention that I have installed some old CE or NW J2EE version on the same system like about one year ago, and I uninstalled it after only one week.
    Maybe what the jstart.EXE problems are somehow related to the license: does the "uninstallation" leave some data back in the system, which could be used by later installs in order to check the license (wich is only a 90 day license)?
    Who can help?
    What is your experience with jstart.EXE?
    Any help is very welcome. I am sure not only for me!
    Thanks,
    Pars

    Hi,
    OK, if jstart in the "Process List" has status status "Starting processes" I guess what you have to monitor is the "AS Java Process Table". It should show which processes are being started at the moment.
    If I remember correctly the first in this list are offline deployment/bootstrap (which need to run to prepare the instance after updates). After that two processes should be started: the icm and server0 (if you have created more nodes there might be more serverX processes).
    So which one really fails? If it runs for long time and then goes down I suspect it might be server0 (that's the actual java server process). In this case you'll want to check for errors in <drive>/usr/sap/<SID>/JXX/work/_server0. files or the default trace.
    Another way to determine what goes wrong might be to check the <drive>/usr/sap/<SID>/JXX/work directory. If you sort traces by date you'll probably get some idea. dev_<process> are the jstart output, the std_<process> is the actual stdout of the process, if the process failed probably the std file contains some more information on why it happened.
    If you cannot find the problem is there a way to share the last files from the work directory. If it's a common problem we must identify and add it to the TS guide ...
    Best regards, dido

  • Problem with "updating" Windows 7... from Windows 7.

    Hello,
    I just bought a new MacBook Pro with Mountain Lion and I just installed BootCamp and Windows 7 Professional. The problem I have is that I bought an upgrade version of Windows 7, so I need to install Windows once without entering the product key, then, once Windows is installed, I need to install it again, from Windows, so that Windows thinks it really is an update and lets me enter my key and activate Windows (known as the "double install method"/"clean install from upgrade disc"). Everything worked well until I tried to install Windows for the second time. I got the "0x80070005" error, meaning that the install program couldn't write on the disk. This problem is known for users upgrading from Vista to Windows 7 and Apple has published a fix for this. I tried to install that fix, but since it is made for Windows Vista, it didn't work on Windows 7. So now, I'm stuck not being able to install the "update" of Windows 7.
    Does anyone know a workaround for this issue?
    Thank you very much!
    Etienne

    Thank you for your quick answer! I'm sure your solution would have worked, but I've finally found a quicker workaround with some very simple registry and command line manipulations. It's the method 2 described here.
    Thank you!

  • Problem with starting Windows

    I am user of Toshiba Satellite A205- S5879. It has worked correctly but lately i hava a problem. When I try to turn on my computer it shows only a screen with text: "Toshiba, leading innovation" if I press F2 i have opportunity to choose some options and then it starts to opening like previous. How make it to be like previous?

    Satellite A205-S5879 
    I would try flashing the BIOS.
       ACPI Flash BIOS version 2.50 for Satellite A205 (PSAE3U) for Windows Vista
    -Jerry

  • Problem to start Windows 7 (file \boot\bcd ; status 0xc0000098

    Hello,
    Who can help me with this problem. Since a day or two i'm getting a black screen with the following message
    File: \Boot\BCD
    status: 0xc0000098
    Info: The windows boot configuration data file does not contaitn a valid OS entry.
    have anyone a idea to solve this problem
    i don't have a windows installation disc
    Thank you in advance
    Greet Berry

    Plenty of articles on how to fix it. Just Google "fix error 0xc0000098" - there's also a youtube video. If you are in luck then:
    Check if you are able to get the recovery options by pressing the key F8 on your computer.
    a. Restart your computer if it is powered on.
    b. Tap the F8 key after your computer initially powers on.
    c. Once you see the Advanced Boot Options menu you can stop tapping.
    From the Advanced Boot options, check if you can get the System Recovery or repair option. This would take you to Windows recovery options. If you can get to the recovery options, you can rebuild BDC. Follow the below article:
    http://support.microsoft.com/kb/927392

  • Problem with starting to use Thunderbird account

    I am trying to set up Mozilla Thunderbird account because not happy with Windows live mail, but i keep getting the following notice when I try to get mail. I have found I can send mail ok.
    Sending of password for user ........ did not succeed. Mail server mail.bigpond.com responded: pop operation is not allowed for this user.

    Sounds like your provider wants you to use IMAP instead of POP. Have you checked with them to see if the offer POP?

  • Problem accessing Activity window using Command-Option A

    Until a couple of weeks ago, I was able to download an Internet video file by pressing Option-Command A and then double clicking the largest file while pressing option.  Now, nothing happens when I press Command-Option A.  Any ideas?

    The activity window is absent from Safari 6.

  • Problem in Fetching data using RFC FM from NON SAP system

    Hi All,
    Need help from experts on data transfer using RFC from a non SAP system/database. I have creasted the destination in sm59.
    I have created a function module too which has an import parameter as a query and export parameter as an internal table.
    No when i test run this function module it returns some entries. But when I call this FM in a program it throws a dump 'rfc_external_abort' .  Here is what the call to FM looks like in my program. Please guide me on this.
    Thanks in advance,
    Saket.
    DATA : lv_query TYPE string,
           it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT *  FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION  'D39'
      EXPORTING
        in_sql_query       = lv_query
    IMPORTING
       ET_GDDB_DATA       = it_gddbdata

    Hi,
    your question..
    DATA : lv_query TYPE string,
    it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT * FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION 'D39'
    EXPORTING
    in_sql_query = lv_query
    IMPORTING
    ET_GDDB_DATA = it_gddbdata
    you are telling that you are fetching the data  from non sap system  using RFC function module.. how it is possible..you canot fetch the data from non SAP system using RFC FM alone.. you have to use the concept BAPI.. it will work..
    I hope this will help  you..
    Regards,
    Kiran

  • [SOLVED] KVM Broken After Switch from KVM to Qemu-KVM

    Since I made the switch from KVM 88-1 to Qemu-KVM 0.11.0-1 yesterday, my virtual Win XP64 guest OS will not load; I just get a black screen. When I try safe mode, I can see that it is getting stuck on "acpitabl.dat."
    Here's the line I've always used to start it up,
    qemu-kvm -boot c -m 512 -hda win_xp.img -net nic,vlan=1 -net user,vlan=1 -localtime -k en-us -soundhw ac97 -vga std
    Does anyone have any ideas? Thanks in advance.
    Last edited by tony5429 (2009-11-27 05:03:43)

    I see that my user was not on 'kvm' group after the switch.
    When I added my user to de kvm group Qemu-KVM works like a charm.

Maybe you are looking for

  • Why are my iTunes and iPhoto crashing every time I try to open them?

    Why are my iphoto and itunes crashing every time I open them?  This is a new problem on my Mac Mini.  Have the latest software on my Mac Mini and the latest iLife sotware.  My mac mini is about 5 years old, always kept up to date. Processor  2 GHz In

  • Program error in using Hibernate in MyEclipse IDE

    Hi, I have two classes student and staff.I am trying for student class only.And the database tables are student and staff. I am using 10g database. Student(studentId,name,email,password). I want delete a row from the database using hibernate. I am te

  • How to Use "IR IN" and "SERIAL OUT" Connectors

    I tried an LED connected to a mini plug to see if I could place it in front of my concealed cable box, but there is no signal coming out of either connector. How do they work?

  • Storing the directory 'presentation' mode in Finder

    Hi, Is there a way to store the presentation for a specific directory. For example, I want to browse my Programs folder in List View where as I want my Home directory displayed as Cover flow. Is there a way to tell Leopard which directory should be d

  • Hide the document folder in GW7

    Since I don't use the document management option in GroupWise, can I hide the document folder in GW 7 client? I asked that question with GW 6.5 and was told NO. Thanks Gina