View Full Version : [ubuntu] repair ubuntu 10.04
aman_d8
December 1st, 2010, 04:13 PM
helllo friends ,
i installed windows xp sp2 and then installed ubuntu 10.04.(dual boooted)..due some other reasons i had to reinstall windows ,now i am not able to dual booot with ubuntu ... i don't want to reinstall ubuntu ,i just need a method to repair ubuntu so that i can again dual boot with ubuntu and windows...
thanks in advance ..:)
cottfcfan
December 1st, 2010, 04:18 PM
Boot into the live CD.
Open a terminal.
Mount the partition that Ubuntu is installed on.
eg. sudo mount /dev/sda1 /mnt (If Ubuntu is on sda1)
then reinstall Grub:
sudo grub-install --root-directory=/mnt/ /dev/sda
This will install Grub, when you boot back into Ubuntu you will need to run.. sudo update-grub
That should do it.
uRock
December 1st, 2010, 04:22 PM
Hello and Welcome to the forums.
This link will give you in depth explanation of how to reinstall the grub boot loader after installing Windows. https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
aman_d8
December 2nd, 2010, 02:55 AM
thanks cottfcfan and urock .... I will try this and let you know ...
aman_d8
December 29th, 2010, 02:45 PM
hello freinds,
I tried the above mentioned method ..but unable to do it properly ....i am attaching the screenshot .....please let me know where is the fault ...
thnks in advance ..:)
cottfcfan
December 29th, 2010, 02:52 PM
I take it your Ubuntu installation is on sda6?
If thats the case then:
sudo mount /dev/sda6 /mnt
then:
sudo grub-install --root-directory=/mnt/ /dev/sda
Then reboot into your Ubuntu system and run:
sudo update-grub
That should do it.
ps. the problem is that you`ve tried installing Grub onto sda6, instead of into the root of sda.
The above commands should work.
aman_d8
January 2nd, 2011, 06:42 AM
happy new year to cottfcfan ,uRock,
I tried the method and it really worked ...
thanks cottfcfan ....thanks alot
thanks uRock....thanks a lot ...
may GOD bless you .... :) :D
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.