[CentOS-docs] I want to add a tip.

Sun May 18 03:06:06 UTC 2008
TAIRA Hajime <centos at pantora.net>

Hi all.

I want to add a following to tips.
Please give me write permission of http://wiki.centos.org/TipsAndTricks.
I think that I write it into "Troubleshooting".

[titie]
How do I re-install bootstrap(GRUB).
[/title]

If you repaired your system from backup tape by dump or tar.
It cann't repair bootstrap area.

Please do following steps:

1. Boot from CentOS installation disc.

2. Please type "linux rescue" at "boot:" prompt.

3. Mount all filesystem by read-write mode.

4. Change root to real root('/') on your harddisk.
# chroot /mnt/sysimage

5. Re-install bootstrap code (GRUB). (ex. If you install to MBR.)
# grub-install /dev/sda

---- That's all.

Best regards.

TAIRA Hajime <centos at pantora.net>, web: http://pantora.net/
CentOS WikiName: HajimeTaira