1 |
Alan E. Davis writes: |
2 |
|
3 |
> I copied the root (/) partition with the new partition at /dev/sdb5 |
4 |
> mounted as /newroot, using |
5 |
> # cp -ax / /newroot |
6 |
> |
7 |
> I checked that /proc, /dev, and /sys are there, and empty. I recall |
8 |
> there are some other steps necessary. |
9 |
|
10 |
/dev needs at least the entries console and null, and tty1 for splash |
11 |
things (I think). You could create them like this: |
12 |
mknod c 5 1 /dev/console |
13 |
mknod c 1 3 /dev/null |
14 |
mknod c 4 1 /dev/tty1 |
15 |
|
16 |
Or copy over your original /dev directory (without the stuff udev added) |
17 |
from the old system: |
18 |
mount -o bind / /mnt |
19 |
cp -a /mnt/dev /newroot/ |
20 |
|
21 |
Wonko |