1 |
Am Montag 29 Juni 2009 14:08:54 schrieb David Shen: |
2 |
|
3 |
> my /init script is running now, but I got '/bin/sh: can't access tty; |
4 |
> job control turned off' error. I google a lot, and I think it would |
5 |
> relate with my HD. When this error occurs, I got a simple shell. I |
6 |
> tried 'lvm vgscan' in that shell, and it cannot find my lvm. |
7 |
|
8 |
Do you have dm_mod compiled into the kernel? |
9 |
|
10 |
> I copied |
11 |
> my block devices with: |
12 |
> cp -a /dev/hda /usr/src/initramfs/dev |
13 |
> cp -a /dev/hda1 /usr/src/initramfs/dev |
14 |
> cp -a /dev/hda2 /usr/src/initramfs/dev |
15 |
|
16 |
There's no need to do that, that's what udev is for. |
17 |
|
18 |
Did you look into the scripts I've send? They should setup everything for you. |
19 |
Initially, you only need console, null and initctl in /dev of your initrd, |
20 |
udev takes care of everything else. |
21 |
|
22 |
Bye... |
23 |
|
24 |
Dirk |