我怎样才能找到GRUB的安装位置?

Modified on: Tue, 17 Sep 2019 19:40:02 +0800

我需要找到GRUB的安装位置,例如,哪个驱动器/分区。是否有可能弄清楚它的安装位置?

最佳答案

查看引导信息脚本

# ./boot_info_script.sh 

boot_info_script version: 0.60        [17 May 2011]

Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Searching sda1 for information... 
Searching sda2 for information... 
Searching sda3 for information... 
Searching sdb1 for information... 

Finished. The results are in the file "RESULTS.txt"
located in "/root/".

和结果:

============================= Boot Info Summary: ===============================

 => Grub Legacy0.97 is installed in the MBR of /dev/sda and looks at sector 
    178241 on boot drive #1 for the stage2 file.  A stage2 file is at this 
    location on /dev/sda.  Stage2 looks on partition #1 for /grub/grub.conf..
 => No boot loader is installed in the MBR of /dev/sdb.
作者:quanta

相关问答

添加新评论