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 10-28-2003, 11:02 AM   #1
Sociologo
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Resizing Linux Partitions


I am running Red Hat 9.0 in a logical partition, created with
V-com's System Commander 7.05. Can Linux partitions be resized? Last time I tried to MOVE it I lost the GRUB and had to re-install. Would the same thing happen if I should try to RESIZE?
Thanks in advance for your advice.
 
Old 10-28-2003, 12:30 PM   #2
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
You can resize your existing partitions in Red Hat 9 using the "parted" utility/command.

First log in as root and run the command -

parted

Now, at the 'parted' prompt, type 'print' to view the current partition table.

To resize a partition, just give the following command at the parted command prompt -

resize <number-of-the-partition> <start-cylinder> <end-cylinder>

suppose start cylinder is 900 and
end cylinder is 912
then, the partition size is 100 MB roughly

These values are approximate and may differ with every hard disk.

So resize your partitons keeping in mind the above stats.

Make sure that you unmount the partition before you resize it.

its easy, but there is a risk involved in resizing partitions...If you reduce a partition to a size less than the "used space", you will incur data loss.....so take enough care while resizing partitions.


Regards,

amit
 
Old 10-28-2003, 04:13 PM   #3
Sociologo
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 15
Thank you so much, coolamit, I'll give it a try (a careful try!)
 
  


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 Linux' partitions. naijin Linux - General 40 01-04-2004 04:33 PM
resizing linux partitions quantumechanix Linux - General 2 09-21-2003 06:10 PM
resizing partitions in linux jimieee Linux - Software 1 09-03-2003 01:41 PM
REsizing the Linux partitions noname Linux - Software 9 08-01-2002 02:25 PM
Resizing Linux partitions/Mounts Dave Campbell Linux - General 14 06-25-2002 03:53 PM


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