yeah, I see you used udev. But I see the gentoo wiki, they do not use udev, so I think I can work without udev, too.
I will check if I have dm_mod in my kernel. Thanks. On Tue, Jun 30, 2009 at 12:23 AM, Dirk Heinrichs<dirk.heinri...@online.de> wrote: > Am Montag 29 Juni 2009 14:08:54 schrieb David Shen: > >> my /init script is running now, but I got '/bin/sh: can't access tty; >> job control turned off' error. I google a lot, and I think it would >> relate with my HD. When this error occurs, I got a simple shell. I >> tried 'lvm vgscan' in that shell, and it cannot find my lvm. > > Do you have dm_mod compiled into the kernel? > >> I copied >> my block devices with: >> cp -a /dev/hda /usr/src/initramfs/dev >> cp -a /dev/hda1 /usr/src/initramfs/dev >> cp -a /dev/hda2 /usr/src/initramfs/dev > > There's no need to do that, that's what udev is for. > > Did you look into the scripts I've send? They should setup everything for you. > Initially, you only need console, null and initctl in /dev of your initrd, > udev takes care of everything else. > > Bye... > > Dirk > > > -- Best Regards, David Shen http://twitter.com/davidshen84