Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Self created initramfs cannot work
Date: Mon, 29 Jun 2009 16:23:14
Message-Id: 200906291823.07092.dirk.heinrichs@online.de
In Reply to: Re: [gentoo-user] Self created initramfs cannot work by David Shen
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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Self created initramfs cannot work David Shen <davidshen84@××××××××××.com>