[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 comedia it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]