move / to a new hard-drive



I built my Redhat 9 machine with two hard-drives. I'm a bit of a newby,
so I mainly let the installation go with defaults. I've got all the
things running I want now (databases, Samba, Apache etc etc) but the
default installation (or something I did and can't remember now) has
resulted in /boot and /swap being mounted on hda1 and hda2 partitions,
but / being on hdc1.

I want to move / to hda3 (partition is already created ready) so I can
remove the second hard drive from the machine, but can't find any
information on how to do this. Naturally, attempting to umount / then
mount it again on the new partition fails with the message that that it
is busy. I've tried chroot and also doing it from rescue mode. No luck.

Can anyone tell me how I can do this, please? I have a stripped-down
installation, no GUI or GUI-based tools at all, just command-line.
Thanks.

.



Relevant Pages

  • Re: Moving HDD into a new PC
    ... Hoping to swap disk drives from my current first P4 desktop to ... Both are boot drives with Win XP on ... Boot from your XP installation CD and do a repair installation, ... hard-drives to be recognised at BIOS-level. ...
    (uk.comp.misc)
  • Re: Search an alpha owner near from Paris, France
    ... > I recently buy an alphaserver and i am really newby with this server ... ... > I apparently a CD Drive problem and i need to try an installation with ...
    (comp.sys.dec)
  • Search an alpha owner near from Paris, France
    ... I recently buy an alphaserver and i am really newby with this server ... ... I apparently a CD Drive problem and i need to try an installation with ...
    (comp.sys.dec)