[wplug] Re: Partition Resizing

M. Sussman msussman at na-net.ornl.gov
Sun Jan 12 13:23:06 EST 2003


> From: Michael E Uhl <meu102 at attbi.com>
> To: wplug at wplug.org
> Date: 12 Jan 2003 01:16:49 -0500
> Subject: [wplug] Partition Resizing
> Reply-To: wplug at wplug.org
>
> Hello,
>
> I'm pretty new to this list, I've been reading for a couple months, but
> I just came across a question where I could use some help.
>
> I need to enlarge an existing ext3 partition on my system.  I have the
> room on the hard disk, I just need some pointers on the proceedure.
> From what I've read, I need to use fdisk (or other partitioning tool) to
> delete the existing partition and create a new partition starting at the
> same cylinder but now with the new desired size.  After that I need to
> use resize2fs to grow the actual file system to the new size.
>
> Does anybody have experience doing this?  Are there any gotcha's that I
> should look out for?
>
> Thanks in advance,
>
> Michael

Michael, I have done this (with ext2 file systems, but they are the same
on the disk) using gnu parted.  You can use it to extend a partition without
deleting the existing partition!  No loss of data.  The only requirement is
that the larger partition is an extension of the original, and starts in the
same place.  Otherwise, you have to delete and copy.  Gnu parted allows
that, too.

Basically, you download a two-floppy "boot-root" set and boot from it
to fuss with the partitions on the hard drive.  You can also run from linux
and modify UNMOUNTED partitions.


-- 
M. Sussman
msussman at na-net.ornl.gov



More information about the wplug mailing list