Panduan praktis restorasi GRUB

Monday, September 12, 2005 | Label: | |

Write to the MBR. Assuming grub.conf is intact, continue with the process. Type "grub" (return) to enter the grub shell.

Tell grub where to find the requisite files. If you know where they are, enter something like:

root (hd0,1)

(hd0,1) means primary controller master, second partition. If you DON'T know where they are, type:

find /boot/grub/stage1

And then, enter the root command with the correct parameters. Note: If you are using a separate /boot partition, as the official documentation says: "... if you have the partition /boot and you install GRUB images into the directory /boot/grub, GRUB recognizes that the images located under the directory /grub but not /boot/grub.' Thus, if 'find /boot/grub/stage1' does not find the file, try 'find /grub/stage1'."

Next, type:

setup (hd0)


This command will install grub on the MBR of the first drive.

***********

Create GRUB boot floppy:

[root prompt]# fdformat /dev/fd0H1440
[root prompt]# mke2fs /dev/fd0
[root prompt]# mount -t ext2 /dev/fd0 /mnt/floppy
[root prompt]# grub-install --root-directory=/mnt/floppy '(fd0)'
[root prompt]# cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
[root prompt]# umount /mnt/floppy

***********

Sumber :
Google--"howto restore grub"

1 komentar:

  1. Anonymous says:

    sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry........sorry..........