LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-28-2005, 09:22 AM   #1
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Can't resize ext3 partition (using "parted"). Help or advise another app, plz


I can resize Ext2, but not Ext3. It is said that it CAN resize Ext3...
Can anyone help me? Or can you tell me another FREE app that works with ext3???
Any help is very appreciated.
Thanks.

PS: I know what PM is, but I need free app.

Last edited by kornerr; 04-28-2005 at 09:23 AM.
 
Old 04-28-2005, 09:45 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
A nice linux utility is qtparted but alas, it doesn't resize ext3 partitions.

So, I use command line tools resize2fs , e2fsck and fdisk to resize ext3 partitions.
For example, shrinking /dev/hda1 from 30gigs to 20gigs

From a linux livecd
You will need to run e2fsck first.
e2fsck -f /dev/hda1

Then I use resize2fs to shrink the file system
resize2fs /dev/hda1 19000M ###Note: I make the file system smaller than the new partition size.

Then I use fdisk to recreate the partition as a smaller one.
DO NOT format the partition.

Then I rerun the resize2fs command without options
resize2fs -f /dev/hda1

If you want to enlarge partitions, you enlarge the partition before enlarging the file system.

Last edited by homey; 04-28-2005 at 10:20 AM.
 
Old 04-28-2005, 10:01 AM   #3
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
That's the problem: I can do everything using "parted" and "cfdisk", but only with ext2 and fat32... still need help...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
move and resize "/" partition - lilo ? enryfox Mandriva 3 04-28-2005 04:56 PM
using parted to resize ext3 (problem) carboncopy Slackware 3 10-09-2004 01:17 AM
"sliding" an ext3 partition and resizing Captain Harlock Linux - General 7 07-22-2004 10:13 AM
Resize Partition with parted jdmml Linux - Hardware 0 07-08-2004 08:43 PM
Parted; trying to resize partition to actuall size Zero-0-Effect Linux - General 3 04-30-2004 10:13 PM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration