Ubuntu 9.04/9.10 and install GRUB
Everyone knew that my poor hard days of life he had left was a foregone conclusion, was clear, but I, in my selfless tozuderÃa was reluctant to change. So once I had obtained a new hard drive for my laptop, I got down to work.
Why I am telling you all this? Because I've had to format and install ubuntu (and M $ Window $ $) from scratch, and I found some details that struck me.
know I always recommend first installing Window $ $ and then ubuntu will not have to restart the live cd and restore the grub, but at home the wooden knife smith. And I found a problem:
-Install Ubuntu-installed Windows
-entered with the Live CD installation
- Amount of ubuntu partition on mnt:
sudo mount / dev/sda1 / mnt
- I run the classic
sudo grub-install - root-directory = / mnt / dev / sda
- No reported bugs.
- Reboot the laptop. So far so normal, with the previous Ubuntu 8.04 and this would have sufficed. But no. Ubuntu starts automatically and shows me the option of starting with other operating system.
I go into my new ubuntu, look for the classic file / boot / grub / menu.lst
is not. Investigated tree / boot. It is not. The only thing I find is a file in / boot / grub / grub.cfg that contains entries similar to the now extinct
menu.lst file in the same key is:
must run the command: grub-mkconfig. More specifically: sudo grub-
mkconfig-o / boot / grub / grub.cfg
And presto, it creates a new file detected grub.cfg yes filthy Window $ $.
I have to say that, having researched a bit before installing the hard way, you should have run that command from the Live CD immediately after doing the grub-install.
any doubt, you can write to: ubuntulinuxafondo@googlegroups.com