Re: [gentoo-user] Self created initramfs cannot work

2009-06-29 Thread David Shen
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 wrote: > Am Montag 29 Juni 2009 14:08:54 schrieb David Shen: > >> my /init sc

Re: [gentoo-user] Self created initramfs cannot work

2009-06-29 Thread Dirk Heinrichs
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,

Re: [gentoo-user] Self created initramfs cannot work

2009-06-29 Thread 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. I copied my block devices with: c

Re: [gentoo-user] Self created initramfs cannot work

2009-06-27 Thread David Shen
thanks a lot On Sat, Jun 27, 2009 at 7:49 PM, Dirk Heinrichs wrote: > Am Samstag 27 Juni 2009 10:25:11 schrieb David Shen: > >> yep, i'd like to learn from your script. > > OK, here you are. > >> BTW, I also put my initramfs into a separate partition /boot. > > Seems you misunderstood. I don't us

Re: [gentoo-user] Self created initramfs cannot work

2009-06-27 Thread Dirk Heinrichs
Am Samstag 27 Juni 2009 10:25:11 schrieb David Shen: > yep, i'd like to learn from your script. OK, here you are. > BTW, I also put my initramfs into a separate partition /boot. Seems you misunderstood. I don't use an initramfs anymore, /boot _is_ my initramfs replacement. Whatever you put int

Re: [gentoo-user] Self created initramfs cannot work

2009-06-27 Thread David Shen
yep, i'd like to learn from your script. BTW, I also put my initramfs into a separate partition /boot. On Sat, Jun 27, 2009 at 2:33 PM, Dirk Heinrichs wrote: > Am Samstag 27 Juni 2009 03:32:50 schrieb David Shen: > >> I build by gentoo kernel without genkernel, and I want to create the >> initra

Re: [gentoo-user] Self created initramfs cannot work

2009-06-26 Thread Dirk Heinrichs
Am Samstag 27 Juni 2009 03:32:50 schrieb David Shen: > I build by gentoo kernel without genkernel, and I want to create the > initramfs by hand. Following is the steps I did: I also did this for some years, I could send you my setup script if you want. Nowadays I've switched to putting the stuff