Move Linux drive to an existing Windows machine












0














I have an existing dual-boot machine (A) with Windows 10 on the active drive and Linux (Mint) on another. Now I want to move the Linux drive to another existing Windows 10 machine (B) and configure it to dual-boot, but continue to use Windows on box A. How do I
a) remove the Linux option from GRUB on (A) so that it will boot normally to Windows after removing the Linux drive (I'm giving the computer to someone else).
b) install and configure GRUB on the new Windows machine (B) with only Windows installed?










share|improve this question









New contributor




Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0














    I have an existing dual-boot machine (A) with Windows 10 on the active drive and Linux (Mint) on another. Now I want to move the Linux drive to another existing Windows 10 machine (B) and configure it to dual-boot, but continue to use Windows on box A. How do I
    a) remove the Linux option from GRUB on (A) so that it will boot normally to Windows after removing the Linux drive (I'm giving the computer to someone else).
    b) install and configure GRUB on the new Windows machine (B) with only Windows installed?










    share|improve this question









    New contributor




    Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0







      I have an existing dual-boot machine (A) with Windows 10 on the active drive and Linux (Mint) on another. Now I want to move the Linux drive to another existing Windows 10 machine (B) and configure it to dual-boot, but continue to use Windows on box A. How do I
      a) remove the Linux option from GRUB on (A) so that it will boot normally to Windows after removing the Linux drive (I'm giving the computer to someone else).
      b) install and configure GRUB on the new Windows machine (B) with only Windows installed?










      share|improve this question









      New contributor




      Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have an existing dual-boot machine (A) with Windows 10 on the active drive and Linux (Mint) on another. Now I want to move the Linux drive to another existing Windows 10 machine (B) and configure it to dual-boot, but continue to use Windows on box A. How do I
      a) remove the Linux option from GRUB on (A) so that it will boot normally to Windows after removing the Linux drive (I'm giving the computer to someone else).
      b) install and configure GRUB on the new Windows machine (B) with only Windows installed?







      linux windows dual-boot






      share|improve this question









      New contributor




      Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 9 hours ago









      Rui F Ribeiro

      38.8k1479128




      38.8k1479128






      New contributor




      Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 11 hours ago









      Roger Penn

      1




      1




      New contributor




      Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Roger Penn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          -1














          Grub is not MS-Windows standard bootloader. It was installed as part of the Linux. Hence It is better to see your dual boot as the main OS is Linux and its bootloader - Grub can start also other OSes it detected and included into its startup menu. If you get your disk with Linux away of the box, the grub will not find its main modules, and start will fail.



          If installing dual boot, you always have to install MS-Windows first, say on the first sATA disk (/dev/sda) then Linux on the second (/dev/sdb) but the best practice is to write the sector zero part of the grub bootloader into the same HDD as the Linux was installed on (/dev/sdb) and then set the boot order in the BIOS (uEFI) so the first HD should be the second sATA. In this case, you can take the Linux disk safelly out and put it in some other machine (suppose you installed modules for all hardware), while the original box can be put into the functional state again by changing the boot order in BIOS back to the first sATA (where left the origianl Windows bootloader untouched).



          In the new box, where you put your Linux HD, try to connect this disk again as the second sATA and set it in BIOS. During the Linux first run on the new box reconfigure the Grub.



          Based on my opinion, the best solution is to install the linux only on the hardware, and the MS-Windows in the virtual machine such as KVM-Qemu or VirtuaBox.






          share|improve this answer





















          • This is all very interesting but I don't see that it actually answers what was asked.
            – roaima
            6 hours ago










          • You don't always need to install Windows first. You can, in fact, install grub after you install Linux and then Windows. It is harder, but it can be done.
            – Michael Prokopec
            1 hour ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          Roger Penn is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490502%2fmove-linux-drive-to-an-existing-windows-machine%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









          -1














          Grub is not MS-Windows standard bootloader. It was installed as part of the Linux. Hence It is better to see your dual boot as the main OS is Linux and its bootloader - Grub can start also other OSes it detected and included into its startup menu. If you get your disk with Linux away of the box, the grub will not find its main modules, and start will fail.



          If installing dual boot, you always have to install MS-Windows first, say on the first sATA disk (/dev/sda) then Linux on the second (/dev/sdb) but the best practice is to write the sector zero part of the grub bootloader into the same HDD as the Linux was installed on (/dev/sdb) and then set the boot order in the BIOS (uEFI) so the first HD should be the second sATA. In this case, you can take the Linux disk safelly out and put it in some other machine (suppose you installed modules for all hardware), while the original box can be put into the functional state again by changing the boot order in BIOS back to the first sATA (where left the origianl Windows bootloader untouched).



          In the new box, where you put your Linux HD, try to connect this disk again as the second sATA and set it in BIOS. During the Linux first run on the new box reconfigure the Grub.



          Based on my opinion, the best solution is to install the linux only on the hardware, and the MS-Windows in the virtual machine such as KVM-Qemu or VirtuaBox.






          share|improve this answer





















          • This is all very interesting but I don't see that it actually answers what was asked.
            – roaima
            6 hours ago










          • You don't always need to install Windows first. You can, in fact, install grub after you install Linux and then Windows. It is harder, but it can be done.
            – Michael Prokopec
            1 hour ago
















          -1














          Grub is not MS-Windows standard bootloader. It was installed as part of the Linux. Hence It is better to see your dual boot as the main OS is Linux and its bootloader - Grub can start also other OSes it detected and included into its startup menu. If you get your disk with Linux away of the box, the grub will not find its main modules, and start will fail.



          If installing dual boot, you always have to install MS-Windows first, say on the first sATA disk (/dev/sda) then Linux on the second (/dev/sdb) but the best practice is to write the sector zero part of the grub bootloader into the same HDD as the Linux was installed on (/dev/sdb) and then set the boot order in the BIOS (uEFI) so the first HD should be the second sATA. In this case, you can take the Linux disk safelly out and put it in some other machine (suppose you installed modules for all hardware), while the original box can be put into the functional state again by changing the boot order in BIOS back to the first sATA (where left the origianl Windows bootloader untouched).



          In the new box, where you put your Linux HD, try to connect this disk again as the second sATA and set it in BIOS. During the Linux first run on the new box reconfigure the Grub.



          Based on my opinion, the best solution is to install the linux only on the hardware, and the MS-Windows in the virtual machine such as KVM-Qemu or VirtuaBox.






          share|improve this answer





















          • This is all very interesting but I don't see that it actually answers what was asked.
            – roaima
            6 hours ago










          • You don't always need to install Windows first. You can, in fact, install grub after you install Linux and then Windows. It is harder, but it can be done.
            – Michael Prokopec
            1 hour ago














          -1












          -1








          -1






          Grub is not MS-Windows standard bootloader. It was installed as part of the Linux. Hence It is better to see your dual boot as the main OS is Linux and its bootloader - Grub can start also other OSes it detected and included into its startup menu. If you get your disk with Linux away of the box, the grub will not find its main modules, and start will fail.



          If installing dual boot, you always have to install MS-Windows first, say on the first sATA disk (/dev/sda) then Linux on the second (/dev/sdb) but the best practice is to write the sector zero part of the grub bootloader into the same HDD as the Linux was installed on (/dev/sdb) and then set the boot order in the BIOS (uEFI) so the first HD should be the second sATA. In this case, you can take the Linux disk safelly out and put it in some other machine (suppose you installed modules for all hardware), while the original box can be put into the functional state again by changing the boot order in BIOS back to the first sATA (where left the origianl Windows bootloader untouched).



          In the new box, where you put your Linux HD, try to connect this disk again as the second sATA and set it in BIOS. During the Linux first run on the new box reconfigure the Grub.



          Based on my opinion, the best solution is to install the linux only on the hardware, and the MS-Windows in the virtual machine such as KVM-Qemu or VirtuaBox.






          share|improve this answer












          Grub is not MS-Windows standard bootloader. It was installed as part of the Linux. Hence It is better to see your dual boot as the main OS is Linux and its bootloader - Grub can start also other OSes it detected and included into its startup menu. If you get your disk with Linux away of the box, the grub will not find its main modules, and start will fail.



          If installing dual boot, you always have to install MS-Windows first, say on the first sATA disk (/dev/sda) then Linux on the second (/dev/sdb) but the best practice is to write the sector zero part of the grub bootloader into the same HDD as the Linux was installed on (/dev/sdb) and then set the boot order in the BIOS (uEFI) so the first HD should be the second sATA. In this case, you can take the Linux disk safelly out and put it in some other machine (suppose you installed modules for all hardware), while the original box can be put into the functional state again by changing the boot order in BIOS back to the first sATA (where left the origianl Windows bootloader untouched).



          In the new box, where you put your Linux HD, try to connect this disk again as the second sATA and set it in BIOS. During the Linux first run on the new box reconfigure the Grub.



          Based on my opinion, the best solution is to install the linux only on the hardware, and the MS-Windows in the virtual machine such as KVM-Qemu or VirtuaBox.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 9 hours ago









          schweik

          35214




          35214












          • This is all very interesting but I don't see that it actually answers what was asked.
            – roaima
            6 hours ago










          • You don't always need to install Windows first. You can, in fact, install grub after you install Linux and then Windows. It is harder, but it can be done.
            – Michael Prokopec
            1 hour ago


















          • This is all very interesting but I don't see that it actually answers what was asked.
            – roaima
            6 hours ago










          • You don't always need to install Windows first. You can, in fact, install grub after you install Linux and then Windows. It is harder, but it can be done.
            – Michael Prokopec
            1 hour ago
















          This is all very interesting but I don't see that it actually answers what was asked.
          – roaima
          6 hours ago




          This is all very interesting but I don't see that it actually answers what was asked.
          – roaima
          6 hours ago












          You don't always need to install Windows first. You can, in fact, install grub after you install Linux and then Windows. It is harder, but it can be done.
          – Michael Prokopec
          1 hour ago




          You don't always need to install Windows first. You can, in fact, install grub after you install Linux and then Windows. It is harder, but it can be done.
          – Michael Prokopec
          1 hour ago










          Roger Penn is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Roger Penn is a new contributor. Be nice, and check out our Code of Conduct.













          Roger Penn is a new contributor. Be nice, and check out our Code of Conduct.












          Roger Penn is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2funix.stackexchange.com%2fquestions%2f490502%2fmove-linux-drive-to-an-existing-windows-machine%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

          Accessing regular linux commands in Huawei's Dopra Linux

          Can't connect RFCOMM socket: Host is down

          Kernel panic - not syncing: Fatal Exception in Interrupt