The easiest way to migrate to another (bigger) hard drive?

Tom Diehl tdiehl at rogueind.com
Thu Apr 29 23:26:50 UTC 2004


On Thu, 29 Apr 2004, Tom Diehl wrote:

> On Thu, 29 Apr 2004, jludwig wrote:
> 
> > > > Been trying to work out the easiest way to move from one hard drive to 
> > > > another and be able to change the size of the partitions..
> 
> If you can put the old and new drives in the machine at the same time then
> mount the new one(s) as /home2 or something and simply make a shell script
> that cp's the files you want starting from /. Skip /home2, /proc, etc. Make
> sure you make the mount points you will need when you reboot such as /proc.
> All you need is cp -av. This works I have done it many times. You need to
> make sure the the system is quiet. Single user mode is best for this.
> You do not need tar/dd or any other utility. cp can do it.
> Of course you need to be careful but then you need to be careful with dd etc..

Oh and you need to install grub on the new disk. Just use an install disk and
boot into rescue mode.

Sorry I forgot that part.

Tom
> 





More information about the fedora-list mailing list