PDA

View Full Version : [SOLVED] 12.04.1 LTS Install Not listed in Grub



wagb278
November 5th, 2012, 08:09 PM
I installed Ubuntu 12.04.1 and after a restart Grub lists the old OS (Ubuntu 8.04 LTS) that 12.04.1 replaced (I hope). Selecting 8.04 in grub returns an error - need to install kernel.

From what I could tell, the install of 12.04.1 LTS went okay (quicker than I expected), so maybe the install didn't go right.

I have two hard disks that are partitioned so that I can alternate LTS versions (I am just now getting to the 2012 LTS). Partition sda1 had 08.04 LTS and Partition sdb1 has 10.04 LTS. I believe I installed 12.04 LTS over writing 08.04 LTS on sda1. (sda2 is the mount point for /home shared between the two versions of Ubuntu).

The installer detected the two versions (8.04 and 10.04) and when asked what to do; I used the "Something Else" option which was a little confusing but I believe correctly selected to overwrite 8.04 with 12.04 (formatting that partition as ext4 (was ext3) and use that as the mount point for / (root) and also to use sda2 for mounting /home. I am running 10.04 on the computer in question now and all seems well with that.

There was no Help or information on the install options pages, so I might of messed up, but I don't think so. Side note - Help info would have been nice that explains what you are doing and what the options mean. I would also prefer to see a wizard summary that tells you what is gong to happen before it does anything.

The install came up with a Finish dialog screen; I did not notice any Grub notification at the end of the install, like I have seen on other installs. Did I do wrong using the "Something Else" option? Should I try the replace option - but will that give me the chance to specify which to replace? I can't afford to loose my working 10.04.

I just checked with GParted and partition sda1 is 9.77 GiB with 2.78 GiB used (does that sound right? - should a fresh install be larger than 3 GiB). My 10.04 on sdb1 is using 6.03 GiB, per GParted, but that has stuff installed on it - not a fresh install)

I expected, and want, Grub to list the 10.04 (which I am using to send this post) and the new 12.04 which I have doubts got installed properly. Maybe 12.04 did get installed and it is just a Grub issue?

What is recommended by the community to diagnose and resolve this?

Thanks,
Jim

oldfred
November 5th, 2012, 08:37 PM
I thought it was a little over 4GB is required for a new install. And that left no real room for updates.

Post the link to the BootInfo report that this creates.

Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
https://help.ubuntu.com/community/Boot-Repair
You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.
Full RepairCD with Boot-Repair (for newer computers)
https://help.ubuntu.com/community/UbuntuSecureRemix

ajgreeny
November 5th, 2012, 08:55 PM
You could also try booting from each hard disk in turn; you may have the new 12.04 grub installed on the other of the two disks.

Also try
sudo update-grub in your 10.04 OS which may be all that is needed, and it can do no harm.

wagb278
November 5th, 2012, 11:45 PM
Thanks both -

I think the update-grub solved the problem; but I did use the Boot Repair Disk tool first. I have two results from that tool available:

http://paste2.org/p/2433470 = the bad Grub (does not include 12.04.1)
http://paste2.org/p/2433650 = after doing the update-grub command and is now booting into the new install.

My next issue is that Ubuntu 12.04.1 does not seem to accept my password and allow me to login. But that is not a boot problem, maybe I fat-fingered the password during install; but I doubt it. I can get in using the Guest account.

Thanks again for the assist.

oldfred
November 5th, 2012, 11:53 PM
https://help.ubuntu.com/community/LostPassword
http://www.psychocats.net/ubuntu/resetpassword

You may want to install grub2's boot loader for your 10.04 install to sdb, so you can directly boot it.

Boot into 10.04 and run this:
sudo grub-install /dev/sdb

It looks like when you installed, you installed grub2's boot loader to the partition sda1 not the drive sda.