1.已root身份操作 2.查找grub.conf的位置 命令:whereis grub.conf 结果:grub: /sbin/grub /etc/grub.conf /usr/share/grub /usr/share/man/man8/grub.8.gz 如图: