[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unusable free space?



On Tue, 16 Mar 2010 17:12:49 -0400 (EDT), Aioanei Rares wrote:
> 
> Hi all, I have a HDD (the only one, in fact) with the following layout , 
> as reported by df :
> 
> /dev/sda2              99G  886M   93G   1% /
> /dev/sda1             2.0G  170M  1.8G   9% /boot
> /dev/sda5             345G  232G   96G  71% /home
> /dev/sda8              29G  172M   27G   1% /tmp
> /dev/sda6              59G  5.2G   54G   9% /usr
> /dev/sda7              20G  3.1G   17G  16% /var
> 
> Now, at the end, I have some 137 GB unpartitioned/unformatted. How can I 
> use this free space, since gparted ran from a LiveCD tells me that I 
> need to make a logical partition (which is /dev/sda4) in order to create 
> partitions anew in that free space. It's probably lack of sleep, but 
> please help me out here. :)

I may not be the brightest bulb on the shelf, but there's something I
don't understand here.  If I understand the traditional MS-DOS
disk partitioning scheme correctly, partition numbers 1-4 are reserved
for primary or extended partitions.  A minimum of 0, maximum of 1
extended partitions is allowed, a minimum of 0, maximum of 4 primary
partitions is allowed, and the total of primary + extended partitions
is minimum of 0, maximum of 4.  This information is stored in the
master boot record.

Logical partitions are subdivisions of the extended partition, starting
with partition numbers 5 and up.  The information on logical partitions
is stored in the boot sector for the extended partition.

OK, so with that said, you obviously already have an extended partition,
since you have logical partitions defined (partition numbers 5 and
higher).  You have two partitions numbered in the range 1-4 (1 and 2,
to be specific).  I'm guessing that 1 is a primary and 2 is the
extended.  Now, how could you create a new logical partition called
/dev/sda4?  That's not possible, according to my understanding.
The next logical partition will be /dev/sda9.

You can still create up to two more primary partitions, providing
the space is available outside the extended partition, and these
would have names /dev/sda3 and /dev/sda4, respectively.  But there's
no way you can create a new logical partition called /dev/sda4.

After resolving this inconsistency, I still really don't understand
your question.  What you literally asked is, "How can I use this
free space"?  The answer is to create another partition, the same
way you used the rest of the space.  What's the problem with that?
What exactly is it that you are trying to accomplish, and what is
the obstacle to accomplishing it?  Please be more specific.

-- 
  .''`.     Stephen Powell    <zlinuxman@wowway.com>
 : :'  :
 `. `'`
   `-


Reply to: