Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
Try booting up to First or Last Drive containing Ubuntu by the same way you select the liveCd or Live USB Drive Boot devices from Boot menu for installation, it will boot you into Ubuntu . After that just run sudo update-grub . – atenz Jul 30 '12 at 6:59
"because Firefox has all of my bookmarks and cookies" these will be in the /home partition you created and should be available from the 'new' 12.04's file manager – 23 93 26 35 19 57 3 89 Jul 30 '12 at 7:11
Have you tried reinstalling grub from a livecd?… – 23 93 26 35 19 57 3 89 Jul 30 '12 at 7:14
yes, I tried that when I install the new version of ubuntu 12.04 on the 3rd hard drive but it did not find ubuntu 12.04 on my first hard drive. The kernal and boot info must missing. – user80170 Jul 31 '12 at 4:09
Please indicate your Boot-Info URL. – LovinBuntu Aug 2 '12 at 14:01

Yes, you can update GRUB. Boot a LiveCD, and then follow this guide: to chroot into your install of Ubuntu, and then run 'update-grub'.

share|improve this answer
How update-grub will help, if he lost his kernel and also the boot information – Anwar Shah Jul 30 '12 at 7:03
Also, you are giving instruction for Gento linux to an Ubuntu user. They are significantly different, especially in boot/grub issue – Anwar Shah Jul 30 '12 at 7:04
Yes, Very fine. We can happily mount a partition with /dev/hda3in Ubuntu !!! – Anwar Shah Jul 30 '12 at 7:10
I edited the answer with link to ubuntu grub chroot – 23 93 26 35 19 57 3 89 Jul 30 '12 at 7:30
Here is the end of my comment. The shell is Busybox v1 18.5. I tried the "sudo apt-get install linux-image [version] linux-headers [version] command but it said "sudo is not recognized". So it looks like I don't have a kernal and boot information. Where do I run this sudo apt-get command if Busybox does not have sudo in it? I really appreciate everybody's help! – user80170 Jul 31 '12 at 3:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.