LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-18-2004, 10:22 AM   #1
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Rep: Reputation: 15
Partition Resizing


How would I resize an active partition? I accidentally set my swap size to small and I would like to resize it.

I've tried QT parted, but the option to resize is grayed out.

Last edited by BxBoy; 02-18-2004 at 10:26 AM.
 
Old 02-18-2004, 10:32 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
its probably grayed out because the partition is mounted ...
you have to make sure the partition to be resized is unmounted, before attempting somethign like this ...

p.s. i like your sig ..
never seen that before
 
Old 02-18-2004, 10:33 AM   #3
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DrOzz
its probably grayed out because the partition is mounted ...
you have to make sure the partition to be resized is unmounted, before attempting somethign like this ...
But I can't unmount it, since it's the active partition that linux is on.

Quote:
p.s. i like your sig ..
never seen that before
Thank You, and it's quite true.
 
Old 02-18-2004, 10:43 AM   #4
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Original Poster
Rep: Reputation: 15
I have bootable partition magic 8 floopies, you think I can use them to bootup to resize the partitions?
 
Old 02-18-2004, 10:54 AM   #5
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
You also could boot up with the system rescue cd and run qtparted from it...
http://www.sysresccd.org/
 
Old 02-18-2004, 11:35 AM   #6
asalford
Member
 
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 142

Rep: Reputation: 15
The first thing you would have to do is create/borrow space from another partition either directly in front or behind your swap partition before you can resize the swap partition.

CAUTION:

Any time you mess the the partitions the likely hood that things can go wrong is greatly augmented. BACKUP BACKUP BACKUP BACKUP. Oh did I mention backup your work?

Question:

1) how much ram do you have?
2) what is your swap partition size?

I originally had 2:1 ratio. Now I have 1.5:1 ratio. I use very little swap on my system. if you are using swap file extensively you may want to consider upgrading ram. I have 768 mb of ram and use only about 10-80 meg of swap on a heavily loaded system.
 
Old 02-18-2004, 11:55 AM   #7
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Original Poster
Rep: Reputation: 15
I have 256MB RAM and set the SWAP to 256MB RAM by accident.

further details here:

http://mrtg.s-lam.com/sysinfo
 
Old 02-18-2004, 12:04 PM   #8
asalford
Member
 
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 142

Rep: Reputation: 15
do you find at times you are swapping a great deal?

If you are you have two choices:

1) increase the amount of ram. Recommended
2) increase the swap. Not recommended
a) anytime you utilize the swap file extensively your system is going backwards
b) reduce the overall load on your pc

if snapshot I viewed is typical of your system I would leave well enough alone.
 
Old 02-18-2004, 12:55 PM   #9
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Original Poster
Rep: Reputation: 15
Nope, I haven't really notice any swapping. Increasing physical memory is not an option, we don't have any spare DIMM chips laying around. I just thought it would be a good idea to increase the SWAP size to 2.5 the size of the physical ram.

I guess I should leave things alone afterall..
 
Old 02-18-2004, 01:28 PM   #10
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Quote:
Originally posted by BxBoy
.....good idea to increase the SWAP size to 2.5 the size of the physical ram.
you'd be definelty wasting space by doing that ...
you shouldn't have a problem with the amount of swap space you presently have ...
 
Old 02-20-2004, 12:00 PM   #11
SuPdAwG
LQ Newbie
 
Registered: Feb 2004
Location: usa
Distribution: fedora core 1
Posts: 2

Rep: Reputation: 0
Unhappy

i wanted a dual boot system with win xp and knoppix on same physical drive.
i partitioned my hard drive to install knoppix
but i installed a second physical drive and put knoppix on it
i increased the winxp partition with qtparted but stupid windows still says its the smaller sized partition, the question is how do i return
my winxp partition to its origanal size?
 
  


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
Resizing my partition microsoft/linux Debian 63 01-16-2006 04:59 AM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 01:42 PM
resizing partition greg108 Red Hat 1 08-12-2004 02:23 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 01:21 PM
Resizing a Partition? h1tman Linux - General 3 08-08-2003 11:21 PM


All times are GMT -5. The time now is 07:57 AM.

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