From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264582AbUEDS5K (ORCPT ); Tue, 4 May 2004 14:57:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264588AbUEDS5K (ORCPT ); Tue, 4 May 2004 14:57:10 -0400 Received: from [195.23.16.24] ([195.23.16.24]:20895 "EHLO bipbip.comserver-pie.com") by vger.kernel.org with ESMTP id S264582AbUEDS4Q (ORCPT ); Tue, 4 May 2004 14:56:16 -0400 Message-ID: <4097E693.3090501@grupopie.com> Date: Tue, 04 May 2004 19:53:07 +0100 From: Paulo Marques Organization: GrupoPIE User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 To: Bill Catlan Cc: "Randy.Dunlap" , linux-kernel@vger.kernel.org Subject: Re: Possible to delay boot process to boot from USB subsystem? References: <003201c4309c$fd93cd90$0202a8c0@boxa> <20040502182731.1e1cced6.rddunlap@osdl.org> <003d01c4314d$9118c920$0202a8c0@boxa> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.16; VAE: 6.25.0.3; VDF: 6.25.0.47; host: bipbip) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Bill Catlan wrote: > Randy, > > Thanks for the patch, but it does not work for 2.4.26. The kernel panic I get > ("Kernel panic: No init found. Try passing init= option to kernel.") is > generated by the init() function in init/main.c. Willy's patch applies to > init/main.c, perhaps yours should now as well (i.e., in later kernels)? (I have > not tested Willy's patch, but he claims success with a 2.4.23 kernel.) This is a completely different error from "VFS: Cannot open root device" or "unable to mount root". Are you sure you have a "/sbin" directory with an *executable* "init" file on the usb harddrive? Does your init file depend on libraries that you do not have under "/lib"? (you can check with "ldd init") If your init is a script, does it specify a complete path to the interpreter, and do you have an *executable* interpreter there? Does the interpreter require libraries or is it static? I hope this helps, -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?"