在重新引导系统的过程中,如果系统不支持快速重新引导功能,则引导归档文件的自动更新将失败。此问题可能导致系统无法从相同的引导环境重新引导。
在这种情况下,将显示类似下面的警告,并且系统进入系统维护模式:
WARNING: Reboot required. The system has updated the cache of files (boot archive) that is used during the early boot sequence. To avoid booting and running the system with the previously out-of-sync version of these files, reboot the system from the same device that was previously booted.
svc:/system/boot-config:default SMF 服务包含 auto-reboot-safe 属性,该属性缺省设置为 false。将该属性设置为 true 将指明系统的固件以及缺省 GRUB 菜单项均设置为从当前引导设备引导。可更改该属性的值,从而可以清除失败的自动引导归档文件更新,如以下过程中所述。
# reboot
# svccfg -s svc:/system/boot-config:default setprop config/auto-reboot-safe = true
# svccfg -s svc:/system/boot-config:default listprop |grep config/auto-reboot-safe config/auto-reboot-safe boolean true