Unix Display Boot Disk Information

In old versions of Unix, you can display information about the boot disk by typing the "bootinfo" command. In modern Unix systems, you replace this with "parted."

  1. Display Information About All Disks

    • Type the following into a terminal:

      sudo parted -l

      You will need to enter a password. The boot disk will contain a boot flag.

    Display Information on Only Bootable Disks

    • Type the following into a terminal:

      sudo parted -l | grep -e "boot" -e "/dev/" -e "Flags"

      Again, you will need to enter a password, because only administrators have access to the partition table.

    Dangers

    • Be careful when using the parted command. While the "-l" flag only lists partitions, other parted commands are capable of altering the partition table and potentially making the computer unbootable.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured