um disco rígido caiu do meu RAID e eu adicionei um novo disco rígido.
Agora eu queria instalar o GRUB no novo HDD: with grub-install /dev/sdb
. Eu recebo estes avisos:
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.
Em update-grub2
eu recebo:
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
Saída de 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
Eu reinstalei os dois kernels com apt-get install --reinstall
mas esses erros / avisos persistem.
Alguém sabe como posso me livrar deles?
Atualizar:
Como era apenas um aviso, não um erro (e o GRUB ainda precisa estar no sda), reiniciei o sistema. O sistema inicializou e os avisos sumiram. Não sei o que desencadeou os avisos.
grub-install /dev/md1
, mas tem certeza de que precisa do grub no dispositivo md? Você inicializa a partir do dispositivo md?
cat /proc/mdstat
aqui.