PDA

View Full Version : [ubuntu] 12.04 not in booting menu



awinw
April 30th, 2012, 04:38 PM
please help
besides 10.04, I partition a new 18GB for installing 12.04 with live CD.
the 12.04 was successfully installed,
when I reboot, 12.04 is not on the booting menu,
it was the original 10.04 menu.

when I review 10.04 grub.cfg, no 12.04 in it. but
in 12.04 grub.cfg, there are both 12.04 and 10.04 in it.

Can I replace 10.04 grub.cfg with this 12.04 grub.cfg

sudodus
April 30th, 2012, 04:42 PM
Boot into your old system (10.04), run

sudo update-grub and reboot! I think that will give you grub menu entries for 12.04.

kc1di
April 30th, 2012, 04:46 PM
please help
besides 10.04, I partition a new 18GB for installing 12.04 with live CD.
the 12.04 was successfully installed,
when I reboot, 12.04 is not on the booting menu,
it was the original 10.04 menu.

when I review 10.04 grub.cfg, no 12.04 in it. but
in 12.04 grub.cfg, there are both 12.04 and 10.04 in it.

Can I replace 10.04 grub.cfg with this 12.04 grub.cfg

The Problem is that 12.04 uses ext4 file system which grub legacy used by 10.04 can't boot. You would be better off installing 12.04's grub 2 which should find 10.04 and boot both systems.

Here's a page that may be of help:

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

sudodus
April 30th, 2012, 04:56 PM
The Problem is that 12.04 uses ext4 file system which grub legacy used by 10.04 can't boot. You would be better off installing 12.04's grub 2 which should find 10.04 and boot both systems.

Here's a page that may be of help:

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

The method suggested in post #2 works for me with exactly those two versions of Ubuntu, so try update-grub before trying something more advanced. If you want more details about grub, or if you want grub pointing to your 12.04 partition, have a look also at this link
http://ubuntuforums.org/showthread.php?t=1195275 (http://ubuntuforums.org/showthread.php?t=1195275)

oldfred
April 30th, 2012, 06:18 PM
If you have grub.cfg you have grub2. Grub legacy used menu.lst. Do not copy grub.cfg from one system to another as the versions are different.

Ubuntu also updated its version of grub legacy with 9.04 to read ext4 partitions.

If sudo update-grub does not work, you may have other issues that need to be resolved.

Boot Repair:
https://help.ubuntu.com/community/Boot-Repair
You can repair many boot issues with this or Create BootInfo report & post the link to a run of boot info script so we can see your exact configuration.

awinw
May 1st, 2012, 10:00 PM
Boot into your old system (10.04), run

sudo update-grub and reboot! I think that will give you grub menu entries for 12.04.

ya, it works.
thanks