Re: new 12.04 install grub 2 boot problem
Hello, James2b.
About forcing Grub to install into the boot sector of a partition:
Code:
sudo grub-install --verbose --force /dev/sda7
This will force Grub to install into the boot sector of the partition /dev/sda7.
About limits imposed by EasyBCD
To the best of my knowledge (based on my own experience) EasyBCD will only see and add to the Windows bootmgr boot menu a single Linux installation.
By default this will be the first Linux installation on the disk. But as you have found out, it can also be the second one.
Your setup seems to be pretty similar to mine (except for the versions and the exact partition numbers):
(1) Windows 7 on /dev/sda1
(2) Ubuntu 12.04.1 on /dev/sda5
(3) Linux Mint 13 on /dev/sda6
By using EasyBCD booting Linux Mint - second Linux installation - would work like this:
(1) Windows bootmgr chain boots the boot sector of /dev/sda5
(2) This brings up the Ubuntu 12.04 Grub boot menu
(3) From where Mint is selected and launched by the Ubuntu 12.04 Grub
Workarounds:
- The easiest way out of this situation is by installing Grub2 into the MBR of /dev/sda and by making the Grub menu offer to launch all 3 OSes.
A simple should be sufficient to achieve the goal. - The more complicated way is by making the Windows bootmgr do this job.
- It is more complicated, because Windows bootmgr cannot pass control to Linux Grub. Instead it has to chainload the boot sectors of /dev/sda5 or /dev/sda7.
- bootmgr cannot address /dev/sda5 or /dev/sda7 because Windows does not understand ext4 filesystems. So we have to create copies of the 2 boot sectors of /dev/sda5 and /dev/sda7, put the copies as files on drive C:
- Finally, we need to add the 2 boot options to the Windows boot menu manually telling bootmgr to chainload the 2 boot sectors. (EasyBCD cannot do so.)
This reads much more complicated than it really is.
Basically for each Linux distribution which you want to add to the Windows 7 boot menu you follow these steps carefully:
Howto boot Linux from Windows 7 Boot Manager
(Make sure you modify the given commands to match your environment or you may mess up your Windows boot menu.)
Kind regards,
Karl
Last edited by Karlchen; December 2nd, 2012 at 04:06 PM.
Enlightened by Lucid Lynx, enchanted by Maya Mint, trusting the Tahr.
Bookmarks