Boot an existing GNU/Linux installation from a real HDD in Qemu-Windows











up vote
1
down vote

favorite
1












I'm now running windows 8 and I installed qemu-windows 1.3.1. I have two hard disks. When I try to boot existing Arch GNU/Linux from second disk using the command:



qemu-system-x86-64w -hda DeviceHarddiskVolume6  


I got this error :



qemu-system-x86_64w.exe: -hda DeviceHarddiskVolume6: 
could not open disk image DeviceHarddiskVolume6: Invalid argument


Can anyone tell me why? Do I need to mount a linux partition in windows?



The bottom line is:



How do I boot an existing GNU/Linux installation from a hard disk?



update

when I use the command which Ярослав Рахматуллин answered



 qemu-system-x86_64w.exe: -hda \.PhysicalDrive0  


or



qemu-system-x86_64w.exe: \.PhysicalDrive0


I got this error :



qemu: PC system firmware (pflash) must be a multiple of 0x1000









share|improve this question




























    up vote
    1
    down vote

    favorite
    1












    I'm now running windows 8 and I installed qemu-windows 1.3.1. I have two hard disks. When I try to boot existing Arch GNU/Linux from second disk using the command:



    qemu-system-x86-64w -hda DeviceHarddiskVolume6  


    I got this error :



    qemu-system-x86_64w.exe: -hda DeviceHarddiskVolume6: 
    could not open disk image DeviceHarddiskVolume6: Invalid argument


    Can anyone tell me why? Do I need to mount a linux partition in windows?



    The bottom line is:



    How do I boot an existing GNU/Linux installation from a hard disk?



    update

    when I use the command which Ярослав Рахматуллин answered



     qemu-system-x86_64w.exe: -hda \.PhysicalDrive0  


    or



    qemu-system-x86_64w.exe: \.PhysicalDrive0


    I got this error :



    qemu: PC system firmware (pflash) must be a multiple of 0x1000









    share|improve this question


























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I'm now running windows 8 and I installed qemu-windows 1.3.1. I have two hard disks. When I try to boot existing Arch GNU/Linux from second disk using the command:



      qemu-system-x86-64w -hda DeviceHarddiskVolume6  


      I got this error :



      qemu-system-x86_64w.exe: -hda DeviceHarddiskVolume6: 
      could not open disk image DeviceHarddiskVolume6: Invalid argument


      Can anyone tell me why? Do I need to mount a linux partition in windows?



      The bottom line is:



      How do I boot an existing GNU/Linux installation from a hard disk?



      update

      when I use the command which Ярослав Рахматуллин answered



       qemu-system-x86_64w.exe: -hda \.PhysicalDrive0  


      or



      qemu-system-x86_64w.exe: \.PhysicalDrive0


      I got this error :



      qemu: PC system firmware (pflash) must be a multiple of 0x1000









      share|improve this question















      I'm now running windows 8 and I installed qemu-windows 1.3.1. I have two hard disks. When I try to boot existing Arch GNU/Linux from second disk using the command:



      qemu-system-x86-64w -hda DeviceHarddiskVolume6  


      I got this error :



      qemu-system-x86_64w.exe: -hda DeviceHarddiskVolume6: 
      could not open disk image DeviceHarddiskVolume6: Invalid argument


      Can anyone tell me why? Do I need to mount a linux partition in windows?



      The bottom line is:



      How do I boot an existing GNU/Linux installation from a hard disk?



      update

      when I use the command which Ярослав Рахматуллин answered



       qemu-system-x86_64w.exe: -hda \.PhysicalDrive0  


      or



      qemu-system-x86_64w.exe: \.PhysicalDrive0


      I got this error :



      qemu: PC system firmware (pflash) must be a multiple of 0x1000






      qemu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 16 '13 at 14:39

























      asked Mar 15 '13 at 15:48









      ifree

      614




      614






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Your argument is invalid, i.e wrong. The qemu-doc.html from the qemu-windows official page/distribution states how to specify
          physical hard drives in section 3.6.7.2 Windows:




          Hard disks
          Hard disks can be used with the syntax: \.PhysicalDriveN where N is the
          drive number (0 is the first hard disk). /dev/hda is supported as an alias
          to the first hard disk drive \.PhysicalDrive0.

          WARNING: unless you know what you do, it is better to only make READ-ONLY
          accesses to the hard disk otherwise you may corrupt your host data (use
          the -snapshot command line so that the modifications are written in a
          temporary file).





          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f566536%2fboot-an-existing-gnu-linux-installation-from-a-real-hdd-in-qemu-windows%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Your argument is invalid, i.e wrong. The qemu-doc.html from the qemu-windows official page/distribution states how to specify
            physical hard drives in section 3.6.7.2 Windows:




            Hard disks
            Hard disks can be used with the syntax: \.PhysicalDriveN where N is the
            drive number (0 is the first hard disk). /dev/hda is supported as an alias
            to the first hard disk drive \.PhysicalDrive0.

            WARNING: unless you know what you do, it is better to only make READ-ONLY
            accesses to the hard disk otherwise you may corrupt your host data (use
            the -snapshot command line so that the modifications are written in a
            temporary file).





            share|improve this answer

























              up vote
              0
              down vote













              Your argument is invalid, i.e wrong. The qemu-doc.html from the qemu-windows official page/distribution states how to specify
              physical hard drives in section 3.6.7.2 Windows:




              Hard disks
              Hard disks can be used with the syntax: \.PhysicalDriveN where N is the
              drive number (0 is the first hard disk). /dev/hda is supported as an alias
              to the first hard disk drive \.PhysicalDrive0.

              WARNING: unless you know what you do, it is better to only make READ-ONLY
              accesses to the hard disk otherwise you may corrupt your host data (use
              the -snapshot command line so that the modifications are written in a
              temporary file).





              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Your argument is invalid, i.e wrong. The qemu-doc.html from the qemu-windows official page/distribution states how to specify
                physical hard drives in section 3.6.7.2 Windows:




                Hard disks
                Hard disks can be used with the syntax: \.PhysicalDriveN where N is the
                drive number (0 is the first hard disk). /dev/hda is supported as an alias
                to the first hard disk drive \.PhysicalDrive0.

                WARNING: unless you know what you do, it is better to only make READ-ONLY
                accesses to the hard disk otherwise you may corrupt your host data (use
                the -snapshot command line so that the modifications are written in a
                temporary file).





                share|improve this answer












                Your argument is invalid, i.e wrong. The qemu-doc.html from the qemu-windows official page/distribution states how to specify
                physical hard drives in section 3.6.7.2 Windows:




                Hard disks
                Hard disks can be used with the syntax: \.PhysicalDriveN where N is the
                drive number (0 is the first hard disk). /dev/hda is supported as an alias
                to the first hard disk drive \.PhysicalDrive0.

                WARNING: unless you know what you do, it is better to only make READ-ONLY
                accesses to the hard disk otherwise you may corrupt your host data (use
                the -snapshot command line so that the modifications are written in a
                temporary file).






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 15 '13 at 17:55









                Ярослав Рахматуллин

                7,99032963




                7,99032963






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f566536%2fboot-an-existing-gnu-linux-installation-from-a-real-hdd-in-qemu-windows%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido