Showing results for 
Search instead for 
Did you mean: 
Paper Tape
Posts: 6
Registered: ‎02-10-2016
Location: United States
Views: 18,966
Message 1 of 2

Creating new partitions for Installing Ubuntu alongside Windows 7 ? Is Swap area required ?



I bought a new Lenovo B50-80 laptop preinstalled with Windows 7 Professional. I would like to install Ubuntu alongside the existing Windows 7. For that when I tried to create a new partition using the Disk Management, it is not allowing me to do it. Im getting an error message that I cannot create more than 4 partitions. I was able to shrink the C: volume and create unallocated space. But the unallocated space is showing as unusable in Ubuntu installation.


I searched through the forrum and found the below solution:


1: Copy / take back up of the Lenovo D: which has the Lenovo applications and Drivers. And delete the D:

2: Shrink the C: volume for 100 gb and merge with the D: of 25 gb to allocate more space for the Linux installation.

3. Now, we have a new One unused partition of 125 gb unallocated space for installing the Ubuntu.


I tried to insall Ubuntu in the allocated space of 125gb. Since it is a single partition, Ubuntu is asking me to create another partition allocating 4 gb for the swap area. When I try to do that, the remaining 121 gb space is becoming unusable (Since, the Windows partition does not allow more than 4 partitions).


My question is can we install Ubuntu in the unallocated space of 125gb ? Is Swap area partition necessary ? Can we install Ubuntu without a Swap area ? Can Swap area be allocated as file space instead of a separate partition ?


Could someone please help.. Thanks in advance.  

Paper Tape
Posts: 6
Registered: ‎02-10-2016
Location: United States
Views: 18,943
Message 2 of 2

Re: Creating new partitions for Installing Ubuntu alongside Windows 7 ? Is Swap area required ?

With the help of the Ubuntu Forum I was able to successfully Install Ubuntu 14.0.4 LTS alongside Windows 7 Professional.  My Laptop is Lenovo B50 80 with 4 GB RAM, 500 GB HDD preinstalled with Windows 7 Professional.

As mentioned in the question, I tried to shrink the C: Volume using Disk Management in Windows and allocated some space to install Ubuntu.

But, when I tried to install Ubuntu in the unallocated space, it was showing as unusable. (It is because Windows does not allow to create more than 4 partitions)


Finally, this is what I did :


Steps to Install Ubuntu alongside Windows 7 in Lenovo B50 80 :

1: The Windows has two drives/ partitions : (Windows C: and Lenovo D: ) other than the 2 hidden partitions for One Key Recovery.

2: The Lenovo D: is 25 gb and has Applications and Drivers folders. We can take a back up of that. ( In a flash drive or by copying it to the C: ).

I believe all the Applications and Drivers are available in the Lenovo website and it can be downloaded. So, I went ahead and deleted the D: partition. So, now there is an unallocated space of 25 GB.  Ubuntu needs only 6 GB space for installation. So, 25 GB is more than enough.

But if you think you need more space allocated for Linux. You can shrink the C: upto 200 GBs and it will merge with the already unallocated 25 GB. So, now you will be having a single partition of unallocated partition of 225 GBs.

3. Now restart the system with Live USB Ubuntu Flash Drive. Select Try Ubuntu.

4. After Ubuntu is loaded. Click Install Ubuntu.

5. The installation window opens. Select the Language. Click Next/ Continue

6. There will be options like "Install Ubuntu alongside Windows 7" . But in my case, Ubuntu did not detect Windows 7, so, I got only the following options:

- Erase the disk and install Ubuntu

- Something Else.

7. Choose "Something Else" and click Continue. You will get the Partition screen.

8. Now you will be able to see all the partitions with the Windows drives and the free space of 225 GB.

9. Select the Free space and click + at the bottom to create a new Partition.

First, create a partition for Swap Area with 4 GB space. So, Give Size as 4096.

Choose the type of Partition as  "Logical"  instead of "Primary". Select "Use as" as Swap Area.

Click Ok.

Next we can use the remaining free space for the rest of the Linux installation.

Again Select the Free Space and click + at the bottom.

Size will be having the remaining free space size by default. Choose the type of Partition as "Logical" instead of "Primary".

Select "Use as" as "Ext4 Journaling File System".

Select Mount Point as " /" .

10. Choose your hard disk "/dev/sda..." for "Device for boot loader Installation" Option.

Click "Install Now". You will get a warning pop up that the two partitions you created now will be formatted.

Click Ok and continue with the Installation.

11. The Installation will be completed successfully and it will ask you to restart the system.

12. Go ahead and restart the system.

13. Remove the Live USB flash drive before rebooting.

14. The system will sometimes boot to Windows or Ubuntu. You will not get the GRUB loader.

If your system boots to Windows by default and you don't see Ubuntu. Shut down and reboot with Live USB again to Ubuntu.

In my Case, the system restarted to Ubuntu.

15. Now we need to install the Boot Repair to fix the grub. So, Open the terminal and give the below commands one after the other:


sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair

16. Boot Repair will open in GUI format. Just follow the given instructions and complete the process.

The GRUB will be successfully fixed.

17. Shut down and restart the system. You will be seeing the GRUB to choose Ubuntu or Windows to boot.


Enjoy the Dual Boot = Ubuntu and Windows !!


Check out current deals!

Shop current deals

Top Kudoed Authors