On Wed, 29 Oct 2003 [EMAIL PROTECTED] wrote:

> Hi, All:
>     When I installed debian on my laptop, I created a root partition of
> ~50Meg (stupid). Right now, the root is very close to 100%. Is there a
> way to enlarge my root partition without rebuild the system
> completely??

In my experience resizing the partition is not the best solution here. 
Create a new partition with some space and for example...

mke2fs -j /dev/hda6 (if /dev/hda6 is the new partition)
mount -t ext3 /dev/hda6 /mnt/floppy
cp -a /home/* /mnt/floppy
umount /mnt/floppy
mount -t ext3 /dev/hda6 /home

See that all looks OK 
umount /home
rm -rf /home/*
edit the /etc/fstab file as needed

Of course these days it's not that hard to increase the size of a 
partition if there is vacant space immediately following it. If the space 
isn't next to it (and you're not using LVM) then you're stuck with my 
suggestion above.

-- 
---<GRiP>---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber,
BMX rider, Walker, Raver & rave music lover, Big kid that refuses
grow up. I'd make a good family pet, take me home today!
        Do people actually read these things?

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to