brent timothy saner on 28 Sep 2008 17:20:33 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Need Advice on Cloning A Disk Drive


Couple things (sorry about the top-posting).

One, always copy from a non-live system.

Two, don't copy /dev and /proc as they should be populated dynamically every boot by udev and the kernel/init processes respectively



(lack of GPG due to message sent via blackberry device)

-----Original Message-----
From: Casey Bralla <MailList@NerdWorld.org>

Date: Sun, 28 Sep 2008 20:16:18 
To: Philadelphia Linux User's Group Discussion List<plug@lists.phillylinux.org>
Subject: Re: [PLUG] Need Advice on Cloning A Disk Drive


On Sunday 28 September 2008 7:31:39 pm brent timothy saner wrote:
> Casey Bralla wrote:
> > I'm trying to migrate my existing Gentoo system to a larger hard drive. 
> > (I've maxed out my 80 GByte drive, but have a 200 GByte lying around.)
> > I'm having trouble cloning my drive to the new drive and would like some
> > advice from the list.
> >
> > Complicating my problem, is that I'm changing from ReiserFS on the old
> > drive to ext3 on the new drive.
> >
> > My questions for the list:
> >
> > 1.  Is there a way to copy block and character devices?
> > 2.  How else could I (easily) create them on the new drive?
> > 3.  is there any other simple way to duplicate a linux disk?
>
> why don't you just copy over all the files (cp -r /mnt/old/*
> /mnt/new/.), chroot into /mnt/new, and reinstall grub to the mbr?
>


That's essentially what I did (several times, actually), but it would not copy 
all the files in the /dev directory.   I thought konqueror might do a better 
job (it didn't).


-- 


Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug