lkml.org 
[lkml]   [2004]   [May]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 17 May 2004 06:29:04 +0200
FromWilly Tarreau <>
SubjectRe: root fs on usb - is patching kernel still needed?
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2008