- Boot your computer with Ubuntu live CD
- Open the terminal and run following command
- sudo grub
- Then you will see a prompt like grub>
- Issue following commands
- grub>find /boot/grub/stage1
- then you will see a result like (hdx,y) , where x and y are natural numbers
- grub>root (hdx,y)
- grub>setup (hdx)
- grub>quit
- Reboot your machine and remove your live CD
Thursday, October 30, 2008
How to recover grub after installing windows
If you install windows on your Ubuntu computer, you will lose the opportunity of using Ubuntu, as windows removes the os loader (grub). You can recover grub easily if you have an Ubuntu live CD.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment