Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: shuiend on 27 February 2003, 06:58
-
how do i resize my ext3 partition? I would like a tool with a gui but command line is ok if that is all you can use.
-
Try partition magic 8. Yes I know you need windows but it's great.
-
Nah, Partition Magic 8 sucks... it doesn't work!
I tried CFDisk in Linux, but I couldn't find anything that would resize a partition...
-
the program which you use is called "resize2fs" but you must first make your partition bigger using fdisk.
Using fdisk (or cfdisk i guess) delete the partition, then remake the partition (starting at the same spot) ending later on the harddrive. Then fdisk will show you how many blocks it is i think.
Then use resize2fs to resize the filesystem to that size. check the man page for resize2fs "man resize2fs"
edit: that was assuming you are making it bigger... its a little different if you want to make it smaller.
[ February 27, 2003: Message edited by: The Master of Reality / Bob ]
-
thanks but i wanted to make it smaller. I just ended up reformatting it so it doesent really matter now.
-
to make it smaller you use resize2fs to make the filesystem smaller then use fdisk and delete the partit.... etc.. but instead of making the end farther you make it shorter.
-
Just download a new version of GNU parted.
It will resize ext2 and ext3.
-
quote:
Originally posted by The Master of Reality / Bob:
[QB]the program which you use is called "resize2fs" but you must first make your partition bigger using fdisk.
Using fdisk (or cfdisk i guess) delete the partition, then remake the partition (starting at the same spot) ending later on the harddrive. Then fdisk will show you how many blocks it is i think.
Then use resize2fs to resize the filesystem to that size. check the man page for resize2fs "man resize2fs"
edit: that was assuming you are making it bigger... its a little different if you want to make it smaller.
won't this erase all the data?
-
nah it wont delete data, it just removes it from the partition table. the data is saved. thats why if you directly make partitions with fdisk you must do mke2fs before you can use it
-
http://www.mandrakelinux.com/diskdrake/ (http://www.mandrakelinux.com/diskdrake/) is graphical. And no, it's not Mandrake-specific (the only reason I'm bringing this up is because he wanted a GUI one).