LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-24-2003, 07:48 PM   #1
nerotique
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 11 / Ubuntu 6.06
Posts: 22

Rep: Reputation: 15
Ext3 Partition Resize


Does anyone know if it's possible to resize an Ext3 partition on a disk that is full. For example:

10GB disk:

    /: -using 2.0GB
 /usr: -using 6.0GB
/home: -using 1.5GB
/swap: -using 0.5GB
-----------------------
             10.0GB

can I make my root partition smaller and increase /usr so that I can install more programs?
 
Old 07-24-2003, 08:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Yep... get one of the many rescue-cd's or Knoppix > 3.2
and use parted ...

Cheers,
Tink
 
Old 07-24-2003, 08:07 PM   #3
nerotique
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 11 / Ubuntu 6.06
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks
 
Old 07-24-2003, 09:27 PM   #4
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
As far as I know, you can only resize the end of an ext3 or reiser partition non destructively.

You cant change where the partition starts.

So in your case, I believe you can make the "/" partition smaller, but you couldn't increase the /usr partition to fill the space w/o losing all the data in it.


For a Rescue CD for partitioning, I suggest "System Rescue CD" (origional name, huh) . Its only about 40MB and it comes w/ all the partitioning tools out there, even a bunch of GUIs for them. That, and it comes with other basic recovery tools as well.

http://systemrescuecd.sourceforge.net/
 
Old 07-24-2003, 10:02 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Code:
from `man parted`

       parted  is a disk partitioning and partition resizing pro-
       gram.  It allows you to create, destroy, resize, move  and
       copy  ext2,  ext3,  linux-swap,  FAT and FAT32 partitions.
       This is useful for creating space for new  operating  sys-
       tems,  reorganising  disk  usage,  and copying data to new
       hard disks.
Cheers,
Tink
 
Old 07-24-2003, 10:30 PM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Contrasutra is right, and I know this for a fact because I just used parted (to try resize my ext3 partition) less than a month ago.

However, I do recall there's a command somewhere to convert an ext3 partition to ext2, and vice-versa. I've read it somewhere, but dammit, I can't recall where! I'll update when I can remember.
 
Old 07-24-2003, 10:49 PM   #7
nerotique
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 11 / Ubuntu 6.06
Posts: 22

Original Poster
Rep: Reputation: 15
strange. . .

All went well getting parted to run. . but I get a strange error message when I try to resize the root partition.

"incompatable feature enabled on this filesystem"

Do you think that has anything to do with the fact that EXT3 is a journalized filesystem? I'm just reaching for answers . . what do you guys think?


. . . Ah nevermind. . . I see the above post. . I will try to find a man page. Thanks for all your help guys.

Last edited by nerotique; 07-24-2003 at 10:51 PM.
 
Old 07-25-2003, 11:12 AM   #8
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
I got the same error with an ext2 partition.
 
Old 07-25-2003, 01:25 PM   #9
stevenhasty
Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Slackware-current
Posts: 169

Rep: Reputation: 30
partition magic on windows will resize and move ext3 without data loss.
 
Old 07-25-2003, 01:41 PM   #10
nerotique
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 11 / Ubuntu 6.06
Posts: 22

Original Poster
Rep: Reputation: 15
Well that's what they claim anyway. I used a friend's copy to see if it would work. It didn't, that's why I finally started a new thread and posted here. I thought it might be something specific to my situation, but I guess I was wrong.
 
Old 07-25-2003, 03:23 PM   #11
stevenhasty
Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Slackware-current
Posts: 169

Rep: Reputation: 30
that's weird. it's always worked for me.
 
Old 07-26-2003, 01:33 AM   #12
alpesh
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
if partition magic on windows works for this it will be very fine i want to know does avybody has successfully done this?
 
Old 07-26-2003, 01:55 PM   #13
stevenhasty
Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Slackware-current
Posts: 169

Rep: Reputation: 30
the version I used was 8.0 running on windows xp, and I used it to resize, move, and convert a primary ext3 partition to a logical partition.
 
Old 11-12-2004, 02:13 PM   #14
toytoy
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
I just use partition expert 2003 from acronis. I works fine for me on several systems.
 
Old 11-12-2004, 04:32 PM   #15
H2O-linux
Member
 
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153

Rep: Reputation: 30
if you get partion magic and use the emergency diskets you can create in magic this will work. I have used this options many times. Just set you pc to boot from disket with the disket inserted.

here is a windows resize partition to ext3 thread that can be usefull:
link
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resize ext2/ext3 partition georgec Linux - Software 4 09-22-2009 05:40 PM
How to resize a ext3 partition? towel401 Linux - General 3 10-14-2005 05:30 PM
Can't resize ext3 Partition crack Linux - General 2 09-04-2005 07:39 AM
Problems trying to resize an Ext3 partition LucaSpiller Linux - Newbie 6 08-18-2004 08:53 AM
resize an ext3 partition with coexisting ntfs partition andy_g Linux - Newbie 1 02-03-2004 05:38 AM


All times are GMT -5. The time now is 03:19 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
Open Source Consulting | Domain Registration