I think previous one is not good as normal mode is nested so that normal_exit wouldn't back to rescue mode in the first place. It'd be better to exit current normal mode and start a new one from rescue mode. set btrfs_relative_path="yes" search --fs-uuid --set=root e8048408-27ab-4d44-ad40-1000c0253f83 set prefix=(${root})/boot/grub2 normal_exit normal