public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wakko Warner <wakko@animx.eu.org>
To: Tomas Szepe <szepe@pinerecords.com>
Cc: "Karel Kulhavý" <clock@twibright.com>, linux-kernel@vger.kernel.org
Subject: Re: Can't mount USB partition as root
Date: Mon, 29 Dec 2003 13:38:12 -0500	[thread overview]
Message-ID: <20031229133812.A4788@animx.eu.org> (raw)
In-Reply-To: <20031229164539.GD30794@louise.pinerecords.com>; from Tomas Szepe on Mon, Dec 29, 2003 at 05:45:39PM +0100

> > Is it possible to boot kernel with root from /dev/sda1 (USB)?
> > partition table: whole /dev/sda is one partition (sda1), type 83 (Linux).
> > Tried also switching on and off hotplugging in kernel and it didn't help.
> 
> Well, is the device detected and the partition table scanned before the
> root mount is attempted?
> 
> I believe this should work given you've compiled in all the necessary
> code.  Please capture the dmesg using serial console/netconsole/whatever
> and post it along with your .config.

I did this with 2.4 a few months back.  Basically all I did was add the same
delay before mounting root as the kernel does with mounting a root floppy. 
Problem is the kernel is too fast for the usb code to find the disk.

I'v been wanting to ask this question.  How can I make the kernel "sleep"
for say 5 seconds (or pause or something, whatever is required to delay
execution) to wait for the device to become available.  I tried the same
thing doing nfsroot with a cardbus nic which fails because the kernel
doesn't see the card until after it attempted to mount /

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

  parent reply	other threads:[~2003-12-29 18:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-29 16:38 Can't mount USB partition as root Karel Kulhavý
2003-12-29 16:45 ` Tomas Szepe
2003-12-29 17:31   ` Karel Kulhavý
2003-12-29 17:34     ` Tomas Szepe
2003-12-29 18:38   ` Wakko Warner [this message]
2003-12-29 21:14     ` Randy.Dunlap
2003-12-29 16:47 ` Jeff Chua
2003-12-29 17:33   ` Karel Kulhavý
2003-12-29 17:49     ` Tomas Szepe
2003-12-30  2:16       ` Michael Heyse
2003-12-30  9:10       ` Karel Kulhavý
2003-12-30 20:25         ` Tomas Szepe

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=20031229133812.A4788@animx.eu.org \
    --to=wakko@animx.eu.org \
    --cc=clock@twibright.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=szepe@pinerecords.com \
    /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