[linux-lvm] Determine boot disk device name...

Luca Berra bluca at comedia.it
Wed Oct 27 05:52:44 UTC 2010


On Sat, Oct 23, 2010 at 10:58:03PM -0400, Jon Price wrote:
>Hi,
>For starters, how can I determine the physical device name of current/active
>boot disk in Linux?
which architecture?

with x86 it is impossible to determine from what device the current
system has booted, and it is very difficult to guess which device will
be used to boot next time, this is why grub uses a device map to
associate bios hard disks to devices, which is configured at install
time.

On different arches you could have some interface to query nvram.

L.

-- 
Luca Berra -- bluca at comedia.it
         Communication Media & Services S.r.l.
  /"\
  \ /     ASCII RIBBON CAMPAIGN
   X        AGAINST HTML MAIL
  / \




More information about the linux-lvm mailing list