public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joost Roeleveld <joost@antarean.org>
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	[thread overview]
Message-ID: <2017095.mMc6i6RRhN@eve> (raw)
In-Reply-To: <415668.55823.bm@smtp111.sbc.mail.gq1.yahoo.com>

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


  reply	other threads:[~2014-04-18 13:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18 12:02 [gentoo-user] Allow delay for booting from USB device? Thomas Mueller
2014-04-18 13:05 ` Joost Roeleveld [this message]
2014-04-18 14:01   ` Brian Hesdorfer
2014-04-18 17:38     ` Joost Roeleveld
2014-04-18 17:49       ` Brian Hesdorfer
2014-04-19 21:20         ` [gentoo-user] " Jonathan Callen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2017095.mMc6i6RRhN@eve \
    --to=joost@antarean.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox