How to dual-boot Linux Mint Debian Edition and Windows 7

This is what the new partition creation window looks like. Notice that by default, GParted will want to create this partition as a primary partition. Because the system allows us to create a maximum of four primary partitions and because we intend to create four partitions just for LMDE, it becomes necessary to create this as an extended partition. An extended partition makes it possible to create many more partitions under it than the traditional maximum of four. The thing to remember is that the partitions created under the extended partition are known as logical partitions.

Numbering of logical partitions starts at 5, and as we will see further down, the first logical partition will always be /dev/sda5, even when the extended partition it is created under is /dev/sda3.

To create the extended partition, the only change you need to make here is to select “Extended Partition” from the “Create as” dropdown menu. Add.

Select the unallocated space under the newly created extended partition, and click on the new partition button to start creating logical partitions.

Our first partition, which will be /dev/sda5, will be mounted as /boot, and is where boot-related programs will be installed. On a new installation of LMDE, only about 15 MB of the space allocated to this partition is used. Note that as the kernel is upgraded, the space used here will grow. So if you intend to use this installation for a long time, try to allocate as much as you can afford to. 500 MB is now the norm. For file system, you may select ext2 or a journaling file system except btrfs. Add.

The second partition will be used for swap, which is the space that will be used as virtual memory. Most distributions, depending on available disk space, tend to allocate about 2 GB to it, which is the size allocated in this example. Add.

The third partition will be mounted at /, the root file system. This is where almost everything will be installed. How much space should you then allocate to it? For guidance, a new installation of LMDE takes up less than 3 GB of disk space. Therefore, anything more than 3 GB should be enough. If you have disk space to spare, be generous and allocate 6 GB to 10 GB. Add.

The last partition, which should be allocated all the available disk space, will be mounted at /home. Add.

After all the partitions have been created, click on the arrow as shown to apply the changes.

Then exit from GParted.

Back on the main installation window, click on the Refresh button to see the new partitions. For each LMDE partition, double click on it or right click and select Edit from the context menu. The task is to set the mount point and file system.

Related Posts

How to reset passwords on Fedora 21 and 22 Thanks to a very strict password policy and one too many passwords to remember, I managed to forget both the root and user account passwords of a test...
Upgrading Windows 8.1, Windows 7 to Windows 10 NOTE; After using this tutorial to upgrade Windows 7/8.1 to Windows 10, you might want to install OpenSSH on it using How to install OpenSSH on Window...
How to customize Mandriva 2011 Mandriva 2011, the latest desktop edition of the popular Linux distribution, was released yesterday. If you have just installed it, you would have not...
How to install Ubuntu on a btrfs file system Ubuntu 10.10 beta is the latest Linux distribution release to have support for the btrfs file system. Btrfs (B-tree File System) is a copy-on-write fi...
Manual disk partitioning guide for BackTrack 5 R2 GNOME BackTrack Linux is now known as Kali Linux. You may read all Kali Linux articles and tutorial at BackT...
Guide to dual-booting Dual-booting refers to the concept of installing two operating systems on the same computer, and having the option to choose which one to boot into wh...

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. Roddie Reventar

    Thank you for an excellent guide!
    There are so many ‘tips’ on this topic and incomplete guides out there on this topic.
    Your setup is the best and your steps very well explained. I couldn’t have done it without you.

    For those looking for a video… This same method is shown by Matthew Moore on You Tube, where he explains exactly why this is superior to other methods:

    Mint Debian here we go!

  2. Thanks a million for a good and easy to understand guide to set up LMDE along side with Windows 7. I especially appreciate your idea of keeping the two completely separated and keeping grub on /boot 😀

  3. It doesn’t work. I’m not able to choose /dev/sda5 (my /boot partition) for GRUB installation. In dropdown list I have only /dev/sda or /dev/sda1 (windows boot partition).

    • Strange! Do you see the partitions you created in the list above the dropdown menu?

      • No. I see only sda (whole) and sda1 partition.
        In disk manger I see everything. In Gparted I see all the partitions. But not in dropdown menu. I use live image on USB.

        • It shouldn’t matter whether you are using a live image from USB or from a CD/DVD. There should be a list of created partitions in that menu.

          Note that this tutorial is from 2011, so if you are using a recent edition of LMDE, it is possible that there is a bug in the installer. I’ll have to attempt an installation using it to see what’s going on.

          What edition of LMDE are you trying to install?

  4. I get a grub> command line instead of GUI?

  5. Thanks a Tonnnnnnnnneeeeeeeeee.
    It was just Great.

  6. Thanks for the tutorial. It worked perfectly! 😉 I wish I would have left some space in my HDD to try Linux Mint 13 when its released… Would I be able to partition more space from the Linux partition we created here?

  7. How can i uninstall or delete Lmde.after i installed Lmde i updated it and then i want to delet lmde after 7 does not boot. when i turn on laptop welcome grub ….rescue will show .

    • Well, it looks like when you set up the dual-boot, you replaced Windows 7’s boot loader with GRUB, LMDE’s boot loader. After deleting LMDE, you will get the GRUB error that you mentioned because GRUB cannot find the main LMDE partition (you deleted it). You likely messed up something in Windows when you deleted the LMDE partitions. That, I think, is why Windows is unable to boot, too.

      Since it seems you do not need LMDE any more, you can try to rescue Windows using the Windows installation disk.

Leave a Comment

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