HOWTO:Restore Grub
From PardusWiki
(Difference between revisions)
m (cosmetics) |
m |
||
| Line 32: | Line 32: | ||
= Installing Grub = | = Installing Grub = | ||
| − | * | + | * Type '''root (''' and press Tab key. ( there is a blank between '''root''' and '''(''' ). This will list your partition table. |
* Look for the Pardus partition. In our example it is in '''hd0''', if different for you, change due to your partitions. | * Look for the Pardus partition. In our example it is in '''hd0''', if different for you, change due to your partitions. | ||
* Write '''root (hd0''' and press Tab key. This will list your partitions under hd0. Look for the Pardus partition number. You can understand it by checking disk format ( ext3 ) and it's capacity. In our example it's in '''4'''th partition. Change it due to your partitions. | * Write '''root (hd0''' and press Tab key. This will list your partitions under hd0. Look for the Pardus partition number. You can understand it by checking disk format ( ext3 ) and it's capacity. In our example it's in '''4'''th partition. Change it due to your partitions. | ||
Revision as of 13:35, 16 June 2008
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
- Configure your bios settings for booting from CD
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
- Type root ( and press Tab key. ( there is a blank between root and ( ). This will list your partition table.
- Look for the Pardus partition. In our example it is in hd0, if different for you, change due to your partitions.
- Write root (hd0 and press Tab key. This will list your partitions under hd0. Look for the Pardus partition number. You can understand it by checking disk format ( ext3 ) and it's capacity. In our example it's in 4th partition. Change it due to your partitions.
- Write root (hd0,4) and press Enter. ( 4 is your Pardus partition as mentioned at previous item )
- Write setup (hd0) and press Enter. This will install grub to the reccomended place.
- Press Ctrl + Alt + Del, restart your PC.
- You must see Grub Menu now.
- Get well soon. Enjoy it :)
Tips
Delete Grub
If the Grub installation failed, you can not access neither Pardus nor Windows. In such a scenerio you can delete Grub and get in Windows. Reboot your PC from a Windows Cd. Then press R ( restore ) button on installation screen. Select your installed Windows. And write this command:
FIXMBR
Press Enter. Answer all the question as y ( yes ). You're done. Just restart your pc.
