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

Continue.
debwin10

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

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

Scroll to “Create a new partition.” Continue.
debwin13

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

Continue.
debwin15

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

Related Posts

How to configure Ubuntu 14.04 server to forward root mails to your email address This short tutorial shows how to configure a Ubuntu 14.04 Cloud server to forward system-generated mails sent to the root account to your email addres...
Failed attempts to dual-boot PC-BSD 10.1 with Windows 8 After reviewing PC-BSD 10.1 and installing it on an encrypted hard drive, the next logical thing to do is attempt a dual-boot setup between it and Win...
Still in search of that perfect desktop distribution The quest for perfection is an endless one. Like the quest for freedom (material or spiritual), there is always one more step. It is just the nature o...
GPT disk partitioning guide for Chakra 2011.4 GPT is an alternate disk partition table scheme that solves two issues associated with the MBR partition table scheme. It allows the configuration of ...
Cinnamon 1.6 review Alternate titles: Review of Cinnamon 1.6; Cinnamon 1.6 screen shot tour; Cinnamon screen shots; Cinnamon 1.6; Cinnamon 1.6 review; Cinnamon desktop. ...
Building Interactive Maps with Leaflet Leaflet is an JavaScript library for building interactive maps. RStudio released a package that allows us to build these maps in R! You can do som...

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


54 Comments

  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?

    Thanks!

  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 *

*