Debian, Tutorials/Tips

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:  How to install and configure Git on your favorite Linux distribution

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

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:

We Recommend These Vendors and Free Offers

Register now for Blockchain & Cryptocurrency Con 2018, international conference on blockchain technnology in Dallas, TX (USA), Feb. 23-24, 2018. A 50% discount for students.

Best WhatsApp Plus features in Gbwhatsapp latest APK download

Best binary auto trading software reviews by 7binaryoptions.com

Google has got competition, because Presearch is building a blockchain-based search engine controlled by the community. At $0.15 a token, you can participation in Lot 3 of the token sale by clicking here

Open Money is building a solution that will run mainstream software on blockchain tech. Click here to get free tokens that will be the digital currency of the platform

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


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 *

*