I have a quadroboot OS installation environment in my primary laptop.
- Ubuntu (primary OS)
- Kali
- Fedora
- Windows 7
I decided to upgrade my Ubuntu installing to the latest 15.04. As soon the upgrade completed and rebooted, I noticed the GRUB menu was no longer displaying my Fedora 21 environment. The problem was because I had installed Fedora under an LVM partition, while the others weren't.
Restoring boot access to Fedora was fairly simple.
First, I had install lvm2 package in Ubuntu so it's able to view and configure the LVM
[email protected]5:~$ sudo apt-get install lvm2
Then I had to activate the Volume Group.
[email protected]:~$ sudo vgchange -a y
After updating the Volume Group, I was able to verify that Ubuntu was able to my Fedora 21 install.
[email protected]:~$ sudo os-prober
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda6:Debian GNU/Linux (Kali Linux 1.0):Debian:linux
/dev/mapper/fedora-root:Fedora release 21 (Twenty One):Fedora:linux
So the last step was to generate a new grub config.
[email protected]:~$ sudo grub-mkconfig > /boot/grub/grub.cfg