Re: resizing root partition
-- ronin2@bellatlantic.net <ronin2@bellatlantic.net> wrote
(on Friday, 04 April 2003, 12:40 PM -0500):
> On Fri, 4 Apr 2003 11:13:20 -0500
> Matthew Weier O'Phinney <matthew@weierophinney.net> wrote:
>
> > When I originally created my disk partitions, I figured 3GB would be
> > plenty for my root partition, and gave the rest of my 30GB disk over to
> > my /home partition. However, my root now shows 90% usage, and I'd like
> > to expand it -- or move my /usr area off onto another partition. Is this
> > possible, and if so, can somebody point me to a howto?
>
> With enough money and drive space just about anything is possible.
>
> Since we don't charge for advice here, so you don't need to worry about
> money. :)
>
> How much free (unallocated) hard drive space do you have?
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).
--
Matthew Weier O'Phinney
matthew@weierophinney.net
http://matthew.weierophinney.net
Reply to: