From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NVqbq-0005LS-Vi for garchives@archives.gentoo.org; Fri, 15 Jan 2010 18:09:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 138BAE0A7F; Fri, 15 Jan 2010 18:09:07 +0000 (UTC) Received: from mail-gx0-f211.google.com (mail-gx0-f211.google.com [209.85.217.211]) by pigeon.gentoo.org (Postfix) with ESMTP id E57D0E0A7F for ; Fri, 15 Jan 2010 18:09:06 +0000 (UTC) Received: by gxk3 with SMTP id 3so751571gxk.6 for ; Fri, 15 Jan 2010 10:09:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=d2g8hItejGDYYmbDBdyopkgTPF9DQX9TPUf89tVWYtg=; b=oAUVcRGVbqlMugwHfodaG+XP/COIfAqaNIIpFOvx/7vYtBYynO7rERzoriSugj7gHC ToIoEGbfpFwW+CbyCZ8zrnlKrDkr7uF5zSLb/7wE3AJJrP6E9vdcsDdONEIS/f+z13wo DHan2m8xpmwrpVaFvkifheAe5hT2i8YLrSRMc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=xnyCzpAC2MvZqikinQlAVTJZkXHQKrdfJKqvlMs0KxB1OLbTyDp2/+FwYW5NBdcePM b5c9fxpWF3uswCPBme2gS7V3tl793VNNlNt8jLJ32pgHjvLjkfh7+N4IfFRFVCvAseFF qcOckLBQrGNc/IKlhtcyNVaFyXjuCmCDlQWU0= Received: by 10.90.171.16 with SMTP id t16mr2655338age.109.1263578946520; Fri, 15 Jan 2010 10:09:06 -0800 (PST) Received: from ?192.168.1.1? (adsl-0-89-31.jan.bellsouth.net [65.0.89.31]) by mx.google.com with ESMTPS id 9sm845423ywe.26.2010.01.15.10.09.04 (version=SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 10:09:05 -0800 (PST) Message-ID: <4B50AF3F.5000605@gmail.com> Date: Fri, 15 Jan 2010 12:09:03 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20091201 SeaMonkey/1.1.18 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How can I move system to new disk? References: <4B50A6F0.8060404@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 751316df-a4d9-40fc-ba9f-209966ee35bc X-Archives-Hash: 73c9892dc8e8165718f67345ad33a203 Hazen Valliant-Saunders wrote: > Tar is your friend and ally. > > 1. install and Mount the disk to a mount point. > 2. Use tar in for it's intended purpose > https://help.ubuntu.com/community/BackupYourSystem/TAR > 3. remove old drive, & configure the new one as your primary. > 4. get a drink. > > On Fri, Jan 15, 2010 at 12:33 PM, Jarry > wrote: > > Hi, I'm facing this problem: > > I want to exchange hard-drive in my computer for other, bigger > one. I do not want to add new hard-drive somewhere on mount-point > permanently, I just want to copy everything from the old drive > to the new one and then get rid of the old one. And of course, > I'd like to use my computer as before. What is the best (maybe > I should ask for safest) way to acomplish this? > > First I thought about "cp -a". But I'm not sure which directories > I should skip (/proc, maybe some other like /dev?). And I do not > know how cp handles links (if I first copy link and later target, > where is the link pointing? to the original file or its copy?). > > Maybe dump/restore is better solution? Or something else? > > Jarry > > -- > _______________________________________________________________ > This mailbox accepts e-mails only from selected mailing-lists! > Everything else is considered to be spam and therefore deleted. > > I have done this several times and only used cp -a. I just skipped /dev, /proc, /tmp and other none needed ones. Don't forget to copy console and null in /dev tho. Dale :-) :-)