LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   partition help......... (https://www.linuxquestions.org/questions/linux-software-2/partition-help-147084/)

sur_babu 02-17-2004 04:51 AM

partition help.........
 
I am newbie in linux world....... thnx in advance whoever can help........ I am running red hat 9 in PIII 128 M system, /usr has been allocated 2Gb in dev/hda2, dev/hda4 has an unallocated 16Gb partition......... Can I allocate some extra space frm that to my existing /usr?? R there any utilities (like partition magic) or command line programs tht can help me in resizing partitions with data remaining intact....??? also some advice abt how to do tht with proper backup of /usr and reformatting tht partition will be appreciated.......... thnx again....

frzburn 02-17-2004 09:30 AM

I think that the simplest thing for you would be to do only two partitions : 1 swap of 1.5*RAM and 1 / with the rest.

Bye!

st00 02-17-2004 09:43 AM

How/why have you got 16GB unallocated?

You could just format the unallocated partition as an ext2 or ext3 and then mount it to a directory in mnt. To do this, su to root and format the partition, then make a directory in /mnt like,

mkdir /mnt/partition4

and type

mount -t ext2 /dev/hda4 /mnt/partition4

To mount the partition automatically at boot up you need to edit your /etc/fstab file, google can help you with that.

One more thing, your /usr is just one of the directories, you will probably want to back up /home rather than (or as well as) /usr.


All times are GMT -5. The time now is 09:49 PM.