Dual-boot Windows 8 or Windows 7 and Ubuntu 13.10, with Ubuntu on a btrfs filesystem

Windows 8 Boot manager dual-boot

This tutorial offers a step-by-step guide on how to dual-boot Windows 8 and Ubuntu 13.10 on a single hard disk drive (HDD), with Ubuntu on a btrfs filesystem.

This dual-boot setup is on a system with Legacy BIOS, that is, non-UEFI and using an MBR disk partitioning scheme, which means that GPT is not involved. Because of this, it can also be used as a guide to dual-boot Windows 7 and Ubuntu 13.10.

GRUB 2, the boot loader used by Ubuntu 13.10, will be installed in the boot partition of Ubuntu and EasyBCD will be used to add an entry for Ubuntu in the Windows boot menu. The result is that the Windows boot manager will be the master boot manager, so that every time the computer is rebooted, you will see this ugly boot menu.
Windows 8 Boot manager dual-boot

To start, you either need a system running Windows 8 or Windows 7, an installation media of Ubuntu 13.10 – 32- or 64-bit. The steps involved are:

  1. Shrink the HDD to create free space for Ubuntu 13.10
  2. Install Ubuntu 13.10 on the recovered space
  3. Add an entry for Ubuntu on the Windows 8 or Windows 7 boot menu

1. Shrink the Windows C Drive: Launch the Windows partition manager. You should see a window that looks just like the one shown in the image below. Right-click on the C drive or a Windows partition that you would like to use. Just be sure that it is not the system partition.
Windows 8 partitions

Select Shrink Volume.
Windows 7 partition

This image shows the Window partition editor. You just need to specify by how much the editor should shrink the partition.
Shrink Windows 8 partition

For my test installation, I chose to allocate just 200 GB to Windows. The remaining 600 GB or so will be used to Ubuntu 13.10. Click Shrink.
Shrink Windows 7 partition

The result of that operation is shown in this image. The unallocated partition is what will be used to create the partitions for installing Ubuntu 13.10. You may now reboot the computer, but be sure to insert or connect the media that the installation image of Ubuntu 13.10 is on before rebooting.
Partitioned Windows 8 disk

2. Install Ubuntu 13.10: When the computer reboots, you may either boot to the Ubuntu 13.10 Live desktop, or start the installer without first making that customary stop at the Live desktop. Click until you get to the Installation type step. Be default, the installer will offer to partition the drive automatically. But that’s not what we want. We want to create partitions manually.
Ubuntu 13.10 partition methods

Related Post:  Linux Mint 8 installation guide

For that, the Something else option is want you need to select. Continue.
Ubuntu 13.10 something else option

That should open the Advanced Partitioning Tool’s window. You should see the free space recovered from Windows, as well as the Windows partitions. To start creating partitions, select the free space and click on the “+” button.
Ubuntu 13.10 advanced partitioning tool

That opens the installer’s partition editor. Because Ubuntu is going to be installed on a btrfs filesystem, at least three partitions are needed – one for /boot, another for Swap, and the last for the btrfs volume.
Ubuntu 13.10 partition editor

For the boot partition, assign it enough disk space that will take into account the potential for increase in disk usage. Typically, 150 MB to 300 MB should do. For this test installation, I allocated 300 MB to it. For file system, you could go with ext4 or ext2. Either one will do. Be sure to select /boot for Mount point, then click OK.
Ubuntu 13.10 create boot partition

Back to the main Advanced Partitioning Tool’s window, you should see the new partition that you just created. Select the remaining free space and click on the “+” button again to create the next partition. This step will have to be repeated for all the other partitions.
Ubuntu 13.10 create partition

For Swap, a disk space of 2 GB (2000 MB) should be enough. From the Use as menu, select swap area, then click OK.
Ubuntu 13.10 create swap partition

For the partition which will be formatted using btrfs, you can allocate a much disk space as you have available, From the Use as menu, select btrfs journaling file system, then select / as the mount point. OK.
Ubuntu 13.10 create btrfs root partition

Back again to this window, all the partitions you need to install Ubuntu 13.10 on a btrfs file system should be listed. Before clicking Install Now to begin package installation, you need to specify where GRUB, the boot loader should be installed. By default, the installer will want to install it in the Master Boot Record (MBR) of the HDD. But that’s not the goal. We want GRUB in the /boot partition. To make that happen, select the partition that matches the boot partition on your system from the Device for boot loader installation menu. For this test installation, it is /dev/sda5.
Ubuntu 13.10 partitions

You may now click Install Now. After the installation has completed successfully, the computer should reboot into Windows. Now, for the final step.
Ubuntu 13.10 install GRUB in boot partition

Related Post:  Replace the Swap partition with a Swap file after upgrading to Ubuntu 17.04

3. Add an entry for Ubuntu 13.10 in the Windows boot menu: To do that, you need to download a program called EasyBCD. It’s free for personal use. You may download it from here. Install it as you would install any other Windows application. Afterwards, launch it. This screen shot shows EasyBCD’s main interface. To add an entry for Ubuntu 13.10, click on the Add New Entry tab.
EasyBSD Windows 8

The click on the Linux/BSD tab. From the Type menu, select GRUB 2. That’s the version of GRUB used by Ubuntu 13.10. And from the Drive menu, select the partition that correspond to the boot partition. For this test installation, it is Partition 3 (Linux 285 MiB). Click on the Add Entry button. To preview the entries that wil appear on the Windows boot menu, click on the Edit Boot Menu button.
EasyBSD Windows 8 add Ubuntu

You should see a couple of entries just like the one in this screen shot. Exit EasyBCD, then reboot the computer. You should see that ugly boot menu you saw at the beginning of this tutorial. If you select Ubuntu 13.10 from the menu, you will be presented with another boot menu. This time, it is that of GRUB.
EasyBSD Windows 8 edit Ubuntu

If you don’t want to see this menu anytime you opt to boot into Ubuntu 13.10, edit /etc/default/grub, then change GRUB_TIMEOUT = 10 to GRUB_TIMEOUT = 0. Then type sudo update-grub to effect the change. That should do it.
GRUB boot menu dual-boot


Share on facebook
Share on twitter
Share on pinterest
Share on linkedin

Hola! Did you notice that LinuxBSDos.com no longer run network ads?  Yep, no more ads from the usual suspects that track and annoy you across the Internet. But since I still need to pay to keep the site running, feel free to make a small donation by PayPal or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Upcoming events

6 Responses

    1. You’re using a guide written for an older edition of Ubuntu to install a later version. And if your computer has UEFI firmware, then you just compounded your problem. this guide will be of better assistance

  1. Very interesting guides!
    I would be very interested in a guide of how to slice and re-combine installed Linux. Say, it is sitting on the same disk as Windows. My installed OSes are tweaked, apps installed so it would take considerable amount of time to re-install them from a scratch with different configuration for the boot and swap partitions as well as different Grub location.
    I would like to take a new disk, partition it and bring there my “old” Linux partition from another disk. I think I could use something like Acronis to copy and write my Linux partition to that new disk, but how do I make it bootable? My current setup is such that Grub “took over” the original Windows’ MBR.
    I am also a little confused about UEFI vs BIOS. My motherboard is an UEFI board with Windows and Linux “sitting” on the 128 GB SSD with MBR on it. I also have a couple of 3 TB HDDs in the system for data, but they are partitioned in a way that the “truecrypted” partitions are about 1.5 TB each for an easy access of these large HDDs from the apps and portable Windows from the HIREN’s rescue disk. Does this mean that UEFI feature isn’t “used”?

    1. For the first problem, you could just clone the Linux setup to the new disk. That shouldn’t be difficult, though I’ve never had to do it myself.

      Regarding UEFI vs BIOS, modern motherboards have a mode called Legacy Compatiblity Mode, or a similar term. That just means that they can operate in UEFI as well as Legacy BIOS mode. So it is possible to create an all-MBR partition scheme on a computer with UEFI firmware. In that case, the UEFI feature is not being used, on that particular disk.

      Hope that ansers your question.

      I’m in the process of publishing an article that shows how to dual-boot modern Linux distribution, like Ubuntu 14.04 and Fedora 20, with Window 7 on a computer with UEFI firmware, but using MBR partitions. Check back in a day or two for that.

      1. That’s exactly what I’d like to do: separate Windows and Linux partitions to two independent disks. Your guide helps in task of restoring/creating Windows MBR.
        This, by the way could be done with use of Windows install disk as well.
        The process of cloning and especially restoring Linux to a new disk is far less familiar to me.
        I would like to read about this in detail, if possible.
        I think this could be interesting for many other readers of your piece. I am, as many Linux newbies, not sure if Linux installation disk can help create a new Linux MBR on the new location, or how exactly do it with the other tools.

Leave a Reply

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

Get the latest

On social media
Via my newsletter

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.


The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.