LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2003, 09:58 PM   #1
sanjuro54
LQ Newbie
 
Registered: Sep 2003
Location: State College, PA
Distribution: Mandrake 10 Community
Posts: 8

Rep: Reputation: 0
Shrinking a partrition


I am trying to shrink my main / partrition so I have some space to play around with other distros. I am not sure exactly how to do this. Any help would be appreciated greatly.

So far, I tried to shrink my file system using resize2fs and got this:

resize2fs 1.29 (24-Sep-2002)
/sbin/resize2fs: Bad magic number in super-block while trying to open /dev/hda
Couldn't find valid filesystem superblock.
 
Old 09-29-2003, 10:18 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
I don't know if you can resize a mounted filesystem. You may have to do this from a rescue disk or something like Tom's RTBT.

-K
 
Old 09-30-2003, 01:39 AM   #3
sanjuro54
LQ Newbie
 
Registered: Sep 2003
Location: State College, PA
Distribution: Mandrake 10 Community
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks...I'll try that.
 
Old 09-30-2003, 03:45 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
There is a great utility called BootIt NG that I've used before to resize Windows partitions, and it worked smooth as silk. I don't know if the same options exist for a Linux partition, but overall BootIt is the best partitioning tool that I've come across, not that that means much. Anyway more info about it can be found here: http://www.terabyteunlimited.com/bootitng.html -- J.W.
 
Old 09-30-2003, 07:55 AM   #5
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Hello State College! ( I am from Altoona)
anyway, parted allows for resizing.
 
Old 09-30-2003, 04:03 PM   #6
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
You have to resize first, then you can use "parted" to "break" the partition into a smaller one.

-K
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD Shrinking stocks29 Linux - Software 2 07-12-2005 11:02 AM
Shrinking the Windows partition trainee Linux - Software 8 07-06-2005 10:37 PM
Shrinking partitions siepmann Linux - General 1 10-27-2004 08:39 PM
Shrinking Partitions Khabi Linux - General 2 07-03-2004 04:19 AM
partition or shrinking? M@tt Linux - Newbie 2 11-12-2001 10:35 AM


All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration