[EMAIL PROTECTED] wrote:
> no, no. i am already having win95 and rh6.2 running well on 2GB each on
> a 8.5 GB drive.
> 
> the problem is that i had left remaining 4 GB for NT and other backup
> purposes. now addicted to linux, i am not interested in NT and i want to
> expand both the above partitions by 1 GB each.
> 
> is there any FAT and ext2 utility which can seamlessly expand the
> existing working partitions by including remaining unused unformatted
> space?
> 
> of course, this new space has to be contiguous.

Another way of doing something *similar*:

make new ext2fs partitions and mount them somewhere under your /

e.g. if u have lots of stuff in /usr/local

# mke2fs /dev/hdxx 
# mkdir /mnt/mytemp
# mount -t ext2 /dev/hdxx /mnt/mytemp
# cp -Rvf /usr/local /mnt/mytemp

After checking that ALL of /usr/local has *really* been copied to
/mnt/mytemp:

# rm -Rvf /usr/local

Add the entry to mount /dev/hdxx under /usr/local in the /etc/fstab
file.

Now u have free space on the /usr or / partition wherever /usr/local
resided.

The advantages of this sort of an approach, i.e. multiple smaller
partitions rather than 1 big / partition:

I feel that the system is more upgradeable. If the filesystem gets
corrupted only a specific partition will get corrupted. fsck'ing is
faster.

I thing one ought to keep /usr, /usr/local, /opt and /home on separate
partitions.

Rather, I remember someone suggesting that / be mounted Read-Only, with
writable parts of ? like /var etc. getting their own partitions. I think
it is part of the FHS.

regards,

sachin

-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting.  The site is
at http://botsie.tripod.com/beforeposting/

Reply via email to