Re: Which device did I boot from?

From: Arjan van de Ven
Date: Sun Apr 16 2006 - 13:50:25 EST


On Fri, 2006-04-14 at 14:13 -0700, William Estrada wrote:
> Hi group,
>
> Is there a way to determine which device I have booted from?

that may be really hard; EDD can tell you what disk your bios will try,
but remember that you may have booted from USB (not covered by EDD) or
even ethernet (using PXE). The kernel doesn't know... since all it knows
is that the bootloader put it into memory somewhere

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