Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.sys.hp.hpux FAQ
Section - 5.3.5 How can I determine which disk is the boot disk?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Property taxes ]


Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.3.4 Why can't I use all of my swap space?
Next Document: 5.3.6 Why does pfs_mount fail with the message 'Not Owner' when I try to use it?
See reader questions & answers on this topic! - Help others by sharing your knowledge

There are at least two ways to do this:

o Use "lvlnboot -v" (must be root); this command also reports additional
  information on volume groups and logical volumes:

  # lvlnboot -v `vgdisplay | grep "VG Name" | awk '{print $3}'`
           ...
           /dev/dsk/c0t5d0 (8/4.5.0) -- Boot Disk
           ...

o Use setboot. This command also reports the alternate bootpath, as well
  as whether Autoboot and Autosearch are enabled.  However, it does not
  print the disk device names as lvlnboot does.

  $ setboot
  Primary bootpath : 8/4.5.0
  Alternate bootpath : 8/4.10.0

  Autoboot is ON (enabled)
  Autosearch is OFF (disabled)

To determine which disk the currently running kernel was booted from, use
adb as follows (must be root):

  # KERNEL=/stand/vmunix  # set this var to the currently running kernel
  # echo 'boot_string/S' | adb $KERNEL /dev/mem | grep /
    boot_string:    disc(8/4.5.0;0)/stand/vmunix

On 11.x, the path of the currently running kernel can be obtained using
the kmpath command (see subject 8.2.4).

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.3.4 Why can't I use all of my swap space?
Next Document: 5.3.6 Why does pfs_mount fail with the message 'Not Owner' when I try to use it?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com





Last Update March 27 2014 @ 02:11 PM