satu HDD jatuh dari RAID saya dan saya menambahkan HDD baru.
Sekarang saya ingin menginstal GRUB ke HDD baru: with grub-install /dev/sdb
. Saya mendapat peringatan ini:
Installing for i386-pc platform.
grub-install: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
grub-install: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Installation finished. No error reported.
Pada update-grub2
saya dapatkan:
Generating grub configuration file ...
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Found linux image: /boot/vmlinuz-3.13.0-30-generic
Found initrd image: /boot/initrd.img-3.13.0-30-generic
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some modules may be missing from core image..
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done
Output dari cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md3 : active raid1 sdb4[3] sda4[2]
1847608639 blocks super 1.2 [2/2] [UU]
md1 : active raid1 sdb2[3] sda2[2]
524276 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sdb3[3] sda3[2]
1073740664 blocks super 1.2 [2/2] [UU]
md0 : active raid1 sdb1[3] sda1[2]
8387572 blocks super 1.2 [2/2] [UU]
unused devices: none
Saya menginstal ulang kedua kernel dengan apt-get install --reinstall
tetapi kesalahan / peringatan ini masih ada.
Adakah yang tahu bagaimana saya bisa menyingkirkan mereka?
Memperbarui:
Karena itu hanya peringatan, bukan kesalahan (dan GRUB harus tetap di sda) saya me-restart sistem. Sistem boot dan peringatan hilang. Saya tidak tahu apa yang memicu peringatan itu.
grub-install /dev/md1
, tetapi Anda yakin Anda membutuhkan grub di perangkat md? Apakah Anda boot dari perangkat md?
cat /proc/mdstat
sini.