Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: Add additional information for EFI systems #5808

Open
wants to merge 1 commit into
base: rhel-10
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions scripts/log-capture
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,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
Loading