public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alex Schuster <wonko@wonkology.org>
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	[thread overview]
Message-ID: <200911232151.28693.wonko@wonkology.org> (raw)
In-Reply-To: <7bef1f890911231235q4bae0adfgcb6c881cf97e1aef@mail.gmail.com>

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



  reply	other threads:[~2009-11-23 22:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 20:35 [gentoo-user] Moving root filesystem to a new partition Alan E. Davis
2009-11-23 20:51 ` Alex Schuster [this message]
2009-11-23 22:51 ` Dale
2009-11-24  0:54   ` Francisco Ares
2009-11-24  2:31     ` Dale
2009-11-27  0:59       ` Alan E. Davis
2009-11-24 17:39 ` Peter Humphrey
2009-11-25 17:19   ` daid kahl
2009-11-25 20:56   ` [gentoo-user] " walt
2009-11-27 11:08     ` Peter Humphrey
2009-11-29  8:26       ` daid kahl
2009-11-29 13:02         ` Peter Humphrey
2009-11-29 17:29           ` Marcus Wanner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200911232151.28693.wonko@wonkology.org \
    --to=wonko@wonkology.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox