From fc176fef148e969f50821d677e9448ed462908ba Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Mon, 15 Jul 2024 15:52:20 -0500 Subject: [PATCH] util: Add additional information for EFI systems Resolves: RHEL-55128 --- scripts/log-capture | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/log-capture b/scripts/log-capture index 6294bf3b36f..b7cffcf921c 100755 --- a/scripts/log-capture +++ b/scripts/log-capture @@ -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