How to dual-boot Debian 6 and Windows 7

On Linux, you cannot create more than four primary partitions. And since we already have two primary partitions (for Windows 7), the installer will by default want to create the first and subsequent Debian partitions as logical partitions. The partition numbers will, therefore, start at 5. The boot partition, which is the first one we are creating, will be /dev/sda5. Note this carefully, because GRUB will be installed on this partition for reasons that I will explain when we get to that step. Continue.


On this screen, select the file system and mount point for the new partition. Then scroll to “Done setting up the partition.” Continue.

With /boot created. you can now create other partitions. For this tutorial, I am going to create LVM partitions similar to those used in manual LVM configuration guide for Debian 6. That tutorial also explains, in detail, the steps involved in setting up LVM. If you are not familiar with the steps, you might want to consult that article.

Select the free space and click Continue.

Scroll to “Create a new partition.” Continue.

Since this partition will be used as a Physical Volume for LVM, it is okay to use all available space on the disk. Continue.


This is what the installer will present to you. However, you do not want to use it as a standard partition. So, scroll to “Use as.” Continue.

We Recommend These Vendors

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).


  1. Very, very useful tut. Thanks!

  2. Hi, thanks for this simple and practic explanation. Last night I did this step by step and when I was asked to reboot, the message “grub rescue unknown files” appeared. Now, I’m not really sure what this means.

    As I said, I followed step by step this tutorial and installed grub on /boot. Can you help me out?


  3. LordFarquad

    So.. following the tutorial, at the “Install the base system” stage, I get the following error:

    Debootstrap Error
    Invalid Release file: no entry for contrib/binary-amd64/Packages.

    I hit continue and see “Failed to install the base system The base system installation into /target/ failed.

    Pretty much dead in the water. Any ideas?

  4. I’ve tried to install Debian 7 next to Windows 7 with this tutorial. It crashes when trying to install Grub on (hd0,5). (Doesn’t go further, simply stops.) Any help?

  5. Amazing one…. brother you rocksss

    Thank you very much……!!!

Leave a Comment

Your email address will not be published. Required fields are marked *