How to dual-boot Debian 6 and Windows 7

Select “physical volume for LVM.” If you prefer installing the system on an encrypted LVM (recommended), select “physical volume for encryption.” Scroll to “Done setting up the partition.” Continue.

With the PV created, scroll to “Configure the Logical Volume Manager” to create the Volume Group (VG). Continue.

Yes. Note the partition number of the boot partition (partition #5). That piece of information will come in handy several steps ahead. Continue.

Scroll to “Create volume group.” Continue.

Give the VG a name. Any name will do. The shorter the better. Capitalization is optional. Continue.

These are all the partitions on the disk. Which one will be made a member of the VG? Only a PV qualifies to be included in a VG. In this example, that will be /dev/sda6, the PV that was created earlier. Continue.

The VG has been created. The next task is to create Logical Volumes, which are the equivalents of disk partitions. For this tutorial, only three Logical Volumes will be created: /, swap, and /home. You can create more if you like, but for a desktop system, those three should be all you need to create during installation. Continue.

The first step in creating a Logical Volume (LV), is to identify the VG the disk space for the LV will be taken from. 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 *