[CLUE-Tech] making use of unused disk space

Collins erichey2 at attbi.com
Sun Jul 21 16:01:03 MDT 2002


On Sun, 21 Jul 2002 19:58:56 +0000 Jason Friedman
<jason at powerpull.net> wrote:
>                             cfdisk 2.10s
> 
>                         Disk Drive: /dev/hda
>                       Size: 20020396032 bytes
>         Heads: 255   Sectors per Track: 63   Cylinders: 2434
> 
>    Name      Flags    Part Type FS Type       [Label]      Size (MB)
>  ------------------------------------------------------------------
>    hda1      Boot      Primary  Linux ext2    [/boot]          41.13
>    hda5                Logical  Linux ext2    [/usr]         3150.29
>    hda6                Logical  Linux ext2    [/home]        3150.29
>    hda7                Logical  Linux ext2    [/var]         3150.29
>    hda8                Logical  Linux ext2    [/opt]         3150.29
>    hda9                Logical  Linux ext2    [/]            3150.29
>    hda10               Logical  Linux ext2    [/tmp]         1052.84
>    hda11               Logical  Linux swap                    271.44
>                        Logical  Free Space                   2903.53
> 
> Above is the output from cfdisk.
> It shows I have 2.9GB of free space on my disk.
> I want to allocate some of that to an existing partition.
> How do I do that?

I'm not familiar with cfdisk, but with fdisk it's like this:

As root user

fdisk /dev/hda
m - if you want a list of commands
p - if you want a map of the disk
n - create a new partition
	l - logical
	enter - accept the suggested starting cylinder
	enter - accept the suggested ending cylinder (the rest of the space)
		or
	key your own ending cylinder and enter
p - to see the new map
d - delete the new partition, if you don't like the results and try
again
q - if you want to leave the partitions unchanged
w - write the new partition table and quit

Note:  After changing the partitions, you must reboot before trying to
format the new partition, or things will get strange.  

-- 
Collins Richey - Denver Area - WWTLRD?
gentoo(since 01/01/01) 2.4.18+(ext3) xfce-sylpheed-galeon



More information about the clue-tech mailing list