First things first.
I had setup my 32 bit system as below.
/boot - /dev/sda1
/ - /dev/sda2
swap - /dev/sda3
/home - /dev/sda4
If you have not setup the /home in a different partition, then you have to backup all the data and restore it. You cannot do as described in this answer.
/home is in different partition
So if you have /home in different partition, you can do the below steps.
- Insert the RHEL 6.0 64 bit DVD into the drive or use an USB disk that has the image of 64 bit OS.
- We will get the options to do a fresh installation or upgrade to another RHEL version.
- If we select Upgrade option, it will fail with an exception because upgrading directly from 32 bit to 64 bit is not possible. Even before trying, Redhat gives a clear message saying that the process won't succeed.
Select the fresh installation option. Now, do the following.
/dev/sda1 - Select the checkbox for formatting the bootloader
and change the mount point as /boot.
/dev/sda2 - Select the checkbox for formatting the / directory
and change the mount point to /.
swap - do nothing.
/dev/sda4 - Select the mount point as /home and do not do anything else.
Proceed with the installation process as you normally do and we can have a 64 bit RHEL without affecting any of the user data.