help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub2-install: Couldn't find physical volume ‘(null)’.


From: Sam Varshavchik
Subject: grub2-install: Couldn't find physical volume ‘(null)’.
Date: Sun, 10 Apr 2016 22:03:49 -0400

grub 2.02, Fedora x86-64.

I have /dev/sda and /dev/sdb in a RAID-1 configuration. This is the Linux kernel's md-raid driver.

/dev/sda started failing SMART.

I ran /sbin/grub2-install /dev/sdb. My recollection is that it ran without any complaints.

After that, I yanked out /dev/sda. I reattached /dev/sdb as /dev/sda, and put in a new hard drive as the new /dev/sdb.

I booted up, and kicked off a rebuild of my RAID-1 volumes, everything is going well.

Now, after all of that was done, I decided to install grub2 on the new /dev/sdb:

address@hidden ~]# /sbin/grub2-install /dev/sdb
Installing for i386-pc platform.
/sbin/grub2-install: warning: Couldn't find physical volume ‘(null)’. Some modules may be missing from core image.. /sbin/grub2-install: warning: Couldn't find physical volume ‘(null)’. Some modules may be missing from core image..
Installation finished. No error reported.

Now, anyone have any idea what's up with these warnings?

More importantly, should I dare to run /sbin/grub2-install /dev/sda, just to make sure everything is nicely in sync?

P.S., currently I still have one raid volume syncing, but this does not appear relevant.


Attachment: pgpuN_BtlStGC.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]