Windows utility to change linux partition size

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
368
Location
Malaysia
Hello,

My server /var partition is almost full. If in windows partition , i just use Partition Manager and resize the partition. How do you do it in Linux? Can I remove the hard disk and plug it in, and use Windows Partition Manager to resize it/

Code:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             20641788   7126568  12466580  37% /
/dev/sdb1            241263968 241263964         0 100% /backup
/dev/sda1               256666     32600    210814  14% /boot
none                   2595812         0   2595812   0% /dev/shm
/dev/sda6            196618052  98642332  87988112  53% /home
/dev/sda2             20641788  18334996   1258152  94% /var
/var/tmpMnt            1007896     15732    940964   2% /tmp
 
Download and use Parted Magic - http://www.partedmagic.com/

"Parted Magic is a 40 MB live CD/USB/PXE with its elemental purpose being to partition hard drives. Although VisParted and Parted are the main programs, the CD/USB also offers other applications, such as Partition Image, TestDisk, fdisk, sfdisk, dd, ddrescue, etc."
 
I have an idea. I want to clone to bigger hard disk. After cloning, I need to expand /var partition. Do you think it will work with the software you recommend?
 
1. Use dd to clone the disk.
2. Use gparted to expand /var


Tip: Read up on LVM... it allows you to increase partition sizes on the fly. ;-)
 
Back
Top