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

Re: resizing root partition



On Fri, Apr 04, 2003 at 02:00:03PM -0500, Matthew Weier O'Phinney wrote:
> fdisk shows the following info:
> 
> Disk /dev/hdc: 30.0 GB, 30020272128 bytes
> 16 heads, 63 sectors/track, 58168 cylinders
> Units = cylinders of 1008 * 512 = 516096 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
>    /dev/hdc1   *         1      5817   2931736+  83  Linux
>    /dev/hdc2         57921     58168    124992    5  Extended
>    /dev/hdc3          5818     57920  26259912   83  Linux
>    /dev/hdc5         57921     58168    124960+  82  Linux swap
> 
> /dev/hdc1 is my root partition, and is, as you see, around 3BG;
> /dev/hdc3 is my /home partition, and runs around 25GB. I allocated
> around 128MB to swap (/dev/hdc5).
> 
> Can I repartition this drive? The /home partition currently shows only
> 29% usage (about 50% of which will be thrown on to CD-R shortly).

You can resize (shrink) /dev/hdc3 with parted. I don't remember the
exact command syntax, but it should be easy

Frank

> 
> -- 
> Matthew Weier O'Phinney
> matthew@weierophinney.net
> http://matthew.weierophinney.net
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: