Partitioning question

Alexander Skwar listen at alexander.skwar.name
Thu Aug 3 09:50:18 UTC 2006


Ouattara Oumar Aziz <wattazoum at gmail.com>:

>> Hi Ouattara,
>> 
>> Tks for your advice.
>> 
>>> Let's take a look at that :
>>>
>>>  > /dev/hda1               1        2342    18812083+   5  Extended
>>>  > /dev/hda5   *           1          31      248944+  83  Linux
>>>  > /dev/hda6              32        1004     7815591   83  Linux
>>>  > /dev/hda7            1005        2220     9767488+  83  Linux
>>>  > /dev/hda8            2221        2342      979933+  82  Linux swap
>>> /
>>>
>>> /dev/hda1 is Extented : This is not a "real" partition. It's a way to
>>>
>>> permit more than 3 partitions on a disk. 
>> 
>> If I understand it correct, /dev/hda1 is part of the space on HD
>> allocated to Ubuntu.  In future if the remaining space used totally by
>> another OS it will be /dev/hda2.  If I'm wrong please correct me.
> 
> Actually, I think you're wrong. Let's draw something :
> Here is the actual state of your disk referring to the block mapping
> 
> <--------------/dev/hda1------------------------------------->
> <--/dev/hda5--><---/dev/hda6---><--/dev/hda7--><--/dev/hda8-->
> 
> Consider /dev/hda1 as a disk which is partitioned and got 4 partitions.
> If you make a new partition it would call itself /dev/hda9.

Depends. If he's going to create a partition on cylinders starting
from 2343, that MUST be a primary partition and thus can be hda2, hda3
or hda4.

Actually: It doesn't depend ;) hda1 goes from 1 to 2342. hda8 ends
at 2342. Thus, all the space of the extended partition is used. Thus,
if he's going to create another partition, it MUST be outside of the
extended partition and CANNOT be a logical partition.

Alexander Skwar
-- 
I never made a mistake in my life.  I thought I did once, but I was wrong.
                -- Lucy Van Pelt






More information about the ubuntu-users mailing list