mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Willy Tarreau <willy@w.ods.org>
To: Tomasz Chmielewski <mangoo@interia.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: root fs on usb - is patching kernel still needed?
Date: Mon, 17 May 2004 06:29:04 +0200	[thread overview]
Message-ID: <20040517042903.GB578@alpha.home.local> (raw)
In-Reply-To: <40A7BDBC.9010209@interia.pl>

Hi,

On Sun, May 16, 2004 at 09:15:08PM +0200, Tomasz Chmielewski wrote:
> Are there any solutions for this problem in stable or pre- kernel tree 
> yet (2.4 or 2.6)? If not, will such a solution be ever included in a 
> stable kernel?

AFAICT, none has been merged (yet).

> Or maybe are there any easier solutions for this (some lilo or grub 
> option?)

An initrd might do the trick, although it's sometimes unconvenient to use :
- lilo (or grub) loads the initrd into memory
- lilo (or grub) loads the kernel and executes it
- the kernel sees the initrd and mounts it and executes /linuxrc
- linuxrc can load USB modules and wait the required amount of time
- linuxrc then mounts the root fs and does the pivot_root() and exits
- the kernel finally boots /sbin/init from your USB FS.

Regards,
Willy


      reply	other threads:[~2004-05-17  4:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-16 19:15 Tomasz Chmielewski
2004-05-17  4:29 ` Willy Tarreau [this message]

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=20040517042903.GB578@alpha.home.local \
    --to=willy@w.ods.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mangoo@interia.pl \
    /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

all inboxes | Powered by JetHome®