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.

Related Post  Fedora 14 installation guide

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

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

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">