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