Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Edit: Updated my question with screenshots

I have a 500 GB built-in hard disk.

I have 3 primary partition.

C: - 100GB - Primary Partition - Windows 7 installed
D: - 150GB - Primary Partition
E: - 100MB - Primary Partition - System Reserved For Windows
250GB - Unallocated Space

Please note, I already have a ubuntu installation in my windows 7(wubi) Problem is I have ubuntu 13.04, but I need 12.04 LTS.

So I decided to install ubuntu 12.04 LTS in my 250GB Unallocated space

I downloaded ubuntu-12.04.3-desktop-amd64.iso from official ubuntu site. I burned that in my 8GB transcend flash drive using ubuntu 13.04 built-in start up disk creator.

I booted my pendrive using boot manager. I selected "install ubuntu", then selected "Something else" option.

I created a Logical partition with size 240GB (ext4 - path /). I also created another 10 GB Logical partition for Linux swap.

Everything's fine so far. However, I'm unable to proceed.

It says error something like The creation of swap space in partition #6 of SCSI2 (0,0,0) (sda) failed.

Can someone tell me what is wrong with my steps?

Thank you.

Update:

I have added some screenshots to make my situation clear.

1) Free space 247GB available

enter image description here

2) New logical partition with 237GB

enter image description here

3) After 237GB partition 10 GB Free space available

enter image description here

4) Create Linux swap with 10GB

enter image description here

5) Both partition look like this

enter image description here

6) When I click install button, I got this error

enter image description here

7) When I click ignore button, I got this error again

enter image description here

8) When I click "ok" button, I got redirected to this page

enter image description here

9) I restarted my PC, did the same steps again.. This is how it looks like now

enter image description here

10) When I click install, I got this error

enter image description here

11) So I edited my partition and selected "Mount point"

enter image description here

12) Now it looks like this

enter image description here

13) When I click install button, I got this error again.

enter image description here

Is it really a bug with linux 12.04.3 or am I missing something?

share|improve this question
    
Can you be more specific on how you made your partitioning? You can only have 4 primary partitions, so unless you created an extended partition and 2 logical partitions inside it that is normal. –  Salem Aug 31 '13 at 13:41
    
@Salem I had unallocated free space when I install ubuntu. I created a new partition from there with the following option (Chose "Logical" instead of "Physical" - Size 240000 - Checked format option - Selected ext4 - Selected "/" from the dropdown for path ) As for swap I did the following (Chose "Logical" instead of "Physical" - Size 10000 - Selected "Linux swap") –  Giri Aug 31 '13 at 14:21
    
@Salem Updated my question with screenshots. –  Giri Sep 2 '13 at 2:46
    
You can choose Install Ubuntu alongside Windows 7, it will not harm your system. –  Danatela Sep 3 '13 at 7:53
1  
Try this once.. Hope it works for you.. Boot from pre-installed Ubuntu 13.04. Using gparted on un-allocated space create an Extended partition. When a new Extended partition will be created then divide it by creating two Logical partitions one for Ubuntu 12.04 installation and one for your Swap. So after creation of extended it would show /dev/sda4 : Extended under that /dev/sda5 and /dev/sda6. Result may vary also but should be in same format. Just give it a try, I am much sure it will work for you. –  Saur.K Sep 4 '13 at 21:20
show 8 more comments

2 Answers

up vote 2 down vote accepted
+50

Okay! Don't make a Logical Partition. Why? It may install fine, but when you decide to upgrade to a later version of Ubuntu, it "may" (or may not) alter your partition table and you "may" (or may not) end up losing data. (I've experienced it.).

The solution? Use the entire free space for Ubuntu, and create a swapfile later. Check this for the process: Use swapfile instead of partition and hibernate

Please create swap 1.5 times your RAM if <2 GB, 4GB if =3GB and 100-200MB more than RAM if >3GB. Don't "waste" 10GB HDD space.

P.S. Why is your /dev/sda1 'unknown'? If it's a Windows partition, it should've been of the 'type' ntfs. Boot into Windows or the Live DVD and see if the partition is usable. Delete it if not so.

share|improve this answer
add comment

Try this once.. Hope it works for you..

  • Boot from pre-installed Ubuntu 13.04.
  • Using gparted on un-allocated space create an Extended partition.
  • When a new Extended partition will be created then divide it by creating two Logical partitions one for Ubuntu 12.04 installation and one for your Swap.
  • So after creation of extended it would show:

    • /dev/sda4 : Extended. under that
      • /dev/sda5 and
      • /dev/sda6.

    Result may vary also but should be in same format.

Just give it a try. Then try to install Ubuntu on pre-formatted partition. Note that the Format?option should be unchecked during the installation, so that it will not try to recreate the partitions made by Gparted.

Yes Ubuntu will be upgraded to newer newer version. I installed Ubuntu 12.04.2 then upgraded to 12.04.3, I'd installed using this way.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.