If you want to dual-boot Linux and BSD or Solaris, install Linux first.
Our setup will start with a blank drive, and we'll show you how it's done.
As said, you need to install Windows first, and this is more than an advice, and it doesn't apply only to Windows 7 either.
You need Windows for a program you use for work, your favorite game runs only on Windows or you are a developer that works on some cross-platform project.
And of course, you can't even think about giving up your favorite OS.
When you arrive at the partitioning screen, it will let you know it found another OS installed so choose "Install Ubuntu alongside", and the next screen should look like this: So, use "Add" for creating that bootable /boot or / partition I was telling you about, don't forget a swap partition and continue with some other partitions if you need them, but make sure the aforementioned partition is primary and marked as bootable.
Ubuntu will install GRUB inside the MBR when you choose /dev/sda as its' target (yes, this setup assumes a single disk machine), which will detect the Windows boot code automatically and create an entry in its' menu, as you see below: When trying dual-booting Windows 7 and Debian testing, although at install the installer told me it detected Windows, at first boot there wasn't an entry.On legacy GRUB, just create an entry in to instruct GRUB to chainload Windows, and you should be set.Here's an example entry considering that Windows is, as is in our example, installed on sda1:boot = /dev/sda timeout = 10 prompt default = Linux vga = normal read-only map=/boot/map install=/boot/boot.b image = /boot/vmlinuz-2.6.32-20 label = Linux initrd = /boot/initrd-2.6.32-20root = /dev/sda3 other = /dev/sda1 label = Windows 7 Remember to run lilo after altering the configuration file and reboot. As you can see, with Linux distributions becoming more and more friendly to the neophyte, dual-booting isn't the nightmare it used to be.We will only refer to the parts that involve partitioning for a successful dual-boot experience.So, when you will get to Windows' partitioning screen, here's a screenshot for you to get an idea: So, since Windows asks for a minimal primary partition size of more than 12 GB (!Every OS that I know of that is installable on the PC requests a primary partition to boot from.