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 A66C7138A1F for ; Fri, 18 Apr 2014 13:05:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11E87E0B29; Fri, 18 Apr 2014 13:05:51 +0000 (UTC) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by pigeon.gentoo.org (Postfix) with ESMTP id D744AE0AA5 for ; Fri, 18 Apr 2014 13:05:49 +0000 (UTC) Received: from [212.54.42.136] (helo=smtp5.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Wb8UH-0000L7-BC for gentoo-user@lists.gentoo.org; Fri, 18 Apr 2014 15:05:49 +0200 Received: from 53579160.cm-6-8c.dynamic.ziggo.nl ([83.87.145.96] helo=data.antarean.org) by smtp5.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Wb8UH-00041M-0n for gentoo-user@lists.gentoo.org; Fri, 18 Apr 2014 15:05:49 +0200 Received: from eve.localnet (eve.adm.antarean.org [10.55.16.19]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPS id E87354C for ; Fri, 18 Apr 2014 15:05:38 +0200 (CEST) From: Joost Roeleveld To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Allow delay for booting from USB device? Date: Fri, 18 Apr 2014 15:05:48 +0200 Message-ID: <2017095.mMc6i6RRhN@eve> Organization: Antarean User-Agent: KMail/4.11.5 (Linux/3.10.7-gentoo-r1; KDE/4.11.5; x86_64; ; ) In-Reply-To: <415668.55823.bm@smtp111.sbc.mail.gq1.yahoo.com> References: <415668.55823.bm@smtp111.sbc.mail.gq1.yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Ziggo-spambar: - X-Ziggo-spamscore: -1.6 X-Ziggo-spamreport: BAYES_00=-1.9,RDNS_DYNAMIC=0.982,RP_MATCHES_RCVD=-0.652 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: 28343ee1-2e7f-410a-a7f6-2e2c2403a2c0 X-Archives-Hash: e714fa29d73519491dc1b652281f3513 On Friday 18 April 2014 12:02:01 Thomas Mueller wrote: > Is there a way to make Gentoo or other Linux allow extra time when root is > on a USB device? Any way to say "just a second" or more like 15 seconds > before aborting with the message that root partition does not exist? > > In this case it's an IDE hard drive in a USB enclosure. > > FreeBSD seems to handle this situation better. I would get a > mountroot> > prompt, to which I would respond > ufs:/dev/ada0p3 > and be good. > > I could avoid this situation with /boot/loader.conf > > legal.realtek.license_ack=1 > rsu-rtl8712fw_load="YES" > kern.cam.scsi_delay="13000" # Delay (in ms) before probing SCSI > kern.cam.boot_delay="16000" # Delay (in ms) of root mount for CAM bus > hint.re.0.disabled="1" > > but don't know if Linux has anything like this. > > Only lines 3 and 4 are relevant to this issue; other lines are for different > issues. > > Tom Try adding " rootdelay = 15 " to the kernel commandline. This should make the kernel wait 15 seconds before trying to access the root- device. See: http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re58.html I used this myself in the past when booting from USB-devices. Kind regards, Joost