From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-94281-garchives=archives.gentoo.org@lists.gentoo.org>) id 1Ly55Z-0004P2-7q for garchives@archives.gentoo.org; Sun, 26 Apr 2009 14:12:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B6A3E045A; Sun, 26 Apr 2009 14:12:12 +0000 (UTC) Received: from mail.fraggod.net (unknown [91.191.238.58]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D17DE045A for <gentoo-user@lists.gentoo.org>; Sun, 26 Apr 2009 14:12:11 +0000 (UTC) Received: from coercion (coercion.core [IPv6:2001:470:1f0b:11de::13]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.fraggod.net (Postfix) with ESMTPSA id E41F9101B9B for <gentoo-user@lists.gentoo.org>; Sun, 26 Apr 2009 20:12:09 +0600 (YEKST) Date: Sun, 26 Apr 2009 20:09:00 +0600 From: Mike Kazantsev <mike_kazantsev@fraggod.net> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Failed to start /etc/init.d/checkroot Message-ID: <20090426200900.634583ea@coercion> In-Reply-To: <7797aa370904260431t14cd3458kb120ca40fde88cb@mail.gmail.com> References: <7797aa370904260431t14cd3458kb120ca40fde88cb@mail.gmail.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i686-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/6tAL+r_00IMXjHNCYZ=UOdA"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: dcea0c99-51d1-4e21-bb22-a68eebe4f0c1 X-Archives-Hash: f8b95cf39da336a74755926e41f3feda --Sig_/6tAL+r_00IMXjHNCYZ=UOdA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 26 Apr 2009 19:31:12 +0800 Chuanwen Wu <wcw8410@gmail.com> wrote: > Hi, > My gentoo failed to boot up. When my gentoo is booting up, after the mess= age > devpts > "mounting devpts at /dev/pts OK", > then it just stoped, and then I pressed "CTRL + c" to interrupt it, and t= he > message: > "Failed to start /etc/init.d/checkroot=E2=80=9C appeared. ... > How to fix this problem? It seems a bit strange that checkroot gave no output, just failure - as if it's execution didn't even started, and, since it's one of the first initscripts to start, prehaps there's a problem with bash interpreter or access to init.d path. Since you've mounted filesystem and it looks okay, you can try changing last two columns in /etc/fstab for root filesystem to "0 0", so script won't try to check it - that way you can see if it's something with fsck - prehaps the system will just boot. Then, if the rest of the initscripts won't throw some similar errors (possibly exposing the real problem), you can probably insert a lot of echoes/einfos to that initscript to see at which point everything hangs and check what's wrong with the command causing it. --=20 Mike Kazantsev // fraggod.net --Sig_/6tAL+r_00IMXjHNCYZ=UOdA Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkn0awAACgkQASbOZpzyXnHO7gCfXZq+OS/umS7UVYE04/gYvXWG qJcAnisaA8adRlYEmt7FEK363FCoFJJv =zJsc -----END PGP SIGNATURE----- --Sig_/6tAL+r_00IMXjHNCYZ=UOdA--