Dual boot Windows 7 and Arch Linux












1















I have a Vaio notebook with Windows 7 64 bit.
I want to dual boot it with Arch Linux.
I have three primary partitions: Recovery, System reserved (Active and Boot) and the Windows C: drive. I have resized the large partition with the the Windows C: drive.
Now I have an empty space where I could create the Linux partition, but I am lost as concerns the boot loader.



According to Arch documentation, using Windows 7/8 boot loader restricts me to a Fat32 Linux partition, really a no go. So I can use GRUB or SysLinux. As for Syslinux, I have read that using chain.c32 can prevent Windows 7 hibernation. As for GRUB, the new version is very complex, do I really need it for such a simple task? Secondly, Arch Docs say that a post-MBR gap of about 1 to 2 MiB is recommended to provide sufficient room for embedding GRUB's core.img. How do I check if I have it and what to do if I don't have it?










share|improve this question





























    1















    I have a Vaio notebook with Windows 7 64 bit.
    I want to dual boot it with Arch Linux.
    I have three primary partitions: Recovery, System reserved (Active and Boot) and the Windows C: drive. I have resized the large partition with the the Windows C: drive.
    Now I have an empty space where I could create the Linux partition, but I am lost as concerns the boot loader.



    According to Arch documentation, using Windows 7/8 boot loader restricts me to a Fat32 Linux partition, really a no go. So I can use GRUB or SysLinux. As for Syslinux, I have read that using chain.c32 can prevent Windows 7 hibernation. As for GRUB, the new version is very complex, do I really need it for such a simple task? Secondly, Arch Docs say that a post-MBR gap of about 1 to 2 MiB is recommended to provide sufficient room for embedding GRUB's core.img. How do I check if I have it and what to do if I don't have it?










    share|improve this question



























      1












      1








      1








      I have a Vaio notebook with Windows 7 64 bit.
      I want to dual boot it with Arch Linux.
      I have three primary partitions: Recovery, System reserved (Active and Boot) and the Windows C: drive. I have resized the large partition with the the Windows C: drive.
      Now I have an empty space where I could create the Linux partition, but I am lost as concerns the boot loader.



      According to Arch documentation, using Windows 7/8 boot loader restricts me to a Fat32 Linux partition, really a no go. So I can use GRUB or SysLinux. As for Syslinux, I have read that using chain.c32 can prevent Windows 7 hibernation. As for GRUB, the new version is very complex, do I really need it for such a simple task? Secondly, Arch Docs say that a post-MBR gap of about 1 to 2 MiB is recommended to provide sufficient room for embedding GRUB's core.img. How do I check if I have it and what to do if I don't have it?










      share|improve this question
















      I have a Vaio notebook with Windows 7 64 bit.
      I want to dual boot it with Arch Linux.
      I have three primary partitions: Recovery, System reserved (Active and Boot) and the Windows C: drive. I have resized the large partition with the the Windows C: drive.
      Now I have an empty space where I could create the Linux partition, but I am lost as concerns the boot loader.



      According to Arch documentation, using Windows 7/8 boot loader restricts me to a Fat32 Linux partition, really a no go. So I can use GRUB or SysLinux. As for Syslinux, I have read that using chain.c32 can prevent Windows 7 hibernation. As for GRUB, the new version is very complex, do I really need it for such a simple task? Secondly, Arch Docs say that a post-MBR gap of about 1 to 2 MiB is recommended to provide sufficient room for embedding GRUB's core.img. How do I check if I have it and what to do if I don't have it?







      arch-linux windows dual-boot boot-loader






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 hours ago









      Rui F Ribeiro

      41.5k1483140




      41.5k1483140










      asked Aug 11 '13 at 21:23









      antonioantonio

      4792725




      4792725






















          1 Answer
          1






          active

          oldest

          votes


















          6














          I use ArchLinux on all my machines.



          Unfortunately, the ArchLinux installer is no longer as beginner friendly as it once was but installing Arch or Gentoo is a good learning experience.



          Linux doesn't name partitions in terms of C:, D:, E: instead it will be /dev/sda1, /dev/sda2, /dev/sdb1. Note that *nix differentiates between partitions on the same drive vs physically separate drives. The letter X in /dev/sdX specifies the drive and the number # /dev/sda# specifies the partition.



          Furthermore, the raw /dev/sdX# device nodes are separate from their mountpoints (traditionally /media/<label>, with SystemD now /run/media/<user>/<label>). However, for the current ArchLinux installer you will manually mount / (root partition; equivalent to Windows C:) to /mnt for the purposes of the installation.



          My recommendation is to first download the GParted LiveCD. This will help you make sense of your partitions and allow you to prepare them for the installer via a graphical (GUI) means.



          You can only have 4 primary partitions using a traditional DOS/MBR partition table, so you may choose to make the 4th partition extended and inside that create logical partitions. Choose EXT4 for your ArchLinux partition. You should also create a SWAP partition (2GB recommended; equivalent to Windows pagefile or hiberfil.sys) for hibernation and virtual/overflow RAM support. I don't think you'll need a separate /boot partition.



          Additionally, I strongly recommend that you choose the GRUB2 bootloader. It offers a lot of features (such as ISO booting) and works basically "out of the box" with ArchLinux. You can generate a config file using os-prober and grub-mkconfig that will create a boot entry for Windows. Some of that stuff on wiki is regarding UEFI or alternative boot methods which shouldn't concern you.



          Best of luck!






          share|improve this answer


























          • +1 One question still unclear. When I run # modprobe dm-mod and # grub-install --recheck /dev/sda, will the post-MBR gap be sufficient to accommodate GRUB core.img?

            – antonio
            Aug 12 '13 at 0:34













          • The MBR is the first 512 bytes (440 of which is reserved for the bootloader) and I've never had an issue with that. Just use this guide pacman -S grub os-prober && grub-install --recheck /dev/sdX && grub-mkconfig -o /boot/grub/grub.cfg Oh and FYI no need to load the dm-mod module, it's for reading encrypted drives.

            – justbrowsing
            Aug 12 '13 at 0:46













          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f86370%2fdual-boot-windows-7-and-arch-linux%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









          6














          I use ArchLinux on all my machines.



          Unfortunately, the ArchLinux installer is no longer as beginner friendly as it once was but installing Arch or Gentoo is a good learning experience.



          Linux doesn't name partitions in terms of C:, D:, E: instead it will be /dev/sda1, /dev/sda2, /dev/sdb1. Note that *nix differentiates between partitions on the same drive vs physically separate drives. The letter X in /dev/sdX specifies the drive and the number # /dev/sda# specifies the partition.



          Furthermore, the raw /dev/sdX# device nodes are separate from their mountpoints (traditionally /media/<label>, with SystemD now /run/media/<user>/<label>). However, for the current ArchLinux installer you will manually mount / (root partition; equivalent to Windows C:) to /mnt for the purposes of the installation.



          My recommendation is to first download the GParted LiveCD. This will help you make sense of your partitions and allow you to prepare them for the installer via a graphical (GUI) means.



          You can only have 4 primary partitions using a traditional DOS/MBR partition table, so you may choose to make the 4th partition extended and inside that create logical partitions. Choose EXT4 for your ArchLinux partition. You should also create a SWAP partition (2GB recommended; equivalent to Windows pagefile or hiberfil.sys) for hibernation and virtual/overflow RAM support. I don't think you'll need a separate /boot partition.



          Additionally, I strongly recommend that you choose the GRUB2 bootloader. It offers a lot of features (such as ISO booting) and works basically "out of the box" with ArchLinux. You can generate a config file using os-prober and grub-mkconfig that will create a boot entry for Windows. Some of that stuff on wiki is regarding UEFI or alternative boot methods which shouldn't concern you.



          Best of luck!






          share|improve this answer


























          • +1 One question still unclear. When I run # modprobe dm-mod and # grub-install --recheck /dev/sda, will the post-MBR gap be sufficient to accommodate GRUB core.img?

            – antonio
            Aug 12 '13 at 0:34













          • The MBR is the first 512 bytes (440 of which is reserved for the bootloader) and I've never had an issue with that. Just use this guide pacman -S grub os-prober && grub-install --recheck /dev/sdX && grub-mkconfig -o /boot/grub/grub.cfg Oh and FYI no need to load the dm-mod module, it's for reading encrypted drives.

            – justbrowsing
            Aug 12 '13 at 0:46


















          6














          I use ArchLinux on all my machines.



          Unfortunately, the ArchLinux installer is no longer as beginner friendly as it once was but installing Arch or Gentoo is a good learning experience.



          Linux doesn't name partitions in terms of C:, D:, E: instead it will be /dev/sda1, /dev/sda2, /dev/sdb1. Note that *nix differentiates between partitions on the same drive vs physically separate drives. The letter X in /dev/sdX specifies the drive and the number # /dev/sda# specifies the partition.



          Furthermore, the raw /dev/sdX# device nodes are separate from their mountpoints (traditionally /media/<label>, with SystemD now /run/media/<user>/<label>). However, for the current ArchLinux installer you will manually mount / (root partition; equivalent to Windows C:) to /mnt for the purposes of the installation.



          My recommendation is to first download the GParted LiveCD. This will help you make sense of your partitions and allow you to prepare them for the installer via a graphical (GUI) means.



          You can only have 4 primary partitions using a traditional DOS/MBR partition table, so you may choose to make the 4th partition extended and inside that create logical partitions. Choose EXT4 for your ArchLinux partition. You should also create a SWAP partition (2GB recommended; equivalent to Windows pagefile or hiberfil.sys) for hibernation and virtual/overflow RAM support. I don't think you'll need a separate /boot partition.



          Additionally, I strongly recommend that you choose the GRUB2 bootloader. It offers a lot of features (such as ISO booting) and works basically "out of the box" with ArchLinux. You can generate a config file using os-prober and grub-mkconfig that will create a boot entry for Windows. Some of that stuff on wiki is regarding UEFI or alternative boot methods which shouldn't concern you.



          Best of luck!






          share|improve this answer


























          • +1 One question still unclear. When I run # modprobe dm-mod and # grub-install --recheck /dev/sda, will the post-MBR gap be sufficient to accommodate GRUB core.img?

            – antonio
            Aug 12 '13 at 0:34













          • The MBR is the first 512 bytes (440 of which is reserved for the bootloader) and I've never had an issue with that. Just use this guide pacman -S grub os-prober && grub-install --recheck /dev/sdX && grub-mkconfig -o /boot/grub/grub.cfg Oh and FYI no need to load the dm-mod module, it's for reading encrypted drives.

            – justbrowsing
            Aug 12 '13 at 0:46
















          6












          6








          6







          I use ArchLinux on all my machines.



          Unfortunately, the ArchLinux installer is no longer as beginner friendly as it once was but installing Arch or Gentoo is a good learning experience.



          Linux doesn't name partitions in terms of C:, D:, E: instead it will be /dev/sda1, /dev/sda2, /dev/sdb1. Note that *nix differentiates between partitions on the same drive vs physically separate drives. The letter X in /dev/sdX specifies the drive and the number # /dev/sda# specifies the partition.



          Furthermore, the raw /dev/sdX# device nodes are separate from their mountpoints (traditionally /media/<label>, with SystemD now /run/media/<user>/<label>). However, for the current ArchLinux installer you will manually mount / (root partition; equivalent to Windows C:) to /mnt for the purposes of the installation.



          My recommendation is to first download the GParted LiveCD. This will help you make sense of your partitions and allow you to prepare them for the installer via a graphical (GUI) means.



          You can only have 4 primary partitions using a traditional DOS/MBR partition table, so you may choose to make the 4th partition extended and inside that create logical partitions. Choose EXT4 for your ArchLinux partition. You should also create a SWAP partition (2GB recommended; equivalent to Windows pagefile or hiberfil.sys) for hibernation and virtual/overflow RAM support. I don't think you'll need a separate /boot partition.



          Additionally, I strongly recommend that you choose the GRUB2 bootloader. It offers a lot of features (such as ISO booting) and works basically "out of the box" with ArchLinux. You can generate a config file using os-prober and grub-mkconfig that will create a boot entry for Windows. Some of that stuff on wiki is regarding UEFI or alternative boot methods which shouldn't concern you.



          Best of luck!






          share|improve this answer















          I use ArchLinux on all my machines.



          Unfortunately, the ArchLinux installer is no longer as beginner friendly as it once was but installing Arch or Gentoo is a good learning experience.



          Linux doesn't name partitions in terms of C:, D:, E: instead it will be /dev/sda1, /dev/sda2, /dev/sdb1. Note that *nix differentiates between partitions on the same drive vs physically separate drives. The letter X in /dev/sdX specifies the drive and the number # /dev/sda# specifies the partition.



          Furthermore, the raw /dev/sdX# device nodes are separate from their mountpoints (traditionally /media/<label>, with SystemD now /run/media/<user>/<label>). However, for the current ArchLinux installer you will manually mount / (root partition; equivalent to Windows C:) to /mnt for the purposes of the installation.



          My recommendation is to first download the GParted LiveCD. This will help you make sense of your partitions and allow you to prepare them for the installer via a graphical (GUI) means.



          You can only have 4 primary partitions using a traditional DOS/MBR partition table, so you may choose to make the 4th partition extended and inside that create logical partitions. Choose EXT4 for your ArchLinux partition. You should also create a SWAP partition (2GB recommended; equivalent to Windows pagefile or hiberfil.sys) for hibernation and virtual/overflow RAM support. I don't think you'll need a separate /boot partition.



          Additionally, I strongly recommend that you choose the GRUB2 bootloader. It offers a lot of features (such as ISO booting) and works basically "out of the box" with ArchLinux. You can generate a config file using os-prober and grub-mkconfig that will create a boot entry for Windows. Some of that stuff on wiki is regarding UEFI or alternative boot methods which shouldn't concern you.



          Best of luck!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 12 '13 at 0:54

























          answered Aug 12 '13 at 0:01









          justbrowsingjustbrowsing

          56039




          56039













          • +1 One question still unclear. When I run # modprobe dm-mod and # grub-install --recheck /dev/sda, will the post-MBR gap be sufficient to accommodate GRUB core.img?

            – antonio
            Aug 12 '13 at 0:34













          • The MBR is the first 512 bytes (440 of which is reserved for the bootloader) and I've never had an issue with that. Just use this guide pacman -S grub os-prober && grub-install --recheck /dev/sdX && grub-mkconfig -o /boot/grub/grub.cfg Oh and FYI no need to load the dm-mod module, it's for reading encrypted drives.

            – justbrowsing
            Aug 12 '13 at 0:46





















          • +1 One question still unclear. When I run # modprobe dm-mod and # grub-install --recheck /dev/sda, will the post-MBR gap be sufficient to accommodate GRUB core.img?

            – antonio
            Aug 12 '13 at 0:34













          • The MBR is the first 512 bytes (440 of which is reserved for the bootloader) and I've never had an issue with that. Just use this guide pacman -S grub os-prober && grub-install --recheck /dev/sdX && grub-mkconfig -o /boot/grub/grub.cfg Oh and FYI no need to load the dm-mod module, it's for reading encrypted drives.

            – justbrowsing
            Aug 12 '13 at 0:46



















          +1 One question still unclear. When I run # modprobe dm-mod and # grub-install --recheck /dev/sda, will the post-MBR gap be sufficient to accommodate GRUB core.img?

          – antonio
          Aug 12 '13 at 0:34







          +1 One question still unclear. When I run # modprobe dm-mod and # grub-install --recheck /dev/sda, will the post-MBR gap be sufficient to accommodate GRUB core.img?

          – antonio
          Aug 12 '13 at 0:34















          The MBR is the first 512 bytes (440 of which is reserved for the bootloader) and I've never had an issue with that. Just use this guide pacman -S grub os-prober && grub-install --recheck /dev/sdX && grub-mkconfig -o /boot/grub/grub.cfg Oh and FYI no need to load the dm-mod module, it's for reading encrypted drives.

          – justbrowsing
          Aug 12 '13 at 0:46







          The MBR is the first 512 bytes (440 of which is reserved for the bootloader) and I've never had an issue with that. Just use this guide pacman -S grub os-prober && grub-install --recheck /dev/sdX && grub-mkconfig -o /boot/grub/grub.cfg Oh and FYI no need to load the dm-mod module, it's for reading encrypted drives.

          – justbrowsing
          Aug 12 '13 at 0:46




















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f86370%2fdual-boot-windows-7-and-arch-linux%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

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux