
RedHawk Linux 9.2.xカーネルでrescueイメージを再作成する方法 最終更新 2026.08.28
# rm -f /boot/*-rescue-*
# /usr/lib/kernel/install.d/51-dracut-rescue.install add `uname -r` "" /lib/modules/`uname -r`/vmlinuz
# ls -l /boot/*-rescue-*
-rw------- 1 root root 134848981 8月 28 17:07 /boot/initramfs-0-rescue-045f618b1a1841779e9e9e24c6ac3f90.img
-rw-r--r-- 1 root root 9844656 8月 28 17:05 /boot/vmlinuz-0-rescue-045f618b1a1841779e9e9e24c6ac3f90
# sha512hmac /boot/vmlinuz-0-rescue-$(cat /etc/machine-id) > /boot/.vmlinuz-0-rescue-$(cat /etc/machine-id).hmac
セッション開始直後の起動アプリ選択画面をDISABLEにする方法 最終更新 2026.08.26
#!/usr/bin/sh
# Monitoring time in tenths of seconds
MTIME=50
for ((i=0; i<${MTIME}; i++)); do
read -r DUMMY DUMMY IS_OVERVIEW <<< "$(dbus-send --print-reply=literal --session --dest=org.gnome.Shell --type=method_call /org/gnome/Shell org.freedesktop.DBus.Properties.Get string:org.gnome.Shell string:OverviewActive)"
if [[ "${IS_OVERVIEW}" = "true" ]] ; then
/usr/bin/dbus-send --session --dest=org.gnome.Shell --type=method_call /org/gnome/Shell org.freedesktop.DBus.Properties.Set string:org.gnome.Shell string:OverviewActive variant:boolean:false
exit
fi
sleep 0.1
done
[Desktop Entry]
Type=Application
Exec=/usr/libexec/no-overview-at-startup
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=No Overview at Start-up
Name=No Overview at Start-up
Comment[en_US]=Disable overview mode right after login
Comment=Disable overview mode right after login
# chmod 755 /usr/libexec/no-overview-at-startup