I installed Ubuntu 10.04 and it is working properly, but today I installed Windows 7 to another partition, and now I did not get any boot menu and automatically Windows is working, Is there any option to get boot menu, or how can I remove Windows 7 and get back to my normal situation? please help me .....
|
feedback
|
|
You need to boot off the Ubuntu CD and re-install the grub boot loader. You should really have installed windows first, then Linux afterwards, and it would have picked up your windows installation automatically and added it to the boot loader. First you will need an Ubuntu Live CD. If you installed Ubuntu from CD then you should already have one. Make sure that the version you have on CD is the same as the version you are running on your computer. Once you have your CD, and have booted off it, select the "Try Ubuntu" (or similar) icon. This will place you in a very familiar Ubuntu desktop environment. Next you have to identify which partition is your boot partition. Go to the Places menus at the top of the screen and mount any filesystems listed there (by clicking on them). The filesystem that opens up and has files similar to this list is the boot filesystem:
The numbers don't matter, just the names. If you see such things as Make a note of the filesystem name (in the top of the window). Next you need to open a terminal window, so go to the Applications menu and select Accessories then Terminal. In the terminal type:
and look for the line that contains the name of the filesystem that you are interested in. That line will be prefixed by Now we are ready to replace the master boot record with Grub. In this example I assume your boot device is /dev/sda2 and your filesystem is /media/0d104aff-ec8c-44c8-b811-92b993823444 - replace these with your own filesystem details.
Note you miss out the If any warnings appear try modifying the command to this:
If it all worked you should see this:
You can now reboot the computer and you should have your Grub menu back. | ||||
|
feedback
|
