From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GBGEJ-0001UO-Tc for garchives@archives.gentoo.org; Thu, 10 Aug 2006 19:30:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7AJOx14025835; Thu, 10 Aug 2006 19:24:59 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7AJJgWm009805 for ; Thu, 10 Aug 2006 19:19:43 GMT Received: by wr-out-0506.google.com with SMTP id i12so108917wra for ; Thu, 10 Aug 2006 12:19:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BbDyI85wAnOr+hOXSJyZeCFxBNMC+lT6Lze8YteI8S/nVQphf3p6URBh7ifZYI8ACKhphilCIRvMv81q/QKh1U0XkTb4/2k305FB8XsM9pHaWLE0C2LArYmOm3lHUoG6DNKnsOTLnzwnupvwUFggYv3bxscKN8DcBzriA2e/5SQ= Received: by 10.78.175.8 with SMTP id x8mr1656258hue; Thu, 10 Aug 2006 12:19:41 -0700 (PDT) Received: by 10.78.16.17 with HTTP; Thu, 10 Aug 2006 12:19:41 -0700 (PDT) Message-ID: <7573e9640608101219j1362c5bal95fb50ffe6215ad8@mail.gmail.com> Date: Thu, 10 Aug 2006 12:19:41 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Moving installation to another HD In-Reply-To: <200608102021.31376.ce@christeck.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <342e1090608101101s2f11f638m947623a1b2b80bcd@mail.gmail.com> <200608102021.31376.ce@christeck.de> X-Google-Sender-Auth: 1693832a78b275b7 X-Archives-Salt: 5012992e-127e-41da-a50a-5b02eb056201 X-Archives-Hash: 5670a660845c15c803b292df4cf254a2 On 8/10/06, Christoph Eckert wrote: > * Boot from a live-CD > * mount old and new drive partitions > * cd to the mountpoint containing the data to be copied > * tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW && tar xSpvf - ) > * Drink coffee :) The one thing you may have to take care of is grub, since I assume the /boot directory will be moving to the 40G drive as well. Assuming the partition containing /boot is /dev/hda1, then the following should work: echo "(hd0) /dev/hda" > device.map grub --device-map=device.map << EOF root (hd0,0) setup (hd0) quit EOF -Richard -- gentoo-user@gentoo.org mailing list