How to boot a physical Linux partition with Qemu for Windows 10 X64 bit?












1















I have Debian Linux and Windows 10 installed alongside on my first hard drive. I want to start my Debian install from within Windows through Qemu and the Hax hypervisor. This is how is partitioned my disk :




  1. 190 GB NTFS with Windows 10

  2. Recovery partition of Windows 10 = 486 mb

  3. extfs4 partition with Debian = 120 GB

  4. free space = 4 GB


When I'm on Windows,I use a linux file system to read and write on the linux partition...with it i can associate a new drive letter to it. So,I would like for example give to QEMU the drive letter where is stored Linux,but I don't know how to do that...this is the qemu commands sequence that I use usually to boot Linux...



C:Programmiqemuqemu-system-x86_64 -m 3072 -cpu Haswell,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on -machine pc-q35-2.9 -smp 4,cores=2 -usb -device usb-kbd -device usb-tablet -smbios type=2 -device ich9-intel-hda -device hda-duplex **-accel hax** -device ide-drive,bus=ide.1,drive=DebHDD -drive id=DebHDD,if=none,file= **WHAT SHOULD I PUT HERE ?**,format=qcow2 -device ide-drive,bus=ide.0,drive=DebDVD


How would I make it work?










share|improve this question





























    1















    I have Debian Linux and Windows 10 installed alongside on my first hard drive. I want to start my Debian install from within Windows through Qemu and the Hax hypervisor. This is how is partitioned my disk :




    1. 190 GB NTFS with Windows 10

    2. Recovery partition of Windows 10 = 486 mb

    3. extfs4 partition with Debian = 120 GB

    4. free space = 4 GB


    When I'm on Windows,I use a linux file system to read and write on the linux partition...with it i can associate a new drive letter to it. So,I would like for example give to QEMU the drive letter where is stored Linux,but I don't know how to do that...this is the qemu commands sequence that I use usually to boot Linux...



    C:Programmiqemuqemu-system-x86_64 -m 3072 -cpu Haswell,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on -machine pc-q35-2.9 -smp 4,cores=2 -usb -device usb-kbd -device usb-tablet -smbios type=2 -device ich9-intel-hda -device hda-duplex **-accel hax** -device ide-drive,bus=ide.1,drive=DebHDD -drive id=DebHDD,if=none,file= **WHAT SHOULD I PUT HERE ?**,format=qcow2 -device ide-drive,bus=ide.0,drive=DebDVD


    How would I make it work?










    share|improve this question



























      1












      1








      1








      I have Debian Linux and Windows 10 installed alongside on my first hard drive. I want to start my Debian install from within Windows through Qemu and the Hax hypervisor. This is how is partitioned my disk :




      1. 190 GB NTFS with Windows 10

      2. Recovery partition of Windows 10 = 486 mb

      3. extfs4 partition with Debian = 120 GB

      4. free space = 4 GB


      When I'm on Windows,I use a linux file system to read and write on the linux partition...with it i can associate a new drive letter to it. So,I would like for example give to QEMU the drive letter where is stored Linux,but I don't know how to do that...this is the qemu commands sequence that I use usually to boot Linux...



      C:Programmiqemuqemu-system-x86_64 -m 3072 -cpu Haswell,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on -machine pc-q35-2.9 -smp 4,cores=2 -usb -device usb-kbd -device usb-tablet -smbios type=2 -device ich9-intel-hda -device hda-duplex **-accel hax** -device ide-drive,bus=ide.1,drive=DebHDD -drive id=DebHDD,if=none,file= **WHAT SHOULD I PUT HERE ?**,format=qcow2 -device ide-drive,bus=ide.0,drive=DebDVD


      How would I make it work?










      share|improve this question
















      I have Debian Linux and Windows 10 installed alongside on my first hard drive. I want to start my Debian install from within Windows through Qemu and the Hax hypervisor. This is how is partitioned my disk :




      1. 190 GB NTFS with Windows 10

      2. Recovery partition of Windows 10 = 486 mb

      3. extfs4 partition with Debian = 120 GB

      4. free space = 4 GB


      When I'm on Windows,I use a linux file system to read and write on the linux partition...with it i can associate a new drive letter to it. So,I would like for example give to QEMU the drive letter where is stored Linux,but I don't know how to do that...this is the qemu commands sequence that I use usually to boot Linux...



      C:Programmiqemuqemu-system-x86_64 -m 3072 -cpu Haswell,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on -machine pc-q35-2.9 -smp 4,cores=2 -usb -device usb-kbd -device usb-tablet -smbios type=2 -device ich9-intel-hda -device hda-duplex **-accel hax** -device ide-drive,bus=ide.1,drive=DebHDD -drive id=DebHDD,if=none,file= **WHAT SHOULD I PUT HERE ?**,format=qcow2 -device ide-drive,bus=ide.0,drive=DebDVD


      How would I make it work?







      windows-10 multi-boot virtualization qemu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 27 '18 at 17:40







      Marietto

















      asked Dec 27 '18 at 16:27









      MariettoMarietto

      1128




      1128






















          0






          active

          oldest

          votes











          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',
          autoActivateHeartbeat: false,
          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%2f1388158%2fhow-to-boot-a-physical-linux-partition-with-qemu-for-windows-10-x64-bit%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388158%2fhow-to-boot-a-physical-linux-partition-with-qemu-for-windows-10-x64-bit%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

          Plaza Victoria

          Brian Clough

          Cáceres