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 1NiZwp-00064P-0M for garchives@archives.gentoo.org; Fri, 19 Feb 2010 20:59:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F92FE08A5; Fri, 19 Feb 2010 20:59:03 +0000 (UTC) Received: from mx01.admin-box.com (mx01.admin-box.com [78.47.249.108]) by pigeon.gentoo.org (Postfix) with ESMTP id 1E99FE08A5 for ; Fri, 19 Feb 2010 20:59:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx01.admin-box.com (Postfix) with ESMTP id 799393002B15 for ; Fri, 19 Feb 2010 21:59:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx01.admin-box.com Received: from mx01.admin-box.com ([127.0.0.1]) by localhost (mx01.admin-box.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8p5y7mMPIqGh for ; Fri, 19 Feb 2010 21:58:50 +0100 (CET) Received: from maya.local (e178052005.adsl.alicedsl.de [85.178.52.5]) (Authenticated sender: daniel@troeder.de) by mx01.admin-box.com (Postfix) with ESMTPSA id D87683002B19 for ; Fri, 19 Feb 2010 21:58:49 +0100 (CET) Message-ID: <4B7EFB7F.9070002@admin-box.com> Date: Fri, 19 Feb 2010 21:58:39 +0100 From: Daniel Troeder User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100206 Thunderbird/3.0.1 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] When copying an os to new disk References: <87hbpdotge.fsf@newsguy.com> In-Reply-To: <87hbpdotge.fsf@newsguy.com> X-Enigmail-Version: 1.0.1 OpenPGP: id=BB9D4887; url=http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3120F66E777E656A44A59321" X-Archives-Salt: e61dfdca-3af3-4610-86a1-cb32a7eeaf40 X-Archives-Hash: 3087eed05ad18ceab780fcb2b84c3b47 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3120F66E777E656A44A59321 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/19/2010 09:34 PM, Harry Putnam wrote: > I'm currently rsyncing an OS (new gentoo install) from one vmware disk > to a newly created one. >=20 > I know not to copy /proc but not sure about /dev. Looking at an > unbooted OS disk with an install on it... I see /dev/ is populated > (with no boot up), but I recall seeing things during boot like > `populating /dev' (I think). >=20 > So should I copy it over to new disk or not? >=20 > OH, what this is all about is maybe worth mention here for someone > else doing similar. >=20 > I opened a vmware appliance (pre made install of gentoo 1008), > thinking I'd be able to fairly quickly get it up to date. >=20 > The reason I went with the premade appliance is that I've tried > several times to get a vmware gentoo guest going but always have > trouble when booting off the newly built kernel. I've fussed with > that repeatedly and only managed long ago to get one gentoo vmware > guest running. (There was quite a tirade of threads initiated by me > here back then), >=20 > So anyway the appliance turned out to be a real chore to get > updated... Circular dependancies involving different versions of > portage and somekind of api... maybe eapi1 not working with various > pkgs, all in all a big nasty circle jerk... so went ahead and tried > the `from scratch' route. >=20 > And true to form having plenty of trouble getting my kernel to see the > vmware disk I installed on, once I boot off the new kernel. >=20 > I chose to install on a scsi disk as recommended by vmwares' help. >=20 > That, I think is where the rub currently is.=20 >=20 > I noticed the appliance (From bagvapp) was built on an IDE disk, And > its worth noting that even when booting from the appliance,,, that > kernel doesn't see the scsi disk either... (with fdisk). >=20 > So the livecd kernel sees both the appliance IDE disk and the scsi > disk I installed on. That kernel appears to be genkernel built and > uses the initrd approach, so all mod are in play before the actual > kernel starts booting. >=20 > Anyway, cutting to the chase, I added an IDE disk myself and am copying= > the OS from the original SCSI to the IDE (I foolishly did quite a bit > of emerging and configuring from the chroot before actually testing if > it would boot so, don't wan't to lose that work and do another fresh > install). >=20 > So, I'm about to find out if any of it is going to work but wondered > about copying /dev/ over. You can copy static /dev - no problem. When udev starts it will just mount its own stuff over the static /dev. You do actually always need some files to boot: at least /dev/null and often also /dev/{tty*,console} and possibly others (depends on your init system). Anyway: copying /dev is a good idea. Bye, Daniel --=20 PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=3D0xBB9D4887&op=3Dg= et # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 --------------enig3120F66E777E656A44A59321 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt++4MACgkQg3+4tbudSId1DACdFYtd8idoL0/HEy66B6DPgcho 324AoKuboawevIl4Kkc37jWZIcJdddDx =ve3h -----END PGP SIGNATURE----- --------------enig3120F66E777E656A44A59321--