LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-07-2005, 05:48 PM   #1
zaxs
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Adding space to a partition...


Do any one know how can I add a new HD space to an existent partition on linux?

PD: Oh BTW is GlobalFileSystem the anwser...
 
Old 04-07-2005, 10:49 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
A simple question with a very complex answer.
Assumption 1) there is unused disk space after the partition, into which you can increase the size of the existing partition.
If the answer is no, then you will have to backup all partitions after the one you want to increase, then, starting at the last, and working forward, move existing partitions backwards into unused HD space (keeping the same partition sizes), then restore the backups into their respective partitions. That would leave unused space at the end (never the beginning) of the partition of interest.
If the answer is yes, no sweat. You have room to increase the size of the partition.
Assumption 2) you have made a backup of the partition you want to resize. Store the backup somewhere else; not in the partition you want to resize.
Assumption 3) you have a backup operating system to use to boot into if you get into trouble: i.e., boot form install disk, use knoppix, another Linux distro in another partition, or something similar.
Then, study the following info the these links on how to use parted to resize partitions.
http://www.linuxkp.org/en/content.ph...ts/parted.html
http://jamesthornton.com/redhat/linu...size-part.html
Note 1: since the partition table is written from the beginning of the partition, always change the size (increase/decrease) from the back end of the partition.
Note 2: always have a backup which you can restore, and a way to restore it.
Note 3:If the software on your partition is installed exclusively from the install disks, backup /etc, /home, and possibly /var. If things go wrong, re-install from install disks, then restore the configs in /etc, your /home, and anything in /var you thought needed restoration. Of course, if you've done on-line updates to your software, you'll have to do them again.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding space kwickcut Mandriva 9 10-14-2005 04:44 PM
Adding more hd space zaipher Linux - General 9 09-28-2004 10:26 AM
adding more space to a partition form another drive? dogod Linux - General 1 06-08-2004 11:34 AM
Adding space to Linux partition Warmaster Mandriva 5 05-28-2004 05:35 AM
need help in adding more space to my linux partition debloxie Mandriva 4 01-28-2004 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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