1 |
yeah, I see you used udev. But I see the gentoo wiki, they do not use |
2 |
udev, so I think I can work without udev, too. |
3 |
|
4 |
I will check if I have dm_mod in my kernel. |
5 |
|
6 |
Thanks. |
7 |
|
8 |
|
9 |
On Tue, Jun 30, 2009 at 12:23 AM, Dirk |
10 |
Heinrichs<dirk.heinrichs@××××××.de> wrote: |
11 |
> Am Montag 29 Juni 2009 14:08:54 schrieb David Shen: |
12 |
> |
13 |
>> my /init script is running now, but I got '/bin/sh: can't access tty; |
14 |
>> job control turned off' error. I google a lot, and I think it would |
15 |
>> relate with my HD. When this error occurs, I got a simple shell. I |
16 |
>> tried 'lvm vgscan' in that shell, and it cannot find my lvm. |
17 |
> |
18 |
> Do you have dm_mod compiled into the kernel? |
19 |
> |
20 |
>> I copied |
21 |
>> my block devices with: |
22 |
>> cp -a /dev/hda /usr/src/initramfs/dev |
23 |
>> cp -a /dev/hda1 /usr/src/initramfs/dev |
24 |
>> cp -a /dev/hda2 /usr/src/initramfs/dev |
25 |
> |
26 |
> There's no need to do that, that's what udev is for. |
27 |
> |
28 |
> Did you look into the scripts I've send? They should setup everything for you. |
29 |
> Initially, you only need console, null and initctl in /dev of your initrd, |
30 |
> udev takes care of everything else. |
31 |
> |
32 |
> Bye... |
33 |
> |
34 |
> Dirk |
35 |
> |
36 |
> |
37 |
> |
38 |
|
39 |
|
40 |
|
41 |
-- |
42 |
Best Regards, |
43 |
David Shen |
44 |
|
45 |
http://twitter.com/davidshen84 |