At Tue, 14 Sep 2010 13:19:16 -0400 CentOS mailing list <centos@xxxxxxxxxx> wrote: > > What about doing all with dd ... If you have the second disk installed in > the same machine you can do "dd if=/dev/sda of=/dev/sdb" ort you can use > clonezilla is a live cd . dd only works IFF (!) the new drive is exactly the same size as the old drive. Otherwise dd can be very bad. This is a serious misuse of dd! > > Gabe > > > On 9/14/10 8:12 AM, "Timothy Murphy" <gayleard@xxxxxxxxxx> wrote: > > > > > Is there a document with instructions for this? > > I've had smartd warnings that a hard disk in my server is sick, > > so I am installing a new drive (in addition to the old). > > > > I was thinking of copying the old root partition with > > sudo cp -a -P /* /mnt/hd > > (after mounting the prospective new root partition). > > Then I'd have to modify the new /etc/fstab . > > > > Is that a sensible approach? > > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller@xxxxxxxxxxxx -- http://www.deepsoft.com/ModelRailroadSystem/ _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos