Saya sudah sering digigit oleh hal ini, dan hari ini setelah openssl
pembaruan di server saya grub mengeluh bahwa saya harus menginstalnya lagi karena "hard disk yang sebelumnya diinstal tidak ada".
Saya memiliki instalasi raid 1 dengan pengaturan berikut (sesuai dengan bootinfoscript):
> ============================= Boot Info Summary: ===============================
>
> => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at
> sector 1 of the same hard drive for core.img. core.img is at this location and looks
> for (mduuid/d2a04f98760e2b3cc23ba87845667605)/grub on this drive.
>
> => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
> the same hard drive for core.img. core.img is at this location and looks
> for (mduuid/d2a04f98760e2b3cc23ba87845667605)/grub on this drive.
My mount points are:
> /dev/md2 on / type ext4 (rw)
> /dev/md1 on /boot type ext3 (rw)
And mduuid seems to match the ones bootinfoscript mentions:
> ls -l /dev/disk/by-id/md-uuid-*
>
> lrwxrwxrwx 1 root root 9 Mar 19 11:37 /dev/disk/by-id/md-uuid-38048286:e3004e47:510ca3e1:2bae3f2e -> ../../md2
>
> lrwxrwxrwx 1 root root 9 Mar 19 11:37 /dev/disk/by-id/md-uuid-d2a04f98:760e2b3c:c23ba878:45667605 -> ../../md1
>
> lrwxrwxrwx 1 root root 9 Mar 19 11:37 /dev/disk/by-id/md-uuid-e099b695:0143bb58:e4ef7645:0f22ce0b -> ../../md0
Menjalankan grub-install berfungsi, tetapi saya ingin memastikan bahwa setelah reboot grub akan benar-benar mem-boot partisi saya.
Bagaimana saya bisa memverifikasinya?