Currently browsing tag

Linux

遇到 initramfs-4.18.0-348.20.1.el8_5.x86_64.img not found 問題

開機的時候出現下列訊息: error: ../../grub-core/fs/fshelp.c:258:file`/initramfs-4.18.0-348.20.1.el8_5.x86_64.img’ not found. Press any key to continue… 先重新開機到正常的 kernel 然後,用 dracut 工具重新建立 image. # dracut /boot/initramfs-4.18.0-348.20.1.el8_5.x86_64.img 4.18.0-348.20.1.el8_5.x86_64 重新開機後應該可以解決

ipmi SOL (Serial Over LAN)

居然有這麼好用的工具,可以遠端控制 console。相見恨晚 # /usr/bin/ipmitool -I lanplus -H 192.168.1.32 -U root -P ‘xxxxxxxx’ sol activate# /usr/bin/ipmitool -I lanplus -H 192.168.1.32 -U root -P …

CentOS7 安裝 lustre server with zfs via dkms

之前有寫一篇「安裝 lustre with dkms」給 lustre client 的筆記。這次則是要分享如何用 yum rpm 安裝 lustre server zfs 版本。 安裝 kernel-devel 套件 # yum install kernel-devel -y …

Linux 刪除檔案而沒釋放空間

# dfFilesystem 1K-blocks Used Available Use% Mounted on/dev/mapper/centos_gp8-root 52401156 52401136 20 100% /# rm -rf /var/log/nv-hostengine.log# dfFilesystem 1K-blocks Used Available Use% Mounted …

在 mac 檢查下載的檔案是否正確

% cat CHECKSUM—–BEGIN PGP SIGNED MESSAGE—–Hash: SHA256 # AlmaLinux-8.3-x86_64-boot.iso: 668991488 bytesSHA256 (AlmaLinux-8.3-x86_64-boot.iso) = 08fd99fab31277ea3710bfc1ccb8a7229522af5d3987d5b062739cb0dc3b5e3e# AlmaLinux-8.3-x86_64-dvd.iso: 9224323072 bytesSHA256 (AlmaLinux-8.3-x86_64-dvd.iso) = a2ca2ff3de3e7c0707b042994e1947a8ce81d16ba5c869d6ecf8f4d4dd88eee2# AlmaLinux-8.3-x86_64-minimal.iso: 1852833792 …