HOWTO:Restore Grub

From PardusWiki
Revision as of 07:56, 13 April 2008 by Atolboo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

After hitting the 'c' key 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