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 1NCh6i-0000YN-5j for garchives@archives.gentoo.org; Mon, 23 Nov 2009 22:10:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0543E0918 for ; Mon, 23 Nov 2009 22:10:03 +0000 (UTC) Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by pigeon.gentoo.org (Postfix) with ESMTP id C896FE0857 for ; Mon, 23 Nov 2009 20:51:32 +0000 (UTC) Received: from static-87-79-89-40.netcologne.de ([87.79.89.40] helo=zone.wonkology.org) by mail.askja.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NCfsi-0007ZK-9D for gentoo-user@lists.gentoo.org; Mon, 23 Nov 2009 21:51:32 +0100 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by zone.wonkology.org with local; Mon, 23 Nov 2009 21:51:29 +0100 id 00010341.4B0AF5D1.000046E7 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Moving root filesystem to a new partition Date: Mon, 23 Nov 2009 21:51:28 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.31-tuxonice; KDE/4.3.3; i686; ; ) References: <7bef1f890911231235q4bae0adfgcb6c881cf97e1aef@mail.gmail.com> In-Reply-To: <7bef1f890911231235q4bae0adfgcb6c881cf97e1aef@mail.gmail.com> 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 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200911232151.28693.wonko@wonkology.org> X-Archives-Salt: bf05f028-0e35-4e1e-ab79-862f54a8d3bb X-Archives-Hash: 3c1967baa81b49919d4404c2dfb4298d Alan E. Davis writes: > I copied the root (/) partition with the new partition at /dev/sdb5 > mounted as /newroot, using > # cp -ax / /newroot > > I checked that /proc, /dev, and /sys are there, and empty. I recall > there are some other steps necessary. /dev needs at least the entries console and null, and tty1 for splash things (I think). You could create them like this: mknod c 5 1 /dev/console mknod c 1 3 /dev/null mknod c 4 1 /dev/tty1 Or copy over your original /dev directory (without the stuff udev added) from the old system: mount -o bind / /mnt cp -a /mnt/dev /newroot/ Wonko