Mengembalikan Grub Melalui BusyBox

Posted on 11 March 2010 by

BusyBox[Mumpung masih hangat di otak langsung saja saya post] Gara-gara tidak sengaja mengklik menu PartitionMagic 8.0 pada OS sejuta umat Windows tiba-tiba muncul “Bad Partition Table”. Semula menyangka aman-aman saja tapi setelah reboot muncul GRUB Error 17 WTF!!. Karena dirumah tidak ada LiveCD Ubuntu yang ada hanya sebuah booatable flash-disk yang berisi ubuntu-alternate. Sehingga terpaksa booting melalui flash-disk kemudian masuk ke BusyBox (Shell).

Asumsi

– Partisi / dan /boot pada sistem saya terpisah.
– Partisi / pada /dev/sda13 dan /boot pada /dev/sda14
– Sesuaikan dengan partisi anda sendiri.

Step by Step

Setelah masuk ke BusyBox dan memperoleh shell langkah-langkahnya adalah sebagai berikut

1. Mount partisi / lalu masuk ke lingkungan chroot.

# cd /tmp
# mkdir sda13
# mount --bind /dev sda13/dev
# chroot sda13/

2. Mount partisi /boot blackjack (lakukan jika partisi /boot berbeda)

# mount /dev/sda14 /boot

(ganti sda14 dengan online casino urutan partisi pada komputer anda sendiri)

3. Lebih baik check dulu isi /boot untuk memastikan

# ls /boot/grub

(jika ada file bernama stage1 dan stage2 silahkan lanjutkan, jika tidak ada banyak2lah berdoa :D)

4. Reinstall grub

# grub
grub> find /grub/stage1
(hd0,13)

grub> root (hd0,13)
grub> setup (hd0)
[...informasi-informasi proses update...]

grub> quit

(jika /boot dalam satu partisi dg / maka perintah yang seharusnya adalah find /boot/grub/stage1)

5. Keluar dari lingkungan chroot

# umount /boot
# exit
# umount /tmp/sda13/dev
# umount /tmp/sda13

6. Restart komputer

# reboot

7. Selesai. Alternative lain anda juga dapat menggunakan metode ini: http://lug.stikom.edu/2009/08/mengembalikan-grub-ubuntu/

1 Comment

http://togetherontime.com

6 September 2014

Interface Graphics: The structure and design of the control must be considered as it be highly user friendly and include all the essentials offered within an advanced control panel.
This would give you a better grasp of the company, its policies and seeming lacunae if any.
The fact that I learned how to make a website even without
technical schooling in IT related courses
shows that you can do it too. The main advantages
of using shared web hosting services include:. The majority of
sites and blogs on the internet will only need minimal hosting plans,
many of which will cost less than $10 per month. With this technology
that enables webmasters to enjoy the best of both worlds, it is indeed a great value proposition. They have a wonderful reputation and
their customer support and service is outstanding. The untapped vast
potential of skilled IT technicians and healthy competition has paved the way to competent shared hosting services.

Above, we mentioned that Go – Daddy is actually
a domain reseller itself. It is renowned for providing web hosting services worldwide.


Post a Comment

Your email is never shared.