From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CC98F138A1A for ; Tue, 20 Jan 2015 05:03:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16F6AE09D5; Tue, 20 Jan 2015 05:03:47 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53A82E089C for ; Tue, 20 Jan 2015 05:03:46 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YDQyd-0004YY-Ch for gentoo-amd64@lists.gentoo.org; Tue, 20 Jan 2015 06:03:43 +0100 Received: from ip68-231-22-224.ph.ph.cox.net ([68.231.22.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jan 2015 06:03:43 +0100 Received: from 1i5t5.duncan by ip68-231-22-224.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jan 2015 06:03:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-amd64] Re: busybox-1.23.0 not assembling RAID root Date: Tue, 20 Jan 2015 05:03:36 +0000 (UTC) Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip68-231-22-224.ph.ph.cox.net User-Agent: Pan/0.140 (Chocolate Salty Balls; GIT 384fc54) X-Archives-Salt: 5a28d1db-ac09-46d5-ad3f-21a3c6a773c2 X-Archives-Hash: b4fed10eb4fe66afa48a3261f7ca6a5f Randy Barlow posted on Mon, 19 Jan 2015 21:34:54 -0500 as excerpted: > On January 19, 2015 4:55:30 PM EST, Mark Knecht > wrote: >>The failure is three messages: >> >>/init: line 16: mount: not found >>/init: line 17: mount: not found >>/init: line 18: mount: not found >> >>which appear to correlate with lines 16-18: >> >>mount -t proc none /proc >>mount -t sysfs none /sys >>mount -t devtmpfs none /dev > > Have you tried using a full path to the mount command? Disclaimer: I've not had busybox on my system since I switched to gentoo in 2004[1], so don't expect me to be much help with busybox-specific stuff. That said, the error is clear enough... mount isn't found on the path. That's almost certainly one of two problems, both with straightforward solutions: 1) Missing mount -> busybox symlink. (Most likely.) 2) That symlink not in the path, for some reason. If the symlink's in the initr*, that'd be #2, so either adjust the path accordingly before calling mount, or as Randy suggests, call mount using the full path. If instead the symlink's not there at all, as I suspect, that's #1. Ensure that the symlink is available before attempting to use it, either by placing it in the initr* at initr* build-time, or by using bitlord's suggestion (busybox --install -s prior to invoking mount). Presumably something changed in the new busybox and it's documented somewhere, for example that initr*s are expected to run busybox --install -s if they use the mount symlink now, or the like, and if I used busybox I'd probably know about it from some time ago since I run ~arch, and could then explain what and why, but since I don't... well I already said "presumably". --- [1] Busybox wouldn't build then for some reason so I bypassed/ package.provided it, and I've never needed it as I keep what amounts to a second copy of the system as a backup, with the copy taken when the system was known working and stable, and tested by booting with root= pointing at the backup before I trust it just as I would in an emergency, as my emergency-boot, so I've simply never bothered with busybox. Of course these days I run a custom profile with a totally empty @system (all normal @system packages have a negating entry leaving nothing in @system), and all the not-otherwise-depended packages I actually need in @world, and since I don't need busybox and it's not a dependency of anything I run, it's simply not there. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman