LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2006, 03:59 PM   #1
andrewf8
LQ Newbie
 
Registered: Dec 2005
Location: Milky Way, sector 9
Distribution: Fedora 35
Posts: 19

Rep: Reputation: 0
repartitioning; how? and dangers?


I just installed Fedore Core 4.

I accidentally made the swap partition 1024MB when it only needed to be 512MB (as I have 256MB RAM).

How do I start DiskDruid so I can reduce the swap partition and added it elsewhere? (I can't find it on the hard disk nor the install disk.)

Will this damage the present file system?

In general, can one alter partition sizes without damaging the file system (assuming the amount of files in any partition reduced in size are smaller than the new size)?
 
Old 01-06-2006, 04:38 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there's no reason to want to change the size of the swap. that rule about double the RAM is largely irrelevant and has been for a decade really... if you really do wish to reduce the size, just remove it from active use using the swapoff command, delete it and create a smaller on in it's place using fdisk or cfdisk. then use mkswap to format it as swap. you can then use resize2fs to expand an ext3 filesystem into the free space you've left behind. but do you really need than 512mb back? do you really have any idea how much swap you're going to use?
 
Old 01-06-2006, 04:38 PM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
The swap = 2 times ram is not a good rule. In actual fact you are likely to need more swap since you only have 256meg ram. I always ran a gig of swap even with 256meg as I needed it at the time... The only way to know how much swap you need is to use the PC and it depends on what you run. I was using over a gig of swap back when I was compiling CS maps...

You can change partitions, but there is obviously some risk. You would need an app like qtparted (edit typo) or the like...

Last edited by amosf; 01-06-2006 at 05:20 PM.
 
Old 01-06-2006, 05:09 PM   #4
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
i use qtparted as well u can find it here http://qtparted.sourceforge.net/ its ever so good if you dont want to use fdisk and like.
 
Old 01-07-2006, 01:09 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i've never ever had any success with that program... it's *always* borked citing a too complicated partition table, which it never is...
 
  


Reply



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
Dangers with lm-sensors? halfpower Linux - General 1 10-02-2005 04:44 PM
whats the dangers of leaving a port open? Mr. New General 3 08-09-2005 05:18 PM
dangers of the ftp service baronlynx Linux - Newbie 6 01-18-2005 06:43 AM
Repartitioning King4lex Linux - Newbie 4 09-02-2004 06:15 PM
Dangers of a duel boot? Quiber Mandriva 6 05-25-2004 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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