4

I followed all the steps I read and/or watched about installing Ubuntu 16.4.1 LTS alongside window 7,

I made a partition in Drive C with enough space for Ubuntu, but when it begins installing, the free space which I intended to reserve for Ubuntu appears as "unusable" instead of free space. Also, the (+, - ) buttons are inactive and give me no way to add a swap area or whatever. What should I do to complete the installation? I'm new to Ubuntu.

enter image description here

karel
  • 114,770
  • 2
    It seems the disk has MBR partitioning (not GPT) and all of the partitions are primary ones. You cannot have more than 4 primary partitions. – ridgy Dec 17 '16 at 10:23
  • would you please explain me more ,i am a PC user only ,technically speaking what is the difference between MBR and GPT ?how could i made the GPT you have talked about ?? increase me in knowledge please !!! – talibsuhail Dec 17 '16 at 12:46

1 Answers1

3

The differences between MBR and GPT are e.g. explained in http://www.howtogeek.com/193669/whats-the-difference-between-gpt-and-mbr-when-partitioning-a-drive/. As your disk is probably partitioned with MBR partition table, it is not easy to convert to GPT without data loss (see e.g. http://www.thewindowsclub.com/convert-mbr-to-gpt-disk or http://www.disk-partition.com/gpt-mbr/convert-mbr-to-gpt-without-data-loss.html, all using special software and being meant for mor 'insiders').

Before proceeding, be sure to have an actual backup of all your important files!!

As MBR allows for more than four partitions, when one of the four is a so called 'extended partition' which contains 'logical partitions', the easiest way for you to proceed would be:

  • Make a backup of the contents of the last partition (there are only 113 MB used, so should be no problem to copy the content)
  • Delete the backuped partition; this should give you continuous space at the end of the disk; so there are only three partitions left
  • If you need to have the fourth ntfs partition again, create it as 'logical partition', so the fourth partition should be automatically created as 'extended' and the new one and all others created from now on will be 'logical'
  • Now the space left should be available to linux for partitioning

If you do not need the fourth ntfs partition, you could skip the step of creating it, and install linux in the available space; the installer should create logical partitions as needed (for '/' and 'swap').

The above description implies that the partitions are in 'disk order', which means their starting blocks are in ascending order. To make sure, you can maybe use the windows disk manager, or start your PC from a linux live disk and run gparted to get reliable information (and do the partitioning).

Edit:

I did not talk about your backup, but about the fourth partition on your disk (sorry for being not precise). Do you know what is on that partition (should be something like drive D: or E: in windows)? If there is nothing important, you just can delete the partition (in windows disk manager or with linux gparted). If there are important files, copy them to a secure place before proceeding.

As I am not a Windows user, I do not know how to create extended/logical partitions from Windows (I was not able to do so in windows disk manager, only from the commandline diskpart (with administrative rights) and there after select disk 0 doing create partition extended.).

If you do not need the fourth partition (drive D: or E: or whatever), just delete it. When installing Ubuntu, you will be able to use the free space now and the installer will create an extended partition automatically.

ridgy
  • 2,356
  • 1
    Windows only boots in BIOS mode from MBR (msdos) partitioned drives. Newer Windows only boots in UEFI mode from gpt(GUID) partitioned drives. Windows 7 can be installed in UEFI mode, but default is normally BIOS/MBR. MBR tech details including 2TiB limit and GPT link http://en.wikipedia.org/wiki/Master_boot_record and: http://en.wikipedia.org/wiki/GUID_Partition_Table – oldfred Dec 17 '16 at 17:12
  • Thanx a lot .You said 'Delete the backuped partition; this should give you continuous space at the end of the disk; so there are only three partitions left '' the confusion is that i did not make such a backup partition , because before intending to install Ubuntu I backed up windows and other stuffs on a external 64 USB drive through 'Samsung Recovery System' which comes with Samsung Laptops ,so from where came this backup partition!!! How can I delete such a backup partition which seems to be other than my external backup i already made via Samsung System !!! – talibsuhail Dec 18 '16 at 09:54
  • The other question how can i create any new required partition on Window 7 as Logical or extended ?? I think nothing in window refers to such choice or kind of partitioning!!! – talibsuhail Dec 18 '16 at 09:55
  • I have edited my answer to hopefully make things clearer. – ridgy Dec 18 '16 at 11:21