Partition problem

Karl Larsen k5di at zianet.com
Sat Oct 25 21:34:20 UTC 2008


elmo wrote:
> Karl Larsen wrote:
>   
>>     On my Hardy hard drive which is a 160 GB I have the following shown 
>> by fdisk:
>>
>> Disk /dev/sda: 160.0 GB, 160041885696 bytes
>> 255 heads, 63 sectors/track, 19457 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>> Disk identifier: 0x00056ea5
>>
>>    Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1   *           1         974     7823623+  83  Linux
>> /dev/sda2             975        1948     7823655   83  Linux
>> /dev/sda3            1949        2192     1959930   82  Linux swap / Solaris
>> /dev/sda4            2193        5598    27358695    5  Extended
>> /dev/sda5            2193        4625    19543041   83  Linux
>> /dev/sda6            4626        5598     7815591   83  Linux
>>
>>     What has happened is this. The listing of /dev/sda4 has changed by 
>> itself. When I made the Extended partition it had 2193 19457 to cover 
>> the whole hard drive. It changed somehow to just including sda5 and sda6.
>>
>>     My question is, can I change something that lets me use the whole 
>> hard drive without deleting sda5 and sda6?
>>
>> Karl
>>
>>   
>>     
> If you want to get a really good view of how your hard drives are 
> partitioned, run Ranish's Partition Manager.
>
> I have it on a floppy and use an external floppy drive but there's no 
> reason you couldn't use a CD
>
> http://www.ranish.com/part/
>
> The program is somewhat obsolete but I haven't found one that shows how 
> your drives are partitioned better or
> as well as this one does.
> I've used it to examine the partitioning of a computer with three hard 
> drives including an external drive.
> You can easily resize partitions and set up Extended partitions
>
> It's too bad that Ranish didn't follow through and keep it up to date.
> It's still very handy if you want to get a good picture of your 
> partitions and resize them,
>
> elmo.
>
>
>
>   
    Good information but I found the very good system on the liveCD for 
Hardy. It's what you use if you install using manual partitioning and it 
works VERY GOOD! And it is improved I expect since it's part of the 
installation package.

    I simply wanted to make the External partition larger. The above did 
this exactly as shown below:


   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         974     7823623+  83  Linux
/dev/sdb2             975        1948     7823655   83  Linux
/dev/sdb3            1949        2192     1959930   82  Linux swap / Solaris
/dev/sdb4            2193       19457   138681112+   5  Extended
/dev/sdb5            2193        4625    19543041   83  Linux
/dev/sdb6            4626        5598     7815591   83  Linux
/dev/sdb7            5599        5980     3068383+  83  Linux

As you can see /dev/sdb4 is now a giant sub-partition for many other 
partitions to work within.


Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list