[HELP]Mengembalikan Grub Loader

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
satriosesat
Posts: 6
Joined: 25 Apr 2011, 07:31
Location: samarinda,indonesia

[HELP]Mengembalikan Grub Loader

Postby satriosesat » 13 May 2011, 14:14

Misi akang-akang , ada yang tau gak cara mengembalikan grub loader yang hilang karena tertimpa windows , jika ada yang tau please tolong ane , btw ubuntu ane 11.04 :tired:
User avatar
cyberon
Posts: 9
Joined: 11 May 2011, 10:22

Re: [HELP]Mengembalikan Grub Loader

Postby cyberon » 13 May 2011, 15:14

1. pake live cd
2. masuk terminal
3. sudo fdisk -l

Device Boot Start End Blocks Id System
/dev/sda2 1 9728 78140128+ f W95 Ext'd (LBA)
/dev/sda5 * 1 7650 61448562 83 Linux
/dev/sda6 7651 9728 16691503+ 82 Linux swap / Solaris

4. grub
grub> find /boot/grub/stage1
(hd0,4)
grub> root (hd0,4)
grub> setup (hd0)
grub> exit

5.reboot

CMIIW
dah lupa, mungkin ada langkah yang kebalik :D
User avatar
riyanpermadi30
Posts: 208
Joined: 07 Jul 2010, 16:52
Location: malang
Contact:

Re: [HELP]Mengembalikan Grub Loader

Postby riyanpermadi30 » 13 May 2011, 15:15

User avatar
wonk4rol
Posts: 170
Joined: 30 Jul 2010, 11:01
Location: Indramayu, Indonesia
Contact:

Re: [HELP]Mengembalikan Grub Loader

Postby wonk4rol » 14 May 2011, 12:50

[quote=cyberon]1. pake live cd
2. masuk terminal
3. sudo fdisk -l

Device Boot Start End Blocks Id System
/dev/sda2 1 9728 78140128+ f W95 Ext'd (LBA)
/dev/sda5 * 1 7650 61448562 83 Linux
/dev/sda6 7651 9728 16691503+ 82 Linux swap / Solaris

4. grub
grub> find /boot/grub/stage1
(hd0,4)
grub> root (hd0,4)
grub> setup (hd0)
grub> exit

5.reboot

CMIIW
dah lupa, mungkin ada langkah yang kebalik :D


Kalo cara yang di atas itu mah untuk mengembalikan grub versi 1, sedangkan kalo ubuntu 11.04 kalo ga salah grub 2. Bener kata agan di atas, pake cara yang grub 2.