1 |
On Sat, Jun 25, 2011 at 10:54, Pandu Poluan <pandu@××××××.info> wrote: |
2 |
> On Sat, Jun 25, 2011 at 06:52, walt <w41ter@×××××.com> wrote: |
3 |
|
4 |
--snippage-- |
5 |
|
6 |
>> |
7 |
>> Yes, it's a trivial fix (everything's trivial if you know how to do it :) |
8 |
>> |
9 |
>> The /dev directory (before udev starts) is missing the /dev/console |
10 |
>> device -- or maybe it's the /dev/null device. Crap, I can't recall |
11 |
>> just now but I fixed the problem a week or two ago by using mknod to |
12 |
>> create the missing device (I think it was /dev/console). |
13 |
>> |
14 |
>> Just chroot into your fresh vm and see what's missing from the /dev |
15 |
>> directory. Use mknod to create the missing device. |
16 |
>> |
17 |
> |
18 |
> Actually, both. |
19 |
> |
20 |
> The stage3 tarball I had (approx. 2 weeks old) has /dev/null, but it's |
21 |
> a *normal* file. |
22 |
> |
23 |
> Just do: |
24 |
> |
25 |
> rm -f $root/dev/{null,console} |
26 |
> mknod $root/dev/console c 5 1 |
27 |
> mknod $root/dev/null c 1 3 |
28 |
> |
29 |
> $root is either blank if you've chroot-ed into /mnt/gentoo, or |
30 |
> /mnt/gentoo if you haven't |
31 |
> |
32 |
> (The numbers you can see by doing `ls -l -a /dev` *before* chroot-ing) |
33 |
> |
34 |
|
35 |
Sorry. Forgot to stress one thing as posted in the previously-posted |
36 |
LQ thread (Post #8 by ToK): |
37 |
|
38 |
DO NOT mount /dev into /mnt/gentoo/dev when you do the rm+(2*mknod) |
39 |
above. When you `ls /mnt/gentoo/dev`, you should see only the 'null' |
40 |
and 'console' special character devices, and no other devices. |
41 |
|
42 |
umount it, if you have to. Cast the above spells, then re-mount. *Then* chroot. |
43 |
|
44 |
Rgds, |
45 |
-- |
46 |
Pandu E Poluan |
47 |
~ IT Optimizer ~ |
48 |
Visit my Blog: http://pepoluan.posterous.com |
49 |
Google Talk: pepoluan |
50 |
Y! messenger: pepoluan |
51 |
MSN / Live: pepoluan@×××××××.com (do not send email here) |
52 |
Skype: pepoluan |