BAYU NEWS

August 14, 2007

Nginstall grub yang hilang

Filed under: Linux, Tutorial — bayu99 @ 2:10 pm

Aku nyobanya pake distro debian ama ubuntu …..

Gini caranya

# Boot CD Knoppix
# Buka Terminal
# Masuk Superuser ketik su pada terminal kemudian
# Ketik : mount /dev/…. /mnt/….
mount – -bind /dev /mnt/…./dev
mount -t proc proc /mnt/…./proc
chroot /mnt/….
grub – -install-partition=PR
# Kemudian masuk ke
grub> root (hd0,0)
File system type is ext2fs, partition type 0×83
catatan : Klo bukan ini tampilannya, maka (hd0,0) diganti (hd0,1) dst
sampai ketemu tampilan diatas.
grub> setup (hd0)
checking if “/boot/grub/stage1″ exits… yes
checking if “/boot/grub/stage2″ exits… yes
checking if “/boot/grub/e2fs_stage1_5″ exits… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 16 sectors are embedded.
succeeded
Running “install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done.
catatan : …. sama dengan hardisk yang ada Linuxnya

thanks for afit atas catatannya

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.