Embedded Linux development
 help / color / mirror / Atom feed
* determine boot device in initrd
@ 2011-01-20  9:57 Jacob Avraham
  2011-01-22  2:48 ` Rob Landley
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Avraham @ 2011-01-20  9:57 UTC (permalink / raw)
  To: linux-embedded@vger.kernel.org

Hi,

I have a system with several USB disks, each of them is boot-capable.
Each such device has a kernel and initrd in its filesystem.
I want to be able to determine in initrd from which USB device it (and the kernel) were
loaded from, so I can mount the root filesystem from that device.
Is that doable?
I don't want to use a static "root=" entry in grub, since I don't know which sd device it will be.

Thanks,

Jacob Avraham

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-22  2:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20  9:57 determine boot device in initrd Jacob Avraham
2011-01-22  2:48 ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox