1 |
On Sat, Jun 25, 2011 at 06:52, walt <w41ter@×××××.com> wrote: |
2 |
> On 06/24/2011 04:08 PM, Harry Putnam wrote: |
3 |
>> Mark Knecht <markknecht@×××××.com> writes: |
4 |
>> |
5 |
>>> As for Gentoo installs, IMHO, they are in a bit of a mess right |
6 |
>>> now. Last weekend a friend decided to give Linux a try and I helped |
7 |
>>> him install Gentoo. The tarballs still, after nearly a month I think, |
8 |
>>> didn't include all the required /dev stuff in the stage3 tarball which |
9 |
>>> caused the machine to not boot. Maybe that's what you're seeing? I |
10 |
>> |
11 |
>> I'm at the stage right now of trying to boot from the vm harddrive. |
12 |
>> What is missing from stage3? Maybe I can get it straightened out now |
13 |
>> before turning the vm on its own. |
14 |
> |
15 |
> Yes, it's a trivial fix (everything's trivial if you know how to do it :) |
16 |
> |
17 |
> The /dev directory (before udev starts) is missing the /dev/console |
18 |
> device -- or maybe it's the /dev/null device. Crap, I can't recall |
19 |
> just now but I fixed the problem a week or two ago by using mknod to |
20 |
> create the missing device (I think it was /dev/console). |
21 |
> |
22 |
> Just chroot into your fresh vm and see what's missing from the /dev |
23 |
> directory. Use mknod to create the missing device. |
24 |
> |
25 |
|
26 |
Actually, both. |
27 |
|
28 |
The stage3 tarball I had (approx. 2 weeks old) has /dev/null, but it's |
29 |
a *normal* file. |
30 |
|
31 |
Just do: |
32 |
|
33 |
rm -f $root/dev/{null,console} |
34 |
mknod $root/dev/console c 5 1 |
35 |
mknod $root/dev/null c 1 3 |
36 |
|
37 |
$root is either blank if you've chroot-ed into /mnt/gentoo, or |
38 |
/mnt/gentoo if you haven't |
39 |
|
40 |
(The numbers you can see by doing `ls -l -a /dev` *before* chroot-ing) |
41 |
|
42 |
Rgds, |
43 |
-- |
44 |
Pandu E Poluan |
45 |
~ IT Optimizer ~ |
46 |
Visit my Blog: http://pepoluan.posterous.com |
47 |
Google Talk: pepoluan |
48 |
Y! messenger: pepoluan |
49 |
MSN / Live: pepoluan@×××××××.com (do not send email here) |
50 |
Skype: pepoluan |