[wellylug] Adding disk space

Jethro Carr jethro.carr at jethrocarr.com
Thu Dec 28 12:36:36 NZDT 2006


On Thu, 2006-12-28 at 00:22 +1300, michael at diaspora.gen.nz wrote:
> >Thanks, this will allow me to add a partition, what I actually wanted 
> >(and wasn't entirely clear in retrospect) was to extend the partition as 
> >the old redundant partitions are directly after the linux partition  
> >/dev/sda1
> 
> If the old redundant partitions are continguous with /dev/sda1, then you
> should repartition, being careful about starting cylinder numbers etc.,
> and just extend the /dev/sda1 partition; then run "resize2fs /dev/sda1",
> and it will automatically extend the ext2/3 filesystem.
> 
> I believe you can do this online, but if not, you'll have to boot from
> a rescue CD or similar.
> 
> I'm assuming that the linux partition on /dev/sda1 is ext2 or ext3.

this will help you:
http://gentoo-wiki.com/HOWTO_move,_resize_partitions


You can resize ext3 filesystems whilst they are still mounted, however
that is limited to making them larger, and I don't think it would be a
good idea to try that with the root filesystem.

Best to do the resize using a bootable CD like Knoppix.



-- 
Jethro Carr

www.jethrocarr.com
www.jethrocarr.com/index.php?page=cv/cv.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20061228/11141bea/attachment.pgp 


More information about the wellylug mailing list