LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2002, 03:09 AM   #1
ericcarlson
Member
 
Registered: Jan 2002
Posts: 161

Rep: Reputation: 30
Can you shrink a partition?


I have a half full partition and need to shrink it just a little to expand the size of another I've used for swap. Rather than back it up, delete & recreate both then restore I was wondering if theres a smart way to do it in situ.
 
Old 01-22-2002, 06:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you have 'fips' on your installation cd's, which is dos based, but might be able to edit the linux partitions.. not sure actually. You can get 'parted' off the net, which is linux based. You can also use resize2fs to just shrink the size of the filesystem, but not the partition, and then use cfdisk or such like to erase the partition and make a new smaller one in it's place (without destroying data.. apparently)

i don't *think* redhat has a suitable installation tool for this tho, whereas mandrakes DiskDrake is perfect for that sort of thing.
 
  


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 shrink ,need some help. linuxgeek13 Linux - Software 9 10-19-2005 08:45 PM
DVDShrink will not Shrink BDiddy Linux - Software 25 09-02-2005 08:29 PM
I can't shrink my empty partition yeehi Linux - General 3 10-20-2004 03:23 PM
DVD Shrink zebbedi Linux - Software 3 10-06-2003 11:52 AM
My kernel doesn't shrink aditya Linux - Newbie 2 09-09-2002 07:37 AM


All times are GMT -5. The time now is 12:45 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