Today i installed Ubuntu 10.10 in one of my friend’s Desktop which had already Windows xp and Windows 7 installed.
1. I used Ubuntu 10.10 Live CD + Installer and booted using it and clicked on “Install Ubuntu”.
2. Then everything went as usual like selecting location, username, password, etc. When it comes to Partitioning i selected “Specify Partitions Manually”
3. Then i decided to install Ubuntu by formatting the drive which had windows xp.
4. So i did so, Installation was successfull and it said to reboot as the installation has been completed.
5. When i rebooted the system , it went straight away into Ubuntu without displaying the Grub Menu.
6. Eventhough windows 7 is present in another drive GRUB doesn’t detect it.
7. When i looked for solutions into Ubuntuforums.org, i found the solution as:
Boot from Windows 7 CD and try to repair it and not reinstall it.
Repairing in the sense Click on Repair windows and then select COMMAND PROMPT.
On the command prompt that appears type the following command:
After finishing this step you should now be able to go directly into windows 7 instead Ubuntu.
8. So in order to make a dual boot without reinstalling Ubuntu again , boot with Ubuntu live cd and then open terminal in live cd and type the following command:
sudo mount /dev/sda5 /mnt
sudo grub-install –root-directory=/mnt /dev/sda
9. Thats it … you are fixed now. Enjoy Dual OS now.