LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Resizing Linux Partitions (https://www.linuxquestions.org/questions/linux-software-2/resizing-linux-partitions-109492/)

Sociologo 10-28-2003 10:02 AM

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.
:cool:

coolamit78 10-28-2003 11:30 AM

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

Sociologo 10-28-2003 03:13 PM

Thank you so much, coolamit, I'll give it a try (a careful try!):)


All times are GMT -5. The time now is 08:12 PM.