LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2009, 10:33 AM   #1
sunboy
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Question fedora 11 partitioning - could not create partition : not enough free space available


hey guys,

i am newbie to linux and have a problem, i have checked similar such posts but it did not help me. bellow are the specifics.

current system:
i have 320 gigs hd installed with win xp. win xp uses 200 gigs in 4 partition (50 gigs each) and the rest of 98 gigs is "unallocated" yet.

what i am trying to do:
i am trying to install fedora 11 and wanna allocate it 50 gigs. i am performing the installation with a dvd.

problem:
when i select "create custom layout" during the partitioning phase, um given with a partition layout.
i tried creating -

"/" - 10240 mb (10 gigs) - no prob
"/boot" - 100 mb - no prob
"/home" - over here whatever size i select whether it be 100 mb or 40 gigs -> i get error

"could not create partition: not enough free space available"

and this is not all

it allows me to create 2 partition of any size and any type, but as soon as i try creating the 3rd partition (even swap) it throws the same error.

say, if i allocate 50 gigs for "/" and rest whole drive for "/boot" or "/home" or whtever it allows me, but as soon as i try creating the 3rd partition with the even 1 mb - it throws the same error.

I have tried f 7 two yrs bck and it ran beautifully well. I don't understand what the heck is it with this one

please help.

regards
 
Old 07-01-2009, 12:21 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
How much primary partition do you have ?
 
Old 07-02-2009, 02:17 AM   #3
sunboy
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
reply to - "how much primary partition do you have - ronlau9"

hey ronlau9

I have single primary partition i.e. -> "c:" which is 50 gigs

another 150 is an extended partition which makes up 3 logical drives
i.e. d: e: f: -> all 50 gigs

finally um left with 98 gigs of "unallocated" space

please reply
 
Old 07-02-2009, 04:34 AM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
You can only have 4 primary partitions
As I can see it the first one is where windows is.
Second primary is the extended
So you already use 2 of the 4
That means that in rest of 98 G you can create 2 more primary partitions
But besides the 2 primary partitions you can create a secondary partitions
Hope it helps
 
Old 07-02-2009, 08:47 AM   #5
sunboy
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I actually did not get you. there is only one primary partition that windows is using.

and the extended partition that is 150 gigs is not primary.

also when i installed f 7, i had windows installed on c: drive and there was an extended partition almost the same. but f 7 never complained!

and when installing fedora, there is no choice of making the partition secondary however there is an option to make it primary.

the option says - "force partition to be primary"

please reply.
 
Old 07-02-2009, 08:56 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
please reply
I would advise you to leave that out of your posts---it comes across as demanding. When you ask a question, we already know that you want us to reply.

I cannot remember the details, but I can tell you that I had similar issues with the F11 installer. If I have time, I intend to go back and figure it out so I can write it up.

The direct solution is to set up your partitions first---using something like the GParted live CD.
 
Old 07-02-2009, 11:25 AM   #7
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,661

Rep: Reputation: 485Reputation: 485Reputation: 485Reputation: 485Reputation: 485
sunboy:

I definitely understand the problem you face: it happened to me before.

YOU HAVE CONSUMED ALL OF YOUR 150G EXTENDED PARTITION FOR THE WINDOWS DATA. RIGHT? RIGHT. YOUR REMAINING FREE SPACE IS NOT LOCATED IN THE EXTENDED PARTITION SO YOU ARE NOW DEVOID OF FURTHER FREEDOM TO CREATE AS MANY AS YOU CAN. YOU ONLY HAVE TWO (2) REMAINING SLICES. AND IF YOU WILL NOT USE ALL OF IT YOU WILL LOSE IT FOREVER UNTIL YOU WILL REFORMAT THE ENTIRE EXTENDED 150G WHICH I SUPPOSE YOU ARE NOT CURRENTLY PREPARED TO DO BECAUSE OF THE DATA ON IT.

My advice:

Create one (1) partition for the root / (say 10gigs is more than enough including the future);
Then create the remaining 80gigs for your /home. (If you choose a size lesser than the remaining you will lose chance of using it further.

These two partitions: / and /home are automatically set as Primary Partitions. After this you can no longer add any further, so you should consume all of the remaining spaces for the /home partition.

This should teach everyone the all time important lesson:

Sit down. Think. Project a meaningful plan. Before you start partitioning a big hard drive! Because gParted presumes YOU KNOW WHAT YOU ARE DOING.

I hope this helps.

Goodluck.

Last edited by malekmustaq; 07-02-2009 at 11:29 AM.
 
Old 07-11-2009, 05:04 AM   #8
sunboy
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Hey malekmustaq,

Thank you for your time and effort for helping me out.

I read your post, but I still see a problem i.e. if I do the same as you have told me - I will still have to create the "SWAP" partition, but it says the same error.

"could allocate partition
not enough free space on the disk"

???

and I would also love to to create "/boot" partition as in case of trouble it is easy in re-install grub without affecting the rest partitions.

another thing that i would like to point out is - around 2 yrs back, I was running f 7 with a 120 gigs drive - I had some 80 gigs dedicated to windows iin the following manner

20 gigs -> c: - primary partition
60 gigs -> extended partition -> this was further divided into 3 partitions -> d: e: and f:

I installed f 7 on the 20 gigs only...

"/" -> around 8 gigs
"/boot" -> 100 mb
"/home" -> 8 gigs
"swap" -> around 2 gigs

and it worked beautifully. and I am sure that if i try to install f 7 again... it would let me do anything with the hard drive that i want to do

:-( BADLY STUCK.. AS UM JUST A BEGINNER.

PLEASE REPLY.
 
Old 07-25-2009, 11:22 AM   #9
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,661

Rep: Reputation: 485Reputation: 485Reputation: 485Reputation: 485Reputation: 485
sunboy:

Sorry for not having back soon, too busy field works these days could hardly get into computing. Anyway if you still need these:

Q--"I read your post, but I still see a problem i.e. if I do the same as you have told me - I will still have to create the "SWAP" partition, but it says the same error.

"could allocate partition
not enough free space on the disk""


---As I have said all spaces are appropriated according to the plan I suggested above. This means: no more space for additional partitions (swap or whatever) as after two partition slices are made then the 4 primary-partition-limit is already reached.
---Solution: I assumed you have a very good RAM, with this you don't need a swap for the sake of running linux (I am running this unit I have now without swap, and I only have a 1G ram) if you can take it you may run without swap like me
------------------

Q--"and I would also love to to create "/boot" partition as in case of trouble it is easy in re-install grub without affecting the rest partitions."

--- you have a good idea of allocating separate /boot partition, but this option is a matter of taste and luxury, which, in your case we don't have that luxury anymore
--- solution: /boot is automatically created at root when no partition is specified; actually I only had one system that runs a separate /boot partition; with Slackware I didn't see much worry ahead about this issue. If you may take this advice you may not need another partition for /boot
-----------------

Q--"and it worked beautifully. and I am sure that if i try to install f 7 again... it would let me do anything with the hard drive that i want to do"

--- Well it worked of course, you had the luxury of partitions, this time we don't have it anymore
-----------------

Anyway sunboy, if you can create a separate backup of your existing data from that hard drive you I'd advise you back them up then REFORMAT ACCORDING TO A GOOD LONG TERM PLAN. That's the best way to do. Give about 75% of the drive space to Logical partition, here you can put anything, /boot, swap, / or data, as many as you want. You only need to control the MBR to boot any linux within logical area. Give the three primary partitions to M$ and your favorite distro or do anything with that.

hope this helps.

good luck.

Last edited by malekmustaq; 07-25-2009 at 11:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shrinking root partition and using free space to create a block device kickdgrass Linux - General 1 02-04-2009 05:04 AM
How to create free space in Linux after auto partitioning burak Linux - General 1 02-20-2008 08:03 AM
fdisk fails to create partition, but drive has free space whysyn Linux - Software 3 04-17-2007 02:13 PM
can't create partition on free space thyraios Linux - Newbie 17 02-15-2006 09:08 AM
Create new partition from existing free space distortedstar Linux - General 4 06-07-2005 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration