1829657 Members
9076 Online
109992 Solutions
New Discussion

Need help on RH EL4 AS

 
SOLVED
Go to solution
salem_3
Advisor

Need help on RH EL4 AS

Hi,

I need help for changing partition size on my drive sda ,could someone tell me how .
the os is RH EL4 AS
Thanks.
5 REPLIES 5
Ragu_3
Trusted Contributor

Re: Need help on RH EL4 AS

fdisk /dev/sda
Debian GNU/Linux for the Enterprise! Ask HP ...
Atul Gautam
Valued Contributor

Re: Need help on RH EL4 AS

Hi Ryadh,

To change the partition size on /dev/sda, you can use either "fdisk" or "parted".

But remember you have to boot into Single User OR Maintenance mode. For that at the grub prompt, press "e" , then move your prompt to the line ---

kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/

then again press "e", and then at the end, add "S" and then press Enter and then press "b" to boot into single user mode.

You will then get the maintenance prompt and from here you can proceed.

Now changing partition size is a destructive method. So, make sure you have a proper backup of your partitions.

====================================
fdisk /dev/sda

and then you can type "m" to get help.
====================================


====================================
parted /dev/sda

type "help".

This is a simple to use tool
====================================


So enjoy partitioning......




ATUL
David B. P.
Advisor
Solution

Re: Need help on RH EL4 AS

http://kbase.redhat.com/faq/FAQ_96_4842.shtm

Take care, RH4 has a customized ext3 filesystem so use only the procedure that redhat support.
George Liu_4
Trusted Contributor

Re: Need help on RH EL4 AS

very likely /dev/sda is already in use, and you may backup your data and use swap partition technique to do the repartition.
salem_3
Advisor

Re: Need help on RH EL4 AS

Thaks guys

I have done it using LVM and now i am getting more familiar with partitioning .

Regards.