HOWTO:Restore Grub
Contents |
Introduction
A (re)installation of Windows will overwrite the Grub bootloader.
This is a manual to restore Grub without a new installation of Pardus.
What do we need ?
We need the Pardus Live or Installation CD
If you haven't any Pardus CD. Check: http://www.pardus.org.tr/eng/products/index.html
A PC which has been configured in the bios so that it will start from CD.
This can not be a problem when Pardus/Windows are installed on the PC.
Enter The Grub Menu
Pardus 2007.x
- Reboot from CD and wait untill language screen shown.
- Push the arrow-down key to stop the timer.
- Push the c key and the grub screen will appear.
Pardus 2008.x
- Reboot from Cd and wait till the YaLI gui shown.
- Don't do anything from gui, just press Ctrl + Alt + F1 and enter the console
- Write grub at the console, then press Enter. Now you are in grub menu
Installing Grub =
Give the command root (hd0, (without Enter)
Next hit the Tab key.
After ~2 seconds the partition table will be shown.
The Linux partitions in our example are number 5 and 6.
I will try partition number 6. and add 6) + Enter.
To install Grub in the MBR of the first harddisk give the command: setup (hd0)
This not successfull.
The next one to try is number 5.
This is a success.
Use the 'Esc' key to get to the language screen (top image).
Select English and Continue From Harddisk in the next screen.
The menu screen of Grub will appear now.



