Tutorials/Tips, Ubuntu, Ubuntu Netbook

How to dual-boot Ubuntu 10.10 and Windows 7

Author’s Note: This article shows how to dual-boot the OSs, with GRUB installed in the MBR. While this method works, the recommended method is to install GRUB in the boot partition of Ubuntu, so that the Windows boot loader will be responsible for dual-booting. A step by step guide for this latter approach has now been published: Dual-booting Windows 7 and Ubuntu 10.10 (Part 2).
While I will never encourage anybody to use Windows, any version of Windows, I do accept the fact that a significant percentage of users still have to use it. I also accept the fact that some users would like to dual-boot between Linux (whatever the distribution they prefer) and Windows. Linux and BSD installation programs make dual-booting with other operating systems very easy, such that if you are satisfied with partitions created by your distribution, a tutorial like this one is not necessary. However, if you need to create a custom partitioning scheme, different from the system default, this tutorial will be useful, especially if you are new to disk partitioning in Linux.

Images used in this tutorial were obtained from installation in a virtual environment, with a disk size of 200 GB. The objective is to use about 50 GB of that for Windows 7, and the rest for Ubuntu 10.10. When setting up a dual-boot configuration between Windows and a Linux or BSD distribution, always install Windows first. Otherwise, Windows will happily wipe your hard disk clean and install itself. The first task then is to install Windows first, then Ubuntu. Note: The assumption here is that Windows 7 is being installed anew. So boot up the computer the Windows 7 installation CD.

You might also be interested in how to dual-boot Linux Mint 10 and Ubuntu 10.10 on a computer with two hard drives.

Related Post:  How to boost the physical security posture of your Linux-powered computer

At the disk partition step of the installation process, the window similar to the one below should be on your screen. To create the Windows partition, click on New.

Windows 7 partitioner

Here the Windows 7 installer lets you specify the disk space to use. The original size of the disk in shown. All that is required is to change it to the size we want to use for Windows 7.

Whole disk size

With the required size assigned, click Apply.

Windows 7 partition size

The installer will create two primary partitions as shown. The first one (Disk 0 Partition 1: System Reserved) is for installing Windows 7 loader files and the second (Disk 0 Partition 2) is for installing Windows 7 itself. When it comes time to install Ubuntu 10.10, the Ubuntu installer will identify these two partitions as /dev/sda1 and /dev/sda2 respectively. The unallocated space is what will be used for installing Ubuntu. Click Next to continue with the installation, which should take about 20 minutes.

Install Windows to partition

With Windows 7 installed, time to install Ubuntu 10.10. Reboot the computer into the Ubuntu installation medium. When you click to install, you will click through about three steps before getting to the one shown below. There are three options. Because the goal here is to create a custom set of partitions different from the Ubuntu default, select the last option and click Forward.

Manual partition

Please share:

We Recommend These Services

Register now for Big Data & AI Conference, international Big Data and AI conference in Dallas, TX (USA), June 27 - 29, 2019

Reasons to use control panel for your server

Register for the End-to-end Machine Learning with TensorFlow on Google Cloud Platform workshop. It will be conducted by the manager of Google's Cloud AI Advocacy team

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


  1. I’ve never had a virtual windows OS operate with enough speed to do it for me. Also, the virtual OS doesnt seem to be able to access my stupid windows only (thanks, Canon!) printer.

    • I’m guessing this is in response to BobbyC’s comments, right?

      • Actually its all a bit of an embarissing mistake – sorry. Didnt realise I was set up to recieve notifications for new activity on this blog item, got an email, started reading the entries about virtual OS’s… and didnt realise that this was something that I saw last year. 🙂

  2. Thank you for the tut. But I have a serious problem here. When I tried to create manual partition in Ubuntu 10.10 there was no option for logical and primary. Rest everything was there. Still I followed the steps ignoring the above pb. At the end when I tried to access ubuntu I got this error: No such partition
    grub rescue>
    I tried to install grub using sudo fdisk -l but the output says that the mount: /dev/sd8/ failed or not present i actually dont remember the error. But the main thing is I was not able to dual boot Windows 7 and Ubuntu even after trying 3 times.

    Please tell me y there is no option in create partition table.

    Thank you

    • It is not possible to create a partition without there being a Primary/Logical option. On the partition creation window, those are the first two options. Give me a little bit of info about your PC. How many hard disks? How many partitions on the Windows side? Is Windows a fresh install or an existing installation? Just something to help me give you the best response I can.

      Btw, to continue this conversation, please register and open a new thread at the forum. It’s a better place for this type of discussion than this commenting system. Thanks.

  3. Nice article thanks. I do agree with the poster above that using ext2 on the /boot partition would be slightly “safer” as it doesn’t have journaling etc …

  4. I am using Hp pavilion dv 6910tx notebook, i hv 3 drives c,d and f, windows 7 is installed in c drive and d drive is used for my personal data and i want to install ubuntu 10.10 netbook edition in f drive, my c drive is 50 gb and d drive is 120 gb and f drive is 30 gb, when i try to boot ubuntu 10.10 it ask me which partion in to install i select the partition bt it gives error that is the the root system specified file, so what should i do plz help me?

    • I don’t understand your phrasing of the error, but what you are trying to do is very easy. Since you are attempting to install Ubuntu on the third HDD, the installer will create the necessary partitions if you instruct it to install on that drive.

      I think the error you are trying to describe comes up if you are in manual mode and have not created a root partition. Are you trying to create partitions manually or did you choose the installer auto-partition mode?

      I think this tutorial will help. It covers dual-booting on a computer with 2 HDDs, not 3, but it should give you a very good idea how to proceed.

  5. Hey, thanks so much for this tutorial. Just did a dual boot Windows 7 / Ubuntu 10.10.

    I am using an HP Pavilion dv7-4190us, so I had to change some stuff up. Windows 7 made a mess of itself, installing parts on both of my harddrives. I deleted the two partitions labeled “healthy.” This gave me around 250GB of free space. I set up / and /home as logical partitions, because I couldn’t continue if / was a primary partition.

    So far so good, windows 7 works, ubuntu works. Odd thing is that it was Windows Vista, as well. I’ll probably just edit it out of grub.

    Thanks so much for spending the time to make the tutorial!

  6. Pingback: noob here, anyone have a guide for Dual Boot? - Overclock.net - Overclocking.net

  7. Pingback: Windows 7 y Ubuntu en la misma máquina | BlogAll

  8. Pingback: Anonymous

  9. Microsoft had used the space GRUB considers free in the past and nothing prevents it to do so again. Please stop recommending GRUB as the way to boot Windows.

    More so, old versions of GRUB may render Windows 7 or Vista unbootable. You are creating a false believe that GRUB is always safe for Windows.

    The only correct way to double boot Windows 7 and Linux is to install GRUB in some non-Windows place, copy its boot sector to Windows, and use Windows loader to boot it.

    • GRUB will boot Windows 7 just fine. The problem is that Windows tends to mess with GRUB when it (Windows) is updated/upgraded.

      Why “copy its boot sector to Windows” when all you need to do is edit the Windows bootloader and add an entry for Linux.

      • “Why “copy its boot sector to Windows””:

        I copy the GRUB boot sector to a Winsows accessible file, create a new boot entry of the “/application BOOTSECTOR” type, and set “device” and “path” for it.

        If there is another application type or some way to point BOOTSECTOR to the GRUB partition directly so that no boot sector in a file is necessary, it will be very useful. Unfortunately, I do not know it.

  10. Pingback: Linux News » How to dual-boot Ubuntu 10.10 and Windows 7

  11. carolinason

    it would be better to format /boot as ext2 and not ext4.

    ext4’s functionality is journaling and this will not offer any benefit with /boot, due to the way it is mounted. ext4 would add unnecessary overhead to the /boot partition albeit just a tiny bit. you could possibly format /boot with ext4 and then disable journaling.

    gnu/linux’s big gift is not that it is free, it is that it’s open, so you can find out how and why things work.

  12. Windows 7 installs so easily and runs so well full screen in the virtualbox that for many people who need Windows, there is no reason to install it to a Hard Drive.

  13. Just a question: why not installing Windows in Virtualbox?

    If you really need to use Windows to run a specific program it does the trick extremely well! Installed it on my netbook inside Virtualbox and when I want to switch OSs I just have to change workspaces – basically you can switch from OS to OS in 1sec.

    • I think a virtual OS cant access any hardware that the parent OS cant access(??) Ie, for my STUPID Canon LBP3000, which cant be accessed by Ubuntu, it wouldnt be accessible via a virtual windows running inside Ubuntu either.

      • Actually, with the latest versions of Sun VirtualBox it is quite possible to share parent hardware with a guest OS. I do it all the time going from Windows to Linux and vice versa.

  14. Pingback: Links 5/11/2010: Google Chrome OS Enters Beta | Techrights

  15. Pingback: Tweets that mention How to dual-boot Ubuntu 10.10 and Windows 7 — LinuxBSDos.com -- Topsy.com

Leave a Reply to Manoj Cancel

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