HOWTO:Restore Grub

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Restore Grub)
(Added link for Turkish Wiki)
Line 54: Line 54:
  
 
The menu screen of Grub will appear now.
 
The menu screen of Grub will appear now.
 +
 +
[[tr:Nasıl:Grub'u_Kurtarmak]]

Revision as of 15:10, 15 June 2008

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

When not present look here 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.

Restore Grub

After starting from CD the language screen will appear.

language screen

Push the arrow-down key to stop the timer.

Push the c key and the grub screen will appear.

grub1

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)

grub2

This not successfull.

The next one to try is number 5.

grub3

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox
In other languages