Hi again,
may be I got you wrong the first time, eh?
You really wan't to switch the partitions?
> 
> I've got a partitioning question.
> 
> I configured my system with a 2GB /home partition and a 500MB "/"
> partition. My /root is on the "/" partition, and it's getting a bit
> crowded. Can I rdev the root partition (/hda8) to the /home partition
> (/hda5) without losing any data on either? Alternatively, can I make a
> symlink on the root partition named /root, that leads to somewhere on
> /home, or will that cause weird errors.
> 
> Info: RedHat 5.1, 3.0.35, KDE on XFree86.
> 
> Thanks.

Hmmm,
ok. for a complete switch... expecting you have enough space to hold all the 
data of / and /home on your home partition you can try the following.
secure way :
create a home directory on your home partition mkdir /home/home
move your files in /home to /home/home
copy your complete / partiton to the home partition use the right cp options 
something like -dpR and there must be one for one filesystem..
if you look in /home you should see something like 
. .. /bin /etc /dev /boot /var /usr .........
go to /home/etc and change the entrys in fdisk for / to /dev/hda? your home part
uncomment the entry for you home partition.
you can rdev the vmlinuz file in your /home/ directory to the devname of your 
home partition now.
further steps depend on the way you usually boot your system lilo ? bootable 
flag?

thats just a raw painting of how I would do it. Hope this helps.

Cu,
   Franky X.

Reply via email to