Skip to content

Commit

Permalink
util: Add additional information for EFI systems
Browse files Browse the repository at this point in the history
Resolves: RHEL-55128
  • Loading branch information
jcpunk committed Aug 19, 2024
1 parent 17c5887 commit fc176fe
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scripts/log-capture
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,20 @@ _to_log dmesg
_to_log dmidecode
_to_log lspci -vvnn

# run fdisk -l on all disks
for DEV_NAME in $(list-harddrives | cut -d " " -f 1)
do
_to_log fdisk -l /dev/${DEV_NAME}
_to_log blkid --probe /dev/${DEV_NAME}
done
for PART in $(blkid -d':' -f1)
do
_to_log blkid --probe ${PART}
done

_to_log ls -lR /dev
_to_log parted -l
_to_log lsblk --all --topology
_to_log blkid --output-all
_to_log ls -l /sys/firmware/efi/efivars
_to_log dmsetup ls --tree
_to_log lvm pvs
_to_log lvm vgs
Expand Down

0 comments on commit fc176fe

Please sign in to comment.