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 1GBJUa-0003Kz-H2 for garchives@archives.gentoo.org; Thu, 10 Aug 2006 22:59: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 k7AMt23Q027912; Thu, 10 Aug 2006 22:55:02 GMT Received: from ms-smtp-05.texas.rr.com (ms-smtp-05.texas.rr.com [24.93.47.44]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7AMo678022404 for ; Thu, 10 Aug 2006 22:50:07 GMT Received: from [192.168.1.100] (cpe-68-201-116-137.gt.res.rr.com [68.201.116.137]) by ms-smtp-05.texas.rr.com (8.13.6/8.13.6) with ESMTP id k7AMo5eb018463 for ; Thu, 10 Aug 2006 17:50:05 -0500 (CDT) Message-ID: <44DBB81D.5030800@gt.rr.com> Date: Thu, 10 Aug 2006 17:50:05 -0500 From: "Anthony E. Caudel" User-Agent: Thunderbird 1.5.0.5 (X11/20060804) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Moving installation to another HD References: <342e1090608101101s2f11f638m947623a1b2b80bcd@mail.gmail.com> <200608102021.31376.ce@christeck.de> <7573e9640608101219j1362c5bal95fb50ffe6215ad8@mail.gmail.com> <342e1090608101241x49c35bfcjbf62f6bcae5d3281@mail.gmail.com> In-Reply-To: <342e1090608101241x49c35bfcjbf62f6bcae5d3281@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Archives-Salt: 3719928a-80df-42bc-bf04-f966076b58ab X-Archives-Hash: 754b0abb71ee424b01b62da74f276e70 Daniel da Veiga wrote: > On 8/10/06, Richard Fish wrote: >> 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 > > You seem to have read my mind, I was just about to ask about the boot > signature and if I should run grub again. Yes, I'm moving the whole > partition scheme along with data. > > Linux "cp" is a powerful command, gotta take a look at its manual. > > Thanks for the info so far people, I've decided to move my stuff by > the morning, I'll post any disaster/sucess reports. > Also don't forget to adjust fstab and your kernel line in grub.conf. Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list