LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Re-partition (https://www.linuxquestions.org/questions/linux-general-1/re-partition-26331/)

bkmesenbrink 07-22-2002 04:39 PM

Re-partition
 
I am running RH 7.2, is there a way to re-partition a hard drive after the OS is installed??? If so how???

shoot2kill 07-23-2002 03:54 AM

you can use partition magic.

MasterC 07-25-2002 01:39 AM

Parted may work, I have heard it is non-destructive, but have never used it. I have had luck with Mandrake's Diskdrake, and at one point found it available for download at mandrake's site, but can't right now. But, yes, parted is another way. After you re-partition, the new partitions need to be formatted. I believe the command is 'mk2fs -j /dev/hdxx' where the xx is whatever the partition number and letter is/are. I think the -j option will make it journaling (ext3), but I am not sure.

shoot2kill 07-25-2002 06:41 AM

Quote:

Originally posted by MasterC
I think the -j option will make it journaling (ext3), but I am not sure.
Yes, sure it is.

jglen490 07-25-2002 07:33 AM

If you have ANY critical data or configuration files -- BACK THEM UP BEFORE DOING THIS :D :D !!

You should NOT need to re-format the resized partition, re-formatting will be a problem. If you want to convert your ext2 filesystem to ext3 without re-formatting you can use the tunefs -j /dev/hdxx command, as root. Do some research in man and info before doing any of this.


All times are GMT -5. The time now is 10:31 PM.