Skip to content

Instantly share code, notes, and snippets.

@copystar
Last active August 29, 2015 14:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save copystar/d91f68fb7d5eb9224881 to your computer and use it in GitHub Desktop.
Save copystar/d91f68fb7d5eb9224881 to your computer and use it in GitHub Desktop.
Can you help me figure out how to partiton my drive so I can dual boot my Windows 7 machine with Ubuntu?
I have a brand new laptop with Windows 7 pre-installed. I would like to make my laptop dual boot with Ubuntu. But I've run into a road block. Can you help me get past it? Here's what I've done so far:
1.0: I created a bootable USB stick as per these instructions: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows
2.0: I started the installation process as per : http://www.ubuntu.com/download/desktop/install-ubuntu-desktop
2.4: The start up screen in the instructions give an option to "Install Ubuntu alongside Windows 7" but this option doesn't appear for me. Instead, there is only an advanced option to partiton the drive.
I have no idea how to do this.
Following the advice on this page,
http://askubuntu.com/questions/163962/install-alongside-option-missing-how-do-i-install-ubuntu-beside-windows-using
I went to Windows Disk Manager and used the option to shrink the Windows partition (thinking this was the only step necessary)
Before: https://www.flickr.com/photos/mita/14500739338/
After from Ubuntu: https://www.flickr.com/photos/mita/14500725129/in/photostream/ (unusable!)
After from Windows: https://www.flickr.com/photos/mita/14500880228/ (unknown!)
So on a lark, I tried to see if Ubuntu would install in the 40G space that Ubuntu calls unusable and Windows call unknown. Ubuntu said, no can do because there can only be four major partions on a drive, and I already have four.
I AM AT AN IMPASSE.
PATH A:
1) Should I unshrink my Windows (by using the Extend Volume which *should* take back the space that's now unallocated?)
http://technet.microsoft.com/en-us/library/cc771473.aspx
2) Should I then install Ubuntu from within Windows using WUBI? https://help.ubuntu.com/community/Wubi
PATH B:
1) Carry on! But how? I am unlike this person who was able to install Ubuntu in the shrunk partition space on his HP http://askubuntu.com/questions/493397/dual-boot-install-of-trusty-ubuntu-on-an-hp-with-windows-8-64-bit-pre-installe
2) The best answer I have is from this site which suggests that I should create 'logical' partitions:
http://www.dedoimedo.com/computers/dual-boot-windows-7-ubuntu.html
> We still need three partitions for Linux (root, swap, home). There are already two partitions in use by Windows. There can only > be a total of four primary partitions on any hard disk. This means we must create the Extended partition in the free space,
> including the extra space gained by Windows 7 partition shrinking, otherwise we must forgo either the use of separate swap or
> home in Ubuntu. If push comes to shove, Ubuntu can manage with just one partition, but this is not recommended. So, the tasks
> at hand are:
> Resize Windows partition (sda2).
> Create Extended partition - will be called sda3.
> Create logical partitions (root, swap, home) inside the Extended - will be called sda5, sda6 and sda7.
At this point, the above website suggests that I read an separate manual before going further.
Do I really have to read an manual? Really?
Some of the steps above corraborate with this lifehacker post:
http://lifehacker.com/5403100/dual-boot-windows-7-and-ubuntu-in-perfect-harmony
But this post suggests do everything - installs of Windows and Ubuntu - from scratch.
UPDATE:
So, I asked for help because it was thought that it would be a tricky thing:http://askubuntu.com/questions/221835/installing-ubuntu-on-a-pre-installed-windows-8-64-bit-system-uefi-supported?lq=1
But it ended up being way easier because I had opted for Windows 7. The trouble was the fact that there are only 4 partitions allowed in a BIOS harddrive so we used gparted to nuke a couple partitions (that had already been made by the manufacturer for backup and hibernation). Now that there were two, when I ran the ubuntu installation, it could install the software without a problem.
It loads in grub, which is ugly, but it works!
Thanks Randy Topliffe for all of his help!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment