I have a computer with 3 hard drives on it. I have Ubuntu 12.04 on my newest and biggest hard drive and Windows XP on my 2nd hard drive and a old version of Ubuntu 7.04 on the third hard drive.
Everything was working perfectly and I was using Grub to choose between the different systems. I was using Windows XP and it automatically did some upgrades and the next time I tried to use Windows XP, it would not not boot up. So I tried using the Windows XP CD to repair it and I used a dos command like a dltmbr
or something similar to it and when I tried to boot into Ubuntu 12.04 it would not boot!
I tried the the boot-repair to fix it but it said that Ubuntu 12.04 is not there and only Windows XP and Ubuntu 7.04 were the only selections. So I tried to install Ubuntu 12.04 hoping it would find it and fix grub and it could not find it either.
I installed a new version of Ubuntu 12.04 over Ubuntu 7.04 on the 3rd hard drive by mistake. It does not cause a problem and I can see my files in Windows XP and Ubuntu 12.04 on the first hard drive. When I installed Ubuntu 12.04 on the first hard drive I created a separate home partition so all of my files are safe.
I want to know how I can update grub or change something in Ubuntu 12.04 on my first hard drive so it will boot up. I believe the kernel is missing and that is why grub can't find it. I need to access Ubuntu 12.04 on my first hard drive because Firefox has all of my bookmarks and cookies and I don't want to start over again. Any help on this would be great!
sudo update-grub
.