to find out what partitions there;
grub> geometry (hd0);
drive 0×80: C/H/S = 9729/255/63, The number of sectors = 156301488, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0×7
Partition num: 4, Filesystem type unknown, partition type 0×7
Partition num: 5, Filesystem type unknown, partition type 0×7
Partition num: 6, Filesystem type unknown, partition type 0×82
Partition num: 7, Filesystem type is ext2fs, partition type 0×83
Pada partisi diatas terlihat bahwa partisi nomor 7 yang menggunakan linux, lalu ketik:
grub> root (hd0,7);
untuk menjadikan GRUB Loader-nya berada di MBR, ketik;
grub> setup (hd0);
Checking if “/boot/grub/stage1? exists… yes
Checking if “/boot/grub/stage2? exists… yes
Checking if “/boot/grub/e2fs_stage1_5? exists… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 17 sectors are embedded.
succeeded
Running “install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,7)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done.
That's one way to restore GRUB Loader Linux ubuntu Jaunty missing since erased when install Window.
Tidak ada komentar:
Posting Komentar